/* ============================================================
   PadlPair — landing page styles
   Dark, sporty, neon-on-near-black. Saira Condensed × Inter.
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #0A0B0E;
  --bg-2:      #0c0e12;
  --surface:   #14161B;
  --surface-2: #1A1D24;
  --border:    #232634;
  --border-2:  #2c3040;

  /* text */
  --text:  #F5F6F8;
  --muted: #8B8F9A;
  --faint: #5b606c;

  /* accents */
  --lime:  #C4FF3E;
  --lime-d:#a9e024;
  --coral: #FF5E5B;
  --bronze:#CD7F32;
  --silver:#C0C0C0;
  --gold:  #FFD700;
  --plat:  #E5E4E2;

  /* type */
  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  /* layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-sm: 14px;

  --shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  --glow: 0 0 0 1px rgba(196,255,62,0.4), 0 0 40px -6px rgba(196,255,62,0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- shared atoms ------------------------------------------ */

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--lime);
  display: inline-block;
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.muted::before { background: var(--border-2); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(46px, 6.6vw, 90px);
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.9;
}

.lead {
  font-family: var(--body);
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.lime { color: var(--lime); }
.coral { color: var(--coral); }

/* buttons */
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lime {
  background: var(--lime);
  color: #0a0b0e;
  box-shadow: 0 8px 30px -10px rgba(196,255,62,0.6);
}
.btn-lime:hover { background: #d2ff5e; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(196,255,62,0.7); }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

/* store buttons */
.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 11px 20px 11px 16px;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.store-btn:hover { border-color: var(--lime); transform: translateY(-2px); background: var(--surface-2); }
.store-btn .ico { width: 26px; height: 26px; flex: none; color: var(--text); }
.store-btn .txt { line-height: 1.05; text-align: left; }
.store-btn .txt small { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.store-btn .txt strong { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: .01em; }

/* generic card */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* pills */
.pill {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px;
}
.pill-lime { color: var(--lime); border-color: rgba(196,255,62,0.45); background: rgba(196,255,62,0.06); }

/* ============================================================
   COURT TEXTURE + GLOW (background motifs)
   ============================================================ */
.court-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  z-index: 0;
}
.court-lines svg { width: 100%; height: 100%; }
.court-lines line, .court-lines rect, .court-lines circle { stroke: rgba(196,255,62,0.12); stroke-width: 1.5; fill: none; }

.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,11,14,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-2);
}
.brand .name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 0.005em;
  text-transform: none;
}
.brand .name b { color: var(--lime); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .18s ease; position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero .mesh.a { width: 620px; height: 620px; background: radial-gradient(circle, rgba(196,255,62,0.22), transparent 70%); top: -180px; right: -120px; }
.hero .mesh.b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,94,91,0.12), transparent 70%); bottom: -160px; left: -160px; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin: 22px 0 0; }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.6px var(--text);
}
.hero .lead { margin: 24px 0 34px; }
.hero-actions { display: flex; flex-direction: column; gap: 18px; }
.hero-meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; }
.hero-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* phone */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: clamp(240px, 30vw, 310px);
  aspect-ratio: 1180 / 2556;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2e38, #0c0d11 60%);
  border: 1px solid #34394a;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(196,255,62,0.06);
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #0A0B0E;
  position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle at 50% 30%, rgba(196,255,62,0.28), transparent 65%);
  filter: blur(30px); z-index: 1; pointer-events: none;
}

/* floating chips around phone */
.float-chip {
  position: absolute;
  z-index: 3;
  background: rgba(20,22,27,0.9);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 12px 15px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float-chip.f1 { top: 8%; left: -6%; animation-delay: 0s; }
.float-chip.f2 { bottom: 16%; right: -8%; animation-delay: 1.2s; }
.float-chip.f3 { bottom: -2%; left: 6%; animation-delay: 2.1s; }

.chip-rating { display: flex; align-items: center; gap: 12px; }
.chip-rating .num { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--coral); }
.chip-rating .lbl small { display:block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chip-rating .lbl b { font-family: var(--display); font-size: 17px; letter-spacing:.02em; }

.chip-match { display:flex; flex-direction:column; gap:6px; min-width: 120px; }
.chip-match .row { display:flex; justify-content:space-between; align-items:center; }
.chip-match .score { font-family: var(--display); font-size: 26px; font-weight: 800; line-height:1; }
.chip-match small { font-size: 10px; letter-spacing:.12em; text-transform:uppercase; color: var(--muted); }

.chip-streak { display:flex; align-items:center; gap:9px; }
.chip-streak .fire { font-size: 18px; }
.chip-streak b { font-family: var(--display); font-size: 20px; }

@media (prefers-reduced-motion: reduce) {
  .float-chip { animation: none; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px var(--gutter);
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 62px); line-height: 1; }
.stat .v .u { color: var(--lime); }
.stat .k { margin-top: 8px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .lead { margin-top: 20px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2; }
.problem-card {
  padding: 34px 30px 36px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.problem-card .idx { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--coral); letter-spacing:.1em; }
.problem-card h3 { font-size: 30px; margin: 18px 0 12px; }
.problem-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.problem-card .strike {
  margin-top: 22px; display: inline-flex; align-items:center; gap: 9px;
  font-size: 13px; color: var(--lime); font-weight: 600;
}
.problem-card .strike svg { width: 16px; height: 16px; }

/* ============================================================
   FEATURES
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  position: relative; z-index: 2;
}
.feature {
  padding: 32px 30px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-2); }
.feature.big { grid-column: span 6; min-height: 320px; }
.feature.small { grid-column: span 3; }
.feature .ficon {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(196,255,62,0.08);
  border: 1px solid rgba(196,255,62,0.25);
  color: var(--lime);
  margin-bottom: 22px;
}
.feature .ficon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 27px; margin: 0 0 10px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.feature .tag-row { display:flex; gap:8px; margin-top: auto; padding-top: 22px; flex-wrap: wrap; }

/* mini discover map for the big feature */
.discover-vis {
  margin-top: 24px;
  flex: 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 50%, rgba(196,255,62,0.05), transparent 60%),
    var(--bg-2);
  position: relative;
  overflow: hidden;
  min-height: 170px;
}
.discover-vis .ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(196,255,62,0.18); border-radius: 50%; }
.discover-vis .ring.r1 { width: 90px; height: 90px; }
.discover-vis .ring.r2 { width: 170px; height: 170px; }
.discover-vis .ring.r3 { width: 260px; height: 260px; border-style: dashed; }
.discover-vis .me { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(196,255,62,0.2), 0 0 18px var(--lime); }
.discover-vis .ping { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--text); }
.discover-vis .ping::after { content: attr(data-l); position: absolute; left: 16px; top: -4px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.discover-vis .ping.p1 { top: 30%; left: 64%; }
.discover-vis .ping.p2 { top: 62%; left: 32%; background: var(--coral); }
.discover-vis .ping.p3 { top: 70%; left: 70%; }

/* mini match card for big feature */
.match-vis { margin-top: 22px; flex:1; display:flex; align-items:center; }
.match-card-mini {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  padding: 18px;
}
.match-card-mini .top { display:flex; justify-content:space-between; align-items:center; margin-bottom: 16px; }
.match-card-mini .sides { display:flex; align-items:center; justify-content: space-between; }
.match-card-mini .side { text-align:center; }
.match-card-mini .side small { display:block; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--faint); margin-bottom:6px; }
.match-card-mini .av { display:flex; }
.match-card-mini .av span { width:30px; height:30px; border-radius:50%; border:2px solid var(--surface); margin-left:-8px; display:grid; place-items:center; font-size:11px; font-weight:700; font-family:var(--display); }
.match-card-mini .av span:first-child { margin-left:0; }
.match-card-mini .vs { font-family:var(--display); font-weight:800; font-size:30px; }
.match-card-mini .foot { margin-top:16px; display:flex; gap:8px; }

/* ============================================================
   RATINGS / DIVISION LADDER (interactive)
   ============================================================ */
.ratings { background: var(--bg-2); }
.ratings .mesh.g { width: 600px; height: 600px; background: radial-gradient(circle, rgba(196,255,62,0.10), transparent 70%); top: 10%; right: -200px; }

.ladder-wrap {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: stretch;
}

/* the ladder rail */
.ladder {
  display: flex;
  flex-direction: column-reverse; /* bronze bottom, elite top */
  gap: 14px;
}
.rung {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  position: relative;
  opacity: .42;
  transform: translateX(0);
  transition: opacity .5s ease, border-color .5s ease, background .5s ease, box-shadow .5s ease, transform .3s ease;
}
.rung.reached { opacity: 1; }
.rung.current {
  border-color: var(--tier);
  box-shadow: 0 0 0 1px var(--tier), 0 16px 40px -16px var(--tier);
  background: linear-gradient(100deg, color-mix(in srgb, var(--tier) 12%, var(--surface)), var(--surface));
}
.rung .badge {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--tier) 16%, #0c0e12);
  border: 1.5px solid var(--tier);
  position: relative;
}
.rung .badge svg { width: 30px; height: 30px; color: var(--tier); }
.rung .info .nm { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing:.02em; color: var(--tier); line-height:1; }
.rung .info .rg { font-size: 12.5px; color: var(--muted); margin-top: 3px; letter-spacing:.04em; }
.rung .pts { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--faint); letter-spacing:.08em; text-transform: uppercase; }
.rung.current .pts { color: var(--tier); }
.rung .youtag {
  position: absolute; top: -11px; right: 16px;
  font-family: var(--body); font-size: 10.5px; font-weight: 800; letter-spacing: .14em;
  background: var(--tier); color:#0a0b0e; padding: 3px 9px; border-radius: 999px;
  opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease;
}
.rung.current .youtag { opacity: 1; transform: translateY(0); }

/* control panel */
.cr-panel {
  position: sticky; top: 100px;
  align-self: start;
  padding: 30px 28px 32px;
  text-align: center;
}
.cr-panel .dial {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(70px, 8vw, 96px); line-height: .9;
  color: var(--tier, var(--lime));
  transition: color .4s ease;
  letter-spacing: -0.01em;
}
.cr-panel .dial-l { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cr-panel .tier-now {
  font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing:.03em;
  color: var(--tier, var(--lime)); margin-top: 6px;
  transition: color .4s ease;
}
.cr-panel .next-line { font-size: 13px; color: var(--muted); margin-top: 4px; min-height: 18px; }
.cr-panel .next-line b { color: var(--text); }

.cr-progress { height: 8px; border-radius: 999px; background: var(--surface-2); margin: 22px 0 8px; overflow: hidden; border: 1px solid var(--border); }
.cr-progress > i { display: block; height: 100%; width: 0; background: var(--tier, var(--lime)); border-radius: 999px; transition: width .35s ease, background .4s ease; }
.cr-scale { display:flex; justify-content: space-between; font-size: 11px; color: var(--faint); letter-spacing: .08em; }

.cr-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin: 26px 0 6px; cursor: pointer;
}
.cr-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--tier, var(--lime));
  border: 3px solid #0a0b0e;
  box-shadow: 0 0 0 1px var(--tier, var(--lime)), 0 6px 18px -4px var(--tier, var(--lime));
  cursor: grab;
}
.cr-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--tier, var(--lime));
  border: 3px solid #0a0b0e; cursor: grab;
}
.cr-hint { font-size: 12px; color: var(--faint); margin-top: 10px; letter-spacing: .03em; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 2; }
.step { padding: 30px 26px 32px; position: relative; }
.step .n {
  font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px var(--border-2);
}
.step.lit .n { -webkit-text-stroke: 1.4px var(--lime); }
.step h3 { font-size: 24px; margin: 16px 0 10px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step .connector {
  position: absolute; top: 52px; right: -10px; width: 20px; height: 2px; background: var(--border-2);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; z-index:2; }
.cta-card {
  position: relative; overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(196,255,62,0.3);
  background: linear-gradient(120deg, rgba(196,255,62,0.10), rgba(20,22,27,0.6) 55%);
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
}
.cta-card .mesh.c { width: 500px; height: 500px; background: radial-gradient(circle, rgba(196,255,62,0.2), transparent 70%); top: -200px; left: 50%; transform: translateX(-50%); }
.cta-card h2 { font-size: clamp(40px, 6vw, 78px); position: relative; z-index: 2; }
.cta-card p { color: var(--muted); position: relative; z-index: 2; margin: 18px auto 30px; max-width: 46ch; font-size: 17px; }
.cta-card .store-row { position: relative; z-index: 2; justify-content: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; text-align: left; color: var(--text);
  font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px); letter-spacing:.01em; text-transform: uppercase;
}
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; position: relative; transition: border-color .2s, background .2s; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background: var(--text); border-radius:2px; transition: transform .25s ease, background .2s; }
.faq-q .plus::before { width: 12px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .plus { background: var(--lime); border-color: var(--lime); }
.faq-item.open .faq-q .plus::before, .faq-item.open .faq-q .plus::after { background: #0a0b0e; }
.faq-item.open .faq-q .plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); font-size: 16px; margin: 0 0 26px; max-width: 64ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 70px 0 40px; position: relative; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 50px; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; font-weight: 700; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 11px; transition: color .18s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-bottom small { color: var(--faint); font-size: 13px; }
.social { display: flex; gap: 12px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.social a:hover { color: var(--lime); border-color: var(--lime); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* ============================================================
   REVEAL ANIMATION
   Static end-state is visible; animation only plays the entrance.
   Gated on .js so no-JS / frozen contexts still show content.
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1 !important;
  transform: none !important;
  animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.reveal.in[data-delay="1"] { animation-delay: .08s; }
.reveal.in[data-delay="2"] { animation-delay: .16s; }
.reveal.in[data-delay="3"] { animation-delay: .24s; }
.reveal.in[data-delay="4"] { animation-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .reveal.in { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 30px; }
  .ladder-wrap { grid-template-columns: 1fr; }
  .cr-panel { position: relative; top: 0; order: -1; }
  .feature.big { grid-column: span 12; }
  .feature.small { grid-column: span 6; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .connector { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; }
  .problem-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 120px; }
  .float-chip.f1 { left: -2%; }
  .float-chip.f2 { right: -2%; }
}
@media (max-width: 520px) {
  .feature.small { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; }
  .rung { grid-template-columns: 52px 1fr; }
  .rung .pts { display: none; }
}
