@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
  --ink: #15223f;
  --blue: #304580;
  --blue-2: #5e75b9;
  --coral: #cf6452;
  --cream: #f2ecdc;
  --paper: #faf7ee;
  --white: #fffefa;
  --mint: #dff3e7;
  --yellow: #fff2a8;
  --pink: #f7d9d2;
  --lilac: #e9dcfb;
  --line: rgba(21, 34, 63, .22);
  --shadow: 0 16px 46px rgba(20, 29, 47, .14);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(72, 95, 154, .23) 1.2px, transparent 1.5px) 0 0 / 32px 32px,
    var(--cream);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img, video { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 12px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #ff7158; outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 78px;
  padding: 10px clamp(20px, 3vw, 56px);
  background: rgba(255, 255, 255, .96);
  border-top: 5px solid #202020;
  border-bottom: 3px solid var(--blue);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 700; color: #2c2d30; }
.brand sup { font-size: .48em; font-weight: 500; }
.brand-mark { position: relative; width: 39px; height: 32px; }
.brand-mark i { position: absolute; width: 30px; height: 25px; border-radius: 4px; background: var(--blue); left: 0; bottom: 0; }
.brand-mark i:nth-child(2) { left: 5px; bottom: 4px; opacity: .58; }
.brand-mark i:nth-child(3) { left: 10px; bottom: 8px; opacity: .28; }
.brand-mark::after { content: '▶'; position: absolute; left: 10px; bottom: 7px; z-index: 2; color: white; font-size: 11px; }
.desktop-nav { justify-self: center; display: flex; gap: clamp(22px, 3vw, 52px); }
.desktop-nav a, .login-link { font-family: var(--mono); text-decoration: none; }
.desktop-nav a:hover, .login-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.waitlist-link { display: inline-flex; align-items: center; gap: 13px; padding: 16px 22px; color: white; background: var(--blue); font-family: var(--mono); text-decoration: none; font-weight: 500; }
.waitlist-link span { display: grid; place-items: center; width: 32px; height: 32px; color: white; background: var(--coral); }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(60px, 10vh, 120px) 24px 170px;
  background: #17233b;
  isolation: isolate;
}
.film-wall { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 5px; background: #11182a; }
.film-tile { position: relative; min-width: 0; overflow: hidden; background: #11182a; }
.film-tile video { width: 100%; height: 100%; object-fit: cover; opacity: .15; filter: saturate(.8) contrast(1.05); animation: filmReveal 22s ease-in-out infinite; }
.film-tile span { position: absolute; inset: 0; opacity: .82; background: linear-gradient(130deg, #394a74, #c6786a, #6f8374, #c5a075, #726384); background-size: 350% 350%; animation: liquid 13s ease-in-out infinite, liquidFade 22s ease-in-out infinite; mix-blend-mode: color; }
.film-tile:nth-child(2) video, .film-tile:nth-child(2) span { animation-delay: -5s; }
.film-tile:nth-child(3) video, .film-tile:nth-child(3) span { animation-delay: -11s; }
.film-tile:nth-child(4) video, .film-tile:nth-child(4) span { animation-delay: -16s; }
.film-tile:nth-child(5) video, .film-tile:nth-child(5) span { animation-delay: -8s; }
.film-tile:nth-child(6) video, .film-tile:nth-child(6) span { animation-delay: -19s; }
.film-tile:hover video, .film-tile:focus-within video { opacity: 1; }
.film-tile:hover span, .film-tile:focus-within span { opacity: .05; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 45%, rgba(248, 243, 224, .22), rgba(5, 11, 27, .62) 75%); }
@keyframes liquid { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes filmReveal { 0%, 12%, 100% { opacity: .12; } 30%, 65% { opacity: .96; } 82% { opacity: .22; } }
@keyframes liquidFade { 0%, 12%, 100% { opacity: .84; } 30%, 65% { opacity: .08; } 82% { opacity: .74; } }

.hero-copy {
  width: min(860px, calc(100vw - 40px));
  padding: clamp(34px, 5vw, 68px);
  text-align: center;
  background: rgba(250, 247, 238, .9);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .23);
  backdrop-filter: blur(14px);
}
.eyebrow, .stage-number, .asset-label { margin-bottom: 15px; color: var(--blue); font-family: var(--mono); font-size: .83rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin-bottom: 16px; font-family: var(--serif); font-size: clamp(4rem, 8vw, 8.2rem); line-height: .86; letter-spacing: -.045em; }
.hero-copy > p:last-child { margin: 0 auto; max-width: 740px; font-size: clamp(1.1rem, 1.6vw, 1.38rem); line-height: 1.55; }
.make-bar {
  position: absolute;
  left: 50%;
  bottom: 55px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  width: min(1050px, calc(100vw - 48px));
  padding: 14px 18px 12px;
  transform: translateX(-50%);
  border: 1px solid rgba(59, 77, 128, .28);
  border-radius: 30px;
  background: rgba(248, 250, 255, .94);
  box-shadow: 0 18px 52px rgba(9, 16, 39, .26);
  backdrop-filter: blur(16px);
}
.asset-button, .mic-button, .begin-button { border: 0; cursor: pointer; }
.asset-button { grid-row: 1 / 3; display: grid; place-content: center; min-width: 96px; border: 1px dashed #93a1c5; border-radius: 20px; color: var(--blue); background: white; font-family: var(--mono); text-transform: uppercase; }
.asset-button strong { font: 400 2.6rem/1 var(--sans); }
.asset-button span { margin-top: 5px; font-size: .62rem; letter-spacing: .12em; }
.make-bar > input { min-width: 0; padding: 12px 18px; border: 0; border-radius: 18px; background: white; color: var(--ink); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 600; }
.mic-button { width: 56px; border-radius: 50%; color: white; background: var(--coral); font-size: .7rem; }
.begin-button { min-width: 110px; border-radius: 17px; color: white; background: var(--blue); font: 600 .78rem var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.make-hint, .make-status { grid-column: 2 / -1; min-height: 1.1em; margin: 0; color: #68728b; font: .72rem var(--mono); }
.make-status:not(:empty) { color: var(--blue); font-weight: 600; }
.scroll-cue { position: absolute; right: 24px; bottom: 18px; color: white; font: .7rem var(--mono); letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }

.product-intro { max-width: 1050px; margin: 0 auto; padding: 120px 24px 90px; text-align: center; }
.product-intro h2, .why h2, .brand-hack h2, .closing h2 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(3rem, 6vw, 6.6rem); line-height: .95; letter-spacing: -.035em; }
.product-intro > p:not(.eyebrow) { max-width: 790px; margin: 0 auto 42px; font-size: 1.25rem; line-height: 1.6; }
.team-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.team-strip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.58); font-family: var(--mono); font-size: .72rem; }
.team-strip b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: white; background: var(--blue); }

.journey { overflow: clip; }
.stage { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(620px, 1.35fr); gap: clamp(30px, 5vw, 80px); min-height: 820px; padding: 80px clamp(24px, 4vw, 72px); border-top: 1px solid var(--line); }
.stage:nth-child(even) { background: rgba(255, 255, 255, .24); }
.stage-copy { align-self: start; position: sticky; top: 138px; max-width: 510px; padding-top: 60px; }
.stage-copy h2 { margin-bottom: 24px; font-family: var(--serif); font-size: clamp(3.2rem, 5.4vw, 6.2rem); line-height: .92; letter-spacing: -.035em; }
.stage-copy > p:last-child { font-size: 1.12rem; line-height: 1.65; }
.world-board {
  position: relative;
  align-self: center;
  min-height: 650px;
  border: 1px solid rgba(48, 69, 128, .2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 1px 1px, rgba(72, 95, 154, .18) 1px, transparent 1.3px) 0 0 / 28px 28px,
    rgba(250, 247, 238, .66);
  box-shadow: inset 0 0 100px rgba(255,255,255,.6);
}
.connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.connections path { fill: none; stroke-width: 1.7; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; opacity: .72; }
.connection--cool { stroke: #5c78c3; }
.connection--warm { stroke: #d37968; }
.world-hub { position: absolute; z-index: 3; left: 50%; top: 9%; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 290px; padding: 12px 18px; transform: translateX(-50%); color: white; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: var(--blue); box-shadow: var(--shadow); }
.world-hub i { width: 34px; height: 34px; flex: 0 0 auto; border: 2px solid #aebde8; border-radius: 50%; background: radial-gradient(circle, #8af0bc 0 18%, #48609d 21% 45%, transparent 47%), #263968; animation: pulse 2.4s ease-in-out infinite; }
.world-hub span { display: flex; flex-direction: column; }
.world-hub strong { font-size: .95rem; }
.world-hub small { opacity: .72; font: .61rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(138, 240, 188, .13); } }

.asset {
  --drag-x: 0px;
  --drag-y: 0px;
  position: absolute;
  z-index: 4;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  min-width: 0;
  transform: translate(var(--drag-x), calc(var(--drag-y) + 14px));
  opacity: .12;
  transition: opacity .55s ease, transform .65s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
  border: 1px solid rgba(25, 39, 70, .16);
  border-radius: 22px;
  background: rgba(255, 254, 250, .94);
  box-shadow: var(--shadow);
  cursor: grab;
  touch-action: none;
}
.stage.is-active .asset { opacity: 1; transform: translate(var(--drag-x), var(--drag-y)); }
.asset.is-dragging { z-index: 20; cursor: grabbing; box-shadow: 0 26px 70px rgba(20, 29, 47, .26); transition: box-shadow .2s ease; }
.asset:focus-visible { z-index: 21; }
.agent-chip { position: absolute; z-index: 2; top: -13px; left: 16px; padding: 7px 11px; color: white; border-radius: 999px; background: var(--coral); font: 600 .62rem var(--mono); letter-spacing: .04em; }
.note { padding: 34px 25px 24px; }
.note--yellow { background: rgba(255, 242, 168, .95); }
.note--pink { background: rgba(247, 217, 210, .95); }
.note--mint { background: rgba(223, 243, 231, .96); }
.note--lilac { background: rgba(233, 220, 251, .96); }
.note h3 { margin-bottom: 13px; font: 500 clamp(1.4rem, 2vw, 2rem)/1.12 var(--serif); }
.note small, .evidence-card small { font-family: var(--mono); line-height: 1.5; }
.media-asset { padding: 12px 12px 16px; }
.media-asset img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px; }
.media-asset p { margin: 13px 4px 0; font-weight: 700; }
.evidence-card { padding: 34px 25px 24px; }
.evidence-card h3 { margin-bottom: 10px; font: 600 1.55rem/1.15 var(--serif); }
.storyboard { padding: 30px 14px 16px; }
.storyboard > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.storyboard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.cut-card { padding: 33px 12px 14px; }
.cut-card h3 { margin: 0 5px 9px; font: 600 1.5rem var(--serif); }
.cut-card video, .final-film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 13px; background: #11182a; }
.cut-card p { margin: 10px 5px 0; font: .7rem var(--mono); text-transform: uppercase; }
.cut-card--small { padding-top: 22px; }
.cut-card--small p { font-weight: 600; }
.audience-panel { padding: 30px 22px 0; overflow: hidden; background: rgba(249, 250, 255, .96); }
.audience-panel img { width: 100%; max-height: 230px; object-fit: contain; object-position: center bottom; }
.response-signals { position: absolute; inset: 17px 12% auto; display: flex; justify-content: space-between; }
.response-signals i { width: 23px; height: 23px; border-radius: 50%; background: radial-gradient(circle, #ff8cd3 0 18%, #f7dca6 23% 47%, rgba(255,255,255,.95) 50%); box-shadow: 0 0 18px #efb9d9; animation: brain 1.8s ease-in-out infinite alternate; }
.response-signals i:nth-child(2) { animation-delay: -.6s; }.response-signals i:nth-child(3) { animation-delay: -1.1s; }.response-signals i:nth-child(4) { animation-delay: -.3s; }.response-signals i:nth-child(5) { animation-delay: -1.4s; }
@keyframes brain { to { transform: scale(1.3); box-shadow: 0 0 28px #ff99d5; } }
.final-film { overflow: hidden; padding: 12px; background: #0b101d; color: white; }
.final-film > div { padding: 13px 7px 2px; }
.final-film h3 { margin: 0; font: 600 1.6rem var(--serif); }
.model-card { padding: 35px 20px 20px; }
.model-card h3 { margin-bottom: 18px; font: 600 1.6rem/1.1 var(--serif); }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.model-grid img { width: 100%; aspect-ratio: 1; padding: 12px; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; background: white; }
.model-card p { margin: 16px 0 0; font-size: .86rem; line-height: 1.5; }

.why { max-width: 1240px; margin: 0 auto; padding: 130px 30px; text-align: center; }
.why h2 { max-width: 1000px; margin-left: auto; margin-right: auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 65px; text-align: left; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.why-grid article { padding: 38px; }
.why-grid article + article { border-left: 1px solid var(--line); }
.why-grid span { font: .75rem var(--mono); color: var(--coral); }
.why-grid h3 { margin: 15px 0 9px; font: 600 2rem var(--serif); }
.why-grid p { margin: 0; line-height: 1.6; }

.brand-hack { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: 110px clamp(25px, 6vw, 100px); color: white; background: #14213b; }
.brand-hack .eyebrow { color: #ff8d78; }
.brand-hack h2 { font-size: clamp(3.6rem, 6vw, 6.6rem); }
.brand-hack > div > p:not(.eyebrow) { max-width: 680px; font-size: 1.15rem; line-height: 1.65; }
.brand-hack > div > a { display: inline-block; margin-top: 18px; color: white; text-underline-offset: 5px; font-family: var(--mono); }
.hack-flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hack-flow li { display: grid; grid-template-columns: auto 1fr; gap: 3px 18px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.hack-flow span { grid-row: 1 / 3; color: #ff8d78; font: .75rem var(--mono); }
.hack-flow strong { font: 600 1.45rem var(--serif); }
.hack-flow small { opacity: .72; line-height: 1.45; }
.closing { padding: 130px 24px; text-align: center; }
.closing .waitlist-link { margin-top: 26px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px clamp(24px, 4vw, 70px); background: white; border-top: 3px solid var(--blue); }
footer .brand { font-size: 1.25rem; } footer .brand-mark { transform: scale(.72); transform-origin: left center; margin-right: -7px; } footer p { margin: 0; }

@media (max-width: 1120px) {
  .desktop-nav { gap: 18px; font-size: .86rem; }
  .header-actions { gap: 14px; }
  .stage { grid-template-columns: minmax(260px, .55fr) minmax(560px, 1.45fr); gap: 30px; padding-inline: 28px; }
  .stage-copy h2 { font-size: 4.2rem; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 68px; grid-template-columns: 1fr auto; padding: 9px 14px; }
  .site-header .brand { font-size: 1.25rem; }
  .site-header .brand-mark { transform: scale(.8); transform-origin: left center; margin-right: -7px; }
  .desktop-nav, .login-link { display: none; }
  .waitlist-link { padding: 11px 13px; font-size: .74rem; }.waitlist-link span { width: 26px; height: 26px; }
  .mobile-nav { position: sticky; top: 68px; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
  .mobile-nav a { padding: 10px 5px; text-align: center; text-decoration: none; font: .66rem var(--mono); }
  .hero { min-height: 920px; padding: 70px 16px 265px; place-items: start center; }
  .film-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 1fr); }
  .hero-copy { margin-top: 40px; padding: 32px 18px; }
  .hero h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .make-bar { bottom: 72px; grid-template-columns: auto 1fr auto; width: calc(100vw - 24px); padding: 10px; border-radius: 24px; }
  .asset-button { min-width: 68px; }.asset-button strong { font-size: 2rem; }.asset-button span { font-size: .5rem; }
  .make-bar > input { grid-column: 2 / 4; grid-row: 1; padding: 12px; font-size: 1rem; }
  .mic-button { grid-column: 2; grid-row: 2; width: auto; border-radius: 14px; min-height: 44px; }
  .begin-button { grid-column: 3; grid-row: 2; min-width: 94px; }
  .make-hint, .make-status { grid-column: 1 / -1; font-size: .64rem; }
  .scroll-cue { right: 14px; bottom: 22px; }
  .product-intro { padding-block: 90px 65px; }
  .product-intro h2, .why h2, .brand-hack h2, .closing h2 { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .stage { display: block; min-height: 0; padding: 70px 16px; }
  .stage-copy { position: static; max-width: 680px; padding: 0 8px 30px; }
  .stage-copy h2 { font-size: clamp(3.5rem, 14vw, 5.3rem); }
  .world-board { min-height: 0; display: grid; gap: 16px; padding: 18px; border-radius: 24px; overflow: visible; }
  .connections { display: none; }
  .world-hub { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: none; justify-content: center; }
  .asset, .stage.is-active .asset { position: relative; inset: auto !important; width: 100% !important; transform: none !important; opacity: 1; cursor: default; touch-action: auto; }
  .agent-chip { top: -10px; }
  .cut-card video, .final-film video, .media-asset img { aspect-ratio: 16 / 9; }
  .audience-panel { min-height: 250px; }
  .response-signals { inset-inline: 10%; }
  .why { padding: 90px 18px; }
  .why-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .why-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .brand-hack { grid-template-columns: 1fr; gap: 45px; padding: 85px 20px; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .film-tile video { opacity: .92; }
  .film-tile span { opacity: .08; }
  .asset { opacity: 1; transform: translate(var(--drag-x), var(--drag-y)); }
}
