:root {
  --night: #07080B;
  --deep: #0B1020;
  --surface: #101115;
  --raised: #16171C;
  --dusk: #3E5AA8;
  --pearl: #ECEDF2;
  --moon: #F4D3A3;
  --text2: rgba(236, 237, 242, 0.62);
  --text3: rgba(236, 237, 242, 0.4);
  --hair: rgba(255, 255, 255, 0.08);
  --hair2: rgba(255, 255, 255, 0.14);
  --ui: "Segoe UI Variable Display", "Segoe UI Variable Text", "Inter", "SF Pro Display", system-ui, sans-serif;
  --brand: "Century Gothic", "URW Gothic", "Questrial", "Futura", "Avenir Next", var(--ui);
  --gutter: clamp(18px, 4vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--night); color: var(--pearl); font-family: var(--ui); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
body.intro { overflow: hidden; }
body.intro.ready { overflow-y: auto; }
a { color: inherit; }
img, svg { display: block; }

/* ---------- Nav ---------- */
#nav { position: fixed; top: 0; left: 0; right: 0; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); z-index: 20; }
#nav::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 8, 11, .82), rgba(7, 8, 11, 0)); pointer-events: none; z-index: -1; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--brand); font-size: 19px; letter-spacing: .01em; }
.brand .slot, .brand img { width: 30px; height: 30px; }
.links { display: flex; gap: 30px; }
.links a { color: var(--text2); text-decoration: none; font-size: 14px; transition: color .2s; }
.links a:hover, .links a[aria-current] { color: var(--pearl); }
.nav-right { display: flex; gap: 18px; align-items: center; }
.nav-right .login { font-size: 14px; color: var(--text2); text-decoration: none; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; color: var(--pearl); cursor: pointer; box-shadow: inset 0 0 0 1px var(--hair2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--pearl); color: #0B0B0C; font: 560 15px var(--ui); text-decoration: none; border: 0; cursor: pointer; transition: background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: #fff; }
.btn.ghost { background: rgba(7, 8, 11, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--pearl); box-shadow: inset 0 0 0 1px var(--hair2); }
.btn.ghost:hover { background: rgba(30, 32, 40, .6); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
:focus-visible { outline: 2px solid var(--pearl); outline-offset: 3px; border-radius: 6px; }

/* ---------- Intro layers ---------- */
#ocean { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
#spray { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 22; pointer-events: none; }
body.nogl #ocean, body.nogl #spray { display: none; }
body.nogl { background: radial-gradient(40% 30% at 50% 44%, rgba(244, 211, 163, .16), transparent 70%), linear-gradient(180deg, var(--night) 0 62%, var(--deep) 62% 100%) fixed; }
#logo { position: fixed; left: 0; top: 0; width: 690px; height: 770px; transform-origin: 0 0; z-index: 21; pointer-events: none; will-change: transform; }
#logo img { position: absolute; left: 0; top: 0; width: 690px; height: 770px; opacity: 0; }
#wm { position: fixed; transform: translateY(-50%); z-index: 21; display: flex; font-family: var(--brand); font-size: clamp(38px, 6.2vw, 86px); letter-spacing: .01em; line-height: 1; pointer-events: none; white-space: nowrap; }
#wm span { display: inline-block; opacity: 0; will-change: transform, opacity; }
#tag { position: fixed; left: 50%; transform: translateX(-50%); z-index: 21; color: var(--text2); font-size: clamp(14px, 1.3vw, 17px); letter-spacing: .02em; opacity: 0; white-space: nowrap; pointer-events: none; }
#skip { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 21; font-size: 12px; color: var(--text3); letter-spacing: .05em; transition: opacity .4s; pointer-events: none; }
body.ready #skip { opacity: 0; }
#replay { position: fixed; right: 18px; bottom: 18px; z-index: 21; opacity: 0; pointer-events: none; transition: opacity .4s; background: rgba(16, 17, 21, .7); backdrop-filter: blur(10px); }
body.ready #replay { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
#hero { position: relative; z-index: 2; padding: 150px var(--gutter) 40px; text-align: center; }
body.intro #hero { opacity: 0; pointer-events: none; }
body.intro #hero.live { pointer-events: auto; }
h1 { font-size: clamp(40px, 6.2vw, 82px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.sub { margin: 24px auto 0; max-width: 32em; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--text2); }
.ctas { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.dl { position: relative; }
.menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 210px; padding: 6px; border-radius: 14px; background: rgba(18, 19, 24, .96); box-shadow: 0 0 0 1px var(--hair), 0 24px 60px rgba(0, 0, 0, .6); display: none; text-align: left; z-index: 30; }
.menu.open { display: block; }
.menu a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 9px; font-size: 14px; text-decoration: none; }
.menu a span { color: var(--text3); font-size: 12px; }
.menu a:hover { background: rgba(255, 255, 255, .06); }
.works { margin-top: 26px; font-size: 13px; color: var(--text3); }

/* ---------- Hero shot ---------- */
.shot-hero { margin: 72px auto 0; width: min(1180px, 100%); transform-origin: 50% 0; will-change: transform; }
.shot-hero video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0B0D13; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair2), 0 60px 160px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(62, 90, 168, .25); }

/* ---------- Sections ---------- */
.page { position: relative; z-index: 2; background: linear-gradient(to bottom, rgba(7, 8, 11, 0), var(--night) 220px); }
section { padding: clamp(90px, 14vh, 160px) var(--gutter); }
.wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text3); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4.4vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.lead { margin-top: 18px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--text2); max-width: 30em; }

.statement p { max-width: 20em; margin: 0 auto; text-align: center; font-size: clamp(28px, 3.6vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; color: var(--text3); }
.statement p span { color: var(--pearl); }

.chapter { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; min-height: 80vh; }
.chapter:nth-child(even) .ch-text { order: 2; }
.ch-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.ch-media::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(244, 211, 163, .13), rgba(62, 90, 168, .06) 45%, transparent 70%); filter: blur(10px); }

/* Chapter 01: the reference breakdown */
.bd { position: relative; width: min(440px, 100%); padding: 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(22, 24, 32, .92), rgba(12, 13, 18, .94)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 0 1px var(--hair), 0 40px 120px -30px rgba(0, 0, 0, .85); text-align: left; }
.bd-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 560; }
.bd-meta { font-size: 12px; font-weight: 400; color: var(--text3); letter-spacing: .02em; }
.bd-bar { display: flex; gap: 3px; height: 46px; margin-top: 18px; }
.bd-bar i { border-radius: 6px; background: linear-gradient(180deg, rgba(62, 90, 168, .38), rgba(62, 90, 168, .16)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.bd-bar i.on { background: linear-gradient(180deg, rgba(244, 211, 163, .75), rgba(244, 211, 163, .35)); box-shadow: inset 0 0 0 1px rgba(255, 240, 215, .4), 0 0 24px rgba(244, 211, 163, .25); }
.bd-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; color: var(--text3); font-variant-numeric: tabular-nums; }
.bd-rows { margin-top: 20px; display: grid; gap: 0; }
.bd-rows div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 13px; line-height: 1.45; }
.bd-rows dt { color: var(--text3); }
.bd-rows dd { color: var(--text2); }
.bd-out { margin-top: 14px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--hair); display: grid; gap: 8px; }
.bd-out .eyebrow { margin-bottom: 2px; font-size: 11px; color: var(--moon); opacity: .8; }
.bd-out p { font-size: 14px; line-height: 1.5; color: var(--text2); }
.bd-out b { color: var(--pearl); font-weight: 560; }
.ch-media.shot { aspect-ratio: auto; }
.ch-media.shot::before { inset: -6% 4%; }
.ch-media.shot img { position: relative; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 1px var(--hair), 0 40px 120px -30px rgba(0, 0, 0, .85); }
.ch-media.phone { aspect-ratio: auto; }
.ch-media.phone img { position: relative; width: min(340px, 72%); height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)) drop-shadow(0 0 50px rgba(62, 90, 168, .18)); }

.inside .gallery { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery figure { display: grid; gap: 14px; align-content: start; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--hair), 0 40px 120px -30px rgba(0, 0, 0, .85); }
.gallery figcaption { font-size: 14px; line-height: 1.6; color: var(--text2); max-width: 38em; }
.gallery figcaption b { color: var(--pearl); font-weight: 560; }

.everywhere { text-align: center; }
.tiles { margin: 48px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 820px; }
.tile { display: grid; justify-items: center; gap: 12px; padding: 22px 8px 18px; border-radius: 16px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--hair); transition: background .2s, box-shadow .2s; }
.tile:hover { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--hair2); }
.tile svg { width: 26px; height: 26px; color: var(--pearl); }
.tile span { font-size: 13px; color: var(--text2); }
.mcp { margin-top: 30px; font-size: 15px; color: var(--text2); }
.mcp b { color: var(--pearl); font-weight: 560; }
.privacy { margin: 90px auto 0; max-width: 680px; padding: 22px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -.01em; }

.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(5, 1fr); }
.plan-col { padding: 8px 24px; border-left: 1px solid var(--hair); display: grid; gap: 12px; align-content: start; }
.plan-col:first-child { border-left: 0; padding-left: 0; }
.plan-col h3 { font-size: 16px; font-weight: 560; }
.plan-col .price, .pcard .price { font-size: 15px; font-weight: 400; letter-spacing: .02em; color: var(--moon); }
.more { display: inline-block; margin-top: 40px; color: var(--text2); text-decoration: none; font-size: 14px; }
.more:hover { color: var(--pearl); }

.faq .wrap { max-width: 760px; }
details { border-bottom: 1px solid var(--hair); }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--text3); font-size: 20px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 22px; color: var(--text2); line-height: 1.65; max-width: 40em; }

#closing { min-height: 92vh; display: grid; place-items: center; text-align: center; background: linear-gradient(to bottom, var(--night), rgba(7, 8, 11, 0) 45%); }
#closing h2 { font-size: clamp(36px, 5.4vw, 72px); }
#closing .btn { margin-top: 34px; }

footer { position: relative; z-index: 2; background: var(--night); border-top: 1px solid var(--hair); padding: 56px var(--gutter) 40px; }
.foot { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 32px; }
.foot h4 { font-size: 12px; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot a { display: block; color: var(--text2); text-decoration: none; font-size: 14px; padding: 4px 0; }
.foot a:hover { color: var(--pearl); }
.foot .small { margin-top: 14px; font-size: 13px; color: var(--text3); max-width: 22em; line-height: 1.55; }
.legal { max-width: 1120px; margin: 44px auto 0; font-size: 12px; color: var(--text3); }

/* ---------- Inner pages ---------- */
body.inner { background: radial-gradient(60% 40% at 50% 0%, rgba(62, 90, 168, .14), transparent 70%), radial-gradient(30% 22% at 50% 4%, rgba(244, 211, 163, .10), transparent 70%), var(--night); }
.inner-hero { padding: 150px var(--gutter) 40px; text-align: center; }
.inner-hero .lead { margin: 18px auto 0; }
.price-cards { max-width: 1120px; margin: 56px auto 140px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pcard { min-height: 220px; padding: 26px 24px; border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 0 1px var(--hair); background: linear-gradient(180deg, rgba(62, 90, 168, .10), rgba(255, 255, 255, .012) 60%); display: grid; align-content: space-between; justify-items: start; }
.pcard h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.pcard .price { padding: 8px 14px; border-radius: 999px; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(244, 211, 163, .28); }
.downloads { max-width: 900px; margin: 40px auto 0; display: grid; gap: 12px; }
.dl-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hair); }
.dl-row svg { width: 28px; height: 28px; margin: 0 auto; }
.dl-row h3 { font-size: 17px; font-weight: 560; }
.dl-row p { font-size: 13px; color: var(--text3); margin-top: 4px; }
.soon { justify-self: end; padding: 9px 16px; border-radius: 999px; font-size: 13px; color: var(--moon); box-shadow: inset 0 0 0 1px rgba(244, 211, 163, .28); white-space: nowrap; }

/* ---------- Web: this winter ---------- */
.winter-hero { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: grid; align-items: start; justify-items: center; text-align: center; padding: 37vh var(--gutter) 10vh; }
.winter-hero h1 { font-size: clamp(56px, 10vw, 136px); letter-spacing: -.05em; }
.winter-hero .lead { margin: 22px auto 0; }
.winter-hero .eyebrow { color: var(--moon); opacity: .85; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .links { display: none; position: absolute; top: 64px; right: var(--gutter); flex-direction: column; gap: 4px; padding: 10px; border-radius: 14px; background: rgba(16, 17, 21, .96); box-shadow: 0 0 0 1px var(--hair), 0 24px 60px rgba(0, 0, 0, .6); }
  .links.open { display: flex; }
  .links a { padding: 8px 12px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-right .login { display: none; }
  .chapter { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .chapter:nth-child(even) .ch-text { order: 0; }
  .ch-media { aspect-ratio: 1 / 1.05; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr 1fr; margin-bottom: 90px; }
  .pcard { min-height: 150px; }
  .plan-col { border-left: 0; padding: 26px 0; border-top: 1px solid var(--hair); }
  .plan-col:first-child { border-top: 0; }
  .plan-col { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; }
  .foot { grid-template-columns: 1fr; }
  .inside .gallery { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 40px 1fr; }
  .dl-row .btn, .dl-row .soon { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
