/* NabVisions — shared styles */
:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #18181c;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f1ec;
  --muted: #9a9890;
  --dim: #6b6a65;
  --rec: #e8262d;
  --rec-soft: rgba(232, 38, 45, 0.14);
  --caption: #ffd23f;
  --radius: 18px;
  --display: "Anton", "Impact", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--rec); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
}
.h1 { font-size: clamp(48px, 8.4vw, 112px); }
.h2 { font-size: clamp(38px, 5.6vw, 76px); }
.h3 { font-size: clamp(24px, 2.4vw, 32px); }
.accent { color: var(--rec); }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; }
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- REC dot ---------- */
.rec-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 0 0 rgba(232, 38, 45, 0.6);
  animation: rec 1.8s infinite;
  vertical-align: middle;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(232, 38, 45, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(232, 38, 45, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 38, 45, 0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 16px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-rec { background: var(--rec); color: #fff; }
.btn-rec:hover { background: #f2434a; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 24px; letter-spacing: 0.04em; }
.logo img { height: 34px; width: auto; }
.logo-box { display: inline-block; background: var(--rec); color: #0a0a0c; font-family: var(--display); font-size: 22px; line-height: 1; letter-spacing: 0.02em; padding: 7px 11px 6px; }
.footer .logo-box { font-size: 26px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: .25s; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links .btn { margin-top: 16px; }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav.open { background: var(--bg); }
}

/* ---------- sections ---------- */
section { position: relative; }
section[id] { scroll-margin-top: 40px; }
.section { padding: 120px 0; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .section { padding: 80px 0; } }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.sec-head .lede { justify-self: end; }
.sec-num { display: block; margin-bottom: 18px; }
.sec-num b { color: var(--rec); font-weight: 500; }
@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .sec-head .lede { justify-self: start; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .rec-dot { animation: none; }
}

/* ---------- hero ---------- */
.hero { padding: 150px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw;
  background: radial-gradient(closest-side, rgba(232, 38, 45, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; margin-bottom: 30px; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.micro { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.micro span::before { content: "✓"; color: var(--rec); margin-right: 7px; }
.hero-phones { position: relative; height: 600px; }
.hero-phones .phone { position: absolute; width: 230px; }
.hero-phones .phone:nth-child(1) { left: 0; top: 70px; transform: rotate(-7deg); }
.hero-phones .phone:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; width: 250px; }
.hero-phones .phone:nth-child(3) { right: 0; top: 90px; transform: rotate(7deg); }
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phones { height: 460px; max-width: 520px; width: 100%; margin: 20px auto 0; }
  .hero-phones .phone { width: 175px; }
  .hero-phones .phone:nth-child(2) { width: 195px; }
}
@media (max-width: 480px) {
  .hero { padding-top: 120px; }
  .hero-phones { height: 360px; }
  .hero-phones .phone { width: 135px; }
  .hero-phones .phone:nth-child(2) { width: 155px; }
}

/* ---------- phone / clip ---------- */
.phone {
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2a30, #0f0f12);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 27px; overflow: hidden; background: #000;
}
.screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.screen video.ready { opacity: 1; }
.screen .ph { position: absolute; inset: 0; }
.ph-bg { position: absolute; inset: 0; background-size: 200% 200%; animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.ph-person {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 70%; aspect-ratio: 1 / 1.25;
  background:
    radial-gradient(circle at 50% 26%, rgba(255,255,255,.22) 0 19%, transparent 19.5%),
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.16) 0 52%, transparent 52.5%);
  filter: blur(.4px);
}
.ph-cap {
  position: absolute; left: 8%; right: 8%; top: 52%;
  text-align: center;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(16px, 2vw, 26px); line-height: 1.05; color: #fff;
  text-shadow: 0 3px 0 rgba(0,0,0,.6), 0 0 18px rgba(0,0,0,.5);
}
.ph-cap em { font-style: normal; color: var(--caption); display: inline-block; animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ph-ui { position: absolute; left: 0; right: 0; top: 0; padding: 14px 14px 0; display: flex; justify-content: space-between; align-items: center; }
.ph-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; }
.ph-bar { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: 0; background: #fff; animation: bar 7s linear infinite; }
@keyframes bar { to { width: 100%; } }
.ph-side { position: absolute; right: 10px; bottom: 50px; display: grid; gap: 14px; }
.ph-side i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.28); }

.g1 { background-image: linear-gradient(135deg, #3b1d14, #12121a 45%, #4a1a10); }
.g2 { background-image: linear-gradient(135deg, #16233b, #0d0d12 50%, #26173a); }
.g3 { background-image: linear-gradient(135deg, #1f2e22, #0e0f0e 50%, #3a2b12); }
.g4 { background-image: linear-gradient(135deg, #2e1830, #0d0c10 50%, #1b2440); }
.g5 { background-image: linear-gradient(135deg, #33240f, #0f0e0c 50%, #3a1416); }
.g6 { background-image: linear-gradient(135deg, #0f2a2c, #0c0d0e 50%, #21203a); }

/* ---------- proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--display); font-size: clamp(40px, 4.4vw, 60px); line-height: 1; }
.stat .num small { font-size: .5em; color: var(--rec); margin-left: 2px; }
.stat p { color: var(--muted); font-size: 14px; margin-top: 8px; }
@media (max-width: 800px) {
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- work wall ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--muted); font-size: 14px; transition: .2s; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.wall .clip { transition: opacity .3s, transform .3s; }
.wall .clip.hide { display: none; }
.clip figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.clip figcaption b { color: var(--text); font-weight: 600; display: block; font-size: 14px; }
.wall .phone { border-radius: 26px; padding: 6px; }
.wall .screen { border-radius: 21px; }
.wall .ph-cap { font-size: clamp(14px, 1.3vw, 18px); }
.demo-note { margin-top: 28px; font-size: 13px; color: var(--dim); }
@media (max-width: 1000px) { .wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .wall { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 34px 30px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); position: relative; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--rec); margin-bottom: 40px; display: block; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--rec-soft); color: var(--rec); margin-bottom: 22px; }
.feat .ic svg { width: 20px; height: 20px; }
.feat h4 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.feat p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- compare ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare th, .compare td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.compare td:first-child { color: var(--muted); }
.compare .us { background: var(--rec-soft); color: var(--text); font-weight: 600; }
.compare thead .us { color: var(--rec); }
.yes { color: #6ee7a8; } .no { color: var(--dim); }

/* ---------- math ---------- */
.math { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.math-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: var(--bg-2); }
.math-card .mono { display: block; margin-bottom: 18px; }
.math-card .big { font-family: var(--display); font-size: clamp(44px, 5vw, 64px); line-height: 1; margin-bottom: 14px; }
.math-card p { color: var(--muted); font-size: 15px; }
.math-card.us { border-color: var(--rec); background: linear-gradient(180deg, rgba(232,38,45,.12), var(--bg-2) 70%); }
.math-card.us .big { color: var(--rec); }
.fine { margin-top: 18px; color: var(--dim); font-size: 13px; }
@media (max-width: 800px) { .math { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 22px; padding: 38px 32px; background: var(--bg-2); display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: var(--rec); background: linear-gradient(180deg, rgba(232,38,45,.13), var(--bg-2) 55%); }
.badge { position: absolute; top: -13px; left: 32px; background: var(--rec); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.plan .for { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price b { font-family: var(--display); font-size: 64px; font-weight: 400; line-height: 1; }
.price span { color: var(--muted); }
.per { color: var(--dim); font-size: 13px; margin-bottom: 26px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--rec-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8262d' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.plan li.hl { color: var(--text); font-weight: 600; }
.plan .btn { width: 100%; }
.plans-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ---------- guarantee ---------- */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; border: 1px solid var(--line-2); border-radius: 26px; padding: 56px; background: radial-gradient(120% 140% at 0% 0%, rgba(232,38,45,.14), transparent 55%), var(--bg-2); }
.seal { width: 170px; height: 170px; border-radius: 50%; border: 1px dashed var(--rec); display: grid; place-items: center; text-align: center; position: relative; }
.seal b { font-family: var(--display); font-size: 58px; line-height: .9; display: block; color: var(--rec); }
.seal span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.guarantee h2 { margin-bottom: 18px; }
.guarantee p { color: var(--muted); max-width: 620px; }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; padding: 34px 22px; gap: 28px; } .seal { width: 130px; height: 130px; } .seal b { font-size: 44px; } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.founder-photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #26262c, #111114); display: grid; place-items: center; border: 1px solid var(--line); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .initials { font-family: var(--display); font-size: 90px; color: var(--dim); }
.founder blockquote { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.45; margin-bottom: 26px; }
.founder blockquote p + p { margin-top: 18px; }
.founder cite { font-style: normal; color: var(--muted); }
.founder cite b { color: var(--text); }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; gap: 32px; } .founder-photo { max-width: 260px; } }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--rec); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 50px 26px 0; }

/* ---------- final cta / form ---------- */
.final { overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; bottom: -40%; width: 900px; height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(232,38,45,.18), transparent 70%); pointer-events: none; }
.final .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; }
.final h2 { margin-bottom: 22px; }
.final .lede { margin-bottom: 28px; }
.form { border: 1px solid var(--line-2); border-radius: 24px; padding: 34px; background: rgba(17,17,20,.85); backdrop-filter: blur(8px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 16px; transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rec); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9890' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 6px; }
.form small { display: block; text-align: center; margin-top: 14px; color: var(--dim); font-size: 13px; }
.hp { position: absolute; left: -9999px; }
.thanks { display: none; text-align: center; padding: 30px 10px; }
.thanks h3 { font-size: 26px; margin-bottom: 10px; }
.thanks p { color: var(--muted); }
.form.sent form { display: none; }
.form.sent .thanks { display: block; }
@media (max-width: 900px) { .final .wrap { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; gap: 0; } .form { padding: 24px 18px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer p { color: var(--muted); font-size: 15px; max-width: 320px; margin-top: 14px; }
.footer h5 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; }
.footer ul a:hover { color: var(--text); }
.footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.wordmark { font-family: var(--display); font-size: clamp(64px, 17vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); text-align: center; margin: 10px 0 40px; user-select: none; letter-spacing: .02em; }
@media (max-width: 800px) { .footer .top { grid-template-columns: 1fr 1fr; } .footer .top > div:first-child { grid-column: 1 / -1; } }

/* ---------- product page bits ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; background: var(--bg-2); }
.who-card .mono { display: block; color: var(--rec); margin-bottom: 18px; }
.who-card h3 { font-size: 22px; margin-bottom: 10px; font-weight: 600; }
.who-card p { color: var(--muted); font-size: 15px; }
.formats { display: flex; gap: 28px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.fmt { text-align: center; }
.fmt .box { border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(135deg, #1d1d22, #111114); margin: 0 auto 14px; display: grid; place-items: center; font-family: var(--display); font-size: 26px; color: var(--muted); }
.fmt .r916 { width: 130px; height: 231px; }
.fmt .r11 { width: 190px; height: 190px; }
.fmt .r169 { width: 300px; height: 169px; }
.fmt p { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } .fmt .r169 { width: 260px; height: 146px; } }

/* ---------- legal ---------- */
.legal { padding: 150px 0 100px; }
.legal .wrap { max-width: 800px; }
.legal h1 { margin-bottom: 14px; }
.legal .updated { color: var(--dim); margin-bottom: 50px; display: block; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; font-weight: 600; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--rec); }

/* =========================================================
   PREMIUM EFFECTS
   ========================================================= */

/* film grain over everything (very subtle) */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(0,0)} }

/* scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: var(--rec); transform-origin: 0 50%; transform: scaleX(0); }

/* intro: REC splash */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
.intro.done { opacity: 0; visibility: hidden; }
.intro-inner { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.intro-inner .logo-box { font-size: 30px; }
.intro-tc { min-width: 92px; }

/* split-text headline reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.16,1,.3,1); }
.split.in .w > span { transform: none; }
.split.reveal { opacity: 1; transform: none; }

/* hero spotlight that follows the cursor */
.hero-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(232,38,45,.13), transparent 60%); }
.hero:hover .hero-glow { opacity: 1; }

/* phones: float + 3D tilt */
.hero-phones { perspective: 1200px; }
.tilt { transform-style: preserve-3d; transition: transform .25s ease-out; width: 100%; height: 100%; position: relative; }
.hero-phones .phone { animation: float 6s ease-in-out infinite; }
.hero-phones .phone:nth-child(1) { animation-delay: -2s; }
.hero-phones .phone:nth-child(3) { animation-delay: -4s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, transparent 32%); }

/* marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0; user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); text-transform: uppercase; font-size: clamp(34px, 5vw, 64px); line-height: 1; padding: 0 28px; color: transparent; -webkit-text-stroke: 1px rgba(243,241,236,.35); display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span:nth-child(3n+2) { color: var(--text); -webkit-text-stroke: 0; }
.marquee span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--rec); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* magnetic buttons */
.btn.magnetic { transition: transform .25s cubic-bezier(.2,.7,.2,1), background .2s, border-color .2s; }

/* card spotlight on hover */
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; border-radius: inherit;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.07), transparent 60%); }
.spot:hover::before { opacity: 1; }
.plan.spot { overflow: visible; }
.plan, .step, .math-card, .who-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, opacity .8s ease; }
.plan:hover, .step:hover, .math-card:hover, .who-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan.pop:hover, .math-card.us:hover { border-color: var(--rec); }
.plan.pop { box-shadow: 0 30px 80px -30px rgba(232,38,45,.45); }

/* animated light ring on the popular plan */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan.pop::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 70%, rgba(232,38,45,1) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring 4s linear infinite; }
@keyframes ring { to { --ang: 360deg; } }

/* clip wall hover */
.wall .clip .phone { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.wall .clip:hover .phone { transform: translateY(-8px) scale(1.02); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(232,38,45,.5); }

/* ---------- EPISODE -> CLIPS machine ---------- */
.machine { border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); padding: 40px; margin-bottom: 18px; overflow: hidden; }
.machine-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.machine-top .mono b { color: var(--text); font-weight: 500; }
.timeline { position: relative; height: 96px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.wave { position: absolute; inset: 14px 12px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; background: rgba(243,241,236,.18); border-radius: 2px; min-height: 4px; }
.seg { position: absolute; top: 8px; bottom: 8px; border-radius: 8px; border: 1.5px solid var(--rec); background: rgba(232,38,45,.14); opacity: 0; transform: scaleY(.6); transition: opacity .4s, transform .4s; }
.seg.on { opacity: 1; transform: none; }
.seg span { position: absolute; top: -1px; left: -1px; font-family: var(--mono); font-size: 10px; background: var(--rec); color: #fff; padding: 2px 6px; border-radius: 6px 0 6px 0; }
.playhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.7); left: 0; }
.machine-out { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 26px; }
.mini { aspect-ratio: 9/16; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); position: relative; overflow: hidden; opacity: .25; transform: translateY(14px); transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1), border-color .5s; }
.mini.on { opacity: 1; transform: none; border-color: rgba(232,38,45,.6); }
.mini b { position: absolute; left: 8px; right: 8px; bottom: 30%; text-align: center; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(11px, 1.2vw, 15px); line-height: 1.05; }
.mini b em { font-style: normal; color: var(--caption); }
.mini .tick { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--rec); display: grid; place-items: center; font-size: 11px; color: #fff; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.6,.5,1) .2s; }
.mini.on .tick { transform: scale(1); }
.mini .plat { position: absolute; left: 8px; top: 9px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@media (max-width: 700px) { .machine { padding: 22px 16px; } .machine-out { grid-template-columns: repeat(3, 1fr); } .timeline { height: 76px; } .wave { gap: 1px; inset: 12px 8px; } }

/* sticky mobile CTA */
.mcta { display: none; }
@media (max-width: 700px) {
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; transform: translateY(130%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .mcta.show { transform: none; }
  .mcta .btn { width: 100%; box-shadow: 0 14px 40px rgba(0,0,0,.6); }
}

@media (prefers-reduced-motion: reduce) {
  body::after, .marquee-track, .hero-phones .phone, .plan.pop::after { animation: none; }
  .split .w > span { transform: none; transition: none; }
  .intro { display: none; }
}
@media (hover: none) { .hero-glow { display: none; } }
