/* ══════════════════════════════════════════════════════════════════
   SLICE redesign — page styles layered on top of site.css tokens.
   Registers: hero, how-it-works, feature sections, secondary visuals,
   pricing, advocate cards, referral ticker, mobile CTA, legal prose.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --indigo: #6366F1;
  --indigo-dim: rgba(99,102,241,0.14);
  --amber: #F0B357;
  --magenta: #E879F9;
  --teal: #5EEAD4;
  --maxw: 1160px;
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(112px, 14vh, 156px) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 4.5rem);
  gap: clamp(2.25rem, 5vw, 3.25rem);
}
.hero::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 760px; height: 640px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,212,126,0.10), transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero-copy { position: relative; z-index: 1; max-width: 720px; }
.hero-copy .badge { margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.15rem;
  animation: fadeUp .6s ease .1s backwards;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--green), #5FE6AC);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.18rem); color: var(--text2);
  max-width: 560px; line-height: 1.65; margin: 0 auto 1.9rem;
  animation: fadeUp .6s ease .25s backwards;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: center;
  animation: fadeUp .6s ease .4s backwards; }
.hero-note { font-size: 0.8rem; color: var(--text3); margin-top: 1.1rem;
  font-family: var(--mono); letter-spacing: 0.2px; animation: fadeUp .6s ease .5s backwards; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* Hero visual shell — reserves space to avoid layout shift */
.hero-viz {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 37 / 17; max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(19,24,37,0.9), rgba(15,20,32,0.65));
  border: 1px solid var(--border2); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  overflow: hidden;
}
.hero-viz svg { display: block; width: 100%; height: 100%; }
.hero-viz-cap {
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.5px;
  color: var(--text3); text-transform: uppercase; text-align: center;
}

/* ── SECTION HELPERS ───────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.eyebrow { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.8rem; display: block; }
.sec-head { max-width: 640px; margin-bottom: 2.75rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.13; margin-bottom: 0.85rem; }
.lead em { font-style: normal; color: var(--green); }
.dek { font-size: 1.02rem; color: var(--text2); line-height: 1.7; }
.alt { background: var(--bg2); }

/* ── AUDIENCE STRIP ────────────────────────────────────────────────── */
.aud { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2); padding-top: clamp(2.5rem,5vw,3.5rem); padding-bottom: clamp(2.5rem,5vw,3.5rem); }
.aud p { font-size: clamp(1.05rem,2vw,1.35rem); line-height: 1.6; max-width: 820px;
  margin: 0 auto; text-align: center; color: var(--text); font-weight: 500; }
.aud p b { color: var(--green); font-weight: 600; }
.aud .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }
.aud .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.5px;
  color: var(--text2); border: 1px solid var(--border2); border-radius: 100px; padding: 6px 14px; }

/* ── HOW IT WORKS ──────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem 1.5rem; position: relative; transition: border-color .3s, transform .3s; }
.step:hover { border-color: var(--border2); transform: translateY(-3px); }
.step-n { font-family: var(--mono); font-size: 0.85rem; color: var(--green);
  border: 1px solid var(--green-dim); background: var(--green-dim); width: 34px; height: 34px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.step h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.step p { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }

/* ── SPLIT FEATURE (copy + visual) ─────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split.flip .split-viz { order: -1; }
.split-copy h2 { font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 1rem; }
.split-copy .dek { margin-bottom: 1.25rem; }
.split-copy ul { list-style: none; display: grid; gap: 0.7rem; }
.split-copy li { position: relative; padding-left: 1.6rem; color: var(--text2); font-size: 0.95rem; line-height: 1.5; }
.split-copy li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-dim); }
.split-copy li b { color: var(--text); font-weight: 600; }

.viz-card { background: var(--card); border: 1px solid var(--border2); border-radius: 18px;
  padding: 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,0.35); position: relative; overflow: hidden; }
.viz-title { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text3); margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
.viz-title::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--indigo); }

/* Pixel comparison viz */
.pixbars { display: grid; gap: 1rem; }
.pixrow { }
.pixrow .lab { font-size: 0.78rem; color: var(--text2); margin-bottom: 6px; display: flex; justify-content: space-between; }
.pixrow .lab .amt { font-family: var(--mono); color: var(--text); }
.track { height: 12px; border-radius: 100px; background: rgba(255,255,255,0.05); overflow: hidden; }
.fill { height: 100%; border-radius: 100px; width: 0; transition: width 1.1s cubic-bezier(.2,.8,.3,1); }
.fill.bookers { background: linear-gradient(90deg, #3a4256, #4b5570); }
.fill.buyers { background: linear-gradient(90deg, var(--green), #3EE0A0); }
.pix-note { margin-top: 1.1rem; font-size: 0.8rem; color: var(--text3); font-family: var(--mono); }

/* Roster swap viz */
.roster { display: grid; gap: 0.6rem; margin-bottom: 1.1rem; min-height: 176px; }
.rcard { display: flex; align-items: center; gap: 0.75rem; background: var(--bg);
  border: 1px solid var(--border); border-radius: 12px; padding: 0.7rem 0.85rem; transition: transform .5s cubic-bezier(.2,.8,.3,1), opacity .5s; }
.rcard.out { transform: translateX(24px); opacity: 0; }
.rcard.in { animation: slideIn .5s cubic-bezier(.2,.8,.3,1); }
@keyframes slideIn { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.rav { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; color: var(--bg); }
.rmeta { flex: 1; }
.rmeta .rn { font-size: 0.85rem; font-weight: 600; }
.rmeta .rr { font-size: 0.72rem; color: var(--text3); }
.rval { font-family: var(--mono); font-size: 0.8rem; color: var(--green); }
.datalayer { border-top: 1px dashed var(--border2); padding-top: 0.9rem; display: flex; justify-content: space-between; align-items: center; }
.datalayer .dl-lab { font-size: 0.72rem; color: var(--text3); font-family: var(--mono); }
.datalayer .dl-val { font-family: var(--mono); font-size: 1.1rem; color: var(--text); }

/* ── FEATURE GRID (quality / zero-admin) ───────────────────────────── */
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.fcard { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem;
  transition: border-color .3s, transform .3s; }
.fcard:hover { border-color: var(--border2); transform: translateY(-3px); }
.fcard .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--green-dim);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--green); }
.fcard.indigo .ico { background: var(--indigo-dim); color: var(--indigo); }
.fcard h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.45rem; }
.fcard p { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }
.checklist { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; justify-content: center; }
.chk { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--text2);
  border: 1px solid var(--border2); border-radius: 100px; padding: 7px 15px; }
.chk svg { color: var(--green); flex-shrink: 0; }

/* ── TESTIMONIALS ──────────────────────────────────────────────────── */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tcard { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; }
.tcard .q { font-size: 0.98rem; line-height: 1.55; margin-bottom: 1.15rem; }
.tcard .q strong { color: var(--green); font-weight: 600; }
.tperson { display: flex; align-items: center; gap: 0.7rem; }
.tface { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.tperson .tn { font-size: 0.85rem; font-weight: 600; }
.tperson .tr { font-size: 0.74rem; color: var(--text3); }

/* ── PRICING MODEL ─────────────────────────────────────────────────── */
.pricing { text-align: center; }
.price-card { max-width: 620px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border2); border-radius: 20px; padding: clamp(2rem,4vw,3rem); position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(0,212,126,0.08), transparent 60%); pointer-events: none; }
.price-card h2 { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.85rem; position: relative; }
.price-card p { color: var(--text2); font-size: 1rem; margin-bottom: 1.6rem; position: relative; }
.price-terms { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.75rem; position: relative; }
.price-term { font-family: var(--mono); font-size: 0.8rem; color: var(--text2); }
.price-term b { color: var(--green); display: block; font-size: 0.95rem; margin-bottom: 2px; }

/* ── ADVOCATE BRIDGE CARDS ─────────────────────────────────────────── */
.bridge { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.bcard { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.6rem; transition: border-color .3s, transform .3s; }
.bcard:hover { border-color: var(--green-dim); transform: translateY(-4px); }
.bcard .barrow { font-family: var(--mono); font-size: 0.7rem; color: var(--green); }
.bcard h3 { font-size: 1.1rem; font-weight: 600; margin: 0.7rem 0 0.4rem; }
.bcard p { font-size: 0.88rem; color: var(--text2); line-height: 1.6; }

/* ── REFERRAL TICKER (reps) ────────────────────────────────────────── */
.ticker { background: var(--card); border: 1px solid var(--border2); border-radius: 18px;
  padding: 1.75rem; text-align: center; max-width: 460px; margin: 0 auto; }
.ticker .tk-lab { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); }
.ticker .tk-val { font-family: var(--mono); font-size: clamp(2rem,6vw,2.8rem); font-weight: 500;
  color: var(--green); margin: 0.5rem 0; letter-spacing: -0.02em; }
.ticker .tk-sub { font-size: 0.82rem; color: var(--text2); }
.refsteps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-top: 1.5rem; }
.refstep { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 0.9rem 0.6rem; }
.refstep .rs-n { font-family: var(--mono); color: var(--green); font-size: 0.8rem; }
.refstep .rs-t { font-size: 0.78rem; color: var(--text2); margin-top: 4px; line-height: 1.4; }

/* Rep score credential */
.credential { background: linear-gradient(150deg, #151b2b, #10141f); border: 1px solid var(--border2);
  border-radius: 18px; padding: 1.6rem; position: relative; overflow: hidden; max-width: 380px; }
.credential::after { content: ""; position: absolute; top: -40%; right: -20%; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(99,102,241,0.16), transparent 60%); }
.cred-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; position: relative; }
.cred-top .cl { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); }
.cred-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 0.68rem; color: var(--green);
  background: var(--green-dim); border-radius: 100px; padding: 4px 10px; }
.cred-score { font-family: var(--mono); font-size: 3rem; font-weight: 500; line-height: 1; position: relative;
  background: linear-gradient(120deg, var(--green), var(--indigo)); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; }
.cred-scale { font-family: var(--mono); font-size: 0.9rem; color: var(--text3); }
.cred-rows { margin-top: 1.4rem; display: grid; gap: 0.55rem; position: relative; }
.cred-row { display: flex; justify-content: space-between; font-size: 0.8rem; }
.cred-row span:first-child { color: var(--text3); }
.cred-row span:last-child { font-family: var(--mono); color: var(--text); }

/* Client switcher console (agency pages) */
.console { background: var(--card); border: 1px solid var(--border2); border-radius: 18px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.console-tabs { display: flex; gap: 4px; padding: 0.7rem 0.7rem 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.ctab { font-size: 0.78rem; color: var(--text3); padding: 8px 13px; border-radius: 8px 8px 0 0; cursor: default;
  transition: all .3s; white-space: nowrap; }
.ctab.on { color: var(--text); background: var(--bg); border: 1px solid var(--border); border-bottom-color: var(--bg); }
.console-body { padding: 1.4rem; }
.console-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0;
  border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.console-row:last-child { border-bottom: none; }
.console-row .cr-rep { display: flex; align-items: center; gap: 0.6rem; }
.console-row .cr-av { width: 26px; height: 26px; border-radius: 7px; font-family: var(--mono); font-size: 0.66rem;
  display: flex; align-items: center; justify-content: center; color: var(--bg); font-weight: 600; }
.console-row .cr-amt { font-family: var(--mono); color: var(--green); }

/* ── SHARE / PARTNER BLOCK ─────────────────────────────────────────── */
.share-block { background: var(--card); border: 1px solid var(--border2); border-radius: 20px;
  padding: clamp(1.75rem,4vw,2.75rem); text-align: center; max-width: 720px; margin: 0 auto; }
.share-block h2 { font-size: clamp(1.4rem,2.6vw,1.9rem); font-weight: 700; margin-bottom: 0.7rem; letter-spacing: -0.02em; }
.share-block p { color: var(--text2); font-size: 0.98rem; line-height: 1.65; margin-bottom: 1.5rem; }
.share-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-share { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: 10px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600; cursor: pointer; border: 1px solid var(--border2);
  background: var(--bg); color: var(--text); transition: all .25s; }
.btn-share:hover { border-color: var(--text3); }
.partner { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.partner .pl { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.partner p { font-size: 0.9rem; margin-bottom: 0; }

/* ── MOBILE PERSISTENT CTA ─────────────────────────────────────────── */
#mobileCta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(10,14,23,0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border2); transform: translateY(120%); transition: transform .3s ease; display: none; }
#mobileCta .btn { width: 100%; justify-content: center; }
#mobileCta.show { transform: none; }
@media (max-width: 768px) { #mobileCta { display: block; } }

/* ── LEGAL PROSE ───────────────────────────────────────────────────── */
.legal { max-width: 820px; margin: 0 auto; padding-top: clamp(110px,14vh,150px); }
.legal .updated { font-family: var(--mono); font-size: 0.78rem; color: var(--text3); margin-bottom: 2rem; }
.legal .draft-flag { background: var(--indigo-dim); border: 1px solid rgba(99,102,241,0.3); border-radius: 12px;
  padding: 0.9rem 1.1rem; font-size: 0.82rem; color: var(--text2); margin-bottom: 2.5rem; }
.legal h1 { font-size: clamp(2rem,4vw,2.8rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.legal h2 { font-size: 1.25rem; font-weight: 600; margin: 2.5rem 0 0.85rem; letter-spacing: -0.01em;
  padding-top: 0.5rem; }
.legal h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--text); }
.legal p, .legal li { color: var(--text2); font-size: 0.94rem; line-height: 1.75; }
.legal p { margin-bottom: 1rem; }
.legal ul { margin: 0 0 1.25rem 1.2rem; display: grid; gap: 0.5rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--green); }
.legal .toc { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.legal .toc h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text3); margin-bottom: 0.75rem; }
.legal .toc a { display: inline-block; font-size: 0.85rem; margin: 0.2rem 1rem 0.2rem 0; }

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; padding-top: 108px; }
  .hero::before { left: 50%; top: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-viz { max-width: 100%; aspect-ratio: 37 / 17; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.flip .split-viz { order: 0; }
  .steps, .fgrid, .tgrid, .bridge, .refsteps { grid-template-columns: 1fr; }
  .steps { gap: 0.9rem; }
  .split-copy { text-align: left; }
}
@media (min-width: 921px) and (max-width: 1080px) {
  .tgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .price-terms { flex-direction: column; gap: 0.9rem; }
}

/* ── REDUCED MOTION ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
