/* Groviance — styles
   Light "studio" sections alternate with deep-navy "screening room" sections.
   The logo gradient is reserved for motion: rotating words, timeline clips, glows, highlights. */

/* Self-hosted Bricolage Grotesque (SIL Open Font License) — weight 200–800, width 75–100% */
@font-face {
  font-family: "Groviance Sans";
  src: url("../fonts/bricolage.woff2") format("woff2-variations"), url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #EEEFF4;
  --white: #FFFFFF;
  --ink: #12132E;
  --ink-2: #1C1E45;
  --ink-3: #2A2D5E;
  --mute: #585B75;
  --mute-dark: #A5A8C8;
  --line: #D3D5DF;
  --line-dark: rgba(255,255,255,.1);
  --amber: #F7A531;
  --orange: #F2691F;
  --red: #E0314F;
  --purple: #8C3BD4;
  --blue: #2E6BF0;
  --grad: linear-gradient(90deg, var(--amber), var(--orange) 25%, var(--red) 50%, var(--purple) 75%, var(--blue));
  --grad-diag: linear-gradient(120deg, var(--amber), var(--orange) 25%, var(--red) 50%, var(--purple) 75%, var(--blue));

  --font: "Groviance Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1220px;
  --gutter: clamp(20px, 4vw, 44px);
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  font-variation-settings: normal;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.022em; font-variation-settings: "wdth" 100; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

.section-dark { background: var(--ink); color: var(--white); }
.section-dark p { color: var(--mute-dark); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section-head p { color: var(--mute); max-width: 52ch; font-size: 1.125rem; }
.section-dark .section-head p { color: var(--mute-dark); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--ink); color: var(--white);
  border: 2px solid var(--ink); border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-glow {
  border: 0; color: var(--white);
  background: var(--grad-diag); background-size: 200% 100%; background-position: 0% 50%;
  box-shadow: 0 8px 30px -8px rgba(224,49,79,.6);
  transition: transform .25s var(--ease), background-position .6s var(--ease), box-shadow .25s;
}
.btn-glow:hover { background-position: 100% 50%; box-shadow: 0 12px 40px -8px rgba(46,107,240,.6); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--amber); border-color: var(--amber); }
.mini-play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, border-color .3s, color .3s; border-bottom: 1px solid transparent; color: var(--white); }
.site-header.scrolled { background: rgba(18,19,46,.82); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.wordmark {
  font-weight: 800; font-size: 1.65rem; letter-spacing: -0.028em; text-decoration: none;
  font-variation-settings: "wdth" 100;
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
@keyframes sheen { to { background-position: 200% 0; } }
.header-row nav { margin-left: auto; }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; color: rgba(255,255,255,.72); transition: color .2s; }
.nav a:hover { color: var(--white); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 70% 10%, #24275F 0%, var(--ink) 55%, #0A0B22 100%);
  color: var(--white);
  display: flex; align-items: center;
  padding: 120px 0 110px;
}
.layer { position: absolute; inset: 0; pointer-events: none; }
.layer-bg { z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-video.missing { display: none; }
.hero-grid {
  position: absolute; inset: -10% -10% -30%;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(900px) rotateX(58deg) translateY(30%);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  animation: grid-move 6s linear infinite;
}
@keyframes grid-move { to { background-position: 0 64px, 0 0; } }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.orb-a { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8%; top: -12%; background: radial-gradient(circle, var(--purple), transparent 65%); animation: drift-a 16s ease-in-out infinite alternate; }
.orb-b { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; left: -10%; bottom: -10%; background: radial-gradient(circle, var(--orange), transparent 65%); animation: drift-b 19s ease-in-out infinite alternate; opacity: .4; }
.orb-c { width: 28vw; height: 28vw; max-width: 420px; max-height: 420px; right: 22%; bottom: 0; background: radial-gradient(circle, var(--blue), transparent 65%); animation: drift-a 22s ease-in-out infinite alternate-reverse; opacity: .45; }
@keyframes drift-a { to { transform: translate(-8%, 10%) scale(1.15); } }
@keyframes drift-b { to { transform: translate(12%, -8%) scale(1.1); } }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,11,34,.85) 0%, rgba(10,11,34,.45) 45%, rgba(10,11,34,0) 75%); pointer-events: none; }

.layer-mid { z-index: 2; }
.float { position: absolute; will-change: transform; }
.card-chart, .card-toast, .card-phone, .card-play {
  background: rgba(28,30,69,.72); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); border-radius: var(--r-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.card-chart { right: 6%; top: 20%; width: 300px; padding: 14px 16px 16px; animation: bob 7s ease-in-out infinite; }
.card-head { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.card-title { margin-left: 8px; font-size: .8125rem; color: var(--mute-dark); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: var(--grad); background-size: 700% 100%; transform-origin: bottom; animation: bar 3.6s var(--ease) infinite; }
.bars i:nth-child(1) { background-position: 0 0; animation-delay: .0s; }
.bars i:nth-child(2) { background-position: 16% 0; animation-delay: .1s; }
.bars i:nth-child(3) { background-position: 33% 0; animation-delay: .2s; }
.bars i:nth-child(4) { background-position: 50% 0; animation-delay: .3s; }
.bars i:nth-child(5) { background-position: 66% 0; animation-delay: .4s; }
.bars i:nth-child(6) { background-position: 83% 0; animation-delay: .5s; }
.bars i:nth-child(7) { background-position: 100% 0; animation-delay: .6s; }
@keyframes bar { 0% { transform: scaleY(.15); } 35%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.card-toast { right: 24%; top: 55%; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; font-size: .875rem; line-height: 1.3; color: var(--mute-dark); animation: bob 6s ease-in-out -2s infinite; }
.card-toast b { color: var(--white); }
.toast-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-diag); flex: none; position: relative; }
.toast-icon::after { content: ""; position: absolute; left: 11px; top: 9px; width: 8px; height: 13px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg); }
.card-phone { right: 4%; top: 52%; width: 150px; aspect-ratio: 9/16; padding: 10px; border-radius: 24px; animation: bob 8s ease-in-out -4s infinite; }
.phone-screen { height: 100%; border-radius: 16px; background: linear-gradient(180deg, #2A2D5E, #1C1E45); padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ph-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.35); }
.ph-line.w70 { width: 70%; } .ph-line.w50 { width: 50%; background: rgba(255,255,255,.18); }
.ph-block { flex: 1; border-radius: 10px; background: var(--grad-diag); background-size: 300% 300%; animation: pan 6s ease-in-out infinite alternate; margin: 6px 0; }
@keyframes pan { to { background-position: 100% 100%; } }
.ph-btn { font-size: .625rem; font-weight: 700; text-align: center; padding: 7px 0; border-radius: 999px; background: var(--white); color: var(--ink); }
.card-play { left: 54%; top: 16%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; font-size: .875rem; font-weight: 600; animation: bob 5s ease-in-out -1s infinite; }
.play-tri { width: 26px; height: 26px; border-radius: 50%; background: var(--white); position: relative; }
.play-tri::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cursor { left: 70%; top: 44%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); animation: cursor-path 9s ease-in-out infinite; }
@keyframes cursor-path {
  0% { transform: translate(0, 0); } 30% { transform: translate(120px, -90px); }
  38% { transform: translate(120px, -90px) scale(.85); } 42% { transform: translate(120px, -90px) scale(1); }
  70% { transform: translate(-60px, 80px); } 100% { transform: translate(0, 0); }
}
@keyframes bob { 50% { translate: 0 -14px; } }

.hero-content { z-index: 3; width: 100%; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .9375rem; color: #D7D9F0; margin-bottom: 26px; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(224,49,79,.25); animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .3; } }
.hero-title {
  font-size: clamp(2.6rem, 7.2vw, 6.4rem); font-weight: 800; letter-spacing: -0.028em; line-height: .98;
  font-variation-settings: "wdth" 100;
}
.hero-title .line { display: block; }
.hw { display: inline; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rot-word {
  grid-area: 1 / 1; white-space: nowrap;
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 5s linear infinite;
}
html.js .rot-word:not(:first-child) { opacity: 0; }
.hero-sub { margin-top: 28px; max-width: 50ch; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: #C9CBE6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 30px 0 0; padding: 0; }
.hero-pills li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: .875rem; color: #C9CBE6; }

.layer-fg { z-index: 4; }
.fg-ring { position: absolute; width: 240px; height: 240px; right: -70px; bottom: -60px; border-radius: 50%; border: 28px solid transparent; background: var(--grad-diag) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: blur(2px); opacity: .9; animation: spin 24s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.fg-pill { position: absolute; width: 180px; height: 56px; left: 46%; bottom: 7%; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--red)); filter: blur(6px); opacity: .55; transform: rotate(-18deg); }
.fg-spark { position: absolute; width: 18px; height: 18px; left: 8%; top: 22%; background: var(--amber); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .4; } }

.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--white); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 34s linear infinite; }
.marquee-track span { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; color: #CFD1EC; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-diag); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(90px, 14vw, 180px) 0; }
.scrub-text { font-size: clamp(1.9rem, 4.2vw, 3.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.022em; max-width: 24ch; font-variation-settings: "wdth" 100; }
.scrub-text .sw { color: rgba(18,19,46,.16); transition: color .2s; }
.scrub-text .sw.lit { color: var(--ink); }
.scrub-text .sw.hot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Demo ---------- */
.demo { padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.demo-copy { display: grid; gap: 18px; }
.demo-copy p { max-width: 40ch; }
.chip { justify-self: start; font: inherit; font-weight: 600; font-size: .9375rem; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.chip:hover { background: rgba(255,255,255,.16); }
.demo-stage { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; align-items: center; }
.demo-stage figure { margin: 0; }
.demo-stage figcaption { margin-top: 12px; font-size: .875rem; color: var(--mute-dark); }
.app { position: relative; display: grid; grid-template-columns: 44px 1fr; aspect-ratio: 16/11; border-radius: var(--r-md); background: #F5F6FB; color: var(--ink); overflow: hidden; }
.app-static { filter: grayscale(1); opacity: .6; }
.app-live { box-shadow: 0 40px 80px -30px rgba(140,59,212,.55), 0 0 0 1px rgba(255,255,255,.12); }
.app-side { background: #E6E8F2; display: flex; flex-direction: column; gap: 10px; padding: 14px 10px; }
.app-side i { height: 24px; border-radius: 6px; background: #D2D5E4; }
.app-side i.on { background: var(--ink); }
.app-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { min-height: 46px; border-radius: 10px; background: var(--white); border: 1px solid #E1E3EE; padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; }
.kpi b { font-size: 1.125rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi small { font-size: .6875rem; color: var(--mute); }
.app-chart-static { flex: 1; border-radius: 10px; background: linear-gradient(transparent 60%, #DADDEA 60%) , var(--white); border: 1px solid #E1E3EE; }
.app-chart { flex: 1; width: 100%; height: auto; min-height: 80px; border-radius: 10px; background: var(--white); border: 1px solid #E1E3EE; }
.app-btn { align-self: flex-end; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .8125rem; font-weight: 600; transition: transform .15s; }
.app-btn.pressed { transform: scale(.92); background: var(--purple); }
.app-toast { position: absolute; left: 50%; top: 14px; translate: -50% 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .8125rem; font-weight: 600; white-space: nowrap; opacity: 0; }
.app-cursor { position: absolute; left: 30%; top: 70%; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.app-caption { position: absolute; left: 58px; top: 50%; translate: 0 -50%; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.022em; line-height: 1.05; color: var(--ink); max-width: 70%; pointer-events: none; }
.app-caption .wd { display: inline-block; white-space: nowrap; }
.app-caption .ch { display: inline-block; }

/* ---------- Anatomy / timeline ---------- */
.anatomy { padding: clamp(80px, 11vw, 150px) 0; }
.timeline { margin: 0; background: var(--ink); color: var(--white); border-radius: var(--r-lg); padding: 22px 24px 24px; box-shadow: 0 50px 100px -40px rgba(18,19,46,.6); }
.tl-top { display: flex; align-items: baseline; gap: 20px; padding-bottom: 16px; font-size: .875rem; color: var(--mute-dark); }
.tl-now { margin-left: auto; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--white); font-weight: 600; }
.tl-time { font-variant-numeric: tabular-nums; font-size: 1.75rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.tl-body { position: relative; --label-w: 96px; }
.tl-ruler { position: relative; height: 22px; margin-left: var(--label-w); border-bottom: 1px solid #3A3C63; font-size: .75rem; color: #8E90B0; font-variant-numeric: tabular-nums; }
.tl-ruler span { position: absolute; left: calc(var(--at) * 1%); transform: translateX(-50%); }
.tl-ruler span:first-child { transform: none; }
.tl-ruler span:last-child { transform: translateX(-100%); }
.tl-track { display: flex; align-items: center; height: 52px; border-bottom: 1px solid #2B2D52; }
.tl-label { width: var(--label-w); flex: none; font-size: .875rem; font-weight: 600; color: #C9CBE2; }
.tl-lane { position: relative; flex: 1; height: 38px; }
.clip {
  position: absolute; top: 0; bottom: 0; left: calc(var(--l) * 1%); width: calc(var(--w) * 1%);
  padding: 0 12px; display: flex; align-items: center; border-radius: var(--r-sm);
  font-size: .8125rem; font-weight: 600; line-height: 1.15; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background-image: var(--grad); background-size: calc(10000% / var(--w)) 100%;
  background-position-x: calc(var(--l) / (100 - var(--w)) * 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: filter .2s, transform .2s;
}
.clip.active { filter: brightness(1.15); transform: scaleY(1.08); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), 0 0 30px -4px rgba(247,165,49,.6); }
.tl-playhead { position: absolute; top: 0; bottom: -6px; left: calc(var(--label-w) + (100% - var(--label-w)) * var(--p, 1)); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; }
.tl-playhead::before { content: ""; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top: 9px solid var(--white); }
.timeline figcaption { margin-top: 14px; font-size: .875rem; color: var(--mute-dark); }

/* ---------- Showreel ---------- */
.reel-section { padding: clamp(80px, 11vw, 150px) 0; }
.reel { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); padding: 3px; background: var(--grad-diag); background-size: 200% 200%; animation: pan 8s ease-in-out infinite alternate; box-shadow: 0 40px 120px -40px rgba(140,59,212,.7); }
.reel video { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 3px); background: var(--ink-2); }
.reel-missing { position: absolute; inset: 3px; display: grid; place-items: center; padding: 24px; text-align: center; font-size: 1.125rem; color: #C9CBE2; background: radial-gradient(circle at 50% 40%, var(--ink-3), var(--ink-2)); border-radius: calc(var(--r-lg) - 3px); }
.reel-missing[hidden] { display: none; }

/* ---------- Formats ---------- */
.formats-section { padding: clamp(80px, 11vw, 150px) 0; background: var(--white); }
.formats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: .62fr .95fr 1.6fr .85fr; gap: 28px; align-items: end; }
.frame { position: relative; aspect-ratio: var(--ar); width: 100%; margin-bottom: 20px; border-radius: var(--r-md); background: var(--ink); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.fmt:hover .frame { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(18,19,46,.55); }
.ratio { position: absolute; left: 12px; bottom: 10px; font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; font-size: .9375rem; }
.formats h3 { margin-bottom: 6px; }
.formats p { color: var(--mute); font-size: 1rem; max-width: 30ch; }
.mini { position: absolute; inset: 0; }
.mini-vert { display: flex; flex-direction: column; gap: 8px; padding: 18px 12px 40px; }
.mv-title { height: 10px; width: 70%; border-radius: 5px; background: rgba(255,255,255,.5); animation: grow-x 3s var(--ease) infinite; transform-origin: left; }
.mv-card { flex: 1; border-radius: 10px; background: var(--grad-diag); background-size: 300% 300%; animation: pan 4s ease-in-out infinite alternate, pop 3s var(--ease) infinite; }
.mv-card.d2 { animation-delay: 0s, .3s; flex: .6; opacity: .7; }
.mv-btn { height: 18px; border-radius: 999px; background: var(--white); animation: pulse 1.5s ease-in-out infinite; }
@keyframes grow-x { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
@keyframes pop { 0% { transform: scale(.85); opacity: 0; } 30%, 100% { transform: scale(1); opacity: 1; } }
@keyframes pulse { 50% { transform: scale(.94); opacity: .75; } }
.mini-sq { display: grid; place-items: center; }
.ms-ring { width: 56%; aspect-ratio: 1; border-radius: 50%; border: 10px solid transparent; background: var(--grad-diag) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 4s linear infinite; grid-area: 1/1; }
.ms-dot { width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--white); grid-area: 1/1; animation: pulse 1.2s ease-in-out infinite; }
.mini-wide { padding: 18px 18px 40px; display: flex; flex-direction: column; gap: 10px; }
.mw-win { flex: 1; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.mw-win i { border-radius: 8px; background: rgba(255,255,255,.12); }
.mw-win i:nth-child(2) { background: var(--grad); background-size: 200% 100%; animation: sheen 3s linear infinite; grid-row: span 2; }
.mw-win i:nth-child(3) { animation: pulse 2s ease-in-out infinite; }
.mw-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.mw-bar::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; animation: grow-x 4s linear infinite; }
.mini-port { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px; }
.mp-badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--grad-diag); color: var(--white); font-size: .75rem; font-weight: 700; animation: pop 2.4s var(--ease) infinite; }
.mp-line { height: 12px; border-radius: 6px; background: rgba(255,255,255,.5); transform-origin: left; animation: grow-x 2.4s var(--ease) infinite; }
.mp-line.s { width: 60%; background: rgba(255,255,255,.22); animation-delay: .2s; }

/* ---------- Process ---------- */
.process { padding: clamp(80px, 11vw, 150px) 0; }
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 90px); align-items: start; }
.process-sticky { position: sticky; top: 120px; display: grid; gap: 18px; }
.process-sticky p { max-width: 40ch; }
.steps { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; display: grid; gap: 18px; }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 26px 26px 22px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line-dark); transition: border-color .3s, background-color .3s; }
.step.on { border-color: rgba(247,165,49,.5); background: #22245A; }
.step-n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; background: var(--ink); border: 2px solid var(--ink-3); transition: background .3s, border-color .3s; }
.step.on .step-n { background: var(--grad-diag); border-color: transparent; }
.step h3 { margin-bottom: 6px; }
.step p { max-width: 50ch; }
.steps-line { position: absolute; left: 43px; top: 40px; bottom: 40px; width: 2px; background: var(--ink-3); z-index: 0; pointer-events: none; }
.steps-fill { position: absolute; inset: 0; background: var(--grad); background: linear-gradient(var(--amber), var(--red), var(--blue)); transform-origin: top; transform: scaleY(0); }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(80px, 11vw, 150px) 0; }
.currency { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-top: 8px; }
.currency button { position: relative; z-index: 1; font: inherit; font-weight: 600; font-size: .9375rem; padding: 8px 22px; border: 0; background: none; color: var(--mute); cursor: pointer; border-radius: 999px; transition: color .25s; }
.currency button[aria-checked="true"] { color: var(--white); }
.cur-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .35s var(--ease); }
.currency[data-cur="inr"] .cur-thumb { transform: translateX(100%); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; }
.plan:hover { box-shadow: 0 40px 70px -40px rgba(18,19,46,.45); }
.plan h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-for { color: var(--mute); margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.amt { font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 100; display: inline-block; }
.per { color: var(--mute); font-size: .9375rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 28px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan-featured { color: var(--white); border: 2px solid transparent; background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--grad-diag) border-box; box-shadow: 0 50px 90px -40px rgba(140,59,212,.75); }
.plan-featured .plan-for, .plan-featured .per { color: var(--mute-dark); }
.plan-featured .price { border-color: var(--line-dark); }
.plan-featured li::before { border-color: var(--amber); }
.plan-badge { position: absolute; top: -14px; left: 28px; padding: 5px 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .8125rem; font-weight: 700; box-shadow: 0 6px 20px -6px rgba(0,0,0,.4); }
.pricing-note { text-align: center; margin-top: 36px; color: var(--mute); }

/* ---------- Offer CTA ---------- */
.offer { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--white); padding: clamp(90px, 12vw, 160px) 0 0; }
.offer-bg { position: absolute; inset: 0; z-index: -1; }
.offer-bg .orb-a { left: -10%; right: auto; top: 10%; }
.offer-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 90px); align-items: end; }
.offer-title { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .96; letter-spacing: -0.025em; }
.offer-side p { color: #C9CBE6; max-width: 44ch; }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.offer-marquee { margin-top: clamp(70px, 9vw, 120px); overflow: hidden; border-top: 1px solid var(--line-dark); padding: 18px 0 22px; }
.offer-track { display: flex; width: max-content; gap: 40px; animation: marquee 22s linear infinite; }
.offer-track span { font-size: clamp(2.6rem, 7vw, 6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); font-variation-settings: "wdth" 100; }
.offer-track span:nth-child(even) { -webkit-text-stroke: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* ---------- FAQ ---------- */
.faq-section { padding: clamp(80px, 11vw, 150px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 90px); align-items: start; }
.split-text { display: grid; gap: 16px; }
.split-text p { color: var(--mute); max-width: 42ch; }
.section-dark .split-text p { color: var(--mute-dark); }
.small { font-size: .9375rem; color: var(--mute); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.1875rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font-size: 1.3rem; font-weight: 400; transition: transform .3s var(--ease), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq details p { padding: 0 0 22px; color: var(--mute); max-width: 60ch; }

/* ---------- Contact form ---------- */
.contact { padding: clamp(80px, 11vw, 150px) 0; }
.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line-dark); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.opt { font-weight: 400; color: var(--mute-dark); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--white);
  background: var(--ink); border: 1.5px solid var(--ink-3); border-radius: var(--r-sm);
  padding: 12px 14px;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #6E7196; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(247,165,49,.25); }
.form .btn { justify-self: start; }
.contact .small { color: var(--mute-dark); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 40px 0 0; overflow: hidden; border-top: 1px solid var(--line-dark); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.footer-row p { color: var(--mute-dark); font-size: .9375rem; }
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: .9375rem; }
.footer-links a { color: #D7D9F0; }
.footer-mark { font-size: clamp(3.5rem, 15vw, 14rem); font-weight: 800; letter-spacing: -0.04em; line-height: .78; margin: 30px 0 -0.06em -0.04em; font-variation-settings: "wdth" 100; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .95; }

/* ---------- Simple pages (thank-you, privacy, 404) ---------- */
body.simple .site-header { position: sticky; background: var(--ink); }
.page { padding: clamp(56px, 8vw, 96px) 0; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.022em; margin-bottom: 20px; font-variation-settings: "wdth" 100; }
.page h2 { font-size: 1.4rem; margin: 32px 0 10px; letter-spacing: -0.01em; font-variation-settings: normal; }
.page p, .page li { color: var(--mute); max-width: 66ch; }
.page p + p { margin-top: 12px; }
.page .btn { margin-top: 28px; }
body.simple .site-footer { padding-bottom: 36px; }

/* ---------- Reveal states (only when JS + GSAP run) ---------- */
html.gsap-ready .reveal-up { opacity: 0; transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .card-toast { right: 30%; top: 70%; }
  .card-play { left: auto; right: 32%; top: 14%; }
}
@media (max-width: 960px) {
  .demo-grid, .process-grid, .offer-inner, .split { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 30px; }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .frame { width: auto; height: 170px; max-width: 100%; }
  .f-wide { width: 100%; height: auto; }
  .card-chart { width: 220px; right: -30px; top: 12%; opacity: .5; }
  .card-chart .bars { height: 80px; }
  .card-phone, .card-toast, .card-play, .cursor { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,11,34,.3), rgba(10,11,34,.75)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header-row .btn-small { margin-left: auto; }
}
@media (max-width: 720px) {
  .header-row .btn-small { margin-left: auto; }
  .tl-body { --label-w: 64px; }
  .tl-label { font-size: .75rem; }
  .clip { font-size: 0; padding: 0; }
  .tl-ruler span:nth-child(even) { display: none; }
  .tl-file { display: none; }
  .demo-stage { grid-template-columns: 1fr; }
  .demo-static { display: none; }
  .footer-links { margin-left: 0; }
  .fg-ring { width: 160px; height: 160px; border-width: 18px; }
  .fg-pill { display: none; }
}
@media (max-width: 460px) {
  .frame { height: 130px; }
  .header-row .btn-small { padding: 0 12px; font-size: .875rem; }
  .hero-pills li:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-video { display: none; }
}
