/* =========================================================================
   Marketing UI kit — Rover508 landing page system
   Tokens come from colors_and_type.css, which MUST be loaded in the HTML
   BEFORE this file. Do not @import it here — that creates a duplicate
   :root cascade and can reintroduce stale token values from cache.
   ========================================================================= */

/* --- page-local tokens the source uses on top of the brand ---------- */
:root {
  --void-2:       #0D1628;   /* mock bg — slightly raised Void        */
  --void-3:       #111E35;   /* mock header bg                        */
  --teal-dim:     rgba(0, 196, 161, 0.12);
  --teal-border:  rgba(0, 196, 161, 0.22);
  --on-void:      var(--parchment);
  --muted-void:   rgba(240, 237, 232, 0.78);
  --dim-void:     rgba(240, 237, 232, 0.64);
  --on-parch:     var(--void);
  --muted-parch:  rgba(8, 15, 28, 0.68);

  /* landing uses its own radius micro-scale ---------------------------- */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 20px;

  --w: 1120px;
}

/* --- reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--void);
  color: var(--on-void);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 15, 28, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 237, 232, 0.07);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__wordmark {
  font-family: var(--font-wordmark); font-weight: 400; font-size: 22px;
  color: var(--parchment); letter-spacing: -0.03em;
}
.nav__wordmark-dot { color: var(--arc-teal); }
.nav__sep {
  color: var(--dim-void); font-family: var(--font-mono);
  font-size: 16px; margin: 0 2px;
}
.nav__product {
  font-family: var(--font-mono); font-size: 15px;
  color: var(--arc-teal); letter-spacing: 0.02em;
}

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 16px; font-weight: 500;
  color: rgba(240, 237, 232, 0.9); transition: color .18s;
}
.nav__links a:hover { color: var(--parchment); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--arc-teal); color: var(--void);
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  letter-spacing: 0.04em;
  padding: 11px 22px; border-radius: var(--r-sm);
  transition: background .18s, transform .18s;
}
.nav__cta:hover { background: #00d4ae; transform: translateY(-1px); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  background: var(--void);
  padding: 120px 0 100px;
  position: relative; overflow: hidden;
}
.hero__glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(0, 196, 161, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero__left { display: flex; flex-direction: column; align-items: flex-start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--arc-teal);
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--teal-border);
  border-radius: 100px; margin-bottom: 28px;
}
.eyebrow__dot { width: 5px; height: 5px; background: var(--arc-teal); border-radius: 50%; }

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 88px);
  line-height: 1.08; letter-spacing: -0.022em;
  color: var(--parchment);
  margin: 0 0 32px;
}
.hero__h1 em { font-style: italic; color: var(--arc-teal); }

.hero__sub {
  font-size: 17px; line-height: 1.7; color: var(--parchment);
  font-weight: 400;
  max-width: 460px; margin: 0 0 44px;
  opacity: 0.85;
}

.hero__actions {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  flex-wrap: wrap; margin-bottom: 28px;
}

/* buttons — primary/ghost as used in hero, features CTA, final CTA ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--arc-teal); color: var(--void);
  font-family: var(--font-sans); font-weight: 500; font-size: 16px;
  letter-spacing: 0.04em;
  padding: 15px 30px; border-radius: var(--r-md);
  transition: background .2s, transform .2s, box-shadow .2s;
  cursor: pointer; border: none;
}
.btn-primary:hover {
  background: #00d4ae; transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 196, 161, 0.22);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--parchment); font-family: var(--font-sans);
  font-weight: 500; font-size: 16px;
  letter-spacing: 0.04em;
  padding: 15px 30px; border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 232, 0.45);
  background: transparent;
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--parchment);
  background: rgba(240, 237, 232, 0.06);
}

/* Ghost on parchment surface — inverted ink */
[data-surface="light"] .btn-ghost,
.tier:not(.tier--featured) .btn-ghost {
  color: var(--void);
  border-color: rgba(8, 15, 28, 0.35);
}
[data-surface="light"] .btn-ghost:hover,
.tier:not(.tier--featured) .btn-ghost:hover {
  border-color: var(--void);
  background: rgba(8, 15, 28, 0.04);
}

.hero__compat {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--dim-void); letter-spacing: 0.04em;
}
.hero__compat b { color: rgba(240, 237, 232, 0.4); font-weight: 400; }

.hero__tally {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--dim-void); letter-spacing: 0.04em;
  margin: 0 0 18px;
}
.hero__tally b {
  color: var(--arc-teal); font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.hero__tally-sep { color: rgba(240, 237, 232, 0.25); }
.hero__tally-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--arc-teal);
  box-shadow: 0 0 0 0 rgba(0, 196, 161, 0.6);
  animation: tallyPulse 2.4s ease-out infinite;
}
@keyframes tallyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 196, 161, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 196, 161, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 196, 161, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__tally-dot { animation: none; }
}

.hero__right { position: relative; }

/* --- extension mock (hero right column) ----------------------------- */
.hero__mock {
  margin: 0; max-width: 100%;
  background: var(--void-2);
  border: 1px solid rgba(240, 237, 232, 0.08);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,196,161,0.06);
  text-align: left;
}
.mock__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--void-3);
  border-bottom: 1px solid rgba(240, 237, 232, 0.06);
}
.mock__title-row { display: flex; align-items: center; gap: 8px; }
.mock__logo-sm { width: 18px; height: 18px; }
.mock__name {
  font-family: var(--font-wordmark); font-size: 13px; font-weight: 400;
  color: var(--parchment); letter-spacing: -0.02em;
}
.mock__tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--arc-teal); letter-spacing: 0.08em;
}
.mock__status {
  font-family: var(--font-mono); font-size: 10.5px;
  display: flex; align-items: center; gap: 6px;
  color: var(--arc-teal);
}
.mock__status-dot {
  width: 6px; height: 6px; background: var(--arc-teal);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity: 0.4; } }

.mock__summary {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(240, 237, 232, 0.06);
}
.mock__stat {
  flex: 1; padding: 16px 18px;
  border-right: 1px solid rgba(240, 237, 232, 0.06);
}
.mock__stat:last-child { border-right: none; }
.mock__stat-n {
  font-family: var(--font-display); font-size: 28px;
  line-height: 1; margin-bottom: 4px;
}
.mock__stat-n--teal  { color: var(--arc-teal); }
.mock__stat-n--ember { color: var(--ember); }
.mock__stat-n--serious { color: #e07060; }
.mock__stat-n--dim   { color: var(--muted-void); }
.mock__stat-label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--dim-void); letter-spacing: 0.08em; text-transform: uppercase;
}

.mock__issues { padding: 12px; display: flex; flex-direction: column; gap: 6px; }

.issue {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-md);
  background: rgba(240, 237, 232, 0.03);
  border: 1px solid rgba(240, 237, 232, 0.05);
}
.issue__badge {
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500;
  padding: 2px 7px; border-radius: 3px;
  white-space: nowrap; flex-shrink: 0; margin-top: 1px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.issue__badge--critical { background: rgba(217, 119, 6, 0.15); color: var(--ember); border: 1px solid rgba(217, 119, 6,0.25); }
.issue__badge--serious  { background: rgba(217, 119, 6, 0.08); color: #e07060;     border: 1px solid rgba(217, 119, 6,0.15); }
.issue__badge--pass     { background: rgba(0, 196, 161, 0.08); color: var(--arc-teal); border: 1px solid var(--teal-border); }
.issue__body { flex: 1; min-width: 0; }
.issue__title { font-size: 13px; font-weight: 500; color: var(--on-void); margin-bottom: 2px; }
.issue__meta  { font-family: var(--font-mono); font-size: 10.5px; color: var(--dim-void); }
.issue__wcag  { font-family: var(--font-mono); font-size: 10px; color: var(--arc-teal); margin-left: 8px; }

.mock__footer {
  padding: 10px 18px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.mock__footer-text { font-family: var(--font-mono); font-size: 10px; color: var(--dim-void); letter-spacing: 0.04em; }
.mock__footer-link { font-family: var(--font-mono); font-size: 10px; color: var(--arc-teal); letter-spacing: 0.04em; }

/* =========================================================================
   TEAL LINE — hero/proof separator
   ========================================================================= */
.teal-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--arc-teal) 50%, transparent 100%);
  opacity: 0.3;
}

/* =========================================================================
   PROOF STRIP
   ========================================================================= */
.proof {
  background: var(--parchment);
  padding: 52px 0;
  border-top: 1px solid rgba(8, 15, 28, 0.08);
}
.proof__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof__item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid rgba(8, 15, 28, 0.1);
  min-width: 0;
}
.proof__item:first-child { padding-left: 0; }
.proof__item:last-child { border-right: none; }
.proof__val {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--on-parch);
  line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em;
  white-space: nowrap;
}
.proof__label {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted-parch); letter-spacing: 0.08em; text-transform: uppercase;
}

/* =========================================================================
   SECTION SHARED
   ========================================================================= */
.sec { padding: 96px 0; }
.sec--parch { background: var(--parchment); }
.sec--void  { background: var(--void); }

.sec-label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.sec-label--teal { color: var(--arc-teal-text); }
.sec-label--dim  { color: var(--muted-parch); }

.sec-h2 {
  font-family: var(--font-display);
  line-height: 1.12; letter-spacing: -0.022em;
  font-weight: 400;
}
.sec-h2--light { color: var(--parchment); font-size: clamp(30px, 4vw, 46px); }
.sec-h2--dark  { color: var(--on-parch);  font-size: clamp(30px, 4vw, 46px); }

.sec-body { font-size: 16.5px; line-height: 1.75; }
.sec-body--light { color: var(--muted-void); }
.sec-body--dark  { color: var(--muted-parch); }

/* =========================================================================
   STEPS (HOW IT WORKS) — two-column, editorial italic numerals
   ========================================================================= */
.steps__head { text-align: left; margin-bottom: 0; max-width: 520px; }
.steps__head .sec-body { max-width: 460px; margin: 12px 0 0; }

.steps__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: start;
}
.steps__list { padding-top: 8px; }
.steps__grid { display: flex; flex-direction: column; }

.step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 32px; padding: 36px 0;
  border-bottom: 1px solid rgba(8, 15, 28, 0.1);
  align-items: start;
}
.step:first-child { border-top: 1px solid rgba(8, 15, 28, 0.1); }
.step__num {
  font-family: var(--font-display); font-style: italic;
  font-size: 52px; line-height: 1; letter-spacing: -0.03em;
  color: rgba(0, 196, 161, 0.25);
}
.step__title { font-weight: 500; font-size: 17px; color: var(--on-parch); margin-bottom: 8px; }
.step__body  { font-size: 14.5px; line-height: 1.7; color: var(--muted-parch); }

/* =========================================================================
   FEATURES — sticky-left anchor, right column stack of feature cards
   ========================================================================= */
.features__layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.features__left { position: sticky; top: 80px; }
.features__left .sec-body { margin-top: 16px; max-width: 440px; }

.features__grid { display: flex; flex-direction: column; gap: 12px; }
.feat {
  padding: 20px; border-radius: var(--r-md);
  border: 1px solid rgba(240, 237, 232, 0.07);
  transition: border-color .2s;
}
.feat:hover { border-color: rgba(0, 196, 161, 0.2); }
.feat__label {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--arc-teal-text); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.feat__title { font-weight: 500; font-size: 15px; color: var(--parchment); margin-bottom: 5px; }
.feat__body  { font-size: 13.5px; line-height: 1.65; color: var(--muted-void); }

/* =========================================================================
   COMPARISON TABLE
   ========================================================================= */
.comparison__head { text-align: left; margin-bottom: 48px; }
.comparison__head .sec-body { max-width: 460px; margin: 10px 0 0; }

.cmp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp-table thead th {
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  padding: 14px 20px; text-align: left;
  border-bottom: 2px solid rgba(8,15,28,0.1);
  color: var(--on-parch);
}
.cmp-table thead th:first-child {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  color: var(--muted-parch); letter-spacing: 0.08em; text-transform: uppercase;
}
.cmp-table thead th.arca-col {
  background: rgba(0,196,161,0.08);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  color: var(--on-parch);
}
.cmp-table tbody td {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(8,15,28,0.06);
  color: var(--on-parch);
}
.cmp-table tbody td.arca-col { background: rgba(0,196,161,0.05); font-weight: 500; }
.cmp-table tbody tr:last-child td { border-bottom: none; }

.chk  { color: var(--arc-teal-text); font-size: 17px; }
.crs  { color: var(--risk-orange-text);    font-size: 17px; }
.part { color: var(--muted-parch); font-size: 13px; font-style: italic; }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final-cta {
  background: var(--void); padding: 112px 0;
  text-align: center; position: relative; overflow: hidden;
}
.final-cta__glow {
  position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,196,161,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta__quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--muted-void); max-width: 560px;
  margin: 0 auto 32px; line-height: 1.45;
  border-left: 2px solid var(--teal-border);
  padding-left: 20px; text-align: left;
}
.final-cta__h2 {
  font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08; letter-spacing: -0.025em;
  color: var(--parchment); max-width: 580px;
  margin: 0 auto 16px;
  font-weight: 400;
}
.final-cta__sub { font-size: 15px; color: var(--muted-void); margin-bottom: 40px; }
.final-cta__actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background: var(--void);
  border-top: 1px solid rgba(0, 196, 161, 0.18);
  padding: 48px 0;
}
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__left  { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.footer__lockup {
  height: 28px; width: auto; display: block;
  /* Lockup JPG has a baked-in dark background that visually matches the
     void footer, so no masking is needed. */
}
.footer__meta  {
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
  color: var(--dim-void); letter-spacing: 0.04em;
}
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer__links a {
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
  color: var(--dim-void); letter-spacing: 0.04em;
  transition: color .18s;
}
.footer__links a:hover { color: var(--arc-teal); }

/* =========================================================================
   RESPONSIVE — collapse to single-column flows
   ========================================================================= */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__left { align-items: flex-start; }
  .features__layout { grid-template-columns: 1fr; gap: 48px; }
  .features__left { position: static; }
  .steps__layout { grid-template-columns: 1fr; gap: 48px; }
  .proof__inner { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .proof__item { border-right: none; }
  .proof__item:nth-child(odd) { padding-left: 0; border-right: 1px solid rgba(8,15,28,0.1); }
  .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 0 56px; }
  .proof__inner { grid-template-columns: 1fr; }
  .proof__item { border-right: none; border-bottom: 1px solid rgba(8,15,28,0.1); padding: 24px 0; }
  .proof__item:first-child { padding-top: 0; }
  .proof__item:last-child { border-bottom: none; }
  .final-cta__quote { text-align: center; border-left: none; padding-left: 0; }
  .step { grid-template-columns: 40px 1fr; gap: 20px; }
  .step__num { font-size: 38px; }
}

/* =========================================================================
   CUSTOMER STRIP. Dark band with grayscale logo row.
   ========================================================================= */
.customer-strip {
  background: var(--void);
  padding: 56px 0 64px;
  border-top: 1px solid rgba(240, 237, 232, 0.06);
}
.customer-strip__caption {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-void);
  text-align: center;
  margin-bottom: 36px;
  font-weight: 500;
}
.customer-strip__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.customer-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}
.customer-strip__item img {
  max-height: 100%;
  width: auto;
  opacity: 0.92;
  transition: opacity 160ms ease;
  object-fit: contain;
}
.customer-strip__item:hover img { opacity: 1; }

@media (max-width: 720px) {
  .customer-strip { padding: 40px 0 48px; }
  .customer-strip__row { gap: 40px 48px; }
  .customer-strip__item img { max-height: 28px; }
}
