:root {
  --black: #080808;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --paper: #f6f5f2;
  --white: #ffffff;
  --ink: #171717;
  --muted: #66696d;
  --line: #dededb;
  --line-dark: #2b2b2b;
  --red: #e21b2d;
  --red-dark: #b90f1f;
  --red-text: #c61023;
  --red-bright: #ff4f60;
  --red-soft: #fff0f2;
  --green: #1e754c;
  --max: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 10px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  height: 68px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-bottom: 1px solid #ececea;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 154px; height: auto; }
.portal-label {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow, .mini-label {
  display: inline-block;
  color: #aaaeb3;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1.25;
  text-transform: uppercase;
}
.eyebrow.red { color: var(--red-text); }
.brief-card-copy .eyebrow.red { color: #ff5a68; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 620;
  letter-spacing: -.055em;
  line-height: .98;
}
h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 590;
  letter-spacing: -.045em;
  line-height: 1.02;
}
h3 { letter-spacing: -.025em; line-height: 1.15; }

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .copy-button:focus-visible, .video-card:focus-visible, summary:focus-visible, a:focus-visible {
  outline: 3px solid #ff6674;
  outline-offset: 3px;
}
.button.primary { color: var(--white); background: var(--red); }
.button.primary:hover { background: #f02438; }
.button.ghost { color: var(--white); border-color: #474747; background: rgba(255,255,255,.035); }
.button.ghost:hover { border-color: #777; background: rgba(255,255,255,.08); }
.light-button { color: var(--black); background: var(--white); }
.light-button:hover { background: #f3f3f0; }
.line-button { color: var(--white); border-color: #565656; background: transparent; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* Homepage */
.home-hero {
  min-height: 710px;
  padding: 82px max(22px, calc((100vw - var(--max)) / 2)) 78px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 70px;
  align-items: center;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.home-hero-copy { position: relative; z-index: 2; }
.home-hero h1 { margin-top: 20px; max-width: 720px; }
.home-hero h1 em { color: var(--red); font-style: normal; }
.home-hero-copy > p {
  max-width: 610px;
  color: #bfc1c3;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}
.home-visual { position: relative; min-height: 540px; }
.visual-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid #333;
  background: #151515;
}
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-main { inset: 0 0 54px 48px; }
.frame-small { width: 42%; aspect-ratio: 1; left: 0; bottom: 0; border: 8px solid var(--black); }
.visual-note {
  position: absolute;
  right: 22px;
  bottom: 20px;
  max-width: 230px;
  padding: 13px 15px;
  color: #cbccce;
  background: rgba(8,8,8,.9);
  border-left: 3px solid var(--red);
  font-size: 13px;
}
.visual-note strong { color: var(--white); }

.momentum-strip {
  max-width: var(--max);
  margin: -24px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: var(--red);
}
.momentum-strip > div { padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.25); }
.momentum-strip > div:last-child { border-right: 0; }
.momentum-strip strong { display: block; margin-bottom: 4px; font-size: 22px; letter-spacing: -.02em; }
.momentum-strip span { color: var(--white); font-size: 13px; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 22px;
}
.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, .65fr);
  gap: 48px;
  align-items: end;
}
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.section-heading.light > p { color: #a5a8ab; }

.brief-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.brief-card {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  color: var(--white);
  background: var(--surface);
  border: 1px solid var(--line-dark);
  text-decoration: none;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease;
}
.brief-card:hover { transform: translateY(-4px); border-color: #555; }
.brief-image { background: var(--white); overflow: hidden; }
.brief-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.brief-card:hover .brief-image img { transform: scale(1.025); }
.brief-card-copy { padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.brief-card-copy h3 { margin: 14px 0 12px; font-size: 32px; }
.brief-card-copy p { color: #aaaeb3; font-size: 14px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 14px; font-weight: 750; }
.coming-soon { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

.creator-value { border-top: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-grid article { min-height: 270px; padding: 32px; background: var(--paper); }
.value-grid article > span { color: var(--red-text); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.value-grid h3 { margin: 70px 0 12px; font-size: 23px; }
.value-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.community-band, .support-band {
  padding: 72px max(22px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  color: var(--white);
  background: var(--red);
}
.community-copy { max-width: 760px; }
.community-band h2, .support-band h2 { max-width: 760px; font-size: clamp(36px, 5.5vw, 66px); }
.community-band p, .support-band p { max-width: 700px; margin: 18px 0 0; color: var(--white); }
.community-band .eyebrow { color: var(--white); }

/* Product brief */
.brief-hero {
  padding: 64px max(22px, calc((100vw - var(--max)) / 2)) 0;
  color: var(--white);
  background: var(--black);
}
.brief-hero-inner {
  min-height: 585px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr);
  gap: 72px;
  align-items: center;
}
.brief-intro { padding-bottom: 54px; }
.back-link {
  margin-bottom: 58px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b4b6b9;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.back-link:hover { color: var(--white); }
.brief-intro h1 { margin: 17px 0 24px; font-size: clamp(48px, 6.4vw, 78px); }
.brief-intro > p { max-width: 650px; color: #b7b9bd; font-size: 17px; }
.product-stage {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--white);
}
.product-stage img { width: 100%; height: 100%; object-fit: contain; }
.stage-label {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.metric {
  min-height: 116px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-dark);
  background: #101010;
}
.metric span { color: #8f9296; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.metric strong { font-size: 18px; font-weight: 650; }

.film-section { padding-top: 118px; }
.film-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .65fr); gap: 24px; align-items: start; }
.film-card { color: var(--white); background: var(--surface); border: 1px solid var(--line-dark); }
.film-card-head { padding: 24px 28px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-dark); }
.film-card-head span { color: #999da1; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.film-card-head strong { font-size: 15px; }
.script-block { padding: 28px; position: relative; }
.script-block > span { color: #8d9094; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.script-block blockquote { max-width: 720px; margin: 15px 0 22px; font-size: clamp(27px, 4vw, 43px); font-weight: 560; letter-spacing: -.04em; line-height: 1.08; }
.script-block p { margin: 14px 0 20px; font-size: 19px; }
.hook-block { border-bottom: 1px solid var(--line-dark); }
.cta-block { border-top: 1px solid var(--line-dark); background: #181818; }
.timeline { margin: 0; padding: 10px 28px; list-style: none; }
.timeline li { padding: 21px 0; display: grid; grid-template-columns: 74px 1fr; gap: 18px; border-bottom: 1px solid #2a2a2a; }
.timeline li:last-child { border-bottom: 0; }
.timeline .time { color: var(--red-bright); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.timeline strong { display: block; margin-bottom: 5px; font-size: 15px; }
.timeline p { margin: 0; color: #a9acb0; font-size: 14px; }
.copy-button {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e4e5e6;
  background: transparent;
  border: 1px solid #414141;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.copy-button:hover { color: var(--white); border-color: #777; }
.feature-stack { display: grid; gap: 24px; }
.feature-stack figure { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--white); }
.feature-stack img { width: 100%; height: 100%; object-fit: cover; }
.feature-stack figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(5,5,5,.86);
  font-size: 11px;
  font-weight: 700;
}

.dark-section {
  max-width: none;
  padding-left: max(22px, calc((100vw - var(--max)) / 2));
  padding-right: max(22px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--black);
}
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--surface);
  border: 1px solid #313131;
  cursor: pointer;
  text-align: left;
}
.video-card > img, .video-card > video { width: 100%; height: 100%; object-fit: cover; }
.video-card > video { position: absolute; inset: 0; z-index: 5; background: #000; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.88)); }
.play-mark {
  position: absolute;
  top: 50%; left: 50%;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--black);
  background: var(--white);
}
.play-mark span { margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor; }
.video-meta { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.video-meta strong, .video-meta small { display: block; }
.video-meta strong { font-size: 15px; }
.video-meta small { margin-top: 3px; color: #d1d2d4; font-size: 12px; }

.angle-list { border-top: 1px solid var(--line); }
.angle-card { border-bottom: 1px solid var(--line); }
.angle-card summary {
  min-height: 100px;
  padding: 20px 6px;
  display: grid;
  grid-template-columns: 62px 1fr 28px;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.angle-card summary::-webkit-details-marker { display: none; }
.angle-number { color: var(--red-text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 800; }
.angle-card summary strong, .angle-card summary small { display: block; }
.angle-card summary strong { font-size: 21px; }
.angle-card summary small { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 500; }
.plus { width: 18px; height: 18px; position: relative; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.plus::before { width: 16px; height: 1px; }
.plus::after { width: 1px; height: 16px; transition: transform .2s ease; }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.angle-body { padding: 6px 0 34px 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.angle-body > div { padding: 22px; background: var(--white); border: 1px solid var(--line); }
.angle-body blockquote { margin: 12px 0 18px; font-size: 18px; font-weight: 580; line-height: 1.35; }
.angle-body p { margin: 12px 0 18px; font-size: 14px; }
.angle-body ol { margin: 12px 0 0; padding-left: 20px; }
.angle-body li { margin: 8px 0; color: var(--muted); font-size: 13px; }
.angle-body .copy-button, .copy-section .copy-button { color: var(--ink); border-color: #c7c7c4; }
.angle-body .copy-button:hover, .copy-section .copy-button:hover { border-color: #777; }

.copy-section { border-top: 1px solid var(--line); }
.copy-layout { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items: start; }
.copy-group { padding: 24px; background: var(--white); border: 1px solid var(--line); }
.copy-group h3 { margin-bottom: 18px; font-size: 20px; }
.copy-row { padding: 16px 0; border-top: 1px solid #e9e9e6; }
.copy-row p { margin: 0 0 13px; font-size: 14px; }
.copy-row .mono { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.65; }

.facts-section { padding-top: 80px; }
.facts-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.facts-grid h2 { margin-bottom: 32px; }
.facts-grid figure { margin: 0; background: var(--white); }
.facts-grid figure img { width: 100%; height: 100%; object-fit: contain; }
.check-list { margin: 0 0 28px; padding: 0; list-style: none; }
.check-list li { margin: 15px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--red-dark); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.guardrail-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.guardrail-grid article { padding: 28px; border: 1px solid var(--line); }
.guardrail-grid h3 { margin: 12px 0 20px; font-size: 23px; }
.guardrail-grid ul { margin: 0; padding-left: 20px; }
.guardrail-grid li { margin: 10px 0; font-size: 14px; }
.do-card { background: #f0f7f3; }
.avoid-card { background: var(--red-soft); }
.do-card .mini-label, .avoid-card .mini-label { color: #5d6165; }
.support-band { background: var(--black); align-items: center; }
.support-actions { min-width: 250px; display: grid; gap: 10px; }

.site-footer { padding: 54px max(22px, calc((100vw - var(--max)) / 2)); color: #a4a6aa; background: #050505; border-top: 1px solid #202020; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; align-items: flex-end; }
.site-footer .brand-logo { width: 140px; padding: 8px 10px; background: var(--white); }
.site-footer p { margin: 14px 0 0; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.site-footer nav a { color: #b3b5b7; font-size: 12px; text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }

.toast {
  position: fixed;
  z-index: 50;
  left: 50%; bottom: 22px;
  padding: 11px 15px;
  color: var(--white);
  background: #181818;
  border: 1px solid #404040;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; gap: 48px; }
  .home-visual { min-height: 500px; }
  .brief-hero-inner { grid-template-columns: 1fr .8fr; gap: 34px; }
  .product-stage { min-height: 440px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .brief-grid, .film-grid, .facts-grid { grid-template-columns: 1fr; }
  .feature-stack { grid-template-columns: 1fr 1fr; }
  .copy-layout { grid-template-columns: 1fr 1fr; }
  .copy-group:first-child { grid-column: 1 / -1; }
  .angle-body { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header { height: 60px; padding-inline: 16px; }
  .brand-logo { width: 132px; }
  .portal-label { font-size: 9px; }
  .home-hero { min-height: auto; padding: 58px 18px 50px; }
  .home-hero h1 { font-size: clamp(44px, 14vw, 62px); }
  .home-hero-copy > p { font-size: 16px; }
  .home-visual { min-height: 390px; }
  .frame-main { inset: 0 0 44px 30px; }
  .frame-small { width: 45%; }
  .visual-note { right: 10px; bottom: 12px; max-width: 180px; font-size: 11px; }
  .momentum-strip { margin: 0; grid-template-columns: 1fr; }
  .momentum-strip > div { padding: 18px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .section { padding: 76px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .brief-card { min-height: auto; grid-template-columns: 1fr; }
  .brief-image { aspect-ratio: 1.15; }
  .brief-card-copy { min-height: 240px; padding: 24px; }
  .brief-card-copy h3 { font-size: 27px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 220px; }
  .value-grid h3 { margin-top: 42px; }
  .community-band, .support-band { padding: 58px 18px; flex-direction: column; align-items: stretch; }
  .community-band h2, .support-band h2 { font-size: 42px; }

  .brief-hero { padding: 38px 18px 0; }
  .brief-hero-inner { display: flex; flex-direction: column; min-height: 0; gap: 24px; }
  .brief-intro { padding-bottom: 18px; }
  .back-link { margin-bottom: 40px; }
  .brief-intro h1 { font-size: 50px; }
  .brief-intro > p { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .product-stage { width: 100%; min-height: 0; aspect-ratio: 1; }
  .metric-grid { margin-inline: -18px; grid-template-columns: repeat(2, 1fr); }
  .metric { min-height: 100px; padding: 18px; }
  .metric strong { font-size: 15px; }
  .film-section { padding-top: 82px; }
  .film-card-head { padding: 20px; flex-direction: column; }
  .script-block { padding: 24px 20px; }
  .timeline { padding: 8px 20px; }
  .timeline li { grid-template-columns: 58px 1fr; gap: 12px; }
  .feature-stack { grid-template-columns: 1fr; }
  .dark-section { padding-inline: 18px; }
  .video-grid { margin-right: -18px; padding-right: 18px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .video-card { flex: 0 0 78%; scroll-snap-align: start; }
  .angle-card summary { grid-template-columns: 42px 1fr 22px; gap: 10px; }
  .angle-card summary strong { font-size: 18px; }
  .angle-body { padding-left: 0; }
  .copy-layout { grid-template-columns: 1fr; }
  .copy-group:first-child { grid-column: auto; }
  .guardrail-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
