/* =========================================================
   VELORIN — Performance Creative Agency
   White background · black type · subtle gold accent
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f3;
  --ink: #0b0b0b;
  --ink-2: #2a2a2a;
  --muted: #6e6e6e;
  --line: #e7e5e1;
  --dark: #0b0b0b;
  --dark-2: #161616;
  --gold: #a8875a;
  --gold-soft: #c9ae84;

  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 14vw, 200px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: #fff; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 700;
}
.mega {
  font-size: clamp(48px, 10vw, 168px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 700;
}
.h1 {
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 600;
}
.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34ch;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
.eyebrow--light { color: rgba(255,255,255,.55); }

/* Line-mask text reveal */
/* padding keeps descenders (g, j, p, y) inside the mask; negative margin keeps the original line spacing */
.line { display: block; overflow: hidden; padding: .04em 0 .22em; margin: -.04em 0 -.22em; }
.line[hidden] { display: none; }
.line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .line > span, .line.is-in > span { transform: none; }
.line:nth-child(2) > span { transition-delay: .08s; }
.line:nth-child(3) > span { transition-delay: .16s; }
.line--muted { color: #a3a3a3; }
.line--gold { color: var(--gold-soft); }

/* Fade/slide reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .line > span { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em; line-height: 1;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  will-change: transform;
}
.btn--sm { --pad-y: 11px; --pad-x: 18px; font-size: 14px; }
.btn--lg { --pad-y: 19px; --pad-x: 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn--dark:hover { background: #262626; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid #cfcdc9; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border: 1px solid #fff; }
.btn--light:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn__arrow { transition: transform .4s var(--ease); }
.link-btn { font-size: inherit; color: inherit; padding: 0; text-decoration: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { font-weight: 800; letter-spacing: .14em; font-size: 17px; display: inline-flex; align-items: center; gap: 4px; margin-right: auto; }
.logo__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 2px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
/* Language switch */
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.6); }
.lang button {
  min-width: 36px; padding: 7px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1; color: var(--muted);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--nav-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 32px;
  opacity: 0; transition: opacity .4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
/* display:flex above would otherwise override [hidden] and leave an invisible layer over the page */
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; flex: 1; }
.mobile-menu nav a {
  font-size: clamp(34px, 9vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.25;
  border-bottom: 1px solid var(--line); padding: 10px 0;
  transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.mobile-menu.is-open nav a { transform: none; opacity: 1; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .2s; }
.mobile-menu.is-open nav a:nth-child(7) { transition-delay: .24s; }
.mobile-menu__claim { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section__head { margin-bottom: clamp(56px, 8vw, 110px); }
.section__head--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__intro { color: var(--muted); font-size: 18px; max-width: 42ch; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 96px)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__copy .display { margin-bottom: 32px; }
.hero__copy .lead { margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0; justify-content: start; border-top: 1px solid var(--line); padding-top: 24px; }
.hero__facts li { padding-right: 36px; margin-right: 36px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.hero__facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero__facts strong { font-size: 15px; font-weight: 600; }
.hero__facts span { font-size: 13px; color: var(--muted); }

.hero__media { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.hero__tag {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 600;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.25);
  animation: float 6s ease-in-out infinite;
}
.hero__tag--1 { left: -6%; top: 22%; }
.hero__tag--2 { right: -4%; bottom: 18%; animation-delay: -3s; font-weight: 500; color: var(--ink-2); }
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(168,135,90,.18); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-size: clamp(28px, 4vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 20px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Phone + ad mockups ---------- */
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  padding: 8px;
  background: #0d0d0d;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06);
}
.phone--hero { width: clamp(250px, 27vw, 380px); }
.ad {
  position: relative; height: 100%; width: 100%;
  border-radius: 27px; overflow: hidden;
  background: #111; color: #fff;
  isolation: isolate;
}
.ad video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad__screen { position: absolute; inset: 0; z-index: -1; animation: kenburns 18s ease-in-out infinite alternate; }
.ad__screen::after { /* soft light sweep + vignette */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 22%, transparent 55%, rgba(0,0,0,.75) 100%);
}
.ad__screen--a { background: radial-gradient(70% 45% at 50% 30%, #8f887d 0%, #4a4540 40%, #1c1b1a 75%, #0e0e0e 100%); }
.ad__screen--b { background: radial-gradient(55% 35% at 40% 40%, #ece8e2 0%, #a59f96 40%, #33302d 80%); }
.ad__screen--c { background: radial-gradient(50% 30% at 60% 55%, #c4b8a6 0%, #6b6156 45%, #1d1a17 85%); }
.ad__screen--d { background: radial-gradient(60% 45% at 50% 35%, #bfbfbf 0%, #5d5d5d 45%, #161616 85%); }
.ad__screen--e { background: radial-gradient(45% 30% at 50% 30%, #6d6a66 0%, #2b2a28 50%, #0b0b0b 90%); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translateY(-2%); } }

.ad__progress { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; gap: 4px; z-index: 3; }
.ad__progress span { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.ad__progress span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; animation: prog 12s linear infinite; }
.ad__progress span:nth-child(2)::after { animation-name: prog2; }
.ad__progress span:nth-child(3)::after { animation-name: prog3; }
@keyframes prog  { 0% { transform: scaleX(0); } 33%, 100% { transform: scaleX(1); } }
@keyframes prog2 { 0%, 33% { transform: scaleX(0); } 66%, 100% { transform: scaleX(1); } }
@keyframes prog3 { 0%, 66% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

.ad__top { position: absolute; top: 28px; left: 14px; right: 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; z-index: 3; }
.ad__top em { font-style: normal; font-weight: 400; opacity: .7; }
.ad__avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #fff, #8a8a8a); }

.ad__hooks { position: absolute; left: 18px; right: 18px; top: 38%; z-index: 3; }
.ad__hooks p {
  position: absolute; inset: 0 auto auto 0;
  font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(10px);
  animation: hook 12s var(--ease) infinite;
}
.ad__hooks p:nth-child(2) { animation-delay: 4s; }
.ad__hooks p:nth-child(3) { animation-delay: 8s; }
@keyframes hook { 0% { opacity: 0; transform: translateY(10px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-8px); } }
.ad__hooks--static { top: auto; bottom: 26px; }
.ad__hooks--static p { position: static; opacity: 1; transform: none; animation: none; font-size: clamp(16px, 1.5vw, 20px); }

.ad__bottom { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 3; }
.ad__caption { font-size: 12px; opacity: .8; margin-bottom: 10px; }
.ad__cta { display: block; text-align: center; background: #fff; color: #111; font-size: 13px; font-weight: 700; padding: 11px; border-radius: 10px; }

.badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ad__play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; z-index: 3;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.ad__play::after { content: ""; position: absolute; left: 26px; top: 22px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

/* ---------- Problem ---------- */
.problem__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.problem__list li { padding: 40px 32px 48px 0; border-bottom: 1px solid var(--line); }
.problem__list li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.problem__list li:not(:nth-child(3n+1)) { padding-left: 32px; }
.problem__list .num { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: .08em; }
.problem__list h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 18px 0 10px; }
.problem__list p { color: var(--muted); max-width: 32ch; }
.statement { margin-top: clamp(64px, 9vw, 120px); font-size: clamp(32px, 5vw, 72px); line-height: 1.04; letter-spacing: -.04em; font-weight: 700; max-width: 18ch; }
.statement em { font-style: normal; border-bottom: 3px solid var(--gold); }

/* ---------- System (dark, signature section) ---------- */
.system { background: var(--dark); color: #fff; border-radius: clamp(24px, 4vw, 48px); margin: 0 clamp(8px, 1.4vw, 20px); }
.system .section__intro { color: rgba(255,255,255,.6); }
.flow { position: relative; display: grid; gap: 0; }
.flow__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: rgba(255,255,255,.12); }
.flow__fill { position: absolute; inset: 0 0 auto 0; height: var(--p, 0%); background: linear-gradient(var(--gold-soft), var(--gold)); transition: height .2s linear; }
.flow__step {
  display: grid; grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: 48px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.flow__step:last-child { border-bottom: 0; }
.flow__label { display: grid; grid-template-columns: 56px 1fr; column-gap: 24px; align-items: center; }
.flow__n {
  grid-row: span 2; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--dark); border: 1px solid rgba(255,255,255,.22);
  font-weight: 700; font-size: 18px; letter-spacing: -.02em;
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.flow__step.is-in .flow__n { border-color: var(--gold-soft); }
.flow__label h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.flow__label p { color: rgba(255,255,255,.55); font-size: 15px; }
.flow__vis { min-height: 72px; display: flex; align-items: center; }

.vis-product span { display: block; width: 56px; height: 72px; border-radius: 10px; background: linear-gradient(160deg, #f5f1ea, #8d8578); box-shadow: 0 20px 40px -20px rgba(255,255,255,.3); }
.vis-hooks, .vis-angles { display: flex; flex-wrap: wrap; gap: 8px; }
.vis-hooks span, .vis-angles span {
  font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85);
  opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.vis-angles span { border-radius: 8px; padding: 12px 18px; background: rgba(255,255,255,.05); }
.is-in .vis-hooks span, .is-in .vis-angles span { opacity: 1; transform: none; }
.vis-hooks span:nth-child(2), .vis-angles span:nth-child(2) { transition-delay: .07s; }
.vis-hooks span:nth-child(3), .vis-angles span:nth-child(3) { transition-delay: .14s; }
.vis-hooks span:nth-child(4) { transition-delay: .21s; }
.vis-hooks span:nth-child(5) { transition-delay: .28s; }

.vis-grid { display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; width: 100%; max-width: 560px; }
.vis-grid i { aspect-ratio: 9/16; border-radius: 5px; background: linear-gradient(180deg, #3a3a3a, #1c1c1c); border: 1px solid rgba(255,255,255,.08); transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), background .6s; }
.is-in .vis-grid i { transform: none; opacity: 1; }
.vis-grid i.is-winner { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); }
.vis-grid i:nth-child(n) { transition-delay: calc(var(--i, 0) * 35ms); }

.vis-bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; width: 100%; max-width: 420px; border-bottom: 1px solid rgba(255,255,255,.15); }
.vis-bars i { flex: 1; height: var(--h); background: rgba(255,255,255,.18); border-radius: 4px 4px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.vis-bars i.is-winner { background: var(--gold-soft); }
.is-in .vis-bars i { transform: none; }

.vis-winner span {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 14px 14px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 15px;
}
.vis-winner span::before { content: "★"; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-size: 13px; }
.vis-loop svg { width: 72px; height: 72px; fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* arc + arrowhead rotate together (clockwise, the direction the arrow points) */
.vis-loop__spin { transform-origin: 60px 60px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pillars ---------- */
.pillars .mega { margin-bottom: clamp(56px, 8vw, 96px); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--bg-soft); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px); min-height: 380px;
  display: flex; flex-direction: column;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.pillar:hover { background: var(--ink); color: #fff; }
.pillar:hover p { color: rgba(255,255,255,.65); }
.pillar__num { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { margin-top: auto; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; margin-bottom: 14px; }
.pillar p { color: var(--muted); transition: color .5s var(--ease); }

/* ---------- Services ---------- */
.services { padding-top: 0; }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); }
.service header { display: flex; align-items: baseline; gap: 16px; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.service__idx { font-size: 13px; font-weight: 600; color: var(--gold); }
.service h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; font-weight: 600; line-height: 1.1; }
.service li { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; transition: padding .4s var(--ease); }
.service li:last-child { border-bottom: 0; }
.service li::after { content: "↗"; color: #b9b9b9; font-size: 14px; transition: color .3s, transform .4s var(--ease); }
.service li:hover { padding-left: 8px; }
.service li:hover::after { color: var(--ink); transform: translate(2px, -2px); }

/* ---------- Work ---------- */
.work { padding-top: 0; }
.work__rail {
  --col: clamp(260px, 24vw, 340px);
  --gap: clamp(16px, 2vw, 28px);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--col);
  gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  /* equal space left and right: when all 4 cards fit, the row sits exactly in the middle;
     when they don't, it keeps scrolling sideways with the normal page margin */
  padding: 8px max(var(--gutter), calc((100% - 4 * var(--col) - 3 * var(--gap)) / 2)) 24px;
  scrollbar-width: none;
}
.work__rail::-webkit-scrollbar { display: none; }
.work-card { scroll-snap-align: start; }
.work-card .phone { transition: transform .7s var(--ease); }
.work-card:hover .phone { transform: translateY(-8px); }
.work-card:hover .ad__play { transform: scale(1.12); }
.work-card:hover .ad__screen { animation-duration: 6s; }
.work-card__meta { margin-top: 22px; display: grid; gap: 0; }
.work-card__meta div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.work-card__meta dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding-top: 2px; }
.work-card__meta dd { font-weight: 500; }

/* ---------- Process ---------- */
.process__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.process__list li { padding: 32px 32px 56px 0; border-bottom: 1px solid var(--line); position: relative; }
.process__list li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.process__list span { display: block; font-size: clamp(56px, 6vw, 88px); font-weight: 700; letter-spacing: -.06em; line-height: 1; color: #e2e0dc; transition: color .5s var(--ease); }
.process__list li:hover span { color: var(--ink); }
.process__list h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; margin: 24px 0 8px; }
.process__list p { color: var(--muted); max-width: 30ch; }

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-soft); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 2.8vw, 40px);
}
.plan header { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.plan h3 { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.plan__price { font-size: clamp(32px, 3vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan__price span { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.plan__desc { margin-top: 14px; color: var(--muted); font-size: 15px; }
.plan ul { display: grid; gap: 12px; margin-bottom: 36px; flex: 1; align-content: start; }
.plan__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.plan__best { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 28px; font-size: 15px; color: var(--muted); }
.plan__best .plan__label { margin-bottom: 8px; }
.plan li { display: flex; gap: 12px; font-size: 15px; font-weight: 500; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; border: 1px solid currentColor; background: radial-gradient(circle, currentColor 0 3px, transparent 3.5px); opacity: .55; }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.plan--featured header { border-color: rgba(255,255,255,.14); }
.plan--featured .plan__best { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.7); }
.plan--featured .plan__label { color: var(--gold-soft); }
.plan--featured .plan__price span, .plan--featured .plan__desc { color: rgba(255,255,255,.6); }
.plan--featured li::before { border-color: var(--gold-soft); background: radial-gradient(circle, var(--gold-soft) 0 3px, transparent 3.5px); opacity: 1; }
.plan__flag {
  position: absolute; top: clamp(28px, 2.8vw, 40px); right: clamp(28px, 2.8vw, 40px);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid rgba(201,174,132,.4); padding: 6px 10px; border-radius: 999px;
}
.pricing__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

.test-offer {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 56px);
}
.test-offer .eyebrow { margin-bottom: 16px; }
.test-offer h3 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.04em; font-weight: 700; line-height: 1; }
.test-offer__price { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 12px; }
.test-offer__price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.test-offer__copy > p:last-child { color: var(--muted); max-width: 40ch; }
.test-offer__list { display: grid; gap: 10px; }
.test-offer__list li { display: flex; gap: 10px; font-weight: 500; }
.test-offer__list li::before { content: "+"; color: var(--gold); font-weight: 700; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; }
.about .h2 { max-width: 22ch; margin-bottom: 32px; }
.about__text { color: var(--muted); font-size: 18px; max-width: 58ch; margin-bottom: 40px; }
.about__principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.about__principles li { font-size: 15px; color: var(--muted); }
.about__principles strong { display: block; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 48px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center/100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 100% no-repeat;
  transition: transform .45s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--muted); padding: 0 48px 28px 0; max-width: 64ch; }

/* ---------- Contact / Form ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__head { margin-bottom: clamp(56px, 8vw, 100px); }
.contact__head .mega { margin-bottom: 32px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.contact__aside h3 { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px; }
.contact__aside ol { display: grid; gap: 18px; margin-bottom: 36px; }
.contact__aside li { display: grid; grid-template-columns: 36px 1fr; color: var(--ink-2); }
.contact__aside li span { color: var(--gold); font-weight: 600; font-size: 14px; padding-top: 2px; }
.contact__mail { color: var(--muted); font-size: 15px; }
.contact__mail a { color: var(--ink); border-bottom: 1px solid currentColor; }

.form { display: grid; gap: 22px; background: var(--bg-soft); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 48px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 0; }
.field legend { margin-bottom: 10px; }
.field label span[aria-hidden], .field legend span[aria-hidden] { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,11,.06); }
.field input::placeholder, .field textarea::placeholder { color: #a8a8a8; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field__error { font-size: 13px; color: #b3261e; min-height: 0; }
.field__error:empty { display: none; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 12px 18px; border-radius: 999px; border: 1px solid #d6d3ce; background: #fff; font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400 !important; letter-spacing: 0 !important; cursor: pointer; }
/* custom checkbox — overrides the generic .field input styles, shows a clear check mark */
.check input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; margin: 0; padding: 0;
  -webkit-appearance: none; appearance: none;
  display: grid; place-content: center;
  background: #fff; border: 1.5px solid #c9c6c0; border-radius: 6px;
  cursor: pointer; transition: background-color .2s, border-color .2s;
}
.check input[type="checkbox"]:hover { border-color: var(--ink); }
.check input[type="checkbox"]:checked { background: var(--ink); border-color: var(--ink); }
.check input[type="checkbox"]:checked::before {
  content: ""; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.check input[type="checkbox"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; box-shadow: none; }
.field.has-error .check input[type="checkbox"] { border-color: #b3261e; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 15px; text-align: center; }
.form__status:empty { display: none; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form.is-sent { text-align: center; padding-block: clamp(48px, 7vw, 96px); }
.form-success h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; margin-bottom: 12px; }
.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); }
.footer__logo { font-size: clamp(56px, 12vw, 180px); font-weight: 800; letter-spacing: -.02em; line-height: .85; }
.footer__sub { margin-top: 18px; font-weight: 600; }
.footer__claim { color: var(--muted); font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; font-size: 14px; color: var(--muted); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__bottom a:hover, .footer__bottom .link-btn:hover { color: var(--ink); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Consent ---------- */
.consent {
  position: fixed; z-index: 150; left: 16px; bottom: 16px; max-width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 20px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
  font-size: 14px; color: var(--ink-2);
}
.consent a { text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1360px) {
  .nav__inner { gap: 22px; }
  .nav__links { gap: 20px; }
}
/* 7 nav links (incl. Referral Program): switch to the menu button a bit earlier */
@media (max-width: 1200px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__inner { gap: 16px; }

  .hero__grid { grid-template-columns: 1fr 1fr; }
  .section__head--split { grid-template-columns: 1fr; gap: 24px; }
  .flow__step { grid-template-columns: 1fr; gap: 20px; padding-left: 0; }
  .flow__vis { padding-left: 80px; }
  .test-offer { grid-template-columns: 1fr 1fr; }
  .test-offer .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .logo { margin-right: auto; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .hero__media { order: 2; padding-top: 8px; }
  .phone--hero { width: min(76vw, 340px); }
  .hero__tag--1 { left: 0; }
  .hero__tag--2 { right: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero__facts li { padding-right: 12px; margin-right: 12px; }

  .problem__list { grid-template-columns: 1fr; }
  .problem__list li { padding: 28px 0 32px !important; border-right: 0 !important; }

  .pillars__grid, .services__grid, .pricing__grid { grid-template-columns: 1fr; }
  .pillar { min-height: 260px; }
  .plan--featured { order: -1; }

  .process__list { grid-template-columns: 1fr 1fr; }
  .process__list li, .process__list li:not(:nth-child(3n+1)) { padding: 28px 20px 36px 0; border-left: 0; }
  .process__list li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }

  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 24px; }
  .about__principles { grid-template-columns: 1fr; }
  .contact__aside { position: static; order: 2; }
  .form__row { grid-template-columns: 1fr; }

  .test-offer { grid-template-columns: 1fr; gap: 28px; }
  .test-offer .btn { width: 100%; }

  .sticky-cta {
    display: flex; position: fixed; z-index: 80;
    left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    --pad-y: 17px;
    box-shadow: 0 20px 40px -14px rgba(0,0,0,.45);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
  .footer { padding-bottom: 100px; }
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

@media (max-width: 520px) {
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__facts li { border: 0; margin: 0; padding: 0; flex-direction: row; justify-content: space-between; gap: 12px; }
  .hero__tag { font-size: 12px; padding: 8px 12px; }
  .hero__tag--1 { top: 12%; left: -4px; }
  .hero__tag--2 { bottom: 10%; right: -4px; }
  .flow__rail { left: 21px; }
  .flow__label { grid-template-columns: 44px 1fr; column-gap: 16px; }
  .flow__n { width: 44px; height: 44px; font-size: 15px; }
  .flow__vis { padding-left: 60px; }
  .vis-grid { grid-template-columns: repeat(8, 1fr); }
  .process__list { grid-template-columns: 1fr; }
  .process__list li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .faq details p { padding-right: 0; }
  .work__rail { --col: 74vw; }
}

/* Touch devices: no hover lift on cards */
@media (hover: none) {
  .work-card:hover .phone { transform: none; }
  .pillar:hover { background: var(--bg-soft); color: var(--ink); }
  .pillar:hover p { color: var(--muted); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .line > span { opacity: 1; transform: none; }
  .ad__hooks p:first-child { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* =========================================================
   Referral page (empfehlungsprogramm.html)
   ========================================================= */
.ref-hero { padding: calc(var(--nav-h) + clamp(48px, 8vw, 120px)) 0 clamp(40px, 6vw, 80px); }
.ref-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ref-hero .display { margin-bottom: 32px; }
.ref-hero .lead { margin-bottom: 40px; max-width: 40ch; }
.ref-hero .hero__actions { margin-bottom: 0; }

.ref-badge {
  justify-self: center;
  width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.45);
  position: relative;
}
.ref-badge::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(201,174,132,.35); }
.ref-badge__big { font-size: clamp(96px, 11vw, 150px); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.ref-badge__big sup { font-size: .4em; color: var(--gold-soft); vertical-align: top; margin-left: 4px; top: .25em; position: relative; }
.ref-badge__small { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ref-badge__note { margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(201,174,132,.4); padding: 6px 12px; border-radius: 999px; }

.ref-steps { padding-top: clamp(64px, 8vw, 120px); }

/* Tiers (dark band, same as testing-system section) */
.ref-tiers { background: var(--dark); color: #fff; border-radius: clamp(24px, 4vw, 48px); margin: 0 clamp(8px, 1.4vw, 20px); }
.ref-tiers .section__intro { color: rgba(255,255,255,.6); }
.tiers { display: grid; gap: 0; }
.tier { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr 160px; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.tier:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.tier__count { font-size: 17px; color: rgba(255,255,255,.7); }
.tier__count strong { display: inline-block; min-width: 44px; font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.tier__bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.tier__bar span { display: block; height: 100%; width: var(--w); border-radius: 8px; background: rgba(255,255,255,.35); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.tier.is-in .tier__bar span { transform: none; }
.tier--max .tier__bar span { background: linear-gradient(90deg, var(--gold-soft), var(--gold)); }
.tier__value { font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1; text-align: right; }
.tier__value span { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tier--max .tier__value { color: var(--gold-soft); }

/* Conditions */
.ref-terms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ref-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; }
.ref-card__tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(168,135,90,.4); padding: 6px 12px; border-radius: 999px; margin-bottom: 28px; }
.ref-card h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.ref-card p { color: var(--ink-2); }
.ref-card__note { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: 15px; }

.ref-rules { margin-top: 20px; background: var(--bg-soft); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); }
.ref-rules h3 { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.ref-rules ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.ref-rules li { display: flex; gap: 12px; font-weight: 500; }
.ref-rules li::before { content: "—"; color: var(--gold); flex: none; }
.ref-rules__foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.ref-cta { border-top: 1px solid var(--line); }
.ref-cta .mega { margin-bottom: 32px; }
.ref-cta .lead { margin-bottom: 40px; max-width: 46ch; }

@media (max-width: 860px) {
  .ref-hero__grid { grid-template-columns: 1fr; }
  .ref-badge { width: min(78vw, 300px); }
  .ref-hero .hero__actions .btn, .ref-cta .hero__actions .btn { flex: 1 1 100%; }
  .ref-steps__list { grid-template-columns: 1fr; }
  .ref-steps__list li, .ref-steps__list li:nth-child(2n), .ref-steps__list li:not(:nth-child(3n+1)) { padding: 28px 0 32px; border-left: 0; }
  .tier { grid-template-columns: 1fr auto; gap: 14px 20px; padding: 24px 0; }
  .tier__bar { grid-column: 1 / -1; grid-row: 2; }
  .tier__count { font-size: 15px; }
  .tier__count strong { display: block; margin-bottom: 2px; }
  .ref-terms__grid, .ref-rules ul { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ref-nav__back, .ref-nav__cta { display: none; }
}
