/* SoloARV.com — shared stylesheet */
:root {
  --bg:      #14101e;
  --bg-2:    #1c1729;
  --panel:   #1f1a2e;
  --border:  #322a45;
  --text:    #ece9f6;
  --muted:   #a8a1bd;
  --brand-1: #6d28d9;
  --brand-2: #a78bfa;
  --accent:  #c4b5fd;
  --brand-teal: #4fd1c5;
  --brand-gold: #fbbf24;
  --ok:      #34d399;
  --warn:    #fbbf24;
  --danger:  #f87171;
  --nav-h:   64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(20,16,30,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--text);
  text-decoration: none;
}
.nav-brand .orb {
  width: 32px; height: 32px; border-radius: 9px;
  flex-shrink: 0;
}
.nav-brand sup {
  font-size: 10px; color: var(--muted); margin-left: 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 7px 13px; border-radius: 7px;
  font-size: 14px; color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: var(--panel);
  text-decoration: none;
}
.nav-cta {
  padding: 8px 18px !important;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)) !important;
  color: white !important; font-weight: 600;
  border-radius: 8px !important;
}
.nav-cta:hover { filter: brightness(1.1); background: unset; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; }

@media (max-width: 720px) {
  .nav-mobile-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--panel); border-bottom: 1px solid var(--border);
    padding: 12px 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container { max-width: 960px; margin: 0 auto; padding: 0 28px; }
.section   { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; }
h2 { font-size: clamp(22px, 3.5vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.3px; }
h3 { font-size: 18px; font-weight: 600; }
.lead { font-size: 18px; color: var(--muted); line-height: 1.65; max-width: 640px; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: 12px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font: 600 16px/1 inherit; cursor: pointer;
  border: none; transition: filter 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: white;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.card-accent { border-color: var(--brand-1); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(109,40,217,0.18) 0%, transparent 70%);
  text-align: center;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ── Feature grid ────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card { text-align: center; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(109,40,217,0.25), rgba(167,139,250,0.1));
  border: 1px solid rgba(109,40,217,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.feature-icon.teal {
  background: linear-gradient(135deg, rgba(79,209,197,0.25), rgba(79,209,197,0.08));
  border-color: rgba(79,209,197,0.4);
}
.feature-icon.gold {
  background: linear-gradient(135deg, rgba(251,191,36,0.25), rgba(251,191,36,0.08));
  border-color: rgba(251,191,36,0.4);
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }

@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }
@media (min-width: 480px) and (max-width: 720px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

/* ── Steps ───────────────────────────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 23px; top: 28px; bottom: 28px; width: 1px;
  background: var(--border);
}
.step { display: flex; gap: 20px; padding: 20px 0; position: relative; z-index: 1; }
.step-num {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: var(--brand-2);
}
.step-num.teal { color: var(--brand-teal); border-color: rgba(79,209,197,0.4); }
.step-num.gold { color: var(--brand-gold); border-color: rgba(251,191,36,0.4); }
.step-body h3 { margin-bottom: 6px; }
.step-body p { color: var(--muted); font-size: 15px; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Pricing cards ───────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card { display: flex; flex-direction: column; }
.pricing-card.featured {
  border-color: var(--brand-1);
  background: linear-gradient(160deg, rgba(109,40,217,0.12), var(--panel));
}
.pricing-badge {
  display: inline-block; padding: 4px 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  border-radius: 999px; font-size: 12px; font-weight: 600; color: white;
  margin-bottom: 16px; align-self: flex-start;
}
.price { font-size: 42px; font-weight: 700; line-height: 1; margin: 8px 0 4px; }
.price sub { font-size: 18px; font-weight: 400; color: var(--muted); vertical-align: middle; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 28px; flex: 1; }
.feature-list li { display: flex; gap: 10px; font-size: 15px; }
.feature-list li::before { content: '✓'; color: var(--ok); font-weight: 700; flex-shrink: 0; }
.feature-list li.no::before { content: '✗'; color: var(--border); }
.feature-list li.no { color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
details {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--panel); overflow: hidden;
}
details + details { margin-top: 8px; }
summary {
  padding: 18px 22px; cursor: pointer; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand-2); font-size: 20px; font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: '−'; }
details[open] summary { border-bottom: 1px solid var(--border); }
.faq-body { padding: 18px 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-body p + p { margin-top: 10px; }
.faq-body a { color: var(--accent); }

/* ── Prose (privacy, arv) ────────────────────────────────────────────────── */
.prose { max-width: 720px; }
.prose h2 { font-size: 20px; margin: 36px 0 10px; color: var(--text); scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h3 { font-size: 16px; margin: 24px 0 8px; }
.prose p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.prose ul, .prose ol { color: var(--muted); font-size: 15px; padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose th { text-align: left; padding: 10px 14px; background: var(--bg-2); color: var(--text); font-weight: 600; border: 1px solid var(--border); }
.prose td { padding: 10px 14px; color: var(--muted); border: 1px solid var(--border); vertical-align: top; }
.prose code { font-family: "SF Mono", "Fira Code", monospace; font-size: 13px; background: var(--bg-2); padding: 2px 6px; border-radius: 4px; color: var(--accent); }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose .callout {
  background: var(--bg-2); border-left: 3px solid var(--brand-2);
  border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 18px 0;
}

/* ── Trial flow (arv.html) — vertical snaking timeline ──────────────────── */
/* Steps are wrapper elements only (display:contents) — their node/bubble
   children are placed directly into ONE grid on .flow-timeline with
   explicit, identical row heights. This guarantees every step is exactly
   the same distance apart; it does not depend on any step's content height. */
.flow-timeline {
  position: relative; max-width: 780px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  grid-template-rows: repeat(7, 140px);
  column-gap: 24px; row-gap: 0;
}
.flow-timeline::before {
  content: ''; position: absolute; left: 50%; top: 70px; bottom: 70px;
  width: 2px; background: var(--border); transform: translateX(-50%); z-index: 0;
}
.flow-step { display: contents; }

.flow-step:nth-child(1) .flow-node, .flow-step:nth-child(1) .flow-bubble { grid-row: 1; }
.flow-step:nth-child(2) .flow-node, .flow-step:nth-child(2) .flow-bubble { grid-row: 2; }
.flow-step:nth-child(3) .flow-node, .flow-step:nth-child(3) .flow-bubble { grid-row: 3; }
.flow-step:nth-child(4) .flow-node, .flow-step:nth-child(4) .flow-bubble { grid-row: 4; }
.flow-step:nth-child(5) .flow-node, .flow-step:nth-child(5) .flow-bubble { grid-row: 5; }
.flow-step:nth-child(6) .flow-node, .flow-step:nth-child(6) .flow-bubble { grid-row: 6; }
.flow-step:nth-child(7) .flow-node, .flow-step:nth-child(7) .flow-bubble { grid-row: 7; }

.flow-node {
  grid-column: 2; align-self: center; justify-self: center; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.flow-title-row { display: flex; align-items: center; gap: 6px; }
.flow-actor {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--bg);
}
/* Every "you" step uses the same clear teal circle; every SoloARV step uses the same clear gold circle. */
.flow-actor.actor-person { background: var(--brand-teal); }
.flow-actor.actor-solo { background: var(--brand-gold); }
.flow-actor img { width: 36px; height: 36px; border-radius: 9px; }
.flow-node h3 { font-size: 14.5px; margin: 0; }
.flow-icon { font-size: 17px; }
.flow-bubble {
  align-self: center; position: relative; z-index: 1;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 18px;
}
.flow-bubble p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }
.flow-step:nth-child(odd) .flow-bubble { grid-column: 3; }
.flow-step:nth-child(even) .flow-bubble { grid-column: 1; }

@media (max-width: 640px) {
  .flow-timeline { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; row-gap: 16px; }
  .flow-timeline::before { display: none; }
  .flow-step:nth-child(n) .flow-node,
  .flow-step:nth-child(odd) .flow-bubble,
  .flow-step:nth-child(even) .flow-bubble { grid-row: auto; grid-column: 1; }
}

/* ── Video grid (arv.html) ───────────────────────────────────────────────── */
.video-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 28px;
  max-width: 880px; margin: 0 auto;
}
.video-item:first-child { grid-column: 1 / -1; }
.video-item:first-child .video-frame { max-width: 640px; margin: 0 auto; }
.video-frame {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-2);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item h3 { margin-top: 14px; margin-bottom: 6px; font-size: 16px; }
.video-item p { color: var(--muted); font-size: 14px; }

@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-item:first-child .video-frame { max-width: none; }
}

/* ── CTA banner ──────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(109,40,217,0.2), rgba(167,139,250,0.08));
  border: 1px solid rgba(109,40,217,0.3);
  border-radius: 20px; padding: 56px 40px;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p { color: var(--muted); margin: 0 auto 30px; max-width: 520px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--muted);
  max-width: 960px; margin: 0 auto;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ── Misc ────────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-row { display: flex; gap: 14px; flex-wrap: wrap; }

.pill {
  display: inline-block; padding: 4px 12px;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; color: var(--muted);
}
