/* RepSplit landing page
   Dark ground, acid-green accent, condensed display type. No build step. */

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --ink: #ffffff;
  --ink-2: #a3a3a3;
  --ink-3: #6b6b6b;
  --line: #262626;
  --accent: #c8ff1e;
  --accent-ink: #0a0a0a;
  --accent-tint: #0c1200;
  --cyan: #1fd8ff;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 64px;
  --section: clamp(64px, 8vw, 104px);
  --dots: radial-gradient(circle, #2c2c2c 1px, transparent 1.2px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 8px 12px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; border-radius: 4px;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.accent { color: var(--accent); }
.cyan { color: var(--cyan); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 20px; line-height: 1; letter-spacing: 0.02em; }
.logo__rep { color: var(--ink); }
.logo__bar { width: 1px; height: 16px; background: var(--ink-3); }
.logo__split { color: var(--accent); }
.logo--sm { font-size: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--accent-ink);
  border-radius: 999px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease, transform 150ms ease;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 9px 16px; font-size: 11px; }
.btn--lg { padding: 16px 26px; font-size: 12px; }
.btn--block { width: 100%; padding: 12px 20px; font-size: 11px; }
.btn--ghost { width: 100%; padding: 12px 20px; font-size: 11px; background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--ink); color: var(--accent-ink); }
.apple { width: 13px; height: 13px; fill: currentColor; }
.btn--lg .apple { width: 15px; height: 15px; }

/* Phone frame */
.phone {
  border-radius: 34px; padding: 7px;
  background: #000; border: 1px solid #2e2e2e;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.phone img { width: 100%; border-radius: 28px; }
.phone--short { overflow: hidden; }
.phone--short img { aspect-ratio: 660 / 1000; object-fit: cover; object-position: top; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); transition: color 150ms ease;
}
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.hero__dots, .download__dots {
  position: absolute; left: 0; right: 0; top: -240px; bottom: -240px; pointer-events: none;
  background-image: var(--dots); background-size: 40px 40px; background-position: 20px 20px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 60% at 78% 50%, rgba(200,255,30,0.10), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(10,10,10,0.7);
}
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.hero__title {
  margin-top: 28px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(52px, 7.5vw, 96px); line-height: 0.92; letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__lede { margin-top: 28px; max-width: 36ch; font-size: 16px; color: var(--ink-2); }
.hero__cta { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__cta .mono { white-space: nowrap; }

.stats { margin-top: 48px; display: flex; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column-reverse; padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat__value { font-family: var(--display); font-size: 30px; line-height: 1; margin-bottom: 8px; }

.hero__phone { width: min(300px, 100%); justify-self: end; }

/* Claim strip */
.claim { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.claim__inner { min-height: 72px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.claim__title { font-family: var(--display); font-size: 17px; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1; }
.claim__sub { font-size: 12px; color: var(--ink-2); }

/* Marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); padding: 20px 0; }
.marquee__track {
  display: flex; align-items: center; gap: 44px; width: max-content;
  font-family: var(--display); font-size: 26px; text-transform: uppercase; color: var(--ink-3); letter-spacing: 0.01em;
  animation: marquee 40s linear infinite;
}
.marquee__track i { font-style: normal; color: var(--accent); font-family: var(--body); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section furniture */
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section__head--stack { flex-direction: column; gap: 10px; align-items: flex-start; }
.section__title { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.5vw, 46px); line-height: 1; text-transform: uppercase; }

/* Steps */
.steps { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--bg-2); }
.step { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.step:last-child { border-right: 0; }
.step__shot { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.step__shot img { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 28px 24px 32px; }
.step__num { display: block; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--accent); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--ink-2); max-width: 32ch; }

/* Looks */
.looks { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.looks__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.looks__phone { width: min(320px, 100%); }
.looks__copy .section__head { margin-bottom: 32px; }
.lookList { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.look { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.look h3 { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.look p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.look__swatch { flex: 0 0 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); background: #161616; position: relative; }
.look__swatch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--ink); }
.look__swatch--bold { background: #000; }
.look__swatch--neon { background: radial-gradient(circle at 50% 50%, rgba(200,255,30,0.25), #0d0d0d 70%); }
.look__swatch--neon::after { background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 400;
}
.tag--pro { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.looks__note { margin-top: 20px; font-size: 13px; color: var(--ink-2); max-width: 52ch; }

/* Proof */
.proof { padding: var(--section) 0; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.proof__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.proof__copy h3 { font-size: 17px; font-weight: 600; }
.proof__copy h3 + p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.proof__copy p + h3 { margin-top: 28px; }
.proof__free { margin-top: 28px; color: var(--accent); }

/* Pricing */
.pricing { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plan { position: relative; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); display: flex; flex-direction: column; }
.plan--pro { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-tint), #0a0d00); }
.plan__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.plan__name { font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; }
.plan__price { font-family: var(--display); font-size: 22px; line-height: 1; }
.plan--pro .plan__name, .plan--pro .plan__price { color: var(--accent); }
.plan__badge {
  position: absolute; top: -1px; right: 24px;
  padding: 6px 12px; border-radius: 0 0 8px 8px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.plan__list { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink); flex: 1; margin-bottom: 28px; }
.plan__list li { padding-left: 22px; position: relative; }
.plan__list li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 6px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg);
}
.plan--pro .plan__list li::before { border-color: var(--accent); }
.plan__fine { margin-top: 12px; font-size: 11px; color: var(--ink-3); text-align: center; }

/* Download */
.download {
  position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 128px) 0; border-bottom: 1px solid var(--line); text-align: center;
}
.download::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 60% at 50% 50%, rgba(200,255,30,0.10), transparent 70%);
}
.download__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.download__title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 84px); line-height: 0.92; text-transform: uppercase; }
.download__title span { display: block; }

/* Footer */
.footer { padding: 26px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__links { display: flex; align-items: center; gap: 20px; }
.footer__links a { color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
.footer__icon svg { width: 15px; height: 15px; fill: currentColor; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__phone { justify-self: center; width: min(260px, 100%); margin-top: 8px; }
  .steps__grid { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step__shot { aspect-ratio: 16 / 9; }
  .looks__grid { grid-template-columns: 1fr; }
  .looks__phone { width: min(260px, 100%); order: 2; margin-inline: auto; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__copy { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .plans { grid-template-columns: 1fr; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__grid .phone--short { width: min(260px, 100%); margin-inline: auto; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 36px; }
  .stat { padding-right: 14px; margin-right: 14px; }
  .stat .mono { font-size: 9px; letter-spacing: 0.08em; }
  .stat__value { font-size: 24px; }
  .claim__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 360px) {
  .btn--lg { padding: 14px 18px; font-size: 11px; }
  .hero__title { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .btn { transition: none; }
}

/* Legal pages */
.legal { padding: clamp(48px, 6vw, 80px) 0 var(--section); }
.legal__wrap { max-width: 720px; }
.legal__head { margin-bottom: 32px; }
.legal__head .mono { margin-top: 12px; display: block; }
.legal__summary { padding: 24px; border: 1px solid var(--accent); border-radius: 14px; background: linear-gradient(180deg, var(--accent-tint), #0a0d00); margin-bottom: 32px; }
.legal__summary h2 { font-family: var(--display); font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--accent); margin-bottom: 14px; }
.legal__summary ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.legal__summary strong { color: var(--ink); font-weight: 600; }
.legal__toc { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__toc ol { list-style: decimal; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 14px; }
.legal__toc a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.legal__toc a:hover { color: var(--ink); }
.legal section { margin-bottom: 40px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 14px; }
.legal h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal p strong, .legal li strong { color: var(--ink); font-weight: 600; }
.legal section ul { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.legal section ul li { padding-left: 18px; position: relative; }
.legal section ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--accent); }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.legal a:hover { text-decoration-color: var(--accent); }
.legal code { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.legal address { font-style: normal; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 600px) { .legal__toc ol { grid-template-columns: 1fr; } }

/* Consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; justify-content: center;
}
.consent[hidden] { display: none; }
.consent__inner {
  width: min(720px, 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 14px;
  background: #141414; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.consent__text { font-size: 13px; color: var(--ink-2); max-width: 46ch; }
.consent__text strong { color: var(--ink); }
.consent__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 10px; margin-left: auto; }
.btn--consent { padding: 10px 18px; font-size: 11px; width: auto; cursor: pointer; border: 1px solid transparent; font-family: inherit; }
.btn--ghost.btn--consent { border-color: var(--line); }
@media (max-width: 600px) { .consent__actions { width: 100%; } .btn--consent { flex: 1; } }

/* Motion. One orchestrated hero entrance, counters that tick like the app, quiet depth on scroll.
   Everything here is gated on .js (set before first paint) and switched off for reduced motion. */
.hero__grid { position: relative; }
[data-parallax] { will-change: transform; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .hero .pill, .js .hero__title span, .js .hero__lede, .js .hero__cta, .js .stats {
  opacity: 0; animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.js .hero .pill { animation-delay: 60ms; }
.js .hero__title span:nth-child(1) { animation-delay: 140ms; }
.js .hero__title span:nth-child(2) { animation-delay: 240ms; }
.js .hero__title span:nth-child(3) { animation-delay: 340ms; }
.js .hero__lede { animation-delay: 480ms; }
.js .hero__cta { animation-delay: 580ms; }
.js .stats { animation-delay: 700ms; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px) scale(0.97); } to { opacity: 1; transform: none; } }
.js .hero__phone { opacity: 0; animation: phoneIn 900ms cubic-bezier(0.2, 0.7, 0.2, 1) 500ms forwards; }
.js .hero__phone.is-settled { animation: none; opacity: 1; }

.js [data-reveal], .js [data-reveal-group] > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-visible, .js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
.js [data-parallax].is-visible { transition-property: opacity; }

@media (prefers-reduced-motion: reduce) {
  .js .hero .pill, .js .hero__title span, .js .hero__lede, .js .hero__cta, .js .stats, .js .hero__phone { animation: none; opacity: 1; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1; transform: none; transition: none; }
  [data-parallax] { transform: none !important; will-change: auto; }
}
