/* Better Motion Graphics — concept 02C "B-Play Electric"
   Palette: Night #0A0B14 · Electric Blue #2B59FF · Laser Violet #9B4DFF · Graphite #24242E · Ice #EEF1FF · "motion" on dark #5B7CFF
   Fonts (SIL OFL, self-hosted, Latin subset): Space Grotesk (display) + DM Sans (text) */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-Var-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/DMSans-Var-latin.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

:root {
  --night: #0A0B14;
  --night-2: #0F1120;
  --graphite: #24242E;
  --line: #262838;
  --line-2: #33364A;
  --blue: #2B59FF;
  --blue-hover: #4069FF;
  --violet: #9B4DFF;
  --motion: #5B7CFF;
  --ice: #EEF1FF;
  --muted: #A9AECB;   /* 8.6:1 on Night */
  --dim: #8288A8;     /* 5.5:1 on Night */
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  --grad-badge: linear-gradient(135deg, #2B59FF 0%, #8A3FF0 100%); /* violet end darkened slightly so white label text stays above 4.5:1 */
  --radius: 6px;
  --radius-lg: 12px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--night); color: var(--ice);
  font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--motion); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ice); }
h1, h2, h3, .h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--motion); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font-family: var(--font-text); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -10px rgba(43, 89, 255, .7); }
.btn--primary:hover { background: var(--blue-hover); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ice); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--motion); color: var(--ice); background: rgba(91, 124, 255, .08); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- Promo bar + header ---------- */
.promo-bar { background: linear-gradient(90deg, #121633, #1A1240); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.promo-bar p { max-width: var(--container); margin: 0 auto; padding: 9px 24px; text-align: center; }
.promo-bar a { color: var(--ice); font-weight: 600; }
.promo-bar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--motion); margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 10px var(--motion); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 11, 20, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 50px; width: auto; margin-left: -12px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; }
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--ice); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--ice); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; content: ""; }
.nav-toggle__bars { top: 21px; }
.nav-toggle__bars::before { left: 0; top: -6px; }
.nav-toggle__bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto 35%; height: 900px; background: radial-gradient(closest-side, rgba(43, 89, 255, .26), transparent 70%), radial-gradient(closest-side at 70% 70%, rgba(155, 77, 255, .22), transparent 70%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: rgba(36, 36, 46, .5); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--motion); box-shadow: 0 0 10px var(--motion); }
.pill__sep { color: var(--dim); }
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); margin: 22px 0 22px; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@supports not (background-clip: text) { .accent { color: var(--motion); } }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.spec-row li + li::before { content: "·"; margin-right: 18px; color: var(--line-2); }
.made-for { margin-top: 56px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.made-for span { color: var(--muted); font-weight: 600; margin-right: 8px; }

.screen { position: relative; margin: 0; padding: 14px; }
.screen__media { position: relative; border-radius: 8px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px -30px rgba(43, 89, 255, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.screen__media video, .screen__media img { width: 100%; height: 100%; object-fit: cover; }
.corner { position: absolute; width: 34px; height: 34px; border: 3px solid var(--motion); opacity: .9; pointer-events: none; }
.corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
.corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
.corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
.chip { position: absolute; z-index: 2; margin: 0; padding: 5px 11px; border-radius: 999px; background: rgba(10, 11, 20, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .1); font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--ice); }
.chip--tl { top: 28px; left: 28px; text-transform: uppercase; }
.chip--bl { bottom: 28px; left: 28px; font-weight: 500; letter-spacing: .01em; }
.hero-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 4px 14px 0; }
.hero-thumbs figure { margin: 0; }
.hero-thumbs img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.hero-thumbs figcaption { margin-top: 8px; font-size: 13px; color: var(--dim); }

.video-toggle { position: absolute; z-index: 3; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 11, 20, .7); cursor: pointer; display: grid; place-items: center; opacity: .75; transition: opacity .2s ease; }
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; }
.video-toggle::before { content: ""; width: 10px; height: 12px; border-left: 3px solid var(--ice); border-right: 3px solid var(--ice); }
.video-toggle[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-left: 11px solid var(--ice); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: linear-gradient(180deg, var(--night-2), var(--night)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { max-width: 860px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--motion); margin-bottom: 12px; }
.section h2 { font-size: clamp(32px, 3.6vw, 48px); }
.section-lede { margin-top: 16px; color: var(--muted); font-size: 18px; }
.section-lede strong { color: var(--ice); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--grad-badge); color: #fff; font-family: var(--font-text); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; vertical-align: middle; }
.badge--sm { padding: 3px 8px; font-size: 11px; }

/* ---------- Pack cards ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pack-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #10121F; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.pack-card__link:hover { border-color: rgba(91, 124, 255, .6); transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(91, 124, 255, .6); color: inherit; }
.pack-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.pack-card__media video { width: 100%; height: 100%; object-fit: cover; }
.pack-card__media .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.pack-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.pack-card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pack-card__title .h3 { font-size: 26px; }
.pack-card__count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.pack-card__desc { color: var(--muted); font-size: 16px; }
.pack-card__meta { font-size: 13px; color: var(--dim); letter-spacing: .02em; }
.pack-card__cta { margin-top: auto; padding-top: 6px; color: var(--motion); font-weight: 600; }
.pack-card .video-toggle { right: 10px; bottom: 10px; width: 32px; height: 32px; }

/* ---------- Exact fit ---------- */
.fit-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.fit-tabs [role="tab"] { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 112px; padding: 10px 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(36, 36, 46, .45); cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; text-align: left; transition: border-color .18s ease, background-color .18s ease; }
.fit-tabs [role="tab"] small { font-family: var(--font-text); font-weight: 500; font-size: 13px; color: var(--muted); }
.fit-tabs [role="tab"]:hover { border-color: var(--motion); }
.fit-tabs [role="tab"][aria-selected="true"] { background: rgba(43, 89, 255, .16); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.fit-tabs [role="tab"].is-custom small { color: var(--ice); }
.fit-stage {
  --stage-h: clamp(190px, 42vw, 520px);
  position: relative; display: grid; place-items: center; height: calc(var(--stage-h) + 56px); padding: 28px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background-color: #06070D;
  background-image: radial-gradient(rgba(91, 124, 255, .16) 1px, transparent 1.4px);
  background-size: 14px 14px; overflow: hidden;
}
.fit-screen { position: relative; width: min(100%, calc(var(--stage-h) * 16 / 9)); aspect-ratio: var(--ar, 1.7778); max-height: var(--stage-h); border-radius: 4px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(91, 124, 255, .55), 0 0 60px -10px rgba(91, 124, 255, .45); transition: width .45s cubic-bezier(.2, .8, .2, 1), height .45s cubic-bezier(.2, .8, .2, 1); }
.fit-screen.is-js { aspect-ratio: auto; max-height: none; }
.fit-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.fit-label { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: var(--radius); background: rgba(10, 11, 20, .78); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; white-space: nowrap; }
.fit-label strong { font-family: var(--font-display); margin-right: 4px; }
.fit-label__px { color: var(--muted); }
.fit-note { margin-top: 14px; font-size: 14px; color: var(--dim); }
.fit-wall { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 44px; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(43, 89, 255, .1), rgba(155, 77, 255, .08)); }
.fit-wall h3 { font-size: 28px; margin-bottom: 12px; }
.fit-wall__copy p { color: var(--muted); }
.fit-cred { margin-top: 14px; font-size: 15px; }
.fit-cred strong { color: var(--ice); }
.fit-form { display: grid; gap: 14px; }
.fit-result { min-height: 1.6em; font-size: 15px; color: var(--muted); }
.fit-result strong { color: var(--ice); }
.fit-result.is-error { color: #FF9BB0; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field em { font-style: normal; font-weight: 400; color: var(--dim); }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--line-2); background: #0D0F1B; color: var(--ice); font-size: 16px; font-weight: 500; transition: border-color .18s ease, box-shadow .18s ease; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--motion); box-shadow: 0 0 0 3px rgba(91, 124, 255, .25); }
.field input[aria-invalid="true"] { border-color: #FF6B8A; }
.field-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.field-row--signup { grid-template-columns: 1fr 1fr; }
.times { padding-bottom: 12px; color: var(--dim); font-size: 20px; }

/* ---------- Library ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { min-height: 40px; padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); transition: all .18s ease; }
.filter span { margin-left: 4px; font-weight: 500; color: var(--dim); }
.filter:hover { color: var(--ice); border-color: var(--motion); }
.filter[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter[aria-pressed="true"] span { color: rgba(255, 255, 255, .8); }
.pack-section { padding-top: 12px; }
.pack-section + .pack-section { margin-top: 64px; padding-top: 52px; border-top: 1px solid var(--line); }
.pack-section[hidden] { display: none; }
.pack-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; align-items: flex-start; }
.pack-head__main { max-width: 720px; }
.pack-head h3 { font-size: clamp(26px, 2.6vw, 34px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pack-head p { margin-top: 12px; color: var(--muted); }
.pack-facts { display: flex; gap: 28px; margin: 0; }
.pack-facts div { display: grid; gap: 2px; }
.pack-facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.pack-facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.pack-included { position: relative; margin: 20px 0 26px; padding: 10px 14px 10px 42px; border-radius: var(--radius); background: rgba(43, 89, 255, .08); border: 1px solid rgba(91, 124, 255, .25); font-size: 15px; color: var(--muted); }
.check { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-badge); }
.check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.loop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.loop-card__btn { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left; background: #10121F; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in; transition: border-color .18s ease, transform .18s ease; }
.loop-card__btn:hover { border-color: rgba(91, 124, 255, .6); transform: translateY(-2px); }
.loop-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.loop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.loop-card__btn:hover .loop-card__media img { transform: scale(1.04); }
.loop-card__media .badge { position: absolute; top: 10px; left: 10px; }
.loop-card__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.loop-card__name { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ice); }
.loop-card__num { font-family: var(--font-display); color: var(--motion); margin-right: 4px; }
.loop-card__meta { font-size: 13px; color: var(--dim); }
.loop-card__verse { font-size: 13px; color: var(--muted); }

/* ---------- Industries ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #10121F; }
.tile img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tile__body { padding: 20px 20px 24px; }
.tile h3 { font-size: 22px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15px; }

/* ---------- Formats ---------- */
.formats { padding: 36px 0; border-bottom: 1px solid var(--line); }
.formats-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.formats-strip li { display: grid; gap: 4px; padding: 18px 20px; background: var(--night); }
.formats-strip strong { font-family: var(--font-display); font-size: 18px; }
.formats-strip span { font-size: 13px; color: var(--muted); }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; margin-top: 28px; padding: 4px; border: 1px solid var(--line-2); border-radius: 10px; background: #0D0F1B; }
.billing-toggle button { min-height: 40px; padding: 8px 18px; border: 0; border-radius: var(--radius); background: transparent; cursor: pointer; font-weight: 600; color: var(--muted); }
.billing-toggle button[aria-pressed="true"] { background: var(--graphite); color: var(--ice); box-shadow: 0 0 0 1px var(--line-2); }
.billing-toggle .save { margin-left: 6px; font-size: 12px; color: var(--motion); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #10121F; }
.plan--featured { border-color: transparent; background: linear-gradient(#10121F, #10121F) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 70px -40px rgba(91, 124, 255, .8); }
.plan__badge { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--grad-badge); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 24px; }
.plan__for { margin-top: 6px; color: var(--muted); font-size: 15px; min-height: 3em; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.price__amount { font-family: var(--font-display); font-weight: 700; font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.price__unit { color: var(--muted); font-size: 17px; }
.price__note { margin-top: 6px; font-size: 14px; color: var(--dim); min-height: 1.6em; }
.plan__list { list-style: none; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--muted); }
.plan__list li strong { color: var(--ice); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(91, 124, 255, .18); }
.plan__list li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 4px; height: 8px; border: solid var(--motion); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plans-foot { margin-top: 26px; text-align: center; font-size: 14px; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #10121F; transition: border-color .18s ease; }
.faq details[open] { border-color: rgba(91, 124, 255, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border: solid var(--motion); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Signup ---------- */
.signup { position: relative; overflow: hidden; }
.signup::before { content: ""; position: absolute; inset: 10% 10% auto; height: 520px; background: radial-gradient(closest-side, rgba(43, 89, 255, .22), transparent), radial-gradient(closest-side at 70% 50%, rgba(155, 77, 255, .18), transparent); z-index: -1; pointer-events: none; }
.signup-card { text-align: center; padding: 48px clamp(20px, 5vw, 64px); border-radius: 16px; border: 1px solid var(--line-2); background: rgba(16, 18, 31, .85); }
.signup-mark { width: 56px; height: 56px; margin: 0 auto 18px; }
.signup-card h2 { font-size: clamp(30px, 3.4vw, 44px); }
.signup-form { display: grid; gap: 16px; margin-top: 32px; text-align: left; }
.form-error { min-height: 0; color: #FF9BB0; font-size: 14px; }
.form-error:empty { display: none; }
.signup-done { margin-top: 28px; padding: 28px; border-radius: 10px; border: 1px solid rgba(91, 124, 255, .45); background: rgba(43, 89, 255, .1); }
.signup-done:focus { outline: none; }
.signup-done__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin-bottom: 6px; }
.signup-done p { color: var(--muted); }
.signup-done .signup-done__title { color: var(--ice); }
.signup-done__note { margin-top: 12px; font-size: 13px; color: var(--dim) !important; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin-top: 12px; color: var(--dim); font-size: 15px; }
.footer-contact { margin-top: 10px; }
.footer-contact a, .footer-legal a { color: var(--motion); text-decoration: none; }
.footer-contact a:hover, .footer-legal a:hover { text-decoration: underline; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-footer nav a:hover { color: var(--ice); }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }

/* ---------- Viewer (dialog) ---------- */
.viewer { width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: #0D0F1B; color: var(--ice); overflow: hidden; }
.viewer::backdrop { background: rgba(5, 6, 12, .82); backdrop-filter: blur(6px); }
.viewer__inner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.viewer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.viewer__pack { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--motion); }
.viewer__bar h3 { font-size: 22px; margin-top: 2px; }
.viewer__meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.viewer__nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 18px; }
.icon-btn:hover { border-color: var(--motion); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .loop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav { gap: 20px; }
  .site-nav ul { gap: 18px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 24px 24px; background: var(--night); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pack-grid { grid-template-columns: 1fr; max-width: 640px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan__for { min-height: 0; }
  .fit-wall { grid-template-columns: 1fr; padding: 24px; }
  .section { padding: 72px 0; }
}
@media (max-width: 900px) {
  .loop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .brand img { height: 42px; margin-left: -10px; }
  .chip--tl { top: 22px; left: 22px; font-size: 11px; }
  .chip--bl { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .formats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-tabs [role="tab"] { min-width: 0; flex: 1 1 calc(33% - 10px); font-size: 16px; padding: 8px 10px; }
  .fit-stage { padding: 14px; height: calc(var(--stage-h) + 28px); --stage-h: clamp(150px, 46vw, 300px); }
  .fit-label { left: 6px; bottom: 6px; padding: 3px 7px; font-size: 11px; }
  .field-row--signup { grid-template-columns: 1fr; }
  .pack-facts { gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .viewer__bar { flex-direction: column; align-items: flex-start; }
  .promo-bar p { padding: 8px 16px; font-size: 13px; }
}
@media (max-width: 640px) {
  .spec-row { gap: 8px; }
  .spec-row li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
  .spec-row li + li::before { content: none; }
  .loop-card__body { padding: 10px 12px 12px; }
  .loop-card__name { font-size: 14px; }
}
@media (max-width: 340px) {
  .loop-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .cta-row .btn { flex: 1 1 100%; }
}

/* hover-to-play */
.loop-card { position: relative; }
.loop-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.loop-card__btn.is-playing .loop-card__video { opacity: 1; }
.loop-card__media .badge { z-index: 2; }
.loop-card__expand { position: absolute; top: 8px; right: 8px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: rgba(8,10,20,.65); color: #fff; cursor: zoom-in; opacity: 0; transition: opacity .18s ease; }
.loop-card:hover .loop-card__expand, .loop-card__expand:focus-visible { opacity: 1; }
@media (hover: none), (pointer: coarse) { .loop-card__expand { opacity: 1; width: 40px; height: 40px; } .loop-card.has-hover .loop-card__btn { cursor: pointer; } }
@media (prefers-reduced-motion: reduce) { .loop-card__video { display: none; } }


/* FAQ search + filters (soft launch Oct 27) */
.faq-toolbar { display: grid; gap: 14px; margin-bottom: 18px; }
.faq-search input {
  width: 100%; padding: 14px 18px; border-radius: 10px;
  border: 1px solid var(--line); background: #10121F; color: var(--ice);
  font: inherit; font-size: 16px;
}
.faq-search input:focus { outline: none; border-color: rgba(91,124,255,.55); box-shadow: 0 0 0 3px rgba(43,89,255,.18); }
.faq-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-filter {
  appearance: none; border: 1px solid var(--line); background: #10121F; color: var(--muted);
  border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.faq-filter:hover { color: var(--ice); border-color: rgba(91,124,255,.4); }
.faq-filter.is-active { background: rgba(43,89,255,.18); color: var(--ice); border-color: rgba(91,124,255,.55); }
.faq-empty { color: var(--muted); text-align: center; padding: 12px 0 4px; }
.faq details.is-hidden { display: none; }
.plan__actions { display: grid; gap: 10px; margin-top: 8px; }
.plan__actions .btn { margin-top: 0; }
