/* ReChord website — home page */

/* ============================ HERO / HOOK ============================ */
.hero { height: 100svh; min-height: 620px; overflow: clip; background: var(--bg); }
#map { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero[data-state="ready"] #map, .hero[data-state="flying"] #map { opacity: 1; }
#map.fallback { opacity: 1; background:
  radial-gradient(ellipse at 60% 50%, rgba(31, 95, 192, .35), transparent 60%),
  linear-gradient(rgba(140, 196, 255, .07) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(140, 196, 255, .07) 1px, transparent 1px) 0 0 / 56px 56px, var(--bg-2); }
.maplibregl-canvas { outline: none; }
.maplibregl-ctrl-attrib { background: rgba(5, 10, 20, .6) !important; color: var(--faint); font: 10px var(--mono); }
.maplibregl-ctrl-attrib a { color: var(--dim) !important; }
.maplibregl-ctrl-bottom-right { z-index: 3; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; z-index: 2; background:
  linear-gradient(180deg, rgba(5, 10, 20, .78) 0%, rgba(5, 10, 20, 0) 22%),
  linear-gradient(0deg, rgba(5, 10, 20, .96) 0%, rgba(5, 10, 20, .5) 22%, rgba(5, 10, 20, 0) 46%),
  linear-gradient(90deg, rgba(5, 10, 20, .88) 0%, rgba(5, 10, 20, .45) 34%, rgba(5, 10, 20, 0) 62%);
  transition: background-color .6s; }
.hero[data-rec="recording"] .hero-scrim { background-color: rgba(5, 10, 20, .35); }

/* intro */
.intro { position: absolute; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 26px; background: var(--bg); transition: opacity 1.2s ease .2s, visibility 0s 1.5s; }
.intro p { color: var(--dim); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.intro-logo svg { width: 54px; height: 60px; fill: var(--blue); animation: breathe 1.8s ease-in-out infinite; }
.intro-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin-top: -22px; }
.intro-rings i { position: absolute; width: 120px; height: 120px; margin: -60px; border-radius: 50%; border: 1px solid rgba(140, 196, 255, .5); animation: ring 2.4s var(--ease-out) infinite; opacity: 0; }
.intro-rings i:nth-child(2) { animation-delay: .8s; } .intro-rings i:nth-child(3) { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes breathe { 50% { transform: scale(1.08); filter: drop-shadow(0 0 22px rgba(93, 168, 255, .7)); } }
.hero:not([data-state="locating"]) .intro { opacity: 0; visibility: hidden; }

/* copy */
.hero-copy { position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(120px, 17vh, 190px); width: min(620px, 100% - var(--gutter) * 2); pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy .display { font-size: clamp(40px, 6.2vw, 92px); margin: 18px 0 20px; pointer-events: none; }
.hero-copy .lead { max-width: 44ch; color: #c4d0e4; transition: opacity .4s; }
.hero-copy .lead b { color: var(--text); font-weight: 600; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-btn { cursor: pointer; color: var(--blue-2); transition: background .3s; }
.chip-btn:hover { background: rgba(93, 168, 255, .16); }
.city-form { display: flex; height: 30px; border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(9, 17, 30, .85); backdrop-filter: blur(12px); }
.city-form[hidden] { display: none; }
.city-form input { background: none; border: 0; outline: 0; color: var(--text); font: 12px var(--mono); padding: 0 4px 0 14px; width: 150px; }
.city-form button { width: 32px; color: var(--blue-2); }
.hero-cta { display: flex; gap: 18px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.hero-cta[hidden] { display: none; }
.mini-link { color: var(--faint); font-size: 13px; border-bottom: 1px dashed currentColor; transition: color .3s; }
.mini-link:hover { color: var(--red); }
.hero[data-state="locating"] .hero-copy, .hero[data-state="locating"] .dock, .hero[data-state="locating"] .hero-note { opacity: 0; transform: translateY(20px); }
.hero-copy, .dock, .hero-note { transition: opacity 1s var(--ease-out) .5s, transform 1.2s var(--ease-out) .5s; }

/* pins */
.pin { --s: 46px; width: var(--s); height: var(--s); cursor: pointer; }
.pin-in { position: absolute; inset: 0; transform: scale(0) translateY(-40px); opacity: 0; transition: transform .9s cubic-bezier(.3, 1.6, .4, 1), opacity .4s; }
.pin.in .pin-in { transform: none; opacity: 1; }
.pin img, .pin .you-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid #dcebff; box-shadow: 0 8px 26px rgba(0, 0, 0, .55), 0 0 0 5px rgba(93, 168, 255, .16); transition: transform .5s var(--ease-out), border-color .3s, box-shadow .3s; background: var(--surface-2); }
.pin:hover img { transform: scale(1.14); }
.pin.active img { border-color: var(--blue); box-shadow: 0 8px 30px rgba(0, 0, 0, .6), 0 0 0 5px rgba(93, 168, 255, .45), 0 0 40px rgba(93, 168, 255, .7); transform: scale(1.18); }
.pin .rings { position: absolute; inset: 0; pointer-events: none; }
.pin .rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(140, 196, 255, .65); opacity: 0; }
.pin.in .rings i { animation: ring 3.6s var(--ease-out) infinite; animation-delay: var(--rd, 0s); }
.pin.in .rings i:nth-child(2) { animation-delay: calc(var(--rd, 0s) + 1.2s); }
.pin.playing .rings i { animation-duration: 1.5s; border-color: var(--cyan); }
.pin.playing .rings i:nth-child(2) { animation-delay: .5s; }
.pin-label { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font: 500 10.5px var(--mono); letter-spacing: .06em; color: var(--text); background: rgba(5, 10, 20, .94); padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pin:hover .pin-label, .pin.active .pin-label, .pin.you .pin-label { opacity: 1; }

.pin.you { --s: 26px; cursor: default; z-index: 4 !important; }
.pin.you .you-face { border: 0; background: var(--red); box-shadow: 0 0 0 6px rgba(255, 84, 73, .2), 0 0 30px rgba(255, 84, 73, .7); display: grid; place-items: center; font: 600 13px var(--sans); color: #fff; overflow: hidden; }
.pin.you .you-face span { opacity: 0; transition: opacity .4s; }
.pin.you .rings i { border-color: rgba(255, 84, 73, .8); }
.pin.you.live .rings i { animation: none; opacity: calc(.75 - var(--k) * .22); transform: scale(calc(1.3 + var(--k) * .9 + var(--amp, 0) * (2.2 + var(--k) * 1.6))); transition: transform .09s linear; border-width: 2px; }
.pin.you.live .rings i:nth-child(1) { --k: 0; } .pin.you.live .rings i:nth-child(2) { --k: 1; } .pin.you.live .rings i:nth-child(3) { --k: 2; }
.pin.you.mine { --s: 52px; cursor: pointer; }
.pin.you.mine .you-face { border: 2.5px solid #fff; background: linear-gradient(135deg, #ff7a70, #e02a1f); font-size: 15px; }
.pin.you.mine .you-face span { opacity: 1; }
.pin.you.landing .pin-in { animation: land 1.1s cubic-bezier(.3, 1.5, .4, 1); }
@keyframes land { 0% { transform: translateY(-120px) scale(.4); opacity: 0; } 55% { transform: translateY(6px) scale(1.12); opacity: 1; } 100% { transform: none; } }
.shock { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px; border-radius: 50%; border: 2px solid var(--red); pointer-events: none; animation: shock 1.8s var(--ease-out) forwards; }
@keyframes shock { to { transform: scale(26); opacity: 0; border-width: .2px; } }

/* voice card */
.vcard { position: absolute; z-index: 8; right: var(--gutter); top: 50%; width: 348px; translate: 0 -54%; border-radius: 28px; overflow: hidden; background: rgba(13, 22, 38, .95); backdrop-filter: blur(24px) saturate(1.5); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .3); transform-origin: 80% 50%; animation: cardIn .7s var(--ease-out); }
.vcard[hidden] { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.94); } }
.vc-cover { height: 132px; background-size: cover; background-position: center; position: relative; }
.vc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 22, 38, .95)); }
.vc-cover:empty[data-none] { display: none; }
.vc-body { padding: 18px 20px 16px; }
.vc-head { display: flex; align-items: center; gap: 12px; }
.vc-avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--surface-3) center / cover; box-shadow: 0 0 0 2px rgba(140, 196, 255, .4); display: grid; place-items: center; font-weight: 600; }
.vc-avatar.me { background: linear-gradient(135deg, #ff7a70, #e02a1f); box-shadow: 0 0 0 2px #fff; }
.vc-who { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.vc-who b { font-weight: 600; } .vc-who span { color: var(--faint); font-size: 12.5px; }
.vc-tag { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-2); padding: 4px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.vc-tag.me { color: #ffb0aa; box-shadow: inset 0 0 0 1px rgba(255, 84, 73, .5); }
.vc-x { width: 30px; height: 30px; border-radius: 50%; color: var(--dim); font-size: 20px; line-height: 1; transition: background .3s, color .3s; }
.vc-x:hover { background: rgba(140, 196, 255, .12); color: var(--text); }
.vc-title { font-size: 21px; letter-spacing: -.025em; line-height: 1.2; margin: 16px 0 6px; font-weight: 600; text-wrap: balance; }
.vc-place { display: flex; gap: 6px; align-items: center; color: var(--dim); font-size: 13px; }
.vc-place svg { width: 13px; height: 13px; color: var(--blue); flex: none; }
.vc-player { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; padding: 10px 14px 10px 10px; border-radius: 20px; background: rgba(5, 10, 20, .5); box-shadow: inset 0 0 0 1px var(--line); }
.vc-play { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #04101f; display: grid; place-items: center; flex: none; transition: transform .4s var(--ease-out), background .3s; }
.vc-play:hover { transform: scale(1.08); background: var(--blue-2); }
.vc-play svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.vc-play .i-pause, .vcard.playing .vc-play .i-play { display: none; } .vcard.playing .vc-play .i-pause { display: block; }
.vc-player .wave { flex: 1; height: 32px; cursor: pointer; }
.vc-time { font-size: 12px; color: var(--dim); min-width: 32px; text-align: right; }
.vc-foot { display: flex; align-items: center; gap: 16px; color: var(--dim); font-size: 13px; }
.vc-like { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.vc-like svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s cubic-bezier(.3, 2, .4, 1), fill .3s; }
.vc-like[aria-pressed="true"] { color: var(--red); } .vc-like[aria-pressed="true"] svg { fill: var(--red); transform: scale(1.2); }
.vc-nav { margin-left: auto; display: flex; gap: 6px; }
.vc-nav button { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s; }
.vc-nav button:hover { background: var(--blue); color: #04101f; }
.vcard.me .vc-nav, .vcard.me .vc-like, .vcard.me .vc-plays { display: none; }
.vcard.me .vc-foot::before { content: "Only you can hear this one. It's stored in this browser."; color: var(--faint); font-size: 12.5px; }

/* dock */
.dock { position: absolute; z-index: 9; left: 50%; bottom: clamp(22px, 4.2vh, 44px); translate: -50% 0; display: flex; align-items: center; gap: 16px; padding: 10px 26px 10px 10px; border-radius: 999px; background: rgba(13, 22, 38, .72); backdrop-filter: blur(22px) saturate(1.5); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 60px rgba(0, 0, 0, .5); }
.rec { width: 68px; height: 68px; position: relative; flex: none; border-radius: 50%; touch-action: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.rec::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 84, 73, .45), transparent 70%); animation: recGlow 2.2s ease-in-out infinite; }
@keyframes recGlow { 50% { transform: scale(1.3); opacity: .4; } }
.rec-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.rec-ring circle { fill: none; stroke-width: 4; }
.rec-ring .track { stroke: rgba(255, 255, 255, .16); }
.rec-ring .prog { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.rec-core { position: absolute; inset: 9px; border-radius: 50%; background: var(--red); box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .22), 0 4px 18px rgba(255, 84, 73, .5); transition: inset .35s var(--ease-out), border-radius .35s var(--ease-out), background .3s; }
.rec:hover .rec-core { inset: 7px; }
.hero[data-rec="recording"] .rec-core { inset: 22px; border-radius: 8px; }
.hero[data-rec="done"] .rec-core { background: var(--blue); box-shadow: 0 4px 18px rgba(93, 168, 255, .5); }
.hero[data-rec="done"] .rec::before { background: radial-gradient(circle, rgba(93, 168, 255, .45), transparent 70%); }
.hero[data-rec="done"] .rec-core::after { content: ""; position: absolute; inset: 0; background: #04101f; clip-path: polygon(38% 28%, 38% 72%, 74% 50%); }
.dock-label { display: grid; line-height: 1.25; }
.dock-label b { font-weight: 600; letter-spacing: -.01em; font-size: 15.5px; }
.dock-label span { color: var(--dim); font-size: 12.5px; }
#live-wave { position: absolute; left: 50%; bottom: calc(100% + 14px); width: min(520px, 86vw); height: 70px; translate: -50% 0; opacity: 0; transition: opacity .4s; pointer-events: none; }
.hero[data-rec="recording"] #live-wave { opacity: 1; }
.hero[data-rec="recording"] .hero-copy .display { opacity: .25; }
.hero-copy .display { transition: opacity .5s; }
.hero-note { position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(22px, 4.2vh, 44px); font-size: 12px; color: var(--faint); max-width: 30ch; line-height: 1.4; }
.hero-note a { color: var(--dim); border-bottom: 1px solid var(--line-2); }

@media (max-width: 980px) {
  .vcard { right: var(--gutter); top: calc(var(--nav-h) + 12px); translate: none; width: min(348px, 100% - var(--gutter) * 2); }
  .vc-cover { height: 84px; }
  .hero-note { display: none; }
}
@media (max-width: 720px) {
  .hero-scrim { background:
    linear-gradient(180deg, rgba(5, 10, 20, .86) 0%, rgba(5, 10, 20, .5) 26%, rgba(5, 10, 20, 0) 46%),
    linear-gradient(0deg, rgba(5, 10, 20, .96) 0%, rgba(5, 10, 20, .4) 24%, rgba(5, 10, 20, 0) 40%); }
  .hero-copy { top: calc(var(--nav-h) + 6px); bottom: auto; }
  .hero-copy .display { font-size: clamp(36px, 11vw, 52px); margin: 14px 0 12px; }
  .hero-copy .lead { font-size: 15px; }
  .vcard { top: auto; bottom: 118px; left: var(--gutter); right: var(--gutter); width: auto; border-radius: 24px; }
  .vc-cover { display: none; }
  .vc-body { padding: 14px 16px 12px; }
  .vc-title { font-size: 18px; margin-top: 12px; }
  .vc-player { margin: 12px 0 10px; }
  .dock { padding-right: 20px; gap: 12px; width: max-content; max-width: calc(100% - var(--gutter) * 2); }
  .rec { width: 60px; height: 60px; }
  .hero.has-card .hero-copy .lead, .hero.has-card .hero-cta { visibility: hidden; }
}

/* ============================ HOW ============================ */
.how { height: 340vh; }
.how-sticky { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: clip; }
.how-grid { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: clamp(30px, 6vw, 110px); align-items: center; }
.how-steps { position: relative; height: clamp(300px, 44vh, 420px); margin-top: 26px; }
.how-step { position: absolute; inset: 0; opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .9s var(--ease-out); pointer-events: none; }
.how-step .num { color: var(--blue); font-size: 13px; letter-spacing: .16em; }
.how-step .h2 { font-size: clamp(56px, 9vw, 140px); margin: 10px 0 22px; }
.how[data-step="0"] .how-step[data-i="0"], .how[data-step="1"] .how-step[data-i="1"], .how[data-step="2"] .how-step[data-i="2"] { opacity: 1; transform: none; pointer-events: auto; }
.how[data-step="1"] .how-step[data-i="0"], .how[data-step="2"] .how-step[data-i="0"], .how[data-step="2"] .how-step[data-i="1"] { transform: translateY(-40px); }
.how-dots { display: flex; gap: 8px; margin-top: 10px; }
.how-dots i { width: 34px; height: 3px; border-radius: 3px; background: rgba(140, 196, 255, .18); position: relative; overflow: hidden; }
.how-dots i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.how[data-step="0"] .how-dots i:nth-child(1)::after, .how[data-step="1"] .how-dots i:nth-child(-n+2)::after, .how[data-step="2"] .how-dots i::after { transform: none; }

.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; }
.phone-halo { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(31, 95, 192, .55), transparent 62%); filter: blur(30px); }
.phone { position: relative; width: min(100%, 320px, 40svh); aspect-ratio: 300 / 620; border-radius: 13.5% / 6.6%; background: #070d18; box-shadow: 0 0 0 2px #223355, 0 0 0 9px #0b1322, 0 0 0 10px #2a3d60, 0 60px 120px rgba(0, 0, 0, .6); overflow: hidden; transform: rotateY(calc(var(--tilt, 0) * -14deg)) rotateX(calc(var(--tilt, 0) * 5deg)) translateY(calc(var(--tilt, 0) * 20px)); transition: transform .3s linear; container-type: inline-size; text-align: left; }
.phone > * { font-size: 4.7cqw; }
.island { position: absolute; z-index: 9; top: 2.2%; left: 50%; width: 30%; height: 3.6%; translate: -50% 0; background: #000; border-radius: 999px; }
.screen { position: absolute; inset: 0; padding: 15% 6.5% 22%; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .9s var(--ease-out); display: flex; flex-direction: column; background: linear-gradient(180deg, #0b1526, #070d18); }
.how[data-step="0"] .s-record, .how[data-step="1"] .s-pin, .how[data-step="2"] .s-discover { opacity: 1; transform: none; }
.s-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 1.5em; letter-spacing: -.03em; white-space: nowrap; }
.s-top .mono { font-size: .5em; letter-spacing: .12em; color: var(--red); font-weight: 500; }
.s-discover .s-top .mono { color: var(--dim); }
.rec-dial { position: relative; width: 54%; flex: none; aspect-ratio: 1; margin: 8% auto 6%; display: grid; place-items: center; }
.rec-dial svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.rec-dial circle { fill: none; stroke-width: 3; } .rec-dial .t { stroke: rgba(140, 196, 255, .14); } .rec-dial .p { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--dial, 38)); }
.rec-dial div { display: grid; text-align: center; line-height: 1.1; } .rec-dial b { font-size: 2.3em; font-weight: 500; letter-spacing: -.04em; } .rec-dial span { font-size: .8em; color: var(--dim); }
.s-wave { display: flex; align-items: center; gap: 1.2%; height: 3em; flex: none; }
.s-wave i { flex: 1; border-radius: 3px; background: var(--blue); height: 20%; animation: bar 1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -73ms); }
@keyframes bar { to { height: var(--h); } }
.s-field { margin-top: 6%; padding: 4% 5%; border-radius: 1em; background: rgba(140, 196, 255, .07); box-shadow: inset 0 0 0 1px var(--line); display: grid; line-height: 1.3; }
.s-field b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-field span { font-size: .72em; color: var(--faint); } .s-field b { font-weight: 500; font-size: .95em; }
.s-toggles { display: flex; gap: 3%; margin-top: 4%; }
.tg { font-size: .72em; padding: 2.5% 4%; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--dim); white-space: nowrap; }
.tg.on { background: rgba(93, 168, 255, .18); color: var(--blue-2); box-shadow: inset 0 0 0 1px var(--blue); }
.s-rec { margin: auto auto 0; width: 20%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 .2em rgba(255, 255, 255, .25); display: grid; place-items: center; }
.s-rec i { width: 42%; aspect-ratio: 1; border-radius: 22%; background: var(--red); animation: breathe 1.4s infinite; }
.s-pin { padding: 0; }
.mini-map { position: absolute; inset: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 45%, #10244a, #070d18 75%); }
.drop { position: absolute; left: 50%; top: 43%; width: 22%; aspect-ratio: 1; translate: -50% -50%; }
.drop img { width: 100%; height: 100%; border-radius: 50%; border: .18em solid #fff; position: relative; box-shadow: 0 .8em 2em rgba(0, 0, 0, .5); }
.how[data-step="1"] .drop img { animation: land 1s cubic-bezier(.3, 1.5, .4, 1) .25s backwards; }
.drop-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--cyan); animation: ring 2.4s var(--ease-out) infinite 1s; opacity: 0; }
.drop-ring.r2 { animation-delay: 2.2s; }
.s-sheet { position: absolute; left: 5%; right: 5%; bottom: 17%; padding: 5% 6%; border-radius: 1.4em; background: rgba(13, 22, 38, .85); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; line-height: 1.35; transform: translateY(140%); transition: transform .9s var(--ease-out) .7s; }
.how[data-step="1"] .s-sheet { transform: none; }
.s-sheet b { font-size: 1.15em; } .s-sheet .mono { font-size: .68em; color: var(--dim); letter-spacing: .04em; } .s-sheet em { font-family: var(--serif); font-size: 1.5em; color: var(--blue-2); margin-top: .2em; }
.feed { display: grid; gap: 3.4%; margin-top: 6%; }
.fcard { display: grid; grid-template-columns: 2.6em 1fr; gap: .25em .7em; padding: 4.5% 5%; border-radius: 1.2em; background: rgba(140, 196, 255, .06); box-shadow: inset 0 0 0 1px var(--line); align-items: center; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); transition-delay: calc(var(--i) * 90ms + .2s); }
.how[data-step="2"] .fcard { opacity: 1; transform: none; }
.fcard img { width: 2.6em; height: 2.6em; border-radius: 50%; grid-row: span 2; }
.fcard b { font-size: .88em; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fcard .wave { height: 1.3em; gap: 1.5px; }
.fcard.now { box-shadow: inset 0 0 0 1px var(--blue); background: rgba(93, 168, 255, .12); }
.tabbar { position: absolute; z-index: 8; left: 5%; right: 5%; bottom: 3%; height: 10.5%; border-radius: 999px; background: rgba(21, 34, 56, .82); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: space-around; padding: 0 3%; }
.tabbar > img { width: 8.5%; opacity: .5; transition: opacity .4s, transform .5s var(--ease-out); }
.tab-mic { width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: background .4s, transform .5s var(--ease-out); }
.tab-mic img { width: 52%; filter: brightness(0); }
.how[data-step="0"] .tab-mic { background: var(--red); transform: scale(1.12); } .how[data-step="0"] .tab-mic img { filter: brightness(0) invert(1); }
.how[data-step="1"] .tabbar > img[data-t="1"], .how[data-step="2"] .tabbar > img[data-t="2"] { opacity: 1; transform: scale(1.15); }

@media (max-width: 820px) {
  .how-grid { grid-template-columns: 1fr; gap: 14px; justify-items: center; text-align: center; align-content: center; }
  .how-text { order: 2; display: grid; justify-items: center; width: 100%; }
  .how-text .eyebrow { display: none; }
  .how-steps { height: 190px; width: 100%; margin-top: 6px; }
  .how-step .h2 { font-size: clamp(44px, 14vw, 64px); margin: 4px 0 10px; }
  .how-step .lead { font-size: 15px; margin-inline: auto; max-width: 36ch; }
  .phone { width: min(56vw, 38svh * 300 / 620 * 1.25, 250px); }
  .phone-stage { order: 1; margin-top: var(--nav-h); }
}

/* ============================ MANIFESTO ============================ */
.manifesto-text { font-size: clamp(34px, 6.2vw, 96px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin: 30px 0 46px; max-width: 17ch; text-wrap: balance; }
.manifesto-text .mw { color: rgba(140, 196, 255, .16); transition: color .5s; }
.manifesto-text .mw.lit { color: var(--text); }
.manifesto-text .mw.accent.lit { color: var(--blue-2); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.manifesto-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.manifesto-tags span { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--dim); font-size: 14.5px; }

/* ============================ FEATURES ============================ */
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; perspective: 1600px; }
.bento .card { grid-column: span 2; overflow: hidden; display: flex; flex-direction: column; min-height: 380px; position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease-out), border-color .4s, opacity .9s var(--ease-out); transform-style: preserve-3d; }
.bento .card[data-reveal]:not(.in) { transform: translateY(40px); }
.bento .card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(140, 196, 255, .14), transparent 60%); opacity: 0; transition: opacity .4s; }
.bento .card:hover { border-color: var(--line-2); } .bento .card:hover::before { opacity: 1; }
.b-map { grid-column: span 4 !important; }
.b-share { grid-column: span 6 !important; flex-direction: row !important; min-height: 220px !important; align-items: center; }
.b-share .b-art { min-height: 200px; }
.b-share .b-copy { flex: 1; padding: 26px 40px 26px 0; }
.b-share .b-copy h3 { font-size: clamp(24px, 2.6vw, 34px); }
.b-art { flex: 1; position: relative; min-height: 210px; overflow: hidden; }
.b-copy { padding: 0 26px 26px; }
.b-copy h3 { font-size: 22px; letter-spacing: -.03em; font-weight: 600; margin-bottom: 8px; }
.b-copy p { color: var(--dim); font-size: 15px; max-width: 42ch; }

.art-map { background: radial-gradient(ellipse at 50% 60%, rgba(31, 95, 192, .4), transparent 70%); mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
.art-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-map .mp { position: absolute; width: 38px; height: 38px; margin: -19px; border-radius: 50%; }
.art-map .mp img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #dcebff; position: relative; transition: transform .5s cubic-bezier(.3, 1.8, .4, 1); }
.art-map .mp::before, .art-map .mp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--blue-2); animation: ring 3s var(--ease-out) infinite; animation-delay: var(--rd); opacity: 0; }
.art-map .mp::after { animation-delay: calc(var(--rd) + 1s); }
.b-map:hover .mp img { transform: scale(1.2); }
.art-sixty, .art-toggle, .art-precise, .art-share { display: grid; place-items: center; }
.art-sixty svg { width: 150px; transform: rotate(-90deg); }
.art-sixty circle { fill: none; stroke-width: 5; } .art-sixty .t { stroke: rgba(140, 196, 255, .12); }
.art-sixty .p { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.b-sixty.in .art-sixty .p { animation: sixty 6s linear infinite; }
@keyframes sixty { to { stroke-dashoffset: 0; } }
.art-sixty b { position: absolute; font-size: 44px; font-weight: 500; letter-spacing: -.05em; } .art-sixty small { font-size: .45em; color: var(--dim); margin-left: 2px; }
.switch { width: 120px; height: 64px; border-radius: 999px; background: rgba(140, 196, 255, .12); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; animation: swBg 4s infinite; }
.switch i { position: absolute; top: 7px; left: 7px; width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); animation: sw 4s var(--ease-out) infinite; }
@keyframes sw { 0%, 40% { transform: none; } 50%, 90% { transform: translateX(56px); } }
@keyframes swBg { 0%, 42% { background: rgba(140, 196, 255, .12); } 50%, 90% { background: var(--blue); } }
.art-toggle .lock { position: absolute; width: 22px; color: var(--navy); margin-left: 56px; animation: lock 4s infinite; }
@keyframes lock { 0%, 44% { opacity: 0; transform: scale(.4); } 52%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.blur-zone { position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(93, 168, 255, .5), rgba(93, 168, 255, .08) 70%); box-shadow: inset 0 0 0 1px rgba(140, 196, 255, .4); animation: zone 5s var(--ease-out) infinite; }
.exact { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(93, 168, 255, .5), 0 0 30px var(--blue); position: relative; animation: exact 5s var(--ease-out) infinite; }
@keyframes zone { 0%, 40% { transform: scale(.12); opacity: 0; } 55%, 92% { transform: none; opacity: 1; } 100% { transform: scale(.12); opacity: 0; } }
@keyframes exact { 0%, 40% { transform: none; opacity: 1; } 55%, 92% { transform: scale(.3); opacity: 0; } }
.art-photo img { position: absolute; left: 50%; top: 54%; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transition: transform .8s var(--ease-out); }
.art-photo img:nth-child(1) { transform: translate(-95%, -50%) rotate(-10deg); }
.art-photo img:nth-child(2) { transform: translate(-5%, -52%) rotate(8deg); }
.art-photo img:nth-child(3) { transform: translate(-50%, -48%) rotate(-2deg); }
.b-photo:hover img:nth-child(1) { transform: translate(-118%, -54%) rotate(-16deg); }
.b-photo:hover img:nth-child(2) { transform: translate(18%, -56%) rotate(14deg); }
.b-photo:hover img:nth-child(3) { transform: translate(-50%, -54%) rotate(0) scale(1.06); }
.share-link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: rgba(140, 196, 255, .1); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--blue-2); }
.share-link i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); animation: ping 2s infinite; }
.art-share .heart { position: absolute; right: 22%; top: 24%; width: 34px; animation: heart 3s var(--ease-out) infinite; }
.art-share .heart svg { fill: var(--red); filter: drop-shadow(0 6px 14px rgba(255, 84, 73, .6)); }
@keyframes heart { 0% { transform: translateY(30px) scale(0); opacity: 0; } 25% { transform: none; opacity: 1; } 70% { transform: translateY(-16px) rotate(-10deg); opacity: 1; } 100% { transform: translateY(-40px) scale(.6); opacity: 0; } }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .card { grid-column: span 1; min-height: 340px; } .b-map, .b-share { grid-column: span 2 !important; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento .card, .b-map, .b-share { grid-column: span 1 !important; min-height: 320px !important; flex-direction: column !important; align-items: stretch; } .b-share .b-copy { padding: 0 26px 26px; flex: none; } }

/* ============================ STORIES ============================ */
.stories { overflow: clip; }
.stories .sec-head { position: relative; }
.stories-hint { color: var(--faint); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 10px var(--gutter) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.story { flex: none; width: clamp(250px, 26vw, 360px); aspect-ratio: 9 / 14; border-radius: 28px; overflow: hidden; position: relative; scroll-snap-align: center; border: 1px solid var(--line); user-select: none; }
.story:nth-child(even) { margin-top: 44px; }
.story img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transform: translateY(calc(var(--par, 0) * 1px)) scale(1.02); transition: scale 1.2s var(--ease-out); pointer-events: none; }
.story:hover img { scale: 1.06; }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 20, .1) 30%, rgba(5, 10, 20, .92)); }
.story-copy { position: absolute; z-index: 2; inset: auto 22px 22px; }
.story-copy q { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; quotes: "“" "”"; margin-bottom: 14px; text-wrap: balance; }
.story-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #c4d0e4; }
.story-meta .wave { width: 64px; height: 18px; flex: none; }
.story-tag { position: absolute; z-index: 2; left: 18px; top: 18px; }

/* ============================ CTA ============================ */
.cta { min-height: 100svh; display: grid; align-items: end; overflow: clip; padding-bottom: clamp(70px, 10vw, 130px); }
.cta-earth { position: absolute; inset: 0; background: url(../assets/img/earth.jpg) center 12% / cover no-repeat; transform: scale(calc(1.25 - var(--p, 0) * .25)) translateY(calc((1 - var(--p, 0)) * 12%)); transform-origin: 50% 30%; will-change: transform; }
.cta-earth::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 45%, rgba(5, 10, 20, .7) 75%, var(--bg) 100%); }
.cta-inner { position: relative; display: grid; gap: 22px; justify-items: start; }
.cta-actions { display: flex; align-items: center; gap: 28px; margin-top: 16px; flex-wrap: wrap; }
.store-badge img { height: 56px; transition: transform .5s var(--ease-out), filter .4s; } .store-badge:hover img { transform: translateY(-3px) scale(1.03); filter: drop-shadow(0 12px 30px rgba(93, 168, 255, .5)); }
.qr { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.qr #qr { width: 84px; height: 84px; padding: 8px; background: #fff; border-radius: 14px; }
.qr #qr svg { width: 100%; height: 100%; }
@media (hover: none), (max-width: 720px) { .qr { display: none; } }
@media (min-width: 721px) { .hero[data-rec="recording"] .hero-copy .lead { max-width: 24ch; } }

/* ============================ REAL iOS APP SCREENS IN THE PHONE ============================ */
.phone { --k: .8; --ios: -apple-system, "SF Pro Text", "SF Pro Display", "Inter", system-ui, sans-serif; aspect-ratio: 393 / 852; border-radius: calc(55px * var(--k)); background: #000; container-type: normal; box-shadow: 0 0 0 calc(11px * var(--k)) #0a0b0e, 0 0 0 calc(12.5px * var(--k)) #2a2d33, 0 60px 120px rgba(0, 0, 0, .65), 0 0 120px -20px rgba(93, 168, 255, .25); }
.phone > * { font-size: 16px; }
.ph { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--k)); overflow: hidden; border-radius: 55px; font-family: var(--ios); line-height: 1.25; color: #fff; text-align: left; letter-spacing: 0; }
.ph .abs { position: absolute; } .ph .row { display: flex; align-items: center; }
.ph .cover { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ph .av { border-radius: 50%; background-size: cover; background-position: center; flex: none; }
.ph svg { display: block; max-width: none; } .ph img { max-width: none; }
.ph-view { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; background: #000; overflow: hidden; }
.phone[data-step="0"] .ph-view[data-view="0"], .phone[data-step="1"] .ph-view[data-view="1"], .phone[data-step="2"] .ph-view[data-view="2"] { opacity: 1; }
.ph-status { position: absolute; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 42px; z-index: 40; font-weight: 600; font-size: 17px; }
.ph-status .ico { display: flex; gap: 6px; align-items: center; }
.ph-island { position: absolute; left: 50%; top: 11px; width: 126px; height: 37px; margin-left: -63px; border-radius: 19px; background: #000; z-index: 50; }
.ph-home { position: absolute; left: 50%; bottom: 8px; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: rgba(255, 255, 255, .85); z-index: 45; }
.tg-ios { width: 51px; height: 31px; border-radius: 16px; background: #e9e9eb; position: relative; flex: none; transition: background .3s; }
.tg-ios b { position: absolute; left: 2px; top: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .35s var(--ease-out); }
.tg-ios.on { background: #34c759; } .tg-ios.on b { transform: translateX(20px); }
.ph .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(235, 235, 245, .35); } .ph .dot.on { background: #fff; }
.ph .you-rings { animation: youPulse 2s ease-in-out infinite; }
@keyframes youPulse { 50% { transform: scale(1.08); opacity: .75; } }
.ph .mpin { transform: translate(-50%, -50%) scale(0); transition: transform .6s cubic-bezier(.3, 1.6, .4, 1); transition-delay: calc(var(--i) * 70ms + .5s); }
.phone[data-step="1"] .mpin { transform: translate(-50%, -50%) scale(1); }
.ph .me { transform: translate(-50%, -50%); z-index: 3; }
.phone[data-step="1"] .me .av { animation: land 1s cubic-bezier(.3, 1.5, .4, 1) .15s backwards; }
.ph .me-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #5da8ff; animation: ring 2.4s var(--ease-out) infinite 1s; opacity: 0; }
.ph .me-ring.r2 { animation-delay: 2.2s; }
.ph .ucard { transform: translateY(150%); transition: transform .8s var(--ease-out); z-index: 25; }
.phone.show-ucard[data-step="1"] .ucard { transform: none; }

/* ============================ STORY CARDS = THE APP'S VOICE CARD ============================ */
.acard { --ios: -apple-system, "SF Pro Text", "SF Pro Display", "Inter", system-ui, sans-serif; flex: none; width: clamp(264px, 25vw, 330px); aspect-ratio: 329 / 582; border-radius: 36px; overflow: hidden; position: relative; scroll-snap-align: center; border: 1px solid #ededf4; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); color: #ededf4; font-family: var(--ios); user-select: none; -webkit-user-select: none; cursor: pointer; transition: transform .6s var(--ease-out), box-shadow .5s; }
.acard:hover { transform: translateY(-6px); }
.acard.playing { box-shadow: 0 0 0 4px rgba(93, 168, 255, .45), 0 24px 70px rgba(93, 168, 255, .35); }
.acard-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 6s linear; }
.acard.playing .acard-bg { transform: scale(1.1); }
.acard::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 26%, transparent 55%, rgba(0, 0, 0, .4)); }
.acard > *:not(.acard-bg) { z-index: 2; }
.acard-report { position: absolute; right: 22px; top: 22px; width: 22px; height: 22px; opacity: .6; }
.acard-head { position: absolute; left: 16px; top: 16px; right: 56px; display: flex; align-items: center; gap: 10px; text-shadow: 0 0 4px #212121; }
.acard-head img { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #ededf4; flex: none; object-fit: cover; }
.acard-head div { display: grid; line-height: 1.25; min-width: 0; } .acard-head b { font-size: 17px; font-weight: 700; } .acard-head span { font-size: 13px; }
.acard-mid { position: absolute; left: 28px; right: 26px; bottom: 96px; display: flex; align-items: flex-end; filter: drop-shadow(0 0 3px rgba(33, 33, 33, .9)); }
.acard-place { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 1.2; } .acard-place svg { width: 21px; height: 21px; flex: none; }
.acard-side { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; text-align: center; }
.acard-side svg { width: 21px; height: 21px; margin: 0 auto; }
.a-like { display: grid; justify-items: center; color: inherit; font: inherit; } .a-like svg { width: 26px; height: 26px; fill: none; stroke: #ededf4; transition: transform .5s cubic-bezier(.3, 2, .4, 1), fill .25s, stroke .25s; }
.a-like[aria-pressed="true"] svg { fill: #e53935; stroke: #e53935; transform: scale(1.2); }
.acard-player { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 58px; background: #fff; border-radius: 20px; padding: 12px; display: flex; align-items: center; gap: 10px; }
.a-play { width: 32px; height: 32px; flex: none; transition: transform .4s var(--ease-out); } .a-play svg { width: 100%; height: 100%; }
.acard:hover .a-play { transform: scale(1.12); }
.a-play .g-pause, .acard.playing .a-play .g-play { display: none; } .acard.playing .a-play .g-pause { display: block; }
.a-wave { flex: 1; height: 30px; display: flex; align-items: center; gap: 2px; }
.a-wave i { flex: 1; border-radius: 2px; background: rgba(10, 65, 123, .2); transition: background .12s; } .a-wave i.on { background: #0a417b; }
.acard.playing .a-wave i:not(.on) { animation: aw 1s ease-in-out infinite alternate; animation-delay: calc(var(--n, 0) * -90ms); }
@keyframes aw { to { background: rgba(10, 65, 123, .38); } }

/* Android closed-testing waitlist (inside the closing CTA) */
.waitlist { margin-top: 26px; width: min(560px, 100%); padding: 20px 22px; border-radius: 24px; background: rgba(13, 22, 38, .72); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 14px; }
.wl-copy { color: var(--dim); font-size: 15px; line-height: 1.5; } .wl-copy b { color: var(--text); font-weight: 600; }
.wl-row { display: flex; gap: 10px; }
.wl-row input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(5, 10, 20, .7); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font: 500 15px var(--sans); }
.wl-row input::placeholder { color: var(--faint); }
.wl-row input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue); }
.wl-row .btn { flex: none; height: 48px; }
.wl-note { margin: 0; font-size: 13.5px; color: var(--faint); min-height: 1em; }
.wl-note.err { color: #ff8a80; } .wl-note.ok { color: #8fe3b0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 480px) { .wl-row { flex-direction: column; } .wl-row .btn { justify-content: center; } }

/* Real App Store reviews */
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; padding: 30px 30px 26px; display: grid; gap: 18px; align-content: start; }
.r-stars { display: flex; gap: 4px; } .r-stars svg { width: 18px; height: 18px; fill: #ffc65c; }
.review blockquote { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--text); letter-spacing: -.01em; }
.review .r-title { font-weight: 600; margin: 0 0 8px; }
.review blockquote p { margin: 0; }
.review figcaption { display: grid; gap: 2px; font-size: 14px; } .review figcaption b { font-weight: 600; }
.review figcaption span { color: var(--faint); font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.review-more { display: inline-block; margin-top: 26px; color: var(--blue-2); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.review-more:hover { color: var(--text); }
@media (max-width: 760px) { .review-grid { grid-template-columns: 1fr; } }

/* Day / night chip; in daylight the map is light, so the scrims are tuned to keep the copy readable */
.theme-btn { gap: 6px; } .theme-btn .ti { font-size: 13px; line-height: 1; }
.hero[data-theme="day"] .hero-scrim { background:
  linear-gradient(180deg, rgba(5, 10, 20, .88) 0%, rgba(5, 10, 20, .45) 12%, rgba(5, 10, 20, 0) 26%),
  linear-gradient(0deg, rgba(5, 10, 20, 1) 0%, rgba(5, 10, 20, .62) 24%, rgba(5, 10, 20, 0) 50%),
  linear-gradient(90deg, rgba(5, 10, 20, .92) 0%, rgba(5, 10, 20, .55) 36%, rgba(5, 10, 20, 0) 64%); }
.hero[data-theme="day"] .maplibregl-ctrl-attrib { background: rgba(255, 255, 255, .7) !important; color: #4a5d7a; }
.hero[data-theme="day"] .maplibregl-ctrl-attrib a { color: #2b3f5e !important; }
@media (max-width: 720px) { /* phones: the copy sits at the top, so darken the top of a daylight map behind it */
  .hero[data-theme="day"] .hero-scrim { background:
    linear-gradient(180deg, rgba(5, 10, 20, .96) 0%, rgba(5, 10, 20, .9) 30%, rgba(5, 10, 20, .35) 44%, rgba(5, 10, 20, 0) 54%),
    linear-gradient(0deg, rgba(5, 10, 20, .95) 0%, rgba(5, 10, 20, .4) 16%, rgba(5, 10, 20, 0) 30%); }
}

/* Product film (16:9). Poster with a big play button; the native controls take over once it plays, so phones can go full screen */
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(18px, 2.4vw, 32px); overflow: hidden; background: #050a14; box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -40px rgba(93, 168, 255, .35); }
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #050a14; }
.film-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(ellipse at center, rgba(5, 10, 20, .1), rgba(5, 10, 20, .55)); cursor: pointer; border: 0; color: var(--text); }
.film-play .fp-btn { width: clamp(70px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 12px rgba(255, 255, 255, .14), 0 20px 60px rgba(0, 0, 0, .5); transition: transform .5s var(--ease-out); }
.film-play .fp-btn svg { width: 38%; fill: #0A417B; margin-left: 6%; }
.film-play:hover .fp-btn { transform: scale(1.07); }
.film-play .fp-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #dbe6f6; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.film-frame.playing .film-play { display: none; }
@media (max-width: 560px) { .film-play .fp-label { display: none; } }
