@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/BricolageGrotesque_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Figtree; src: url('fonts/Figtree_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url('fonts/Figtree_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --ground: #0f2418;
  --forest: #13291c;
  --deep: #1d3b29;
  --citron: #d4ec5c;
  --citron-hover: #e2f584;
  --paper: #f5f6f0;
  --soft: #e6ede2;
  --muted: #cfdccb;
  --amber: #ffd27a;
  --clay: #ffb59e;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.07);
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --stage-s: 0.76;
  --main: 0.85;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--ground); }
body { background: var(--ground); color: var(--paper); font: 400 18px/1.55 Figtree, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.9rem, 6.6vw, 6.6rem); line-height: 1.04; }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.6rem); line-height: 1.05; }
em { font-style: normal; color: var(--citron); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.45rem); color: var(--soft); }
:focus-visible { outline: 2px solid var(--citron); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; top: -60px; left: 16px; z-index: 40; padding: 10px 16px; border-radius: 999px; background: var(--citron); color: var(--forest); font-weight: 600; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 27px; background: var(--citron); color: var(--forest); font-weight: 600; transition: background 0.2s; }
.btn:hover { background: var(--citron-hover); }

/* Header */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); background: rgba(15, 36, 24, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; }
.brand { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 1.3rem var(--heading); letter-spacing: -0.02em; }
.brand svg { fill: var(--citron); margin-left: -9px; }
.foot-brand .brand svg { margin-left: -11px; }
.bar nav { display: flex; gap: clamp(4px, 2vw, 20px); }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 600; font-size: 0.98rem; color: var(--soft); transition: color 0.2s; }
.bar nav a:hover { color: var(--citron); }

/* Hero: words beside complete phones. script.js sizes the phones to fit the window. */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 3vw, 48px); min-height: calc(100svh - 68px); padding: 24px var(--gutter); overflow: hidden; isolation: isolate; }
.hero h1 { font-size: clamp(2.6rem, 4.2vw, 5rem); }
.foliage { position: absolute; inset: -12px; z-index: -1; background: url('assets/bg-foliage.jpg') center / cover; filter: blur(3px) saturate(0.95); opacity: 0.5; }
.foliage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 36, 24, 0.55), rgba(15, 36, 24, 0.82) 70%, var(--ground)); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(14px, 2.4vh, 24px); }
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line > span { display: block; }
.js .line > span { transform: translateY(108%); animation: up 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 0.1s + 0.05s); }
@keyframes up { to { transform: none; } }
.js .rise { opacity: 0; animation: fade-up 0.8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-phones { display: grid; place-items: center; }
.hero-phones > .phone { grid-area: 1 / 1; }
.main-phone { --s: var(--main); z-index: 2; }
.side { --s: calc(var(--main) * 0.72); z-index: 1; }
.side.left { transform: translateX(calc(var(--main) * -356px - 16px)); }
.side.right { transform: translateX(calc(var(--main) * 356px + 16px)); }
.js .main-phone { animation: phone-in 1.1s var(--ease) both 0.25s; }
.js .side { animation: phone-in 1.1s var(--ease) both 0.5s; }
@keyframes phone-in { from { opacity: 0; translate: 0 70px; } to { opacity: 1; translate: 0 0; } }

/* Arrivals */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Feature sections */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 96px) var(--gutter); scroll-margin-top: 40px; }
.feature.flip .copy { order: 2; }
.copy { display: flex; flex-direction: column; gap: 18px; }
.copy > p:last-child { color: var(--muted); max-width: 30em; text-wrap: pretty; }
.stage { position: relative; display: flex; justify-content: center; padding: 36px 0; border-radius: 40px; overflow: hidden; isolation: isolate; background: var(--deep); }
.stage::before { content: ''; position: absolute; inset: -8px; z-index: -1; background: linear-gradient(rgba(10, 28, 18, 0.45), rgba(10, 28, 18, 0.45)), url('assets/bg-foliage.jpg') center / cover; filter: blur(2px); }

/* The phone: the app is laid out at phone size, then scaled, so everything stays sharp. */
.phone { --pad: calc(12px * var(--s)); flex: none; width: calc(390px * var(--s) + var(--pad) * 2); height: calc(850px * var(--s) + var(--pad) * 2); padding: var(--pad); border-radius: calc(66px * var(--s)); background: #000; box-shadow: 0 0 0 calc(2px * var(--s)) #4a564d, 0 30px 80px rgba(0, 0, 0, 0.55); }
.viewport { position: relative; width: calc(390px * var(--s)); height: calc(850px * var(--s)); border-radius: calc(54px * var(--s)); overflow: hidden; background: var(--ground); }
.app { position: absolute; top: 0; left: 0; width: 390px; height: 850px; transform: scale(var(--s)); transform-origin: 0 0; color: var(--paper); font-size: 15px; line-height: 1.4; text-align: left; }
.island { position: absolute; top: 11px; left: 132px; width: 126px; height: 37px; border-radius: 19px; background: #000; z-index: 6; }
.app .fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.backdrop { position: absolute; inset: 0; background: linear-gradient(rgba(10, 28, 18, 0.5), rgba(10, 28, 18, 0.5)), url('assets/bg-foliage.jpg') center / cover; }
.glass { background: rgba(255, 255, 255, 0.11); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
.stack { position: absolute; top: 62px; left: 20px; right: 20px; display: flex; flex-direction: column; gap: 12px; }
.stack.low { top: 104px; }
.card { border-radius: 22px; padding: 14px 16px; }
.card > b { display: block; margin-bottom: 4px; }
.card-title { font: 700 20px var(--heading); }
.big { font: 700 32px/1.05 var(--heading); letter-spacing: -0.02em; margin-top: 8px; }
.stack.low .big { margin: 0; }
.sub { margin-top: 5px; font-size: 16px; color: var(--muted); }
.sub b { color: var(--citron); font-weight: 600; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 12px; color: var(--forest); font-size: 13px; font-weight: 600; }
.chip.amber { background: var(--amber); }
.chip.citron { background: var(--citron); }
.cta { display: flex; align-items: center; justify-content: center; border-radius: 27px; background: var(--citron); color: var(--forest); font-weight: 600; font-size: 16px; }
.cta.small { height: 46px; margin-top: 2px; }
.cta.bottom { position: absolute; left: 20px; right: 20px; bottom: 26px; height: 54px; }

/* Identify */
.segmented { position: absolute; top: 62px; left: 76px; width: 238px; height: 44px; padding: 3px; border-radius: 22px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; text-align: center; font-weight: 600; }
.segmented .on { height: 36px; border-radius: 18px; background: var(--paper); color: var(--forest); display: grid; place-items: center; }
.corners { position: absolute; top: 124px; left: 28px; width: 334px; height: 400px; }
.scanline { position: absolute; top: 140px; left: 40px; right: 40px; height: 3px; border-radius: 2px; background: var(--citron); box-shadow: 0 0 22px 6px rgba(212, 236, 92, 0.5); }
.play .scanline { animation: scan 3.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 500px; } }
.result { position: absolute; left: 16px; right: 16px; top: 572px; padding: 16px; border-radius: 28px; background: rgba(14, 32, 22, 0.78); display: flex; flex-direction: column; gap: 3px; }
.js .result { opacity: 0; translate: 0 26px; transition: opacity 0.8s var(--ease) 0.7s, translate 0.8s var(--ease) 0.7s; }
.js .result.in { opacity: 1; translate: 0 0; }
.name { font: 700 28px/1.05 var(--heading); letter-spacing: -0.02em; }
.latin { font-style: italic; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 9px 0 8px; font-size: 14px; font-weight: 600; line-height: 1.25; }
.facts > div { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); }
.facts span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }

/* Health check */
.photo { position: relative; height: 216px; border-radius: 28px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag { position: absolute; padding: 6px 11px; border-radius: 14px; background: rgba(14, 32, 22, 0.84); font-size: 13px; font-weight: 600; }
.photo .photo-tag { left: 12px; bottom: 12px; }
.plan-steps { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.plan-steps b { display: block; color: var(--paper); font-size: 15px; }
.js .unfold { opacity: 0; translate: 12px 0; transition: opacity 0.6s var(--ease), translate 0.6s var(--ease); }
.js .play .unfold { opacity: 1; translate: 0 0; }
.js .play .unfold:nth-child(2) { transition-delay: 0.3s; }
.js .play .unfold:nth-child(3) { transition-delay: 0.55s; }

/* Recovery */
.score { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 28px; }
.ring { position: relative; flex: none; width: 104px; height: 104px; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 10; }
.ring .arc { stroke: var(--citron); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 107.8; }
.js .ring .arc { stroke-dashoffset: 163.4; transition: stroke-dashoffset 1.4s var(--ease); }
.js .play .ring .arc { stroke-dashoffset: 107.8; }
.ring output { position: absolute; inset: 0; display: grid; place-items: center; font: 700 28px var(--heading); }
.score-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.score-text b { font-size: 17px; }
small { font-size: 14px; color: var(--muted); }
.split { position: relative; height: 320px; border-radius: 28px; overflow: hidden; background: #1a3324; }
.split img { position: absolute; top: 0; left: 0; width: 350px; height: 320px; object-fit: contain; }
.split .first { position: absolute; inset: 0 50% 0 0; overflow: hidden; background: #1a3324; }
.split i { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--paper); }
.js .split .first { inset: 0 0 0 0; transition: inset 1.3s var(--ease) 0.4s; }
.js .split i { left: 100%; transition: left 1.3s var(--ease) 0.4s; }
.js .play .split .first { inset: 0 50% 0 0; }
.js .play .split i { left: 50%; }
.photo-tag.l { top: 10px; left: 10px; }
.photo-tag.r { top: 10px; right: 10px; }
.changes { display: flex; flex-direction: column; gap: 7px; border-radius: 24px; }
.tick { position: relative; padding-left: 26px; }
.tick::before, .plans .plan li::before { content: ''; position: absolute; left: 3px; top: 0.36em; width: 12px; height: 6px; border-left: 2.4px solid var(--citron); border-bottom: 2.4px solid var(--citron); rotate: -45deg; }

/* Reminders */
.banner { position: absolute; z-index: 5; top: 10px; left: 10px; right: 10px; padding: 12px 14px; border-radius: 26px; background: rgba(4, 12, 8, 0.94); display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); font-size: 14px; color: var(--muted); }
.banner b { display: block; color: var(--paper); font-size: 15px; }
.bell { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--forest); display: grid; place-items: center; }
.bell svg { width: 28px; height: 28px; fill: var(--citron); }
.js .banner { translate: 0 -130px; transition: translate 0.8s var(--ease) 0.7s; }
.js .play .banner { translate: 0 0; }
.s-reminders .island { display: none; }
.row { display: flex; align-items: center; gap: 12px; border-radius: 26px; padding: 12px 14px; }
.row > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.row > span > b { font-weight: 600; }
.thumb { width: 60px; height: 64px; object-fit: contain; border-radius: 16px; background: rgba(255, 255, 255, 0.1); }
.care { border-radius: 28px; display: flex; flex-direction: column; }
.care-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.task { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.task > span:nth-child(2) { flex: 1; }
.task b { display: block; font-weight: 600; }
.task small { display: block; }
.ico { flex: none; width: 44px; height: 44px; border-radius: 16px; background: rgba(255, 255, 255, 0.11); display: grid; place-items: center; }
.ico svg, .chat-head svg, .round svg, .scan svg { width: 22px; height: 22px; fill: none; stroke: var(--citron); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.task i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--muted); position: relative; transition: background 0.4s, border-color 0.4s; }
.task.done i::after { content: ''; position: absolute; left: 6px; top: 7px; width: 12px; height: 6px; border-left: 2.4px solid var(--forest); border-bottom: 2.4px solid var(--forest); rotate: -45deg; }
.task.done b { text-decoration: line-through; }
.task.done i { background: var(--citron); border-color: var(--citron); }
.js .task.done i { background: transparent; border-color: var(--muted); }
.js .task.done b { text-decoration: none; }
.js .play .task.done i { background: var(--citron); border-color: var(--citron); transition-delay: 1.4s; }
.js .play .task.done b { text-decoration: line-through; transition-delay: 1.4s; }
.tabs { position: absolute; left: 12px; right: 12px; bottom: 18px; height: 74px; border-radius: 37px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; font-size: 13px; font-weight: 600; }
.tabs .here { color: var(--citron); }
.tabs .scan { width: 58px; height: 58px; border-radius: 50%; background: var(--citron); display: grid; place-items: center; }
.tabs .scan svg { stroke: var(--forest); width: 26px; height: 26px; }

/* Expert */
.chat-head { position: absolute; top: 0; left: 0; right: 0; height: 104px; padding: 54px 16px 0; display: flex; align-items: center; gap: 10px; border-width: 0 0 1px; box-shadow: none; }
.chat-head svg { stroke: var(--paper); stroke-width: 2.2; }
.chat-head b { font-size: 17px; }
.chat { position: absolute; top: 120px; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 300px; padding: 12px 14px; border-radius: 20px; }
.me { align-self: flex-end; background: var(--citron); color: var(--forest); font-weight: 600; }
.pic { align-self: flex-end; width: 190px; padding: 7px; background: rgba(255, 255, 255, 0.14); border-radius: 22px; }
.pic img { width: 100%; height: 182px; object-fit: contain; }
.ai { align-self: flex-start; max-width: 320px; }
.js .msg { opacity: 0; translate: 0 12px; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); }
.js .play .msg { opacity: 1; translate: 0 0; }
.js .play .msg:nth-child(2) { transition-delay: 0.4s; }
.js .play .msg:nth-child(3) { transition-delay: 1.1s; }
.js .play .msg:nth-child(4) { transition-delay: 1.5s; }
.js .play .msg:nth-child(5) { transition-delay: 2s; }
.compose { position: absolute; left: 12px; right: 12px; bottom: 24px; display: flex; gap: 8px; align-items: center; }
.round { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.field { flex: 1; height: 52px; padding: 0 18px; border-radius: 26px; display: flex; align-items: center; font-size: 16px; color: var(--muted); }

/* Garden */
.add { height: 50px; border-radius: 25px; display: grid; place-items: center; color: var(--citron); font-weight: 600; }
.g-card { border-radius: 26px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.g-top { display: flex; align-items: center; gap: 12px; }
.g-top .thumb { width: 72px; height: 72px; }
.g-top b { display: block; font: 700 19px/1.2 var(--heading); }
.g-top i { display: block; font-size: 14px; color: var(--muted); }
.g-top small { display: block; }
.g-rem { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); font-size: 14px; font-weight: 600; }
.switch { position: relative; width: 46px; height: 28px; border-radius: 14px; background: var(--citron); }
.switch::after { content: ''; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest); }
.switch.off { background: rgba(255, 255, 255, 0.2); }
.switch.off::after { right: 21px; background: var(--paper); }

/* Water calculator */
.water-plant { position: absolute; top: 76px; left: 25px; width: 340px; height: 324px; object-fit: contain; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px 34px; border-radius: 36px 36px 0 0; border-width: 1px 0 0; background: rgba(14, 32, 22, 0.86); display: flex; flex-direction: column; gap: 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head .card-title { font-size: 26px; }
.sheet-head .round { width: 44px; height: 44px; }
.sheet-head .round svg { stroke: var(--paper); }
.pots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pot { height: 76px; border-radius: 20px; background: rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pot b { font-weight: 600; }
.pot small { font-size: 13px; }
.pot.on { background: var(--citron); color: var(--forest); }
.pot.on small { color: var(--forest); }
.ml { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, 0.08); }
.ml svg { flex: none; width: 38px; height: 38px; fill: none; stroke: var(--citron); stroke-width: 2; stroke-linejoin: round; }
.ml b { display: block; font: 700 30px/1.1 var(--heading); }
.ml small { display: block; }

/* Care guide */
.g-photo { height: 210px; border-radius: 28px; display: grid; place-items: center; }
.g-photo img { height: 190px; }
.vitals { border-radius: 26px; display: flex; flex-direction: column; gap: 10px; }
.vital { display: flex; align-items: center; gap: 12px; }
.vital small, .vital b { display: block; }
.vital b { font-weight: 600; }
.pets b { color: var(--clay); }

/* Honest */
.trust { padding: clamp(64px, 9vw, 120px) var(--gutter); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.trust ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.trust li { padding: 26px 24px; border-radius: 28px; background: var(--glass); color: var(--muted); font-size: 1.02rem; text-wrap: pretty; }
.trust b { display: block; margin-bottom: 10px; color: var(--paper); font: 700 1.4rem/1.15 var(--heading); letter-spacing: -0.015em; }

/* Plans */
.plans { padding: 0 var(--gutter) clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 20px; }
.plans-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass); }
.toggle button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 0.98rem Figtree, system-ui, sans-serif; cursor: pointer; transition: background 0.25s, color 0.25s; }
.toggle [aria-pressed='true'] { background: var(--paper); color: var(--forest); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.plan { padding: clamp(26px, 3vw, 40px); border-radius: 32px; background: var(--glass); display: flex; flex-direction: column; gap: 12px; }
.plan h3 { font-size: 1.6rem; }
.plan.pro { background: var(--citron); color: var(--forest); }
.price { font: 700 clamp(2.5rem, 5vw, 3.6rem)/1 var(--heading); letter-spacing: -0.02em; }
.price small { font: 600 1rem Figtree, system-ui, sans-serif; color: inherit; letter-spacing: 0; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.plan li { position: relative; padding-left: 26px; }
.plans .plan.pro li::before { border-color: var(--forest); }
.fine { font-size: 0.86rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--forest); padding: clamp(44px, 6vw, 72px) var(--gutter) 28px; font-size: 0.98rem; }
.foot-main { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot-brand p { font: 700 clamp(1.5rem, 2.4vw, 2.1rem)/1.1 var(--heading); letter-spacing: -0.02em; color: var(--soft); }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-col h3 { margin-bottom: 8px; font: 600 0.84rem Figtree, system-ui, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); opacity: 0.8; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--soft); transition: color 0.2s; }
.foot-col a:hover { color: var(--citron); }
.foot-base { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--muted); }
.foot-base p:last-child { max-width: 46em; }

/* Legal page */
.legal main { max-width: 720px; margin: 0 auto; padding: 40px var(--gutter) 90px; display: flex; flex-direction: column; gap: 34px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal h2 { font-size: 1.8rem; margin-bottom: 12px; scroll-margin-top: 80px; }
.legal section { scroll-margin-top: 80px; }
.legal li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--soft); }
.legal main a { color: var(--citron); text-decoration: underline; text-underline-offset: 3px; }
.draft { padding: 14px 18px; border-radius: 16px; background: var(--glass); color: var(--muted); }

/* Narrower windows: stack the words above the phones, then keep one phone, and put text above each phone */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 32px; text-align: center; }
  .hero h1 { font-size: min(11vw, 5rem); }
  .hero-copy { align-items: center; }
}
@media (max-width: 700px) {
  .side { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .feature { grid-template-columns: minmax(0, 1fr); text-align: center; padding-block: 44px; }
  .feature.flip .copy { order: 0; }
  .copy { align-items: center; }
  .stage { border-radius: 32px; padding: 28px 0; }
  .foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .line > span { transform: none; }
  .js .rise, .js .reveal, .js .main-phone, .js .side { opacity: 1; translate: 0 0; }
  .scanline { top: 300px; }
  .js .result, .js .banner, .js .msg, .js .unfold { opacity: 1; translate: 0 0; }
  .js .ring .arc { stroke-dashoffset: 107.8; }
  .js .split .first { inset: 0 50% 0 0; }
  .js .split i { left: 50%; }
}
