/* HEAT INDEX — product site. The trailer's language: one charcoal, one
   orange, Avenir, every headline ends on an orange full stop. One column,
   centred, the product as big and sharp as the screen allows. */

:root {
  --bg: #0b0a09;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2eee7;
  --soft: #cfc8bd;
  --muted: #8f897f;
  --accent: #f24b1f;
  --accent-press: #d63f17;
  --radius: 16px;
  --font: "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --col: min(1200px, 100% - 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 19px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.lede, .chapter p, .launch-lede { text-wrap: balance; }
p { margin: 0; }
.dot { color: var(--accent); }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 44px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.bar.scrolled { background: rgba(11, 10, 9, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.bar-logo img { height: 34px; width: auto; }
.bar-nav { display: flex; align-items: center; gap: 26px; }
.bar-link { background: none; border: 0; padding: 0; color: var(--soft); font: 500 16px var(--font); cursor: pointer; }
.bar-link:hover { color: var(--text); }
.bar-cta { font-size: 16px; text-decoration: none; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong); }
.bar-cta:hover { border-color: var(--accent); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 17px/1 var(--font); padding: 17px 28px; border-radius: 999px;
  border: 0; cursor: pointer; text-decoration: none; transition: background-color .2s;
}
.btn svg { width: 13px; height: 13px; fill: currentColor; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-press); }
.btn-large { font-size: 19px; padding: 20px 34px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 168px 0 0; text-align: center; }
.hero-copy { width: var(--col); margin: 0 auto; }
.hero h1 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -0.035em; }
.lede { margin: 26px auto 0; max-width: 30em; font-size: clamp(19px, 1.7vw, 23px); color: var(--soft); }
.actions { margin-top: 40px; display: flex; justify-content: center; gap: 14px; }

.hero-shot {
  position: relative; width: var(--col); margin: 88px auto 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 60px 120px -40px rgba(0, 0, 0, 0.95);
}
.hero-shot img { width: 100%; height: auto; }
.hero-meta { margin: 28px 0 0; color: var(--muted); font-size: 15px; letter-spacing: 0.06em; }

/* ---------------------------------------------------------------- chapters */
.chapter { width: var(--col); margin: 0 auto; padding-top: 190px; }
.chapter-text { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.chapter h2 { font-size: clamp(36px, 4.4vw, 64px); }
.chapter p { margin-top: 22px; font-size: clamp(19px, 1.5vw, 21px); color: var(--soft); }
.clip {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #000;
  aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line), 0 50px 100px -40px rgba(0, 0, 0, 0.9);
}
.clip video { width: 100%; height: 100%; object-fit: cover; }
.replay {
  position: absolute; right: 18px; bottom: 18px;
  font: 600 14px var(--font); color: var(--text); cursor: pointer;
  background: rgba(11, 10, 9, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.clip.ended .replay { opacity: 1; pointer-events: auto; }

/* ---------------------------------------------------------------- numbers */
.numbers { width: var(--col); margin: 0 auto; padding-top: 170px; }
.numbers dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers div { padding: 48px 24px; text-align: center; }
.numbers div + div { border-left: 1px solid var(--line); }
.numbers dt { font-size: clamp(44px, 4.6vw, 66px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.numbers dd { margin: 14px 0 0; color: var(--muted); font-size: 17px; }

/* ---------------------------------------------------------------- trailer cta */
.film-cta { width: var(--col); margin: 0 auto; padding-top: 170px; }
.film-cover { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.film-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.film-cover:hover img { transform: scale(1.02); }
.film-label { position: absolute; left: 36px; bottom: 32px; display: flex; align-items: center; gap: 18px; text-align: left; color: var(--text); }
.film-label .play { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.film-label svg { width: 20px; height: 20px; fill: #fff; margin-left: 4px; }
.film-label strong { display: block; font: 600 24px/1.2 var(--font); }
.film-label em { display: block; font: 500 15px/1.4 var(--font); color: var(--muted); font-style: normal; }

/* ---------------------------------------------------------------- launch */
.launch { width: var(--col); margin: 0 auto; padding: 200px 0 40px; text-align: center; }
.launch h2 { font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.035em; }
.launch-lede { margin: 22px 0 40px; font-size: 21px; color: var(--soft); }
.waitlist { max-width: 640px; margin: 0 auto; }
.waitlist-row { display: flex; gap: 12px; justify-content: center; align-items: stretch; }
.waitlist input[type="email"] { flex: 1 1 auto; min-width: 0; font: 500 19px var(--font); color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 26px; }
.waitlist input[type="email"]::placeholder { color: var(--muted); }
.waitlist input[type="email"]:focus-visible { outline-offset: 2px; border-color: var(--accent); }
.waitlist input[aria-invalid="true"] { border-color: var(--accent); }
.waitlist .btn { white-space: nowrap; justify-content: center; }
.waitlist .btn[disabled] { opacity: .6; cursor: default; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; text-align: left; color: var(--muted); font-size: 15px; line-height: 1.5; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.consent a { color: var(--soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.waitlist-note { margin-top: 18px; color: var(--muted); font-size: 16px; }
.waitlist-note.ok { color: var(--text); }
.waitlist-note.err { color: var(--accent); }
.launch-terms { margin-top: 36px; color: var(--muted); font-size: 16px; }
.launch-terms strong { color: var(--text); font-weight: 600; }
.launch-terms s { margin-left: 4px; }

/* ---------------------------------------------------------------- faq */
.faq { width: min(820px, 100% - 48px); margin: 0 auto; padding: 160px 0 140px; }
.faq h2 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 30px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 26px; color: var(--soft); max-width: 40em; }

/* ---------------------------------------------------------------- footer */
.foot { width: var(--col); margin: 0 auto; padding: 34px 0 44px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 15px; }
.foot img { height: 28px; width: auto; }
.foot-links { display: flex; gap: 28px; }
.foot-links a { color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- legal pages */
.bar-static { position: absolute; }
.legal { width: min(760px, 100% - 48px); margin: 0 auto; padding: 150px 0 110px; font-size: 18px; line-height: 1.65; }
.legal h1 { font-size: clamp(28px, 8vw, 60px); margin-bottom: 14px; overflow-wrap: anywhere; hyphens: auto; }
.legal h2 { font-size: 24px; letter-spacing: -0.015em; margin: 46px 0 12px; }
.legal p, .legal li { color: var(--soft); }
.legal p { margin-top: 12px; }
.legal ol { margin: 12px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-date { color: var(--muted) !important; margin-bottom: 8px; }

/* ---------------------------------------------------------------- trailer dialog */
.film { width: min(1280px, 94vw); padding: 0; border: 0; background: transparent; overflow: visible; }
.film::backdrop { background: rgba(0, 0, 0, 0.9); }
.film video { width: 100%; border-radius: 12px; background: #000; }
.film-close { position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 500 26px/1 var(--font); cursor: pointer; }
body.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------- motion */
.js .rise { opacity: 0; transform: translateY(32px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .rise.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 760px) {
  body { font-size: 18px; }
  .bar { height: 64px; }
  .bar-logo img { height: 28px; }
  .bar-link { display: none; }
  .hero { padding-top: 128px; }
  .hero-shot { margin-top: 56px; }
  .chapter { padding-top: 120px; }
  .chapter-text { margin-bottom: 32px; }
  .numbers, .film-cta { padding-top: 110px; }
  .numbers dl { grid-template-columns: 1fr; }
  .numbers div + div { border-left: 0; border-top: 1px solid var(--line); }
  .numbers div { padding: 32px 0; }
  .film-label { left: 18px; bottom: 16px; gap: 12px; }
  .film-label .play { width: 48px; height: 48px; }
  .film-label strong { font-size: 18px; }
  .launch { padding-top: 130px; }
  .foot { flex-wrap: wrap; gap: 14px 24px; justify-content: center; text-align: center; }
  .legal { padding-top: 120px; font-size: 17px; }
  .waitlist-row { flex-direction: column; }
  .waitlist input[type="email"] { padding: 18px 24px; }
  .faq { padding: 110px 0 100px; }
  .film-close { top: -50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .film-cover img { transition: none; }
}

/* ---------------------------------------------------------------- buy page */
[hidden] { display: none !important; }
.buy { width: min(820px, 100% - 48px); margin: 0 auto; padding: 150px 0 110px; text-align: center; }
.buy h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -0.035em; }
.buy-lede { margin: 20px auto 48px; font-size: clamp(19px, 1.7vw, 23px); color: var(--soft); }
.price-card { text-align: left; padding: 40px clamp(24px, 5vw, 48px) 36px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); box-shadow: 0 0 0 1px var(--line); }
.price { display: flex; align-items: baseline; gap: 14px; }
.price-now { font-size: clamp(48px, 7vw, 72px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.price-was { font-size: 24px; color: var(--muted); }
.price-note { margin-top: 10px; color: var(--muted); font-size: 15px; }
.includes { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.includes li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--soft); font-size: 17px; }
.includes li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.buy-actions { margin-top: 32px; display: flex; justify-content: center; }
.buy-actions .btn { justify-content: center; text-align: center; }
.buy-status { margin-top: 18px; text-align: center; color: var(--muted); font-size: 16px; }
.buy-status.ok { color: var(--text); }
.buy-status.err { color: var(--accent); }
.buy-fine { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: center; }
.buy-fine a { color: var(--soft); }
.buy-faq { text-align: left; padding-top: 90px; }
.buy-faq h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 26px; }
.thanks { text-align: left; }
.thanks .buy-lede { margin: 12px 0 0; }
.thanks code { font-size: 0.95em; color: var(--text); }
@media (max-width: 760px) {
  .buy { padding-top: 120px; }
  .buy-actions .btn { width: 100%; }
}
