/* Tweedle website. Tokens mirror docs/design/tokens.json in the game repo. */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --paper: #F6EFE0; --cream: #FFF9EC; --dawn: #FBE7B0; --sand: #E9DFC8;
  --ink: #22302B; --muted: #4A5A52; --seed: #8A6410;
  --forest: #2F6B4F; --forest-deep: #22523C; --forest-night: #173A2A;
  --grass: #86B37A; --meadow: #DDEBC4; --brook: #7CC0D8; --hairline: #E3D7BC;
  --r1: #D9483B; --r2: #E8862E; --r3: #F2B632; --r4: #5E9A6B; --r5: #4A90B8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", ui-rounded, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--forest); text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--r3); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, color .35s; color: var(--cream); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav.solid { background: rgba(246, 239, 224, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--hairline); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 600 25px/1 var(--serif); letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: inherit; text-decoration: none; font-weight: 700; font-size: 16px; opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--r3); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 3px 0 #B9841C; transition: transform .2s var(--spring), box-shadow .2s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #B9841C; }
.nav-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 #B9841C; }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 11px; min-width: 186px; padding: 10px 20px 10px 16px; border-radius: 14px; background: #0E1512; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.22); transition: transform .25s var(--spring), box-shadow .25s; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.store:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 4px 0 rgba(0,0,0,.25); }
.store:active { transform: translateY(1px); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.store small { font: 600 11.5px/1.2 -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .01em; }
.store b { font: 600 21px/1.1 -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.01em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--cream); background: radial-gradient(120% 90% at 75% 40%, #3C7E5C 0%, var(--forest) 38%, var(--forest-deep) 70%, var(--forest-night) 100%); padding: 132px 0 0; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hex-float { position: absolute; width: var(--s); aspect-ratio: 100 / 115; background: rgba(255, 249, 236, var(--a, .06)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: drift var(--d, 22s) ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(var(--x, 20px), var(--y, -30px), 0) rotate(var(--rot, 8deg)); } }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 249, 236, .1); border: 1px solid rgba(255, 249, 236, .18); font-weight: 800; font-size: 14px; letter-spacing: .01em; }
.eyebrow i { width: 22px; height: 22px; border-radius: 50%; background: var(--r3) url("icons/daily.svg") center / 18px no-repeat; }
.hero h1 { font-size: clamp(52px, 7.6vw, 104px); margin: 22px 0 22px; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--r3); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hero h1 em path { stroke: var(--r3); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; color: rgba(255, 249, 236, .86); margin: 0 0 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 700; font-size: 15px; color: rgba(255, 249, 236, .8); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 10px; height: 11px; background: var(--r3); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.hero-stage { position: relative; height: 640px; perspective: 1400px; }
.phone { position: relative; width: 300px; aspect-ratio: 929 / 2019; margin: 0 auto; border-radius: 48px; padding: 11px; background: linear-gradient(145deg, #2A3631, #121916); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.12), 0 50px 90px -20px rgba(8, 24, 16, .65), 0 18px 36px -12px rgba(8, 24, 16, .5); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: var(--paper); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 31%; height: 26px; transform: translateX(-50%); background: #0B100E; border-radius: 20px; z-index: 2; }
.hero-phone { position: absolute; left: 50%; top: 10px; transform: translateX(-50%) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)) rotateZ(2deg); transform-style: preserve-3d; transition: transform .6s var(--ease); animation: rise 1.1s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; translate: 0 60px; } }
.ripple { position: absolute; left: 50%; top: 46%; width: 260px; aspect-ratio: 100 / 115; translate: -50% -50%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: none; }
.ripples span { position: absolute; left: 50%; top: 45%; width: 240px; aspect-ratio: 100/ 115; translate: -50% -50%; opacity: 0; animation: ring 6s var(--delay) cubic-bezier(.2,.6,.3,1) infinite; }
.ripples span::before { content: ""; position: absolute; inset: 0; background: var(--c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%, 0 25%, 3% 26.5%, 3% 73.5%, 50% 97%, 97% 73.5%, 97% 26.5%, 50% 3%, 3% 26.5%, 0 25%); }
@keyframes ring { 0% { opacity: 0; scale: .6; } 12% { opacity: .9; } 100% { opacity: 0; scale: 3.2; } }
.peek { position: absolute; width: var(--w); filter: drop-shadow(0 14px 18px rgba(8,24,16,.35)); animation: bob var(--d, 4s) ease-in-out infinite; z-index: 3; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r0, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r1, 3deg)); } }
.note { position: absolute; width: 30px; height: 30px; color: var(--r3); animation: float-note var(--d, 7s) var(--delay, 0s) linear infinite; opacity: 0; }
@keyframes float-note { 0% { opacity: 0; transform: translate(0, 30px) rotate(-10deg); } 15% { opacity: 1; } 80% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx, 40px), -160px) rotate(14deg); } }
.hero-hill { display: block; width: 100%; height: clamp(56px, 6.25vw, 90px); margin-top: -60px; position: relative; z-index: 4; color: var(--paper); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.kicker { display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .04em; color: var(--seed); background: var(--dawn); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.section h2 { font-size: clamp(38px, 4.8vw, 62px); }
.section-lede { font-size: 20px; color: var(--muted); max-width: 34em; margin: 18px 0 0; }
.center { text-align: center; }
.center .section-lede { margin-inline: auto; }

/* Try it */
.play { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: 20px; background: var(--cream); border: 1px solid var(--hairline); transition: transform .35s var(--spring), box-shadow .35s, border-color .35s; }
.steps li.on { transform: translateX(8px); border-color: var(--grass); box-shadow: 0 10px 24px -14px rgba(47, 107, 79, .5); }
.steps img { width: 56px; height: 56px; padding: 6px; background: var(--meadow); border-radius: 16px; }
.steps b { display: block; font: 600 20px/1.2 var(--serif); }
.steps span { color: var(--muted); font-size: 16px; line-height: 1.45; }

.board-card { position: relative; background: var(--cream); border: 1px solid var(--hairline); border-radius: 32px; padding: 22px 22px 18px; box-shadow: 0 40px 80px -40px rgba(34, 48, 43, .45), 0 2px 0 rgba(34,48,43,.06); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.board-top h3 { font-size: 24px; }
.board-top small { display: block; font: 700 14px/1.2 var(--sans); color: var(--muted); letter-spacing: 0; }
.pills { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--hairline); font-weight: 800; font-size: 15px; white-space: nowrap; }
.pill img { width: 20px; height: 20px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--hairline); background: var(--paper); cursor: pointer; }
.icon-btn img { width: 26px; height: 26px; }
.icon-btn[aria-pressed="false"] img { opacity: .35; filter: grayscale(1); }

.board { position: relative; width: 100%; max-width: 480px; aspect-ratio: 592 / 530; margin: 6px auto 10px; touch-action: manipulation; }
.tile { position: absolute; width: calc(100% * 100 / 592); height: calc(100% * 104 / 530); padding: 0; border: 0; background: var(--img) center / contain no-repeat; cursor: pointer; transition: transform .25s var(--spring), filter .25s; -webkit-tap-highlight-color: transparent; animation: tile-in .6s var(--spring) both; animation-delay: var(--in, 0s); }
@keyframes tile-in { from { opacity: 0; transform: translateY(-14px) scale(.8); } }
.tile:hover:not([disabled]) { transform: translateY(-4px); filter: brightness(1.05); }
.tile:active:not([disabled]) { transform: translateY(1px); }
.tile[disabled] { cursor: default; }
.tile.pop { animation: pop .45s var(--spring); }
@keyframes pop { 0% { transform: scale(.7); } 100% { transform: scale(1); } }
.tile .ring { position: absolute; inset: 0; pointer-events: none; opacity: .42; transform: scale(var(--k, 1)); transition: opacity .4s; }
.tile .ring path { fill: var(--rc); fill-opacity: .0; stroke: var(--rc); stroke-width: 7; }
.tile .ring.latest { opacity: 1; animation: ring-in .55s var(--spring) both; animation-delay: var(--rd, 0s); }
.tile .ring.latest path { fill-opacity: .1; }
@keyframes ring-in { from { opacity: 0; transform: scale(calc(var(--k, 1) * .5)); } }
.tile .bird { position: absolute; left: 50%; bottom: 30%; width: 120%; translate: -50% 0; pointer-events: none; animation: bird-pop .9s var(--spring) both; filter: drop-shadow(0 6px 6px rgba(34,48,43,.25)); }
@keyframes bird-pop { 0% { opacity: 0; transform: translateY(30px) scale(.3); } 60% { opacity: 1; transform: translateY(-14px) scale(1.08); } 100% { transform: translateY(0) scale(1); } }

.dee-says { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: var(--paper); border: 1px solid var(--hairline); border-radius: 20px; min-height: 76px; }
.dee-says img { width: 56px; height: 56px; flex: none; background: var(--meadow); border-radius: 50%; padding: 2px; transition: transform .3s var(--spring); }
.dee-says.talk img { animation: hop .5s var(--spring); }
@keyframes hop { 40% { transform: translateY(-8px) rotate(-6deg); } }
.dee-says b { display: block; color: var(--forest); font-size: 14px; font-weight: 800; }
.dee-says p { margin: 0; font-size: 17px; line-height: 1.35; }
.result { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 249, 236, .82); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); border-radius: 32px; opacity: 0; pointer-events: none; transition: opacity .5s; z-index: 5; }
.result.show { opacity: 1; pointer-events: auto; }
.result-inner { text-align: center; padding: 24px; transform: translateY(20px) scale(.96); transition: transform .6s var(--spring); }
.result.show .result-inner { transform: none; }
.result .found { width: 128px; height: 128px; margin: 0 auto 2px; animation: bob 3s ease-in-out infinite; }
.result h3 { font-size: 36px; }
.result p { margin: 6px 0 18px; color: var(--muted); }
.stars { display: flex; justify-content: center; gap: 6px; margin: 10px 0 2px; }
.stars img { width: 44px; height: 44px; opacity: .2; filter: grayscale(1); transform: scale(.6); transition: all .5s var(--spring); }
.stars img.on { opacity: 1; filter: none; transform: scale(1); }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 16px; border: 0; cursor: pointer; font-weight: 800; font-size: 17px; text-decoration: none; transition: transform .2s var(--spring), box-shadow .2s; }
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: 0 4px 0 #1B4532; }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 var(--hairline); border: 1px solid var(--hairline); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #1B4532; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 32px; z-index: 6; }
.confetti i { position: absolute; width: 12px; height: 13px; background: var(--c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); animation: fall var(--t) cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes fall { from { transform: translate(0, 0) rotate(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) rotate(var(--rot)); opacity: 0; } }

/* Features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.card { position: relative; overflow: hidden; border-radius: 32px; padding: 36px 36px 0; background: var(--cream); border: 1px solid var(--hairline); transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(34, 48, 43, .35); }
.card h3 { font-size: clamp(26px, 2.6vw, 34px); }
.card p { color: var(--muted); font-size: 17px; margin: 12px 0 0; max-width: 26em; }
.card .mini-phone { width: 250px; margin: 32px auto -120px; border-radius: 38px; padding: 9px; transition: transform .6s var(--ease); }
.card .mini-phone img { border-radius: 30px; }
.card .mini-phone::before { top: 18px; height: 20px; }
.card:hover .mini-phone { transform: translateY(-14px) rotate(-1.5deg); }
.c-daily, .c-trail { height: 600px; }
.c-daily { grid-column: span 3; background: linear-gradient(170deg, var(--dawn) 0%, #F8D98A 100%); border-color: #EFD08A; }
.c-trail { grid-column: span 3; background: linear-gradient(170deg, var(--meadow), #C8DEA9); border-color: #C3D7A4; }
.c-life { grid-column: span 4; background: linear-gradient(160deg, #CFE7EF, #A9D3E2); border-color: #A9CCD8; display: grid; grid-template-columns: 1fr 230px; gap: 24px; }
.c-life .mini-phone { margin: 0 0 -90px; width: 230px; align-self: end; }
.c-calm { grid-column: span 2; padding-bottom: 32px; }
.calm-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.calm-list li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 16px; }
.calm-list img { width: 36px; height: 36px; padding: 4px; border-radius: 12px; background: var(--meadow); flex: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.6); }

/* Bird parade */
.parade { padding: 100px 0 40px; background: var(--forest-deep); color: var(--cream); overflow: hidden; }
.parade .section-lede { color: rgba(255,249,236,.78); }
.lane { display: flex; width: max-content; gap: 18px; padding: 14px 0; animation: march var(--d, 70s) linear infinite; }
.lane.rev { animation-direction: reverse; }
.lanes { margin-top: 48px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lanes:hover .lane, .lanes:focus-within .lane { animation-play-state: paused; }
@keyframes march { to { transform: translateX(-50%); } }
.bird-card { position: relative; flex: none; width: 170px; padding: 16px 12px 14px; border-radius: 24px; background: rgba(255, 249, 236, .07); border: 1px solid rgba(255, 249, 236, .13); text-align: center; cursor: pointer; color: inherit; transition: background .3s, transform .35s var(--spring); }
.bird-card:hover, .bird-card:focus-visible { background: rgba(255, 249, 236, .14); transform: translateY(-6px); }
.bird-card .disc { width: 104px; height: 104px; margin: 0 auto 10px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #E9F3D8, var(--meadow) 60%, #BFD3A0); display: grid; place-items: center; }
.bird-card .disc img { width: 92px; height: 92px; transition: transform .35s var(--spring); }
.bird-card.sing .disc img { animation: sing .7s var(--spring); }
@keyframes sing { 30% { transform: translateY(-10px) rotate(-8deg) scale(1.08); } 60% { transform: translateY(0) rotate(4deg); } }
.bird-card b { display: flex; align-items: center; justify-content: center; min-height: 2.4em; font: 600 16px/1.2 var(--serif); }
.bird-card small { display: inline-block; margin-top: 6px; font-weight: 800; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 249, 236, .12); }
.bird-card small[data-r="Rare"] { background: var(--r5); color: #fff; }
.bird-card small[data-r="Legendary"] { background: var(--r3); color: var(--ink); }
.bubble { position: absolute; left: 50%; top: -8px; translate: -50% -100%; background: var(--cream); color: var(--ink); font: 800 14px/1.2 var(--sans); padding: 8px 12px; border-radius: 14px; white-space: nowrap; opacity: 0; transform: translateY(8px) scale(.9); transition: all .3s var(--spring); pointer-events: none; z-index: 2; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--cream); transform: translateX(-50%) rotate(45deg); }
.bird-card.sing .bubble { opacity: 1; transform: none; }
.lanes { padding-top: 44px; margin-top: 4px; }

/* Final CTA */
.finale { position: relative; min-height: 860px; display: grid; place-items: end center; padding: 0 0 80px; overflow: hidden; color: var(--cream); }
.finale-bg { position: absolute; inset: -6% -2%; background: url("img/meadow.webp") center 30% / cover; animation: pan 40s ease-in-out infinite alternate; }
@keyframes pan { to { transform: scale(1.08) translate(-1.5%, 1%); } }
.finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--forest-deep) 0%, rgba(34,82,60,0) 14%, rgba(23,58,42,0) 50%, rgba(23,58,42,.86) 72%, var(--forest-night) 100%); }
.finale-card { position: relative; z-index: 2; text-align: center; }
.finale h2 { font-size: clamp(44px, 6vw, 80px); text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.finale p { font-size: 20px; margin: 14px auto 28px; max-width: 30em; color: rgba(255,249,236,.9); }
.finale .stores { justify-content: center; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--cream); border: 1px solid var(--hairline); border-radius: 20px; padding: 0 24px; transition: background .3s; }
.faq details[open] { background: #fff; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 21px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--meadow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%232F6B4F' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Footer */
.foot { background: var(--forest-night); color: rgba(255, 249, 236, .75); padding: 56px 0 40px; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.foot .brand { color: var(--cream); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: rgba(255, 249, 236, .85); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--cream); text-decoration: underline; }
.foot .legal { flex-basis: 100%; border-top: 1px solid rgba(255,249,236,.12); padding-top: 22px; font-size: 13px; color: rgba(255,249,236,.55); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rv, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc-hero { background: var(--forest-deep); color: var(--cream); padding: 130px 0 70px; position: relative; overflow: hidden; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 64px); }
.doc-hero p { margin: 14px 0 0; color: rgba(255, 249, 236, .78); }
.doc-hero .peek { right: 6%; bottom: 14px; }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 100px; }
.doc h2 { font-size: 30px; margin: 44px 0 12px; }
.doc h3 { font-size: 22px; margin: 28px 0 8px; }
.doc p, .doc li { color: #33423C; }
.doc li { margin: 6px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; }
.doc th, .doc td { border-bottom: 1px solid var(--hairline); padding: 10px 8px; text-align: left; vertical-align: top; }
.doc .note-card { background: var(--cream); border: 1px solid var(--hairline); border-radius: 20px; padding: 18px 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap, .play { grid-template-columns: 1fr; }
  .hero { padding-top: 112px; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .stores, .facts { justify-content: center; }
  .hero-stage { height: 560px; margin-top: 10px; }
  .phone.hero-phone { width: 260px; }
  .play { gap: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-daily, .c-trail, .c-calm { grid-column: span 1; }
  .c-life { grid-column: span 2; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .section { padding: 80px 0; }
  .hero-stage { height: 470px; }
  .phone.hero-phone { width: 220px; border-radius: 38px; padding: 8px; }
  .phone.hero-phone img { border-radius: 31px; }
  .phone.hero-phone::before { top: 16px; height: 18px; }
  .peek { --w: 92px !important; }
  .bento { grid-template-columns: 1fr; }
  .c-daily, .c-trail, .c-calm, .c-life { grid-column: span 1; }
  .c-life { grid-template-columns: 1fr; }
  .c-life .mini-phone { margin: 0 auto -100px; }
  .card { padding: 28px 24px 0; }
  .c-calm { padding-bottom: 28px; }
  .board-card { padding: 16px 12px 12px; border-radius: 26px; }
  .board-top h3 { font-size: 20px; }
  .steps li.on { transform: none; }
  .finale { min-height: 640px; }
  .c-daily, .c-trail { height: 560px; }
  .store { min-width: 0; flex: 1 1 0; justify-content: center; gap: 8px; padding: 10px 12px; }
  .store b { font-size: 18px; }
  .store svg { width: 24px; height: 24px; }
  .bird-card { width: 140px; }
  .bird-card .disc { width: 88px; height: 88px; }
  .bird-card .disc img { width: 78px; height: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .lane { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .lane.dupe { display: none; }
  .lanes { mask-image: none; -webkit-mask-image: none; }
  .bird-card[aria-hidden="true"] { display: none; }
  .note, .ripples { display: none; }
  .reveal { opacity: 1; transform: none; }
}
.board-card.reveal:not(.in) .tile { animation-play-state: paused; }
