/* =====================================================
   RigValue marketing site — design tokens
   Palette pulled from the app's real brand mark & UI:
   gold RV mark, moss-green "value up" tags, warm paper.
===================================================== */
:root {
  --paper: #F6F3EC;
  --paper-2: #EEE9DB;
  --ink: #17160F;
  --ink-2: #221F17;
  --gold: #DFA23A;
  --gold-deep: #B87F1F;
  --moss: #3D7A52;
  --moss-light: #E4EFE7;
  --clay: #C2542E;
  --line: #DDD6C4;
  --line-soft: #E7E1D2;
  --text: #211F17;
  --text-muted: #706C5E;
  --text-on-dark: #F6F3EC;
  --text-on-dark-muted: rgba(246, 243, 236, 0.62);
  --line-on-dark: rgba(246, 243, 236, 0.16);

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  --container: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(23, 22, 15, 0.04), 0 12px 28px -14px rgba(23, 22, 15, 0.18);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-bottom: 48px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-large { padding: 17px 30px; font-size: 1rem; }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }
.apple-mark { width: 17px; height: 17px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.82);
  backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; object-fit: cover; }
.brand-mark.small { width: 30px; height: 30px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-word em { color: var(--gold-deep); font-style: normal; }
.primary-nav { display: flex; gap: 28px; }
.primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.primary-nav a:hover { color: var(--text); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px 28px 22px;
  border-top: 1px solid var(--line-soft);
}
.mobile-nav a { padding: 12px 4px; font-weight: 500; }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }
.mobile-nav.open { display: flex; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}
.topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold-deep);
  opacity: 0.16;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--moss);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold-deep);
  position: relative;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-inline-link {
  color: var(--moss);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(61, 122, 82, 0.35);
  text-underline-offset: 3px;
}
.hero-inline-link:hover { text-decoration-color: var(--moss); }

/* ---- rig valuation card (signature element) ---- */
.hero-demo { position: relative; }
.rig-card {
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  box-shadow: 0 30px 60px -25px rgba(23,22,15,0.45);
  position: relative;
  overflow: hidden;
}
.rig-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(223,162,58,0.16), transparent 55%);
  pointer-events: none;
}
.rig-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.rig-card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  transition: opacity 0.15s ease;
}
.rig-card-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
}
.rig-card-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 0 rgba(61,122,82,0.6);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(61,122,82,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(61,122,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,122,82,0); }
}
.rig-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  transition: opacity 0.2s ease;
}
.rig-card-meta {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 22px;
  transition: opacity 0.2s ease;
}
.rig-card-price {
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 20px 0;
  margin-bottom: 18px;
}
.rig-card-price-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-muted);
  margin-bottom: 6px;
}
.rig-card-price-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  color: var(--gold);
  display: block;
  font-variant-numeric: tabular-nums;
}
.rig-card-delta {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--moss-light);
  color: var(--moss);
}
.rig-card-delta.up { background: rgba(61,122,82,0.18); color: #8FD3A6; }
.rig-card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.rig-card-row > div { display: flex; flex-direction: column; gap: 4px; }
.rig-card-row .k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-dark-muted);
}
.rig-card-row .v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
}
.rig-card-picks {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.rig-pick {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s ease;
}
.rig-pick:hover { border-color: var(--gold-deep); color: var(--text); }
.rig-pick.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ============ HOW IT WORKS ============ */
.how { padding: 90px 0; border-bottom: 1px solid var(--line-soft); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.how-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.how-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.how-step p { color: var(--text-muted); max-width: 32ch; }

/* ============ FEATURES ============ */
.features { padding: 96px 0 60px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
}
.feature-row.reverse .feature-visual { order: -1; }
.feature-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--moss);
}
.feature-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  margin: 12px 0 16px;
  letter-spacing: -0.01em;
}
.feature-text p { color: var(--text-muted); max-width: 42ch; font-size: 1.02rem; }

.feature-visual { display: flex; justify-content: center; }
.phone-frame {
  width: min(260px, 80vw);
  border-radius: 34px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease);
}
.phone-frame:hover { transform: translateY(-4px); }
.phone-frame img { border-radius: 26px; }
.phone-frame.small { width: min(190px, 70vw); }

.feature-cards {
  margin-top: 40px;
  padding-top: 56px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 26px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--paper-2);
  transition: border-color 0.2s ease, transform 0.3s var(--ease);
}
.feature-card:hover { border-color: var(--line); transform: translateY(-3px); }
.feature-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---- illustrative concept mockups (Manual DB) ---- */
.mock-card {
  width: min(340px, 90vw);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px;
}
.mock-manual {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  margin-bottom: 16px;
  color: var(--text);
}
.mock-search span { color: var(--text-muted); }
.manual-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px;
  border-top: 1px solid var(--line-soft);
}
.manual-row:last-child { padding-bottom: 0; }
.manual-row-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.95rem;
}
.manual-row div { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.manual-row strong { font-size: 0.9rem; font-weight: 600; }
.manual-row small { font-size: 0.78rem; color: var(--text-muted); }
.manual-row-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ============ AI MECHANIC (flagship Pro band) ============ */
.mechanic {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 96px 0;
}
.mechanic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 88% 8%, rgba(223,162,58,0.08), transparent 55%);
  pointer-events: none;
}
.mechanic-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.pro-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
  border: 1px solid rgba(223, 162, 58, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.mechanic-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.mechanic-sub {
  font-size: 1.06rem;
  color: var(--text-on-dark-muted);
  max-width: 48ch;
  margin-bottom: 28px;
}
.mechanic-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-bottom: 38px;
  max-width: 560px;
}
.mechanic-points li {
  border-top: 1px solid rgba(246, 243, 236, 0.14);
  padding-top: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}
.mechanic-points li strong {
  display: block;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  margin-bottom: 5px;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: #ecb75a; transform: translateY(-1px); }

/* Ralph chat card */
.ralph-card {
  background: var(--paper);
  color: var(--text);
  border-radius: 20px;
  border: 1px solid rgba(246, 243, 236, 0.12);
  box-shadow: 0 24px 56px -24px rgba(0,0,0,0.5);
  padding: 18px 18px 16px;
  max-width: 410px;
  justify-self: center;
  width: 100%;
}
.ralph-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.ralph-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
}
.ralph-avatar svg { width: 13px; height: 13px; }
.ralph-id { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.ralph-id strong { font-size: 0.92rem; letter-spacing: -0.01em; }
.ralph-id small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
}
.ralph-id small i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 0 rgba(61,122,82,0.6);
  animation: pulse-dot 2.2s infinite;
}
.ralph-247 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--moss);
  border: 1px solid rgba(61, 122, 82, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.r-bubble {
  font-size: 0.86rem;
  line-height: 1.5;
  padding: 11px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}
.r-bot {
  background: var(--paper-2);
  border-bottom-left-radius: 4px;
  max-width: 94%;
}
.r-user {
  background: var(--ink);
  color: var(--paper);
  margin-left: auto;
  max-width: 82%;
  border-bottom-right-radius: 4px;
}
.r-checklist { margin: 8px 0 0; padding-left: 18px; list-style: disc; }
.r-checklist li { margin-bottom: 4px; }
.r-sources {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}
.ralph-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 16px 0 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.ralph-chips span {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  color: var(--text-muted);
}
.ralph-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 15px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.ralph-input i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px; height: 27px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ============ STATEMENT / DARK BAND ============ */
.statement {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 110px 0 96px;
}
.topo-statement { color: var(--gold); opacity: 0.14; }
.statement-inner { position: relative; text-align: center; }
.statement-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 22px;
}
.statement-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 0 auto;
}

.statement-ticker {
  margin-top: 64px;
  overflow: hidden;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: ticker 34s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ticker-item strong { color: var(--text-on-dark); font-weight: 500; }
.ticker-item .g { color: #8FD3A6; }

/* ============ PRICING ============ */
.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 20px;
  align-items: stretch;
}
.price-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.price-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.price-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.4rem;
  margin: 14px 0 6px;
}
.price-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.price-desc, .price-desc-alt { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 26px; }
.price-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex-grow: 1; }
.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--moss);
  font-weight: 700;
}
.price-card.featured {
  background: var(--ink);
  color: var(--text-on-dark);
  border-color: var(--ink);
  position: relative;
}
.price-card.featured .price-desc-alt { color: var(--text-on-dark-muted); }
.price-card.featured .price-amount span { color: var(--text-on-dark-muted); }
.price-card.featured .price-list li::before { color: var(--gold); }
.price-badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card.featured .btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.price-card.featured .btn-primary:hover { background: #ecb75a; }

.price-visual { display: flex; align-items: center; justify-content: center; }

/* ============ FINAL CTA ============ */
.final-cta { padding: 100px 0 120px; text-align: center; }
.final-cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.final-cta-inner p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 36px;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-inner .brand-word { color: var(--text-on-dark); }
.footer-inner .brand-word em { color: var(--gold); }
.footer-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--text-on-dark); }
.footer-copy {
  width: 100%;
  font-size: 0.8rem;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid var(--line-on-dark);
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-demo { max-width: 460px; }
  .how-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .price-visual { display: none; }
}

@media (max-width: 860px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-visual { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
  .mechanic-inner { grid-template-columns: 1fr; gap: 44px; }
  .mechanic { padding: 72px 0; }
  .ralph-card { justify-self: start; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 64px 0 72px; }
  .feature-cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .rig-card-row { flex-wrap: wrap; row-gap: 14px; }
  .footer-nav { margin-left: 0; }
  .statement { padding: 80px 0 68px; }
  .mechanic-points { grid-template-columns: 1fr; gap: 16px; }
}
