@font-face {
  font-family: Fraunces;
  src: url('fraunces-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5ed;
  --white: #fffdf8;
  --ink: #242e23;
  --ink-muted: #4d5549;
  --rule: #d9d9c9;
  --green: #263c2b;
  --dark: #25372a;
  --dark-text: #e1eadc;
  --accent: #80502b;
  --display: Fraunces, Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.044em; }
h2 { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.05; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[id] { scroll-margin-top: 1rem; }
#top { scroll-margin-top: 0; }
.wrap { width: min(100% - 5rem, 73.5rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7.2vw, 7rem); }
.eyebrow { margin-bottom: 1.05rem; color: var(--accent); font-weight: 750; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }

.screen-reader, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 5; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--white); color: var(--ink); border-radius: .4rem; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 600; letter-spacing: -.035em; font-size: 1.43rem; text-decoration: none; white-space: nowrap; }
.brand img { flex: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 2rem; }
nav a, .site-footer a:last-child { min-height: 44px; display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover, .site-footer a:last-child:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(2rem, 4.4vw, 4.8rem); align-items: center; padding-block: clamp(3.2rem, 6vw, 6rem); }
.hero h1 { font-size: clamp(3.3rem, 6.8vw, 6.05rem); line-height: .98; }
.intro { color: var(--ink-muted); font-size: clamp(1.03rem, 1.55vw, 1.25rem); max-width: 27rem; margin-block: 1.55rem 1.9rem; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: 1rem; padding: .65rem 1.12rem .65rem 1.22rem; border-radius: .45rem; background: var(--green); color: #fffdf8; font-size: .94rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #3b543d; }
.button span { font-size: 1.25rem; line-height: 1; }
.hero-media { position: relative; min-width: 0; }
.shelf-image { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; border-radius: 1rem; background: #a36f42; }
.item-tag { position: absolute; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: .7rem; padding: .62rem .92rem .62rem .62rem; border-radius: .65rem; background: var(--white); box-shadow: 0 2px 14px #3620053c; }
.item-tag strong, .item-tag small { display: block; }
.item-tag strong { font-size: .87rem; line-height: 1.35; }
.item-tag small { color: var(--ink-muted); font-size: .72rem; }
.tag-icon { display: grid; place-items: center; width: 2.23rem; height: 2.23rem; background: #e4eadc; color: #35523b; border-radius: .4rem; }

.features { background: #eeefe5; border-block: 1px solid var(--rule); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.feature { min-width: 0; padding: clamp(1.2rem, 2.7vw, 2rem); background: var(--white); border: 1px solid #dddfd0; border-radius: .8rem; }
.tile { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: .62rem; }
.ochre { background: #f4e8ce; color: #6d4b29; }
.leaf { background: #e6eddd; color: #3b553a; }
.clay { background: #f4e5df; color: #763f31; }
.sage { background: #e9ede8; color: #3c5548; }
.feature h3 { margin-block: .95rem .28rem; font-size: 1.2rem; font-weight: 750; letter-spacing: -.032em; line-height: 1.3; }
.feature p { color: var(--ink-muted); }

.line-icon { display: inline-block; position: relative; width: 1.1rem; height: 1.1rem; }
.line-icon::before, .line-icon::after { content: ''; position: absolute; }
.line-icon.box { border: 1.65px solid currentColor; border-radius: 2px; margin-top: 4px; height: .78rem; }
.line-icon.box::before { inset: -5px -2px auto; height: 5px; border: 1.65px solid currentColor; border-radius: 2px; background: inherit; }
.line-icon.box::after { left: 31%; right: 31%; top: 3px; border-top: 1.5px solid currentColor; }
.line-icon.search { width: 1rem; height: 1rem; border: 1.65px solid currentColor; border-radius: 50%; margin: 0 3px 3px 0; }
.line-icon.search::after { width: .42rem; top: 93%; left: 83%; border-top: 1.65px solid currentColor; transform: rotate(47deg); transform-origin: left; }
.line-icon.note { width: .92rem; border: 1.65px solid currentColor; border-radius: 2px; }
.line-icon.note::before { top: 4px; left: 2px; right: 2px; height: 6px; border-block: 1.5px solid currentColor; }
.line-icon.pin { width: .77rem; height: .77rem; border: 1.65px solid currentColor; border-radius: 50% 50% 50% 1px; transform: rotate(-45deg); margin-bottom: 3px; }
.line-icon.pin::before { inset: 2.5px; border: 1px solid currentColor; border-radius: 50%; }

.demo { background: var(--dark); color: #f8f6ec; }
.demo-grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(2.3rem, 6vw, 6.1rem); }
.demo .eyebrow { color: #d9c49c; }
.demo-copy h2 { font-size: clamp(3rem, 6vw, 5.25rem); }
.demo-copy > p:last-child { max-width: 26rem; margin-top: 1.1rem; color: var(--dark-text); font-size: 1.08rem; }
.inventory { min-width: 0; padding: clamp(1rem, 2.8vw, 1.8rem); background: var(--white); color: var(--ink); border-radius: .85rem; }
.inventory-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.inventory-title { font-family: var(--display); font-size: clamp(1.15rem, 3.5vw, 1.5rem); font-weight: 600; letter-spacing: -.035em; }
.inventory-count { color: var(--ink-muted); font-size: .83rem; white-space: nowrap; }
.search-field { position: relative; margin-bottom: .65rem; }
.search-field .search { position: absolute; inset: 50% auto auto .9rem; width: .85rem; height: .85rem; transform: translateY(-60%); color: var(--ink-muted); pointer-events: none; }
.search-field input { display: block; width: 100%; min-height: 2.85rem; padding: .65rem .8rem .65rem 2.5rem; border: 1px solid #a7afa0; border-radius: .48rem; background: #f6f7f0; color: var(--ink); font: 400 1rem/1.45 var(--body); }
.search-field input::placeholder { color: var(--ink-muted); opacity: 1; }
.inventory-list { margin: 0; padding: 0; list-style: none; }
.inventory-list li { display: flex; align-items: center; gap: .75rem; min-height: 3.62rem; padding: .48rem 0; border-bottom: 1px solid #e5e7dc; }
.inventory-list li:last-child { border-bottom: 0; }
.inventory-list .tile { width: 2.18rem; height: 2.18rem; border-radius: .42rem; }
.inventory-list strong, .inventory-list li div > span { display: block; }
.inventory-list strong { font-size: .94rem; line-height: 1.3; }
.inventory-list li div > span, .empty { color: var(--ink-muted); font-size: .85rem; }
.empty { padding-block: .55rem .3rem; }

.status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 1.2rem 4rem; align-items: center; }
.status div > p:not(.eyebrow) { color: var(--ink-muted); font-size: 1.06rem; }
.status div > p + p { margin-top: .75rem; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { min-height: 5.7rem; }
.site-footer .brand { font-size: 1.25rem; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 3.3rem); }
  .hero { gap: 1.75rem; }
  .status { gap: 1.2rem 2.2rem; }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 2.25rem); }
  .hero, .demo-grid, .status { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 2.75rem 3.25rem; gap: 1.85rem; }
  .hero h1 { font-size: clamp(3.35rem, 10vw, 5.05rem); }
  .hero-break { display: none; }
  .intro { margin-block: 1.05rem 1.25rem; }
  .shelf-image { aspect-ratio: 1.35; border-radius: .8rem; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: .65rem; margin-top: 1.35rem; }
  .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .28rem .8rem; }
  .feature .tile { grid-row: span 2; }
  .feature h3 { margin: 0; }
  .header-inner { min-height: 4.25rem; }
  nav { gap: 0 .9rem; }
  nav a { font-size: .82rem; }
  .item-tag { right: .65rem; bottom: .65rem; }
}

@media (max-width: 410px) {
  .header-inner { gap: .15rem; flex-wrap: wrap; padding-top: .65rem; }
  .header-inner .brand { flex-basis: 100%; }
  .brand { font-size: 1.26rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .footer-inner { flex-wrap: wrap; gap: .4rem 1rem; }
}
