:root {
  --ink: #102a2e;
  --ink-deep: #071c20;
  --ivory: #f6f0e5;
  --paper: #fffaf2;
  --coral: #f36f56;
  --coral-dark: #d95743;
  --sage: #78a98b;
  --gold: #d8ad61;
  --text: #173238;
  --muted: #647277;
  --line: rgba(16, 42, 46, .15);
  --radius: 28px;
  --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -80px; padding: 12px 18px; background: var(--ivory); color: var(--ink); border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(7, 28, 32, .88); box-shadow: 0 10px 40px rgba(0, 0, 0, .13); backdrop-filter: blur(18px); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); font-family: "Fraunces", serif; font-size: 23px; font-weight: 700; letter-spacing: -.02em; }
.brand img { border-radius: 12px; }
.navigation { display: flex; align-items: center; gap: 34px; color: rgba(255,255,255,.83); font-size: 14px; font-weight: 600; }
.navigation > a:not(.button) { position: relative; padding-block: 10px; }
.navigation > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--coral); transition: right .25s; }
.navigation > a:hover::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 12px; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 6px 0; background: white; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-coral { color: #fff; background: var(--coral); box-shadow: 0 12px 30px rgba(243, 111, 86, .24); }
.button-coral:hover { background: var(--coral-dark); box-shadow: 0 16px 36px rgba(243, 111, 86, .32); }
.button-small { min-height: 42px; padding-inline: 19px; }
.button-block { width: 100%; }

.hero { position: relative; min-height: 820px; height: min(920px, 100svh); overflow: hidden; background: var(--ink-deep); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,28,32,.26), transparent 56%); pointer-events: none; }
.hero-art { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: center; transform: translate3d(0, var(--hero-shift, 0px), 0) scale(var(--hero-scale, 1.045)); will-change: transform; }
.hero-aurora { position: absolute; z-index: 1; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; mix-blend-mode: screen; }
.hero-aurora-coral { right: -180px; top: 5%; background: var(--coral); }
.hero-aurora-sage { left: 42%; bottom: -320px; background: var(--sage); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 74px; }
.hero-copy { width: min(600px, 47vw); color: var(--ivory); }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; color: var(--gold); }
.eyebrow span { width: 24px; height: 1px; margin-right: 10px; background: currentColor; }
h1, h2 { margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(58px, 6.25vw, 94px); }
h1 em, h2 em { color: var(--coral); font-weight: inherit; }
.hero-lead { max-width: 570px; margin: 30px 0; color: rgba(246,240,229,.8); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.text-link { padding: 12px 0; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.4); }
.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.text-link:hover span { transform: translate(3px, 3px); }
.hero-promise { display: flex; gap: 12px 26px; flex-wrap: wrap; margin-top: 36px; color: rgba(255,255,255,.65); font-size: 12px; }
.hero-promise span { position: relative; }
.hero-promise span:not(:first-child)::before { content: "•"; position: absolute; left: -15px; color: var(--sage); }
.hero-signal { position: absolute; z-index: 3; right: clamp(24px, 7vw, 110px); bottom: clamp(80px, 12vh, 132px); width: 190px; padding: 18px; color: white; background: rgba(8,31,34,.58); border: 1px solid rgba(255,255,255,.2); border-radius: 21px; box-shadow: 0 24px 80px rgba(0,0,0,.3); backdrop-filter: blur(22px) saturate(140%); }
.hero-signal div { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.66); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-signal div span, .signal-dot { width: 7px; height: 7px; background: #82d79f; border-radius: 50%; box-shadow: 0 0 0 5px rgba(130,215,159,.11); }
.hero-signal strong { display: block; margin: 17px 0 0; font-family: "Fraunces", serif; font-size: 42px; line-height: 1; }
.hero-signal small { color: rgba(255,255,255,.58); }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; width: 34px; height: 52px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.scroll-cue span { position: absolute; top: 10px; left: 15px; width: 2px; height: 9px; background: white; border-radius: 2px; animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }

.section-ivory { background: var(--ivory); }
.manifest { padding: 135px 0 90px; }
.manifest-grid { display: grid; grid-template-columns: 180px 1fr 180px; gap: 52px; align-items: start; }
.manifest-copy h2, .section-heading h2, .pricing h2, .faq h2 { color: var(--ink); font-size: clamp(48px, 5vw, 76px); }
.manifest-copy p { max-width: 720px; margin: 34px 0 0; color: var(--muted); font-size: 20px; line-height: 1.75; }
.manifest-stamp { width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 18px; border: 1px solid var(--coral); border-radius: 50%; color: var(--coral); transform: rotate(8deg); }
.manifest-stamp span { font-family: "Fraunces", serif; font-size: 34px; }
.manifest-stamp small { margin-top: 3px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.motion-story { position: relative; overflow: clip; padding: 120px 0 40px; color: var(--ivory); background: radial-gradient(circle at 70% 28%, #153d40 0, var(--ink) 37%, var(--ink-deep) 78%); }
.motion-story::before { content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, transparent, black 22%, black 72%, transparent); }
.story-heading { position: relative; z-index: 2; text-align: center; }
.story-heading h2 { font-size: clamp(54px, 6vw, 92px); }
.story-layout { position: relative; display: grid; grid-template-columns: minmax(280px, .7fr) minmax(560px, 1.3fr); gap: 72px; align-items: start; }
.story-copy { padding-top: 18vh; padding-bottom: 24vh; }
.story-step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transform: translate3d(0, 35px, 0); transition: opacity .55s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.story-step.is-active { opacity: 1; transform: translate3d(0,0,0); }
.story-step > span { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.story-step h3 { margin: 19px 0; font-family: "Fraunces", serif; font-size: clamp(34px, 3.3vw, 54px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.story-step p { margin: 0; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.75; }
.story-stage { position: sticky; top: 94px; height: calc(100vh - 118px); min-height: 650px; max-height: 790px; display: grid; place-items: center; perspective: 1200px; }
.story-halo { position: absolute; width: 610px; height: 610px; background: radial-gradient(circle, rgba(243,111,86,.28), rgba(120,169,139,.1) 45%, transparent 69%); border-radius: 50%; filter: blur(12px); transform: scale(var(--story-halo, .88)); transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .8s; }
.story-phone { position: relative; z-index: 3; width: min(310px, 38vw); padding: 9px; overflow: hidden; background: #071719; border: 1px solid rgba(255,255,255,.34); border-radius: 48px; box-shadow: 0 55px 110px rgba(0,0,0,.48), inset 0 0 0 2px rgba(255,255,255,.09); transform: translate3d(var(--phone-x, 0), var(--phone-y, 0), 0) rotateY(var(--phone-ry, -7deg)) rotateZ(var(--phone-rz, 1deg)) scale(var(--phone-scale, .93)); transition: transform 1s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.story-phone::after { content: ""; position: absolute; inset: 10px; border-radius: 38px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); pointer-events: none; }
.story-phone img { width: 100%; aspect-ratio: 1003 / 1568; object-fit: cover; border-radius: 38px; }
.story-phone-speaker { position: absolute; z-index: 2; top: 21px; left: 50%; width: 78px; height: 19px; background: #071719; border-radius: 999px; transform: translateX(-50%); }
.story-card { position: absolute; z-index: 4; padding: 18px; color: var(--ink); background: rgba(255,250,242,.91); border: 1px solid rgba(255,255,255,.62); border-radius: 22px; box-shadow: 0 28px 70px rgba(0,0,0,.34); backdrop-filter: blur(20px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); will-change: transform, opacity; }
.story-card small, .story-card > span, .story-card div > span { color: #6e7e80; font-size: 10px; }
.story-card strong { font-family: "Fraunces", serif; }
.story-card-top { display: flex; align-items: center; gap: 8px; }
.story-card-top b { margin-left: auto; color: #4c8061; font-size: 9px; }
.story-card-hygiene { left: 1%; top: 25%; width: 230px; transform: translate3d(0,0,70px) rotate(-4deg); }
.story-card-hygiene > strong { display: block; margin: 19px 0 3px; font-size: 40px; }
.story-card-stock { right: -1%; top: 42%; width: 248px; display: flex; align-items: center; gap: 14px; opacity: 0; transform: translate3d(70px,30px,40px) rotate(5deg) scale(.88); }
.story-card-stock .story-card-icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; color: white; background: var(--coral); border-radius: 14px; font-size: 22px; }
.story-card-stock strong { display: block; margin: 4px 0; font-size: 23px; }
.story-card-margin { left: 2%; bottom: 14%; width: 260px; opacity: 0; transform: translate3d(-60px,40px,50px) rotate(-5deg) scale(.88); }
.story-card-margin > div { display: flex; align-items: end; justify-content: space-between; }
.story-card-margin strong { color: var(--coral); font-size: 32px; }
.story-card-margin svg { width: 100%; height: 62px; margin: 8px 0 2px; color: var(--coral); }
.story-orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.story-orbit-one { width: 560px; height: 560px; transform: rotateX(68deg) rotateZ(12deg); }
.story-orbit-two { width: 430px; height: 640px; transform: rotateY(70deg) rotateZ(-20deg); }
.motion-story[data-story-active="1"] { --phone-x: -8%; --phone-y: 2%; --phone-ry: 7deg; --phone-rz: -1deg; --phone-scale: .96; --story-halo: 1.04; }
.motion-story[data-story-active="1"] .story-card-hygiene { opacity: .18; transform: translate3d(-45px,-55px,0) rotate(-9deg) scale(.82); }
.motion-story[data-story-active="1"] .story-card-stock { opacity: 1; transform: translate3d(0,0,80px) rotate(3deg) scale(1); }
.motion-story[data-story-active="1"] .story-orbit-one { transform: rotateX(58deg) rotateZ(85deg) scale(1.08); }
.motion-story[data-story-active="2"] { --phone-x: 7%; --phone-y: -1%; --phone-ry: -3deg; --phone-rz: 1deg; --phone-scale: .9; --story-halo: 1.16; }
.motion-story[data-story-active="2"] .story-card-hygiene { opacity: 0; transform: translate3d(-80px,-80px,0) rotate(-12deg) scale(.72); }
.motion-story[data-story-active="2"] .story-card-stock { opacity: .16; transform: translate3d(70px,-80px,0) rotate(9deg) scale(.78); }
.motion-story[data-story-active="2"] .story-card-margin { opacity: 1; transform: translate3d(0,0,90px) rotate(-2deg) scale(1); }
.motion-story[data-story-active="2"] .story-orbit-two { transform: rotateY(62deg) rotateZ(58deg) scale(1.12); }

.solution { padding: 90px 0 140px; }
.section-heading { display: grid; grid-template-columns: 1.4fr .8fr; gap: 80px; align-items: end; margin-bottom: 70px; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 360px; overflow: hidden; padding: 28px; border-radius: var(--radius); color: var(--ink); transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s; }
.feature-card:hover { transform: translateY(-8px) scale(1.012); box-shadow: 0 28px 70px rgba(16,42,46,.14); }
.feature-card-large { grid-column: span 2; min-height: 450px; display: grid; grid-template-columns: 1fr 260px; align-items: end; gap: 32px; }
.feature-card-wide { grid-column: 1 / -1; min-height: 310px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature-coral { background: var(--coral); color: #fff8f0; }
.feature-sage { background: var(--sage); }
.feature-navy { background: var(--ink); color: var(--ivory); }
.feature-cream { background: #e8dcc9; }
.feature-gold { background: var(--gold); }
.feature-index { position: absolute; top: 24px; right: 26px; opacity: .55; font-size: 12px; letter-spacing: .12em; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 62px; border: 1px solid currentColor; border-radius: 50%; font-size: 23px; }
.feature-card h3 { margin: 0 0 14px; font-family: "Fraunces", serif; font-size: 31px; letter-spacing: -.025em; }
.feature-card p { max-width: 470px; margin: 0; opacity: .8; line-height: 1.65; }
.feature-card-large .feature-icon, .feature-card-wide .feature-icon { margin-bottom: 26px; }
.mini-temperature { padding: 22px; color: var(--ink); background: rgba(255,255,255,.91); border-radius: 20px; box-shadow: 0 18px 60px rgba(72,29,23,.18); transform: rotate(2deg); }
.mini-temperature > div:first-child { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.mini-temperature strong { font-size: 32px; }
.temperature-line { position: relative; height: 44px; margin: 14px 0; border-bottom: 1px solid rgba(16,42,46,.14); }
.temperature-line::after { content: ""; position: absolute; inset: 18px 0 auto; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sage) 0 77%, #e3ddd1 77%); }
.temperature-line i { position: absolute; z-index: 1; top: 13px; left: 75%; width: 13px; height: 13px; background: var(--sage); border: 3px solid white; border-radius: 50%; }
.mini-temperature small { color: #678074; }
.wide-card-copy { padding-left: 70px; }
.compliance-list { padding: 18px; background: rgba(255,255,255,.72); border-radius: 22px; }
.compliance-list div { display: flex; justify-content: space-between; gap: 30px; padding: 18px 16px; border-bottom: 1px solid rgba(16,42,46,.13); }
.compliance-list div:last-child { border: 0; }
.compliance-list b { color: #3e755a; font-size: 13px; }

.cockpit-section { padding: 140px 0; overflow: hidden; color: var(--ivory); background: var(--ink); }
.cockpit-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.section-kicker-light { color: var(--gold); }
.cockpit-copy h2 { font-size: clamp(50px, 5vw, 78px); }
.cockpit-copy > p:not(.section-kicker) { margin: 28px 0 38px; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.75; }
.cockpit-tabs { display: inline-flex; gap: 4px; padding: 5px; background: rgba(255,255,255,.07); border-radius: 999px; }
.cockpit-tabs button { padding: 10px 15px; border: 0; border-radius: 999px; color: rgba(255,255,255,.55); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.cockpit-tabs button[aria-selected="true"] { color: var(--ink); background: var(--ivory); }
.dashboard { min-width: 680px; overflow: hidden; color: var(--ink); background: #f8f5ed; border: 8px solid rgba(255,255,255,.1); border-radius: 30px; box-shadow: 0 40px 100px rgba(0,0,0,.32); transform: rotate(1deg); }
.dashboard-topbar { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: #fff; border-bottom: 1px solid rgba(16,42,46,.08); }
.dashboard-brand { display: flex; align-items: center; gap: 9px; font-family: "Fraunces", serif; }
.dashboard-brand img { border-radius: 9px; }
.dashboard-avatar { display: grid; place-items: center; width: 32px; height: 32px; color: white; background: var(--coral); border-radius: 50%; font-size: 10px; font-weight: 700; }
.dashboard-content { padding: 24px; }
.dashboard-greeting { display: flex; justify-content: space-between; align-items: center; }
.dashboard-greeting small, .metric-grid small, .pulse-card small { color: #738083; }
.dashboard-greeting h3 { margin: 5px 0 0; font-family: "Fraunces", serif; font-size: 25px; }
.status-pill { padding: 8px 12px; color: #4c765f; background: #dfede3; border-radius: 99px; font-size: 10px; font-weight: 700; }
.status-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #5c936f; border-radius: 50%; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 22px 0; }
.metric-grid > div { display: flex; flex-direction: column; padding: 15px; background: #fff; border: 1px solid rgba(16,42,46,.07); border-radius: 15px; }
.metric-grid strong { margin: 7px 0 2px; font-family: "Fraunces", serif; font-size: 27px; }
.metric-grid span { color: #5b8a70; font-size: 9px; }
.dashboard-bottom { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; }
.action-list, .pulse-card { padding: 15px; background: white; border: 1px solid rgba(16,42,46,.07); border-radius: 15px; }
.action-list h4 { margin: 0 0 10px; font-size: 12px; }
.action-list > div { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(16,42,46,.07); }
.action-list p { flex: 1; margin: 0; font-size: 10px; }
.action-list p small { display: block; margin-top: 3px; color: #859094; }
.action-list time { color: #859094; font-size: 8px; }
.action-check, .action-clock { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font-size: 10px; font-weight: 700; }
.action-check { color: #4d8265; background: #e0eee4; }
.action-clock { color: #c44e3c; background: #fde1db; }
.pulse-card svg { width: 100%; margin: 12px 0 0; }
.pulse-card strong { color: var(--coral); font-family: "Fraunces", serif; font-size: 22px; }

.automation { padding: 140px 0; }
.automation-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.automation-flow li { min-height: 290px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; }
.automation-flow li > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 70px; color: var(--coral); border: 1px solid var(--coral); border-radius: 50%; font-size: 12px; font-weight: 700; }
.automation-flow h3 { margin: 0 0 12px; font-family: "Fraunces", serif; font-size: 28px; }
.automation-flow p { margin: 0; color: var(--muted); line-height: 1.6; }

.audience { padding: 80px 0; background: var(--coral); color: white; }
.audience .section-kicker { color: var(--ink); }
.audience-words { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.audience-words span { font-family: "Fraunces", serif; font-size: clamp(28px, 3vw, 48px); }
.audience-words i { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }

.pricing { padding: 140px 0; }
.pricing-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: center; }
.pricing-copy > p:not(.section-kicker) { max-width: 600px; margin-top: 30px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.price-card { padding: 38px; color: var(--ivory); background: var(--ink); border-radius: 30px; box-shadow: 0 30px 90px rgba(16,42,46,.2); }
.price-label { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.price { display: flex; align-items: end; gap: 16px; padding: 28px 0; margin: 12px 0 22px; border-bottom: 1px solid rgba(255,255,255,.13); }
.price strong { font-family: "Fraunces", serif; font-size: 58px; letter-spacing: -.04em; }
.price span { padding-bottom: 8px; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.4; }
.price-card > p { color: rgba(255,255,255,.6); line-height: 1.6; }
.price-card ul { padding: 16px 0; list-style: none; }
.price-card li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.price-card li::before { content: "✓"; margin-right: 10px; color: var(--sage); }
.price-card > small { display: block; margin-top: 14px; color: rgba(255,255,255,.42); text-align: center; line-height: 1.5; }

.faq { padding: 60px 0 150px; }
.faq-grid { display: grid; grid-template-columns: .65fr 1.1fr; gap: 100px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 26px 48px 26px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 21px; font-size: 24px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 650px; margin: -4px 0 28px; color: var(--muted); line-height: 1.7; }

.closing { position: relative; overflow: hidden; padding: 140px 0; color: var(--ivory); background: var(--ink-deep); text-align: center; }
.closing-glow { position: absolute; top: -250px; left: 50%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(243,111,86,.2), transparent 67%); transform: translateX(-50%); }
.closing-inner { position: relative; }
.closing img { margin: 0 auto 24px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.32); }
.closing h2 { font-size: clamp(54px, 6vw, 88px); }
.closing > div p:not(.section-kicker):not(.form-message) { margin: 24px auto; color: rgba(255,255,255,.62); font-size: 18px; }
.waitlist { width: min(590px, 100%); display: flex; gap: 8px; margin: 32px auto 0; padding: 7px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; }
.waitlist input { min-width: 0; flex: 1; padding: 0 20px; color: white; background: transparent; border: 0; outline: 0; }
.waitlist input::placeholder { color: rgba(255,255,255,.42); }
.form-message { min-height: 24px; margin: 14px 0 0; color: var(--sage); font-size: 13px; }
.app-store-button { width: min(340px, 100%); min-height: 62px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; margin-top: 32px; color: var(--ink-deep); background: var(--ivory); border-radius: 999px; box-shadow: 0 20px 55px rgba(0,0,0,.3); font-weight: 800; transition: transform .25s, box-shadow .25s; }
.app-store-button:hover { transform: translateY(-3px); box-shadow: 0 25px 70px rgba(0,0,0,.38); }
.app-store-button span { color: var(--coral); font-size: 20px; }
.app-store-button[hidden] { display: none; }

.site-footer { padding: 50px 0; color: rgba(255,255,255,.54); background: #06171a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 35px; align-items: center; }
.brand-light { color: var(--ivory); }
.footer-grid p, .footer-grid small { margin: 0; font-size: 12px; }
.footer-grid > div { display: flex; justify-content: flex-end; gap: 18px; font-size: 12px; }
.footer-grid small { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }

.legal-body { color: var(--text); background: var(--ivory); }
.legal-header { position: relative; color: var(--ivory); background: var(--ink-deep); }
.legal-header .nav-wrap { height: 82px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.legal-back:hover { color: white; }
.legal-main { padding: 100px 0 130px; }
.legal-hero { max-width: 920px; padding-bottom: 58px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { color: var(--ink); font-size: clamp(52px, 7vw, 92px); }
.legal-hero > p:not(.section-kicker) { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.legal-meta { display: inline-flex; margin-top: 26px; padding: 8px 13px; color: #557068; background: #e2eadf; border-radius: 999px; font-size: 11px; font-weight: 700; }
.legal-content { width: min(860px, 100%); padding-top: 38px; }
.legal-content section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 17px; color: var(--ink); font-family: "Fraunces", serif; font-size: 31px; letter-spacing: -.025em; }
.legal-content h3 { margin: 24px 0 10px; color: var(--ink); font-size: 16px; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.75; }
.legal-content p { margin: 10px 0; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--coral-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-notice { padding: 22px 24px !important; margin: 18px 0 10px; background: #fff8ee; border: 1px solid rgba(216,173,97,.45) !important; border-radius: 18px; }
.legal-notice strong { display: block; margin-bottom: 5px; color: var(--ink); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-copy.reveal.is-visible { transform: translate3d(0, var(--parallax-y, 0px), 0); }
.hero-signal { transform: translate3d(0, var(--parallax-y, 0px), 0); }
.hero-aurora { transform: translate3d(0, var(--parallax-y, 0px), 0); }
.dashboard.reveal.is-visible { transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(1deg); }
.closing-glow { transform: translate3d(-50%, var(--parallax-y, 0px), 0); }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 760px); }
  .navigation { position: fixed; inset: 72px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 24px; color: white; background: rgba(7,28,32,.98); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; }
  .navigation.is-open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: 850px; height: 100svh; }
  .hero-art { object-position: 62% center; opacity: .58; }
  .hero::after { background: linear-gradient(90deg, rgba(7,28,32,.92) 0, rgba(7,28,32,.66) 55%, rgba(7,28,32,.25)); }
  .hero-copy { width: min(630px, 92%); }
  .hero-signal { right: 20px; bottom: 86px; opacity: .82; transform: scale(.88); transform-origin: right bottom; }
  .manifest-grid { grid-template-columns: 1fr; }
  .manifest-stamp { display: none; }
  .motion-story { padding: 95px 0 80px; }
  .story-heading { z-index: 6; margin-bottom: 34px; }
  .story-layout { display: flex; flex-direction: column; gap: 34px; }
  .story-copy { position: relative; z-index: 6; order: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; padding: 0; }
  .story-step,
  .story-step.is-active { min-height: 0; width: 100%; justify-content: flex-start; padding: 28px; opacity: 1; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); border-radius: 22px; text-shadow: none; transform: none; }
  .story-step p { color: rgba(255,255,255,.74); }
  .story-stage { position: relative; z-index: 2; top: auto; order: 1; width: 100%; height: 660px; min-height: 0; max-height: none; margin: 0; pointer-events: none; transform: none; }
  .story-phone { width: min(285px, 43vw); transform: rotateY(-4deg) rotateZ(1deg) scale(.94) !important; }
  .story-halo { width: 540px; height: 540px; transform: scale(.96) !important; }
  .story-card-hygiene,
  .motion-story[data-story-active] .story-card-hygiene { left: 2%; right: auto; top: 18%; width: 210px; opacity: 1; transform: translate3d(0,0,70px) rotate(-4deg) !important; }
  .story-card-stock,
  .motion-story[data-story-active] .story-card-stock { right: 2%; top: 42%; width: 220px; opacity: 1; transform: translate3d(0,0,80px) rotate(3deg) !important; }
  .story-card-margin,
  .motion-story[data-story-active] .story-card-margin { left: 3%; right: auto; bottom: 9%; width: 230px; opacity: 1; transform: translate3d(0,0,90px) rotate(-2deg) !important; }
  .reveal,
  .reveal.is-visible,
  .hero-copy.reveal.is-visible,
  .dashboard.reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .section-heading, .pricing-grid, .faq-grid, .cockpit-grid { grid-template-columns: 1fr; gap: 50px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-large, .feature-card-wide { grid-column: 1 / -1; }
  .dashboard { min-width: 0; }
  .automation-flow { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div { justify-content: flex-start; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 26px); --radius: 22px; }
  .nav-wrap { height: 72px; }
  .hero { min-height: 800px; }
  .hero-art { object-position: 68% center; }
  .hero-copy { width: 100%; padding-top: 20px; }
  .hero-signal { display: none; }
  h1 { font-size: clamp(48px, 15vw, 70px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .text-link { align-self: flex-start; }
  .hero-promise span:not(:first-child)::before { display: none; }
  .manifest, .solution, .automation, .pricing, .closing { padding-block: 90px; }
  .motion-story { padding: 85px 0 72px; }
  .story-heading { text-align: left; }
  .story-heading h2 { font-size: 48px; }
  .story-copy { padding-top: 0; }
  .story-step,
  .story-step.is-active { width: 100%; padding: 24px 21px; }
  .story-step h3 { font-size: 34px; }
  .story-step p { font-size: 15px; line-height: 1.65; }
  .story-stage { height: 550px; margin: 0; transform: none; }
  .story-phone { width: min(248px, 58vw); border-radius: 39px; }
  .story-phone img, .story-phone::after { border-radius: 31px; }
  .story-card { padding: 13px; border-radius: 17px; }
  .story-card-hygiene,
  .motion-story[data-story-active] .story-card-hygiene { left: 0; right: auto; top: 13%; width: 170px; }
  .story-card-hygiene > strong { font-size: 31px; }
  .story-card-stock,
  .motion-story[data-story-active] .story-card-stock { right: -2%; top: 43%; width: 178px; }
  .story-card-margin,
  .motion-story[data-story-active] .story-card-margin { left: 0; right: auto; bottom: 5%; width: 185px; }
  .story-orbit-one { width: 410px; height: 410px; }
  .story-orbit-two { width: 330px; height: 500px; }
  .section-heading { margin-bottom: 44px; }
  .manifest-copy h2, .section-heading h2, .pricing h2, .faq h2, .cockpit-copy h2 { font-size: 44px; }
  .manifest-copy p { font-size: 17px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card-large, .feature-card-wide { grid-column: auto; min-height: 330px; display: block; }
  .feature-card-large { display: flex; flex-direction: column; justify-content: space-between; }
  .feature-card-wide { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .wide-card-copy { padding-left: 0; }
  .mini-temperature { margin-top: 34px; }
  .dashboard { transform: none; }
  .dashboard-content { padding: 15px; }
  .metric-grid { grid-template-columns: 1fr; }
  .dashboard-bottom { grid-template-columns: 1fr; }
  .automation-flow { grid-template-columns: 1fr; }
  .automation-flow li { min-height: 220px; }
  .automation-flow li > span { margin-bottom: 45px; }
  .audience-words { justify-content: center; }
  .audience-words i { display: none; }
  .price-card { padding: 27px; }
  .price { align-items: flex-start; flex-direction: column; }
  .price strong { font-size: 49px; }
  .faq { padding-bottom: 100px; }
  .waitlist { flex-direction: column; padding: 8px; border-radius: 18px; }
  .waitlist input { min-height: 52px; text-align: center; }
  .legal-main { padding: 72px 0 90px; }
  .legal-header .brand { font-size: 20px; }
  .legal-hero h1 { font-size: 50px; }
  .legal-content h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-art { transform: scale(1.045); }
  .hero-copy, .hero-signal, .hero-aurora, .dashboard, .closing-glow { --parallax-y: 0px !important; }
  .story-card, .story-phone, .story-step, .story-halo, .story-orbit { transition: none !important; }
}
