:root {
  --ink: #13231d;
  --muted: #64756e;
  --green: #299e75;
  --green-bright: #36b687;
  --green-dark: #176549;
  --green-deep: #0d3e2d;
  --mint: #dff5e9;
  --cream: #f4f1e9;
  --paper: #fffdf8;
  --amber: #f4b45c;
  --coral: #ec8c7f;
  --purple: #8067c9;
  --line: rgba(19, 35, 29, .11);
  --shadow: 0 28px 80px rgba(20, 76, 55, .13);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity .22s ease, transform .22s ease;
}
body.page-leaving { opacity: 0; transform: translateY(8px); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, li, summary, a { overflow-wrap: break-word; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 108px 0; }
.section-soft { background: var(--paper); }
.section-dark { color: white; background: var(--green-deep); }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--green-dark); font-size: 12px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 6px rgba(244, 180, 92, .14);
}
.section-dark .kicker { color: #9ee1c7; }
h1, h2, h3 { margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(54px, 7.2vw, 94px); line-height: .97; }
h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.02; }
h3 { font-size: 23px; line-height: 1.12; }
.lede { color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.7; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin: 20px 0 0; }
.section-head.center p { margin-inline: auto; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 150px; }
.brand-icon { width: 39px; height: 39px; border-radius: 11px; box-shadow: 0 9px 24px rgba(23, 101, 73, .22); }
.brand-name {
  display: inline-flex; align-items: baseline; color: var(--green-dark);
  font-size: 28px; font-weight: 850; letter-spacing: -1.7px; line-height: 1;
}
.brand-name .brand-e { color: var(--green-bright); }
.brand-i { position: relative; display: inline-block; width: .28em; }
.brand-i::before {
  content: ""; position: absolute; left: 50%; top: -.05em; width: .17em; height: .17em;
  border-radius: 38%; background: var(--amber); transform: translate(-50%, -100%);
  animation: dot-bounce 2.8s cubic-bezier(.5, .05, .2, 1) infinite;
  transform-origin: 50% 100%;
}
.brand-i::after {
  content: ""; display: block; width: .18em; height: .62em; margin-inline: auto;
  border-radius: .1em; background: var(--green-dark);
}
@keyframes dot-bounce {
  0%, 45%, 100% { transform: translate(-50%, -100%); }
  52% { transform: translate(-50%, -180%) scaleY(1.08); }
  59% { transform: translate(-50%, -92%) scaleY(.88); }
  66% { transform: translate(-50%, -112%); }
}
.brand:hover .brand-i::before { animation-duration: .8s; }

/* Navigation */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  background: rgba(248, 246, 239, .88); border-color: var(--line);
  box-shadow: 0 8px 30px rgba(21, 45, 36, .05); backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.site-nav a:not(.button) { color: #44564e; transition: color .15s ease; }
.site-nav a:not(.button):hover, .site-nav a:not(.button)[aria-current="page"] { color: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 15px;
  color: white; background: var(--green); font-size: 14px; font-weight: 750;
  box-shadow: 0 13px 28px rgba(31, 138, 101, .23);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.button:hover { transform: translateY(-3px); background: var(--green-dark); box-shadow: 0 17px 36px rgba(31, 138, 101, .28); }
.button-small { min-height: 41px; padding: 0 18px; border-radius: 12px; }
.button-ghost { color: var(--green-dark); background: transparent; border: 1px solid rgba(23, 101, 73, .22); box-shadow: none; }
.button-ghost:hover { color: white; }
.text-link { display: inline-flex; gap: 7px; color: var(--green-dark); font-size: 14px; font-weight: 750; }
.text-link span { transition: transform .16s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Hero */
.hero {
  position: relative; min-height: 850px; padding: 155px 0 90px; overflow: hidden;
  background:
    radial-gradient(circle at 5% 70%, rgba(244, 180, 92, .18), transparent 23%),
    radial-gradient(circle at 76% 23%, rgba(54, 182, 135, .17), transparent 27%),
    var(--cream);
}
.hero::before {
  content: ""; position: absolute; right: -14%; top: -21%; width: 63vw; height: 920px;
  border-radius: 50%; background: linear-gradient(145deg, rgba(207, 239, 223, .8), rgba(239, 244, 218, .38));
  transform: rotate(-12deg);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; }
.hero-copy h1 { max-width: 700px; margin-top: 22px; }
.hero-copy h1 em { color: var(--green); font-style: normal; }
.hero-copy .lede { max-width: 630px; margin: 28px 0 0; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; }
.proof-row span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
.proof-row i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.phone-stage { position: relative; min-height: 650px; display: grid; place-items: center; perspective: 1000px; }
.phone-shot {
  position: absolute; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.55);
  border-radius: 38px; background: #111; box-shadow: 0 40px 90px rgba(15, 61, 44, .26);
  transition: transform .3s ease;
}
.phone-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-main { z-index: 3; width: 292px; aspect-ratio: 692/1500; animation: phone-float 5s ease-in-out infinite; }
.phone-back { z-index: 1; width: 220px; aspect-ratio: 692/1500; opacity: .84; filter: saturate(.9); }
.phone-left { left: -5px; transform: rotate(-8deg) translateY(35px); }
.phone-right { right: -25px; transform: rotate(8deg) translateY(45px); }
@keyframes phone-float { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-13px) rotate(-1deg); } }
.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px;
  background: rgba(255,255,255,.9); box-shadow: 0 18px 40px rgba(20,63,47,.15);
  backdrop-filter: blur(12px); animation: chip-float 4s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 11px; }
.float-chip small { color: var(--muted); font-size: 8px; }
.chip-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: var(--mint); color: var(--green-dark); }
.chip-a { top: 115px; left: -38px; }
.chip-b { right: -55px; bottom: 105px; animation-delay: -2s; }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.value-strip { padding: 22px 0; color: white; background: var(--green-deep); overflow: hidden; }
.value-track { display: flex; width: max-content; gap: 54px; animation: marquee 24s linear infinite; }
.value-track span { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.value-track span::after { content: "✦"; color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Shared cards and home */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; min-height: 330px; padding: 30px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: white;
  box-shadow: 0 16px 48px rgba(21, 65, 49, .06); transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.feature-card p { margin: 13px 0 0; color: var(--muted); line-height: 1.65; }
.feature-card .text-link { position: absolute; left: 30px; bottom: 28px; }
.feature-orb {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 38px;
  border-radius: 16px; font-size: 22px; color: var(--green-dark); background: var(--mint);
}
.feature-card:nth-child(2) .feature-orb { color: #9b641d; background: #fff0d9; }
.feature-card:nth-child(3) .feature-orb { color: #684da8; background: #eeeafa; }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.tour-grid > *, .hero-grid > *, .story-grid > *, .support-grid > *,
.feature-row > *, .footer-grid > *, .motion-showcase > *, .logo-lab > *,
.card-grid > *, .workflow-step > * { min-width: 0; }
.tour-copy p { max-width: 580px; margin: 22px 0 0; }
.check-list { list-style: none; display: grid; gap: 14px; padding: 0; margin: 30px 0 0; }
.check-list li { display: flex; align-items: center; gap: 11px; font-weight: 650; }
.check-list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--green-dark); background: var(--mint); font-size: 12px; }
.screenshot-stack { position: relative; min-height: 620px; }
.screenshot-stack img {
  position: absolute; width: 286px; border-radius: 36px; box-shadow: 0 30px 70px rgba(14, 58, 42, .2);
}
.screenshot-stack img:first-child { left: 12%; top: 0; transform: rotate(-6deg); }
.screenshot-stack img:last-child { right: 7%; bottom: 0; transform: rotate(6deg); }
.mini-chart {
  position: absolute; z-index: 3; right: 4%; top: 17%; width: 210px; padding: 18px;
  border-radius: 20px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.mini-chart strong { font-size: 12px; }
.bars { display: flex; align-items: end; gap: 8px; height: 90px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 7px 7px 2px 2px; background: var(--green); animation: bars 3.4s ease-in-out infinite alternate; transform-origin: bottom; }
.bars i:nth-child(1) { height: 35%; }
.bars i:nth-child(2) { height: 70%; animation-delay: -.8s; background: var(--amber); }
.bars i:nth-child(3) { height: 48%; animation-delay: -1.3s; background: var(--coral); }
.bars i:nth-child(4) { height: 86%; animation-delay: -2s; background: var(--green-bright); }
@keyframes bars { 50% { transform: scaleY(.78); } }

.motion-showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.motion-panel { position: relative; min-height: 430px; overflow: hidden; border-radius: 34px; background: #e4f4eb; }
.motion-panel.dark { background: #153c2f; }
.orbit { position: absolute; inset: 50% auto auto 50%; width: 280px; height: 280px; border: 1px solid rgba(41,158,117,.22); border-radius: 50%; transform: translate(-50%,-50%); animation: spin 16s linear infinite; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; background: white; box-shadow: 0 12px 30px rgba(20,70,52,.16); }
.orbit::before { width: 60px; height: 60px; left: -30px; top: 110px; }
.orbit::after { width: 44px; height: 44px; right: 8px; top: 15px; background: var(--amber); }
.orbit-core { position: absolute; inset: 50% auto auto 50%; width: 130px; height: 130px; display: grid; place-items: center; border-radius: 38px; color: white; background: linear-gradient(145deg,var(--green-bright),var(--green-dark)); transform: translate(-50%,-50%) rotate(-3deg); box-shadow: 0 25px 55px rgba(23,101,73,.25); font-size: 48px; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.receipt-demo { position: absolute; inset: 50% auto auto 50%; width: 240px; padding: 30px 24px; color: #2c3934; border-radius: 12px; background: #fffdf6; transform: translate(-50%,-50%) rotate(2deg); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.receipt-demo span { display: block; height: 6px; margin: 9px 0; border-radius: 4px; background: #dfe4e1; }
.receipt-demo span:nth-child(2), .receipt-demo span:nth-child(5) { width: 67%; }
.receipt-demo span:nth-child(3) { width: 86%; }
.receipt-line { position: absolute; z-index: 2; left: 16%; right: 16%; top: 20%; height: 2px; background: var(--coral); box-shadow: 0 0 18px var(--coral); animation: receipt-scan 2.8s ease-in-out infinite; }
@keyframes receipt-scan { 0%,100% { transform: translateY(0); } 50% { transform: translateY(255px); } }

/* Interior pages */
.page-hero { position: relative; padding: 165px 0 90px; overflow: hidden; background: var(--cream); }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -50%; width: 600px; height: 600px; border-radius: 50%; background: rgba(54,182,135,.12); }
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin-top: 20px; }
.page-hero .lede { max-width: 720px; margin: 25px 0 0; }
.feature-row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; padding: 75px 0; border-top: 1px solid var(--line); }
.feature-row:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.feature-row:nth-child(even) .feature-visual { order: -1; }
.feature-row p { margin: 17px 0 0; color: var(--muted); line-height: 1.7; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.feature-meta span { padding: 8px 11px; border-radius: 999px; color: var(--green-dark); background: var(--mint); font-size: 11px; font-weight: 750; }
.feature-visual { position: relative; min-height: 380px; display: grid; place-items: center; border-radius: 34px; background: white; box-shadow: 0 18px 60px rgba(21,65,49,.08); overflow: hidden; }
.feature-visual.dark { background: #153c2f; }
.inventory-demo { width: 78%; display: grid; gap: 10px; }
.inventory-demo .demo-search { height: 42px; border-radius: 12px; background: #eef1ef; }
.demo-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f8f8f5; animation: row-pulse 4s ease-in-out infinite; }
.demo-row:nth-child(3) { animation-delay: -1.2s; }
.demo-row:nth-child(4) { animation-delay: -2.4s; }
.demo-row i { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); }
.demo-row strong { display: block; font-size: 13px; }
.demo-row small { color: var(--muted); font-size: 9px; }
.demo-row b { padding: 6px 9px; border-radius: 8px; color: #a16920; background: #fff0d8; font-size: 9px; }
@keyframes row-pulse { 50% { transform: translateX(5px); } }
.recipe-demo { position: relative; width: 78%; height: 290px; }
.recipe-card-demo { position: absolute; width: 72%; padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 16px 40px rgba(20,70,52,.12); }
.recipe-card-demo:nth-child(1) { left: 0; top: 10px; transform: rotate(-4deg); }
.recipe-card-demo:nth-child(2) { right: 0; bottom: 10px; transform: rotate(4deg); }
.recipe-pic { height: 100px; border-radius: 16px; background: radial-gradient(circle at 35% 40%,#f3c66d 0 10%,transparent 11%), radial-gradient(circle at 65% 58%,#e77e6c 0 13%,transparent 14%), #9ab889; }
.recipe-card-demo strong { display: block; margin-top: 12px; font-size: 13px; }
.points-demo { position: relative; width: 260px; height: 260px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); }
.points-demo::before, .points-demo::after { content: "✦"; position: absolute; color: var(--amber); font-size: 24px; animation: chip-float 3s ease-in-out infinite; }
.points-demo::before { left: 18px; top: 40px; }
.points-demo::after { right: 20px; bottom: 42px; animation-delay: -1.5s; }
.points-demo strong { font-size: 62px; letter-spacing: -.07em; color: var(--green-dark); }
.points-demo span { position: absolute; top: 158px; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.2px; }
.workflow-list { display: grid; gap: 0; max-width: 870px; margin: 0 auto; }
.workflow-step { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 25px; padding: 0 0 70px; }
.workflow-step:not(:last-child)::before { content: ""; position: absolute; left: 44px; top: 70px; bottom: 0; width: 1px; background: rgba(41,158,117,.3); }
.step-badge { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 26px; color: white; background: var(--green); font-size: 22px; font-weight: 850; box-shadow: 0 18px 35px rgba(41,158,117,.2); }
.workflow-step h3 { margin-top: 8px; font-size: 28px; }
.workflow-step p { max-width: 650px; margin: 12px 0 0; color: var(--muted); line-height: 1.7; }
.workflow-step ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.workflow-step li { padding: 7px 10px; border-radius: 999px; background: white; font-size: 11px; font-weight: 700; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.story-grid p { color: var(--muted); line-height: 1.8; }
.principles { display: grid; gap: 14px; }
.principle { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.principle strong { display: block; margin-bottom: 7px; }
.principle p { margin: 0; font-size: 14px; }
.logo-lab { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.logo-tile { min-height: 330px; display: grid; place-items: center; border-radius: 32px; background: white; }
.logo-tile.dark { background: var(--green-deep); }
.logo-tile .brand { transform: scale(1.75); }
.logo-tile.dark .brand-name { color: white; }
.logo-tile.dark .brand-i::after { background: white; }
.app-icon-large { width: 180px; height: 180px; border-radius: 42px; box-shadow: var(--shadow); }

.support-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.support-cards { display: grid; gap: 14px; }
.support-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.support-card strong { display: block; margin-bottom: 6px; }
.support-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 24px 48px 24px 0; cursor: pointer; list-style: none; font-weight: 750; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 2px; top: 20px; color: var(--green); font-size: 26px; transition: transform .2s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion p { margin: -8px 0 24px; color: var(--muted); line-height: 1.7; }

.legal-main { padding: 155px 0 95px; background: #f8f6ef; }
.legal-document { max-width: 820px; }
.legal-document h1 { margin-top: 18px; font-size: clamp(52px, 8vw, 82px); }
.legal-effective { color: var(--green-dark); font-weight: 750; }
.legal-lede { margin: 28px 0 50px; }
.legal-document section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-document section h2 { font-size: 25px; letter-spacing: -.02em; }
.legal-document section p { margin: 13px 0 0; color: var(--muted); line-height: 1.8; }

.cta { padding: 0 0 100px; }
.cta-card {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px;
  min-height: 300px; padding: 58px; overflow: hidden; border-radius: 36px; color: white;
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
}
.cta-card::before, .cta-card::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.cta-card::before { width: 300px; height: 300px; right: -70px; top: -130px; }
.cta-card::after { width: 160px; height: 160px; left: 42%; bottom: -110px; background: rgba(244,180,92,.12); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { max-width: 720px; margin-top: 13px; }
.button-light { color: var(--green-dark); background: white; box-shadow: none; white-space: nowrap; }
.button-light:hover { color: white; }

.site-footer { padding: 68px 0 36px; color: #c2d5cd; background: #0d211a; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 70px; align-items: start; }
.site-footer .brand-name { color: white; }
.site-footer .brand-i::after { background: white; }
.site-footer p { max-width: 330px; color: #8fa89e; line-height: 1.6; }
.footer-links, .footer-meta { display: grid; gap: 13px; font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-meta { color: #718d82; text-align: right; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .14s; }

@media (max-width: 980px) {
  .site-header {
    background: rgba(248, 246, 239, .94);
    border-color: var(--line);
    box-shadow: 0 8px 30px rgba(21, 45, 36, .05);
    backdrop-filter: blur(18px);
  }
  .site-nav {
    position: fixed; inset: 68px 20px auto; display: none;
    max-height: calc(100dvh - 88px); padding: 14px; overflow-y: auto;
    border: 1px solid var(--line); border-radius: 20px;
    background: rgba(255,253,248,.98); box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; gap: 4px; }
  .site-nav a:not(.button) {
    display: flex; align-items: center; min-height: 48px; padding: 0 10px;
    border-radius: 11px;
  }
  .site-nav .button { width: 100%; min-height: 48px; margin-top: 4px; }
  .nav-toggle {
    display: block; flex: 0 0 44px; cursor: pointer;
    border-radius: 12px; touch-action: manipulation;
  }
  .nav-toggle:focus-visible, .site-nav a:focus-visible {
    outline: 3px solid rgba(41,158,117,.35); outline-offset: 2px;
  }
  .hero-grid, .tour-grid, .motion-showcase, .story-grid, .support-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 135px; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-actions, .proof-row { justify-content: center; }
  .phone-stage { width: min(600px, 100%); margin-inline: auto; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .feature-card:last-child { grid-column: 1 / -1; }
  .tour-copy { text-align: center; }
  .check-list { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .feature-row, .feature-row:nth-child(even) { grid-template-columns: 1fr; gap: 35px; }
  .feature-row:nth-child(even) .feature-visual { order: initial; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1/-1; text-align: left; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  h1 { font-size: clamp(48px, 15vw, 68px); letter-spacing: -.055em; }
  .hero { min-height: auto; padding-bottom: 55px; }
  .hero::before { width: 110vw; right: -50%; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .proof-row { gap: 12px; }
  .check-list { width: auto; }
  .phone-stage { min-height: 545px; transform: scale(.86); margin: -35px 0; }
  .phone-main { width: 265px; }
  .phone-back { width: 190px; }
  .phone-left { left: -65px; }
  .phone-right { right: -65px; }
  .chip-a { left: -15px; }
  .chip-b { right: -15px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .feature-card:last-child { grid-column: auto; }
  /* Stack screenshots vertically instead of overlapping */
  .screenshot-stack { min-height: auto; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 10px 0 0; margin-bottom: 52px; }
  .screenshot-stack img { position: static; width: min(260px, 88%); transform: none !important; border-radius: 32px; }
  .mini-chart { position: static; width: 100%; max-width: 260px; top: auto; right: auto; margin-top: 4px; margin-bottom: 0; }
  .motion-showcase { grid-template-columns: 1fr; }
  .motion-panel { min-height: 350px; }
  .logo-lab { grid-template-columns: 1fr; }
  .logo-tile .brand { transform: scale(1.35); }
  .feature-visual { min-height: 320px; }
  .inventory-demo, .recipe-demo { width: min(88%, 360px); }
  .demo-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 9px; padding: 10px; }
  .demo-row i { width: 38px; height: 38px; }
  .demo-row strong, .demo-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .points-demo { width: min(260px, 82vw); height: min(260px, 82vw); }
  .button-light { white-space: normal; text-align: center; }
  .workflow-step { grid-template-columns: 68px 1fr; gap: 18px; }
  .step-badge { width: 66px; height: 66px; border-radius: 20px; }
  .workflow-step:not(:last-child)::before { left: 33px; top: 64px; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-meta { grid-column: auto; }
}

/* iPhone-sized screens — hide back phones and chips to prevent viewport overflow */
@media (max-width: 480px) {
  .site-nav { inset-inline: 14px; }
  .brand { min-width: 0; }
  .brand-icon { width: 36px; height: 36px; }
  .brand-name { font-size: 26px; }
  .phone-back { display: none; }
  .float-chip { display: none; }
  .phone-stage { min-height: 460px; transform: none; margin: 0; }
  .phone-main { width: min(270px, 78%); }
  h1 { font-size: clamp(42px, 13.5vw, 58px); line-height: 1; }
  h2 { font-size: clamp(32px, 9vw, 52px); }
  .page-hero { padding: 130px 0 68px; }
  .page-hero::after { width: 390px; height: 390px; right: -45%; top: -20%; }
  .cta { padding-bottom: 70px; }
  .cta-card { min-height: 0; padding: 30px 22px; border-radius: 26px; }
  .cta-card .button { width: 100%; white-space: normal; text-align: center; }
  .section { padding: 62px 0; }
  .feature-row { padding: 52px 0; }
  .feature-visual { min-height: 260px; }
  .receipt-demo { width: min(220px, 76%); padding: 24px 20px; }
  .orbit { width: 220px; height: 220px; }
  .orbit-core { width: 104px; height: 104px; border-radius: 30px; }
  .recipe-demo { height: 240px; }
  .recipe-card-demo { width: 78%; padding: 14px; border-radius: 18px; }
  .recipe-pic { height: 78px; }
  .workflow-step { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding-bottom: 54px; }
  .step-badge { width: 52px; height: 52px; border-radius: 16px; font-size: 17px; }
  .workflow-step:not(:last-child)::before { left: 26px; top: 50px; }
  .workflow-step h3 { margin-top: 3px; font-size: 24px; }
  .support-card { padding: 19px; }
  .accordion summary { padding-right: 40px; }
  .legal-main { padding: 130px 0 70px; }
  .legal-document h1 { font-size: clamp(42px, 13.5vw, 58px); }
  .legal-lede { margin-bottom: 36px; }
  .legal-document section { padding: 23px 0; }
  .logo-tile { min-height: 250px; }
  .logo-tile .brand { transform: scale(1.12); }
  .app-icon-large { width: 145px; height: 145px; border-radius: 34px; }
  .site-footer { padding-top: 54px; }
  .footer-grid { gap: 28px; }
}

@media (max-width: 360px) {
  .shell { width: min(100% - 24px, 1180px); }
  h1 { font-size: 40px; }
  h2 { font-size: 31px; }
  .hero-actions .button, .hero-actions .text-link { width: 100%; justify-content: center; text-align: center; }
  .proof-row { display: grid; justify-content: start; text-align: left; }
  .feature-card { min-height: 350px; padding-inline: 24px; }
  .feature-card .text-link { left: 24px; }
  .demo-row b { padding-inline: 6px; }
  .cta-card { padding-inline: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
