/* Palette and type match the MySodeia app: olive for actions, honey for the main call to action. */

:root {
  --bg: #F3F4EE;
  --bg2: #E9ECE1;
  --surface: #FFFFFF;
  --surface2: #F4F6EE;
  --ink: #1E231A;
  --muted: #5E6554;
  --line: #DDE1D3;
  --olive: #3D5A2B;
  --olive-deep: #253A19;
  --olive-soft: #E3EBD8;
  --on-olive: #FFFFFF;
  --honey: #E2A42B;
  --honey-ink: #3A2A06;
  --honey-soft: #FBEFD2;
  --honey-text: #8A5E0B;
  --ok: #2E7D4F;
  --ok-soft: #DDF0E4;
  --info: #2F5E8C;
  --info-soft: #DCE8F4;
  --danger: #B3261E;
  --danger-soft: #F9DEDC;
  --band: #1F3115;
  --band-ink: #EEF2E6;
  --band-muted: #B6C2A7;
  --band-card: #28401C;
  --band-line: #36522A;
  --shadow: 0 1px 2px rgba(30, 35, 26, .04), 0 12px 32px -12px rgba(30, 35, 26, .14);
  --shadow-lg: 0 2px 4px rgba(30, 35, 26, .04), 0 40px 80px -30px rgba(37, 58, 25, .38);

  --display: 'Piazzolla', Georgia, serif;
  --text: 'Commissioner', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 18px;
  --wrap: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F120C;
    --bg2: #151A11;
    --surface: #1A2016;
    --surface2: #20271B;
    --ink: #E8ECDF;
    --muted: #A1A893;
    --line: #2C3426;
    --olive: #93B872;
    --olive-deep: #B8D69A;
    --olive-soft: #25301C;
    --on-olive: #10130D;
    --honey: #F0B846;
    --honey-ink: #2A1E04;
    --honey-soft: #3A2F14;
    --honey-text: #F0B846;
    --ok: #7ACB98;
    --ok-soft: #1D3325;
    --info: #8AB6E3;
    --info-soft: #1C2A38;
    --danger: #F2B8B5;
    --danger-soft: #3B1D1B;
    --band: #141B0F;
    --band-ink: #E8ECDF;
    --band-muted: #A1A893;
    --band-card: #1C2616;
    --band-line: #2C3824;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .5);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
h1 em, h2 em { font-style: italic; font-weight: 700; color: var(--olive); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); max-width: 20ch; }
h3 { font-size: 1.06rem; font-weight: 600; line-height: 1.35; }
p { margin: 0; }
a { color: var(--olive); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic-arrow { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-olive { background: var(--olive); color: var(--on-olive); }
.btn-olive:hover { background: var(--olive-deep); }
.btn-honey { background: var(--honey); color: var(--honey-ink); box-shadow: 0 10px 24px -12px rgba(226, 164, 43, .8); }
.btn-honey:hover { box-shadow: 0 16px 30px -12px rgba(226, 164, 43, .9); }
.btn-line { border-color: color-mix(in srgb, var(--olive) 45%, transparent); color: var(--olive); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-line:hover { border-color: var(--olive); background: var(--olive-soft); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(30, 35, 26, .35); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.45rem/1 var(--display); color: var(--olive-deep); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--olive); color: var(--on-olive); display: grid; place-items: center; }
.brand-mark svg { width: 20px; height: 20px; stroke: none; }
.brand.small { font-size: 1.15rem; }
.brand.small .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
.brand.small .brand-mark svg { width: 16px; height: 16px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .94rem; padding: 8px 12px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--olive-soft) 70%, transparent); }

/* Hero */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--olive) 22%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.b1 { width: 460px; height: 460px; background: var(--honey-soft); top: -120px; right: 8%; animation: drift1 18s ease-in-out infinite alternate; }
.b2 { width: 380px; height: 380px; background: var(--olive-soft); top: 180px; right: 32%; animation: drift2 22s ease-in-out infinite alternate; }
.b3 { width: 300px; height: 300px; background: color-mix(in srgb, var(--honey) 30%, transparent); bottom: -80px; right: -60px; animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(70px, -40px) scale(.9); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink); font-weight: 500; font-size: .88rem;
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
h1 .line > span { display: inline-block; }
h1 em { position: relative; white-space: nowrap; }
h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; z-index: -1;
  background: var(--honey); opacity: .55; border-radius: 4px;
  transform-origin: left; transform: scaleX(0);
  animation: underline .9s var(--ease) forwards; animation-delay: 1.1s;
}
@keyframes underline { to { transform: scaleX(1); } }

.lead { font-size: 1.14rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--olive); }

/* Entrance animations (hero) */
.js .enter, .js h1 .line > span { opacity: 0; animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
.js h1 .line > span { transform: translateY(105%); animation-name: lineUp; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { opacity: 1; transform: translateY(105%); } to { opacity: 1; transform: none; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Phone mockup */
.phone-stage { position: relative; justify-self: center; width: min(100%, 340px); padding: 10px 0 0; }
.phone { margin: 0; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.phone-screen { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 4px 16px 26px; font-size: .9rem; }
.phone-screen .phone-cta { margin-top: auto; }
.phone-caption { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 18px; }
.url { justify-self: center; display: inline-flex; align-items: center; gap: 6px; background: var(--surface2); border-radius: 999px; padding: 5px 12px; color: var(--muted); font-size: .78rem; }
.url svg { width: 13px; height: 13px; }
.url b { color: var(--ink); font-weight: 600; }
.shop-head { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--olive-soft); color: var(--olive-deep);
  display: grid; place-items: center; font: 700 1rem/1 var(--display);
}
.avatar.sm { width: 38px; height: 38px; font-size: .85rem; }
.shop-name { font-weight: 700; line-height: 1.3; }
.shop-sub { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.harvest { display: flex; align-items: center; gap: 8px; background: var(--honey-soft); color: var(--honey-text); border-radius: 12px; padding: 9px 12px; font-weight: 600; font-size: .84rem; }
.harvest svg { width: 16px; height: 16px; animation: ring 3.5s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
.products { list-style: none; margin: 0; padding: 0; display: grid; }
.products li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 6px; margin: 0 -6px; border-radius: 12px; border-top: 1px solid var(--line); transition: background-color .3s ease; }
.products li:first-child { border-top-color: transparent; }
.products li.hit { background: var(--olive-soft); }
.thumb { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.t-oil { background: radial-gradient(circle at 30% 25%, #E8D66A, #9A9B22 55%, #5E6A14); }
.t-oil2 { background: radial-gradient(circle at 30% 25%, #C6DD6A, #6C8E24 55%, #3E5A14); }
.t-olive { background: radial-gradient(circle at 30% 25%, #9C79A0, #5A3A5E 55%, #2E1E33); }
.p-name { flex: 1; font-weight: 600; line-height: 1.3; }
.p-name small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; }
.p-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.add { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--on-olive); font-weight: 700; line-height: 1; transition: transform .2s var(--ease); }
.products li.hit .add { animation: tap .5s var(--ease); }
@keyframes tap { 40% { transform: scale(.78); } 100% { transform: scale(1); } }
.phone-cta { display: flex; justify-content: space-between; align-items: center; background: var(--honey); color: var(--honey-ink); border-radius: 999px; padding: 13px 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.phone-cta.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); } }

.toast {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-lg); font-size: .86rem; line-height: 1.3; min-width: 230px;
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.toast small { display: block; color: var(--muted); font-size: .78rem; }
.toast.show { opacity: 1; transform: none; }
.toast-pay { top: 36%; left: -120px; }
.toast-order { bottom: 70px; right: -110px; }
.toast-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.toast-ic svg { width: 18px; height: 18px; stroke-width: 2.2; }
.toast-ic.ok { background: var(--ok-soft); color: var(--ok); }
.toast-ic.honey { background: var(--honey-soft); color: var(--honey-text); }

/* iPhone frame (shared by the hero and the app showcase) */
.iphone {
  position: relative; width: 100%; aspect-ratio: 9 / 19.2; border-radius: 54px; padding: 11px;
  background: linear-gradient(150deg, #4A4E46 0%, #22251F 30%, #1A1C17 60%, #3A3E36 100%);
  box-shadow: inset 0 0 0 1.5px #62675C, inset 0 0 0 4px #10120E, var(--shadow-lg);
}
.iphone::before, .iphone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2E312A; }
.iphone::before { left: -3px; top: 22%; height: 11%; box-shadow: 0 -60px 0 -0px #2E312A; }
.iphone::after { right: -3px; top: 27%; height: 15%; }
.iphone-screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background: var(--surface); display: flex; flex-direction: column;
}
.island { position: absolute; z-index: 6; top: 11px; left: 50%; transform: translateX(-50%); width: 31%; height: 28px; border-radius: 20px; background: #000; }
.statusbar {
  position: relative; z-index: 5; flex: none; height: 50px; display: flex; align-items: center; justify-content: space-between;
  padding: 4px 26px 0 32px; font: 600 15px/1 -apple-system, 'SF Pro Text', system-ui, sans-serif; color: var(--ink);
}
.sb-icons { display: inline-flex; gap: 5px; align-items: center; }
.sb-icons svg { height: 11px; width: auto; fill: currentColor; stroke: none; }
.home-ind { position: absolute; z-index: 6; bottom: 8px; left: 50%; transform: translateX(-50%); width: 36%; height: 5px; border-radius: 5px; background: var(--ink); opacity: .9; }

/* App showcase */
.showcase { overflow: hidden; }
.show-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: center; }
.show-tabs { display: grid; gap: 10px; }
.tab {
  position: relative; overflow: hidden; display: flex; gap: 18px; align-items: flex-start; text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius); padding: 20px 22px;
  font: inherit; color: var(--ink); transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tab:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.tab.active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.tab-n { font: 700 1rem/1.5 var(--display); color: var(--muted); transition: color .3s ease; }
.tab.active .tab-n { color: var(--olive); }
.tab-body { display: grid; gap: 0; }
.tab-body b { font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.tab-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.tab-p > span { overflow: hidden; color: var(--muted); font-size: .96rem; }
.tab.active .tab-p { grid-template-rows: 1fr; }
.tab.active .tab-p > span { padding-top: 6px; }
.tab-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.tab.active .tab-bar::after { content: ""; position: absolute; inset: 0; background: var(--olive); transform-origin: left; animation: tabfill 6.5s linear forwards; }
.show-tabs.paused .tab.active .tab-bar::after { animation-play-state: paused; }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-left: 22px; }
.store { display: grid; gap: 1px; padding: 9px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 1rem; line-height: 1.1; }
.store small { font-weight: 500; font-size: .7rem; opacity: .75; }

.show-stage { position: relative; display: grid; justify-items: center; }
.show-glow { position: absolute; inset: 8% -20% 14%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--honey) 38%, transparent), transparent 62%); filter: blur(20px); z-index: -1; animation: glow 8s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.12); opacity: .7; } }
.iphone-lg { width: 100%; max-width: 360px; touch-action: pan-y; }
.iphone-lg .iphone-screen { background: var(--surface); }

.scr {
  position: absolute; inset: 50px 0 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateX(30px) scale(.98); pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.scr.active { opacity: 1; transform: none; }
.scr.leaving { opacity: 0; transform: translateX(-30px) scale(.98); }

/* Mini app UI (mirrors the MySodeia app components) */
.a-app { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 11px; padding: 6px 16px 16px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.a-app p { margin: 0; }
.a-url { align-self: center; background: var(--surface2); border-radius: 999px; padding: 4px 11px; color: var(--muted); font-size: 11.5px; }
.a-back { align-self: flex-start; background: var(--surface2); border-radius: 9px; padding: 4px 10px; font-weight: 600; font-size: 12px; }
.a-head { display: flex; gap: 11px; align-items: center; }
.a-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; background: var(--olive-soft); color: var(--olive-deep); display: grid; place-items: center; font: 700 18px/1 var(--display); }
.a-display { font: 700 21px/1.15 var(--display); letter-spacing: -.01em; }
.a-small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.a-mt { margin-top: 5px !important; text-align: center; }
.a-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px !important; }
.a-col { display: grid; gap: 5px; justify-items: start; }
.a-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.a-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--surface2); color: var(--muted); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.a-badge svg { width: 11px; height: 11px; stroke-width: 2.6; }
.a-badge.ok { background: var(--ok-soft); color: var(--ok); }
.a-badge.honey { background: var(--honey-soft); color: var(--honey-text); }
.a-badge.info { background: var(--info-soft); color: var(--info); }
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 13px; white-space: nowrap; border: 1px solid transparent; }
.a-btn.sm { min-height: 30px; padding: 0 11px; font-size: 11.5px; border-radius: 9px; }
.a-btn.block { display: flex; width: 100%; }
.a-btn.split { justify-content: space-between; }
.a-btn.primary { background: var(--olive); color: var(--on-olive); }
.a-btn.honey { background: var(--honey); color: var(--honey-ink); }
.a-btn.line { border-color: var(--line); color: var(--ink); }
.a-btn.danger { background: var(--danger-soft); color: var(--danger); }
.a-list { display: grid; }
.a-prod { display: flex; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line); }
.a-prod:first-child { border-top: 0; padding-top: 2px; }
.a-art { width: 58px; height: 58px; border-radius: 13px; flex: none; }
.a-prod-body { flex: 1; display: grid; gap: 1px; }
.a-prod-body > b { font-size: 13.5px; }
.a-prod-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; min-height: 30px; }
.a-price { font-size: 14px; font-variant-numeric: tabular-nums; }
.a-swap { position: relative; display: grid; justify-items: end; }
.a-swap > * { grid-area: 1 / 1; }
.a-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; height: 30px; opacity: 0; }
.a-qty > span { width: 28px; height: 100%; display: grid; place-items: center; background: var(--surface2); font-weight: 700; }
.a-qty > b { position: relative; width: 26px; height: 100%; overflow: hidden; }
.a-qty i, .a-swap-text i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; }
.a-qty .q2 { transform: translateY(100%); }
.a-swap-text { position: relative; flex: 1; height: 20px; overflow: hidden; }
.a-swap-text i { justify-items: start; }
.a-swap-text .f2 { transform: translateY(100%); }
.a-footer { flex: none; padding: 10px 16px 26px; border-top: 1px solid var(--line); background: var(--surface); }
.s-footer { transform: translateY(100%); }
.a-lines { display: grid; gap: 6px; }
.a-lines > div { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.a-lines .a-small { display: inline; }
.a-lines .tot { border-top: 1px solid var(--line); padding-top: 7px; }
.a-choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; }
.a-choice > span:nth-child(2) { flex: 1; display: grid; }
.a-choice.on { border-color: var(--olive); background: var(--olive-soft); }
.a-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.a-choice.on .a-radio { border: 5px solid var(--olive); background: var(--surface); }
.a-field { display: grid; gap: 4px; }
.a-input { display: flex; align-items: center; height: 40px; padding: 0 12px; border: 1.5px solid var(--olive); border-radius: 11px; font-size: 14px; font-variant-numeric: tabular-nums; }
.s-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; }
.a-caret { width: 1.5px; height: 18px; background: var(--olive); margin-left: 1px; animation: blink 1s steps(1) infinite; }
.s-zone { opacity: 0; margin-top: -4px !important; }
.a-notice { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface2); font-size: 12px; }
.a-notice svg { width: 16px; height: 16px; color: var(--ok); margin-top: 1px; }
.a-notice.ok { background: var(--ok-soft); }
.a-notice.info { background: var(--info-soft); color: var(--info); font-weight: 600; }
.a-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.a-steps > div { display: grid; gap: 4px; }
.a-steps i { position: relative; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.a-steps i::after { content: ""; position: absolute; inset: 0; background: var(--olive); transform: scaleX(0); transform-origin: left; }
.a-steps span { font-size: 9.5px; color: var(--muted); line-height: 1.2; }
.a-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.a-kpis > div { background: var(--surface2); border-radius: 11px; padding: 8px; display: grid; gap: 2px; align-content: start; }
.a-kpis b { font-size: 14px; font-variant-numeric: tabular-nums; }
.a-kpis span { font-size: 10px; line-height: 1.25; color: var(--muted); }
.a-chips { display: flex; gap: 5px; }
.a-chips span { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 10.5px; font-weight: 500; white-space: nowrap; }
.a-chips .on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.a-order { display: grid; gap: 6px; padding: 11px; border-radius: 13px; background: var(--surface2); }
.a-order-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.s-new { opacity: 0; }

/* Scene animations: each screen plays when it becomes active */
.scr.play .s-add { animation: fadeOut .25s ease 1.2s forwards; }
.scr.play .s-qty { animation: fadeIn .25s ease 1.3s forwards; }
.scr.play .q1 { animation: slideUpOut .35s var(--ease) 2.5s forwards; }
.scr.play .q2 { animation: slideUpIn .35s var(--ease) 2.5s forwards; }
.scr.play .s-footer { animation: footerUp .5s var(--ease) 1.4s forwards; }
.scr.play .f1 { animation: slideUpOut .35s var(--ease) 2.5s forwards; }
.scr.play .f2 { animation: slideUpIn .35s var(--ease) 2.5s forwards; }
.scr.play .s-type { animation: type 1.1s steps(5) .9s forwards; }
.scr.play .s-zone { animation: fadeIn .4s ease 2.3s forwards; }
.scr.play .a-steps > div:not(.off) i::after { animation: barFill .5s var(--ease) forwards; }
.scr.play .a-steps > div:nth-child(1) i::after { animation-delay: .5s; }
.scr.play .a-steps > div:nth-child(2) i::after { animation-delay: 1s; }
.scr.play .a-steps > div:nth-child(3) i::after { animation-delay: 1.5s; }
.scr.play .s-pulse { animation: pulse 1.6s ease-out 2.4s infinite; }
.scr.play .s-new { animation: newOrder .6s var(--ease) 1s forwards, highlight 2s ease 1.6s; }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUpOut { to { transform: translateY(-100%); } }
@keyframes slideUpIn { to { transform: none; } }
@keyframes footerUp { to { transform: none; } }
@keyframes type { to { width: 5ch; } }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--olive) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes newOrder { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes highlight { 0%, 60% { box-shadow: 0 0 0 2px var(--honey); } 100% { box-shadow: 0 0 0 2px transparent; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 500 1.35rem/1 var(--display); font-style: italic; color: var(--muted); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--honey); margin-left: 28px; margin-right: -28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 110px 0; }
.section-soft { background: var(--bg2); }
.section-head { display: grid; gap: 18px; margin-bottom: 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--olive); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.section-head .eyebrow { margin-bottom: -4px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease);
}
.steps li.in:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.steps p { color: var(--muted); font-size: .96rem; }
.step-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; margin-bottom: 8px; }
.step-ic svg { width: 24px; height: 24px; }
.step-n { position: absolute; top: 26px; right: 28px; font: 700 2.4rem/1 var(--display); color: var(--line); }

.callout {
  margin-top: 20px; background: var(--olive-soft); border-radius: var(--radius); padding: 32px;
  display: flex; align-items: center; gap: 32px; justify-content: space-between;
}
.callout h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 8px; }
.callout p { color: var(--muted); max-width: 50ch; }
.search-demo { flex: 0 0 340px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 14px 20px; color: var(--ink); box-shadow: var(--shadow); min-height: 54px; }
.search-demo svg { color: var(--muted); width: 18px; height: 18px; }
.caret { width: 2px; height: 1.2em; background: var(--olive); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }

/* Money flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.flow li { position: relative; padding: 0 20px 0 0; display: grid; gap: 8px; align-content: start; }
.flow-dot {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--muted);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.flow-dot svg { width: 24px; height: 24px; }
.flow li.on .flow-dot { background: var(--olive); border-color: var(--olive); color: var(--on-olive); transform: scale(1.06); box-shadow: 0 0 0 8px color-mix(in srgb, var(--olive) 16%, transparent); }
.flow li.done .flow-dot { background: var(--olive-soft); border-color: var(--olive); color: var(--olive); }
.flow p { color: var(--muted); font-size: .95rem; max-width: 24ch; }
.flow-bar { position: absolute; top: 27px; left: 64px; right: 8px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.flow-bar > i { position: absolute; inset: 0; background: var(--olive); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.flow li.done .flow-bar > i { transform: scaleX(1); }

/* Producers band */
.section-olive { background: var(--band); position: relative; overflow: hidden; }
.section-olive::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 164, 43, .16), transparent 65%); top: -250px; left: -250px; pointer-events: none; }
.section-olive h2, .section-olive h3 { color: var(--band-ink); }
.section-olive .lead, .section-olive .features p { color: var(--band-muted); }
.section-olive .eyebrow { color: var(--honey); }
.section-olive .lead { margin-top: 20px; }
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.sticky { position: sticky; top: 110px; }

.fb-post { margin-top: 36px; background: #FFFFFF; color: #1C1E21; border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; max-width: 460px; font-size: .95rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.fb-head { display: flex; gap: 10px; align-items: center; }
.fb-head b { display: block; font-size: .9rem; }
.fb-head small { color: #65676B; font-size: .78rem; }
.fb-post .avatar { background: #E3EBD8; color: #253A19; }
.fb-card { display: flex; gap: 12px; align-items: center; background: #F0F2F5; border-radius: 12px; padding: 12px; }
.fb-card small { display: block; color: #65676B; font-size: .72rem; letter-spacing: .04em; }
.fb-card b { font-size: .92rem; }
.fb-card-mark { width: 44px; height: 44px; border-radius: 10px; background: #3D5A2B; color: #fff; display: grid; place-items: center; flex: none; }
.fb-card-mark svg { stroke: none; width: 24px; height: 24px; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.features li {
  background: var(--band-card); border: 1px solid var(--band-line); border-radius: var(--radius); padding: 24px;
  display: grid; gap: 8px; align-content: start;
  transition: transform .35s var(--ease), border-color .35s ease, opacity .8s var(--ease);
}
.features li.in:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--honey) 50%, transparent); }
.features p { font-size: .93rem; }
.f-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(226, 164, 43, .14); color: var(--honey); margin-bottom: 8px; }

/* Pricing */
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); stroke-width: 2.6; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.calc-title { font: 700 1.3rem/1.2 var(--display); margin-bottom: 22px; }
.range { display: grid; gap: 10px; margin-bottom: 22px; }
.range span { display: flex; justify-content: space-between; color: var(--muted); font-weight: 500; }
.range b { color: var(--ink); font-variant-numeric: tabular-nums; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--olive) var(--fill, 20%), var(--line) var(--fill, 20%)); outline-offset: 6px; cursor: pointer; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); border: 3px solid var(--olive); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.range input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--olive); }
.calc dl { margin: 8px 0 0; display: grid; }
.calc dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.calc dt { color: var(--muted); }
.calc dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc .sum dt, .calc .sum dd { color: var(--ink); font-weight: 700; }
.calc .minus dd { color: var(--muted); }
.calc .total { border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 16px; align-items: baseline; }
.calc .total dt { color: var(--ink); font-weight: 700; }
.calc .total dd { color: var(--ok); font: 700 2rem/1 var(--display); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .3s ease, border-color .3s ease; }
.faq details:hover { border-color: color-mix(in srgb, var(--olive) 35%, var(--line)); }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--olive-soft) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D5A2B' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 0 22px; color: var(--muted); }
.faq details[open] .faq-a { animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* Sign up */
.signup-section { position: relative; overflow: hidden; }
.signup {
  position: relative; background: var(--surface); border-radius: 28px; padding: clamp(28px, 5vw, 52px);
  display: grid; gap: 16px; box-shadow: var(--shadow-lg); isolation: isolate;
}
.signup::before {
  content: ""; position: absolute; inset: -2px; border-radius: 30px; z-index: -1;
  background: conic-gradient(from var(--angle, 0deg), var(--honey), var(--olive), var(--honey-soft), var(--honey));
  animation: spin 8s linear infinite;
}
.signup::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--surface); z-index: -1; }
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }
.signup .eyebrow { margin-bottom: 0; }
.signup h2 { max-width: none; }
form { display: grid; gap: 18px; margin-top: 12px; }
.hp { position: absolute; left: -9999px; }
.role { border: 0; padding: 0; margin: 0; min-width: 0; }
.role legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.role-options { display: flex; gap: 10px; flex-wrap: wrap; }
.role label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500;
  transition: border-color .2s ease, background-color .2s ease;
}
.role label:has(input:checked) { border-color: var(--olive); background: var(--olive-soft); color: var(--olive-deep); }
.role input { accent-color: var(--olive); margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; font-weight: 600; font-size: .94rem; }
.field input {
  font: 400 1rem/1.4 var(--text); color: var(--ink); background: var(--surface2);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 54px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input:focus { border-color: var(--olive); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--olive) 15%, transparent); outline: none; }
form.is-buyer .producer-only { display: none; }
.fine { color: var(--muted); font-size: .84rem; text-align: center; }
.form-status { text-align: center; font-weight: 600; color: var(--olive); min-height: 1.6em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 44px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }

/* Responsive */
@media (max-width: 1100px) {
  .toast-pay { left: -40px; }
  .toast-order { right: -30px; }
}
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 56px; }
  .sticky { position: static; }
  .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top-row .btn { margin-left: auto; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow li:nth-child(2) .flow-bar { display: none; }
  .callout { flex-direction: column; align-items: stretch; }
  .search-demo { flex-basis: auto; }
  .show-grid { grid-template-columns: 1fr; gap: 48px; }
  .show-stage { order: -1; }
  .stores { padding-left: 0; justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 64px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .features, .field-row { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .phone-stage { width: min(100%, 330px); }
  .toast { min-width: 0; font-size: .8rem; padding: 10px 12px 10px 10px; }
  .toast { left: 10px; right: 10px; }
  .toast-pay { top: 22px; }
  .toast-order { top: 90px; bottom: auto; }
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow li { grid-template-columns: 56px 1fr; column-gap: 18px; row-gap: 4px; padding: 0 0 30px; }
  .flow-dot { grid-row: span 2; margin: 0; }
  .flow h3 { align-self: end; }
  .flow li:nth-child(2) .flow-bar { display: block; }
  .flow-bar { top: 60px; bottom: 2px; left: 27px; right: auto; width: 2px; height: auto; }
  .flow-bar > i { transform-origin: top; transform: scaleY(0); }
  .flow li.done .flow-bar > i { transform: scaleY(1); }
  .marquee span { font-size: 1.15rem; }
  .calc { padding: 24px; }
  .role-options { flex-wrap: nowrap; }
  .role label { flex: 1; justify-content: center; padding: 10px 12px; }
  .step-n { font-size: 2rem; }
  .iphone-lg { max-width: 330px; }
  .tab { padding: 16px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .enter, .js h1 .line > span { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
