/* Runu website — design system v2
   Cinematic, premium, brasileiro. Dark-first com aurora orange ambiente.
   Geist (web fallback Inter) + JetBrains Mono pra códigos.
   Anti-AI-slop: zero cookie-cutter SaaS gradientes. Tipografia heavy. */

:root {
  --bg: #0a0a0b;
  --bg-elev-1: #111114;
  --bg-elev-2: #16161a;
  --bg-elev-3: #1c1c20;
  --ink-50: #fafafa;
  --ink-100: #ededed;
  --ink-200: #d4d4d8;
  --ink-400: #a1a1aa;
  --ink-500: #71717a;
  --ink-600: #52525b;
  --ink-700: #3f3f46;
  --orange-300: #fbab8e;
  --orange-400: #f48563;
  --orange-500: #e85d3a;
  --orange-600: #b8421e;
  --orange-700: #8e2f12;
  --orange-glow: rgba(232, 93, 58, 0.18);
  --orange-glow-soft: rgba(232, 93, 58, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --max-w: 1120px;
  --max-w-narrow: 680px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 12px 48px rgba(232, 93, 58, 0.25);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--ink-50);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter var', 'Inter', system-ui, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

body { overflow-x: hidden; }

::selection { background: var(--orange-500); color: var(--ink-50); }

a {
  color: var(--orange-400);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
a:hover { color: var(--orange-300); }

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

/* ─── Aurora ambient ─── */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora::before, .aurora::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.55;
}
.aurora::before {
  width: 720px; height: 720px; bottom: -200px; right: -200px;
  background: radial-gradient(circle at 30% 30%, var(--orange-500) 0%, var(--orange-700) 35%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 480px; height: 480px; top: -120px; left: -100px;
  background: radial-gradient(circle at 60% 60%, var(--orange-600) 0%, transparent 60%);
  opacity: 0.32;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

/* ─── Nav ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(10, 10, 11, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink-50); border: none;
}
.nav-brand:hover { color: var(--ink-50); }
.nav-brand .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--orange-500); border-radius: 50%;
  margin-right: 2px; box-shadow: 0 0 12px var(--orange-500);
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink-200); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink-50); }
.nav-cta {
  background: var(--orange-500); color: var(--ink-50) !important;
  padding: 9px 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  transition: all 160ms var(--ease-out);
  box-shadow: 0 4px 14px var(--orange-glow);
}
.nav-cta:hover { background: var(--orange-400); transform: translateY(-1px); box-shadow: 0 6px 20px var(--orange-glow); }
@media (max-width: 720px) {
  .nav-links { gap: 18px; }
  .nav-links li:nth-child(-n + 2) { display: none; }
}

/* ─── Layout primitives ─── */
main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 64px 24px 96px;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ─── Hero ─── */
.hero-wrapper {
  position: relative; padding: 80px 0 96px;
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.hero { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }

.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange-300);
  background: rgba(232, 93, 58, 0.12);
  border: 1px solid rgba(232, 93, 58, 0.32);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 28px;
  animation: fadeUp 800ms var(--ease-out);
}
.hero .kicker::before {
  content: ''; width: 6px; height: 6px;
  background: var(--orange-500); border-radius: 50%;
  box-shadow: 0 0 12px var(--orange-500);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700; line-height: 1; letter-spacing: -0.045em;
  margin-bottom: 28px; color: var(--ink-50);
  animation: fadeUp 900ms var(--ease-out) 100ms both;
}
.hero h1 .accent { color: var(--orange-500); font-weight: 600; }

.hero .lede {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--ink-200); max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 400; line-height: 1.5;
  animation: fadeUp 900ms var(--ease-out) 200ms both;
}

.hero-cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-bottom: 40px;
  animation: fadeUp 900ms var(--ease-out) 320ms both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: all 180ms var(--ease-out);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500); color: var(--ink-50) !important;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-400); transform: translateY(-2px);
  box-shadow: 0 16px 56px var(--orange-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--ink-100) !important;
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px);
}
.btn .arrow { transition: transform 180ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  font-size: 13px; color: var(--ink-500); margin-top: 24px;
  animation: fadeUp 900ms var(--ease-out) 460ms both;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .check { color: var(--orange-500); font-weight: 600; }

/* ─── Phone mockup ─── */
.phone {
  position: relative; width: 280px; margin: 56px auto 0;
  padding: 14px;
  background: linear-gradient(180deg, #2a2a2e 0%, #1a1a1e 100%);
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 30px 80px rgba(0, 0, 0, 0.5), 0 12px 32px var(--orange-glow);
  animation: fadeUp 1100ms var(--ease-out) 600ms both;
}
.phone-screen {
  background: #0a0a0a; border-radius: 32px;
  aspect-ratio: 9 / 19.5; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 20px 28px;
}
.phone-screen::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 24px; background: #000; border-radius: 999px;
}
.phone-aurora {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 90%, rgba(232, 93, 58, 0.45) 0%, transparent 55%);
}
.phone-runu {
  font-size: 38px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink-50); position: relative; margin-bottom: 4px;
}
.phone-tag {
  font-size: 18px; line-height: 1.2; font-weight: 300;
  color: var(--ink-200); letter-spacing: -0.02em; position: relative;
}
.phone-tag .ac { color: var(--orange-500); font-weight: 600; }

/* ─── Section header ─── */
.section-header { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-400); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 20px; color: var(--ink-50);
}
.section-lede { font-size: 18px; color: var(--ink-400); line-height: 1.55; font-weight: 400; }

/* ─── Features ─── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feature {
  position: relative; padding: 32px 28px;
  background: var(--bg-elev-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 240ms var(--ease-out); overflow: hidden;
}
.feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 58, 0.4), transparent);
  opacity: 0; transition: opacity 240ms var(--ease-out);
}
.feature:hover {
  border-color: rgba(232, 93, 58, 0.32);
  background: var(--bg-elev-2); transform: translateY(-4px);
}
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(232, 93, 58, 0.12); border: 1px solid rgba(232, 93, 58, 0.32);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 22px;
}
.feature h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-50); margin-bottom: 10px; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--ink-400); }

/* ─── Steps ─── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; position: relative; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.step { background: var(--bg-elev-1); padding: 36px 28px; position: relative; }
.step-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 600;
  color: var(--orange-500); margin-bottom: 16px; letter-spacing: 0.1em;
}
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; color: var(--ink-50); }
.step p { font-size: 15px; color: var(--ink-400); line-height: 1.55; }

/* ─── Quote ─── */
.quote {
  text-align: center; padding: 80px 24px;
  background: var(--bg-elev-1); border: 1px solid var(--border);
  border-radius: var(--radius-xl); position: relative;
}
.quote::before {
  content: '"'; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  font-size: 96px; line-height: 1; color: var(--orange-500);
  font-weight: 700; opacity: 0.6;
}
.quote-text {
  font-size: clamp(22px, 3vw, 32px); font-weight: 500;
  line-height: 1.35; letter-spacing: -0.02em;
  color: var(--ink-50); max-width: 720px; margin: 0 auto 24px;
}
.quote-author { font-size: 14px; color: var(--ink-500); font-weight: 500; letter-spacing: 0.02em; }

/* ─── Pricing ─── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; max-width: 760px; margin: 0 auto;
}
.plan {
  position: relative; padding: 36px 32px;
  background: var(--bg-elev-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 240ms var(--ease-out);
}
.plan-featured {
  border-color: var(--orange-500);
  background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev-1));
  box-shadow: var(--shadow-orange);
}
.plan-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--orange-500); color: var(--ink-50);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan-name { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 10px; }
.plan-price {
  font-size: 44px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink-50); margin-bottom: 4px; line-height: 1;
}
.plan-price .currency { font-size: 24px; vertical-align: super; margin-right: 2px; font-weight: 600; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--ink-500); margin-left: 4px; letter-spacing: 0; }
.plan-tagline { font-size: 14px; color: var(--ink-400); margin: 16px 0 24px; }
.plan-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-200); line-height: 1.5; }
.plan-features .check { color: var(--orange-500); font-weight: 700; flex-shrink: 0; }

/* ─── FAQ ─── */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq details {
  background: var(--bg-elev-1); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  transition: all 200ms var(--ease-out);
}
.faq details[open] { background: var(--bg-elev-2); border-color: rgba(232, 93, 58, 0.2); }
.faq summary {
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 600; color: var(--ink-50);
  list-style: none; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 20px; color: var(--orange-500); font-weight: 400;
  transition: transform 240ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p, .faq details > div { margin-top: 14px; color: var(--ink-400); font-size: 15px; line-height: 1.65; }

/* ─── CTA banner ─── */
.cta-banner {
  text-align: center; padding: 80px 24px;
  background: var(--bg-elev-1);
  border: 1px solid rgba(232, 93, 58, 0.24);
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--orange-glow) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 16px; color: var(--ink-50); }
.cta-banner p { font-size: 18px; color: var(--ink-400); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─── Footer ─── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 24px 40px; margin-top: 80px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--ink-400); margin-top: 16px; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--ink-200); font-size: 14px; font-weight: 500; }
.footer-col a:hover { color: var(--orange-400); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--ink-500);
}
.footer-bottom .made { display: flex; align-items: center; gap: 6px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ─── Doc pages ─── */
.page-doc { max-width: var(--max-w-narrow); }
.page-doc main { padding: 40px 24px 80px; }
.topnav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.topnav .brand { font-weight: 700; font-size: 18px; color: var(--ink-50); border: none; letter-spacing: -0.02em; }
.topnav .brand:hover { color: var(--ink-50); }
.topnav .back { font-size: 14px; color: var(--ink-400); border: none; }
.topnav .back:hover { color: var(--orange-400); }
.markdown { color: var(--ink-200); line-height: 1.7; font-size: 16px; }
.markdown h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink-50); margin: 24px 0 24px; line-height: 1.15; }
.markdown h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-50); margin: 48px 0 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.markdown h2:first-of-type { border-top: none; padding-top: 0; }
.markdown h3 { font-size: 17px; font-weight: 600; color: var(--ink-100); margin: 28px 0 12px; }
.markdown p { margin-bottom: 16px; }
.markdown ul, .markdown ol { padding-left: 24px; margin-bottom: 16px; }
.markdown li { margin-bottom: 8px; }
.markdown table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.markdown th, .markdown td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.markdown th { color: var(--ink-50); font-weight: 600; background: var(--bg-elev-1); }
.markdown code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; background: var(--bg-elev-2); padding: 2px 6px; border-radius: 4px; color: var(--orange-300); }
.markdown blockquote { border-left: 3px solid var(--orange-500); padding-left: 18px; margin: 24px 0; color: var(--ink-400); font-style: italic; }
.markdown a { color: var(--orange-400); border-bottom: 1px solid transparent; }
.markdown a:hover { border-bottom-color: var(--orange-400); }
.markdown hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.loading { color: var(--ink-500); font-style: italic; padding: 40px 0; text-align: center; }

/* ─── 404 ─── */
.page-404 main {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.page-404 .num { font-size: clamp(80px, 16vw, 180px); font-weight: 700; letter-spacing: -0.06em; color: var(--orange-500); line-height: 1; margin-bottom: 24px; }
.page-404 h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.page-404 p { color: var(--ink-400); margin-bottom: 32px; max-width: 420px; }

/* ─────────────────────────────────────────────
   v2 SUPPLEMENT — extends classes used by the
   redesigned index/sobre/faq/suporte/privacidade/termos
   (all backwards-compatible — earlier rules still apply)
   ───────────────────────────────────────────── */

/* Aurora extras */
.aurora-blob { display: none; } /* aurora pseudo-elements already handle bg */

/* Nav additions */
.nav-mark {
  display: inline-block; width: 8px; height: 8px;
  background: var(--orange-500); border-radius: 50%;
  margin-right: 2px;
  box-shadow: 0 0 14px var(--orange-500), 0 0 28px var(--orange-glow);
  align-self: center;
}
.nav-wordmark { font-weight: 700; letter-spacing: -0.04em; }
.nav-link-muted { color: var(--ink-500) !important; }
.nav-link-muted:hover { color: var(--ink-200) !important; }

/* Hero v2 — grid layout w/ phone mockup */
.hero { text-align: left; max-width: var(--max-w); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { text-align: center; }
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange-300);
  width: fit-content;
}
@media (max-width: 880px) { .kicker { margin: 0 auto; } }
.kicker-dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--orange-500); border-radius: 50%;
  box-shadow: 0 0 8px var(--orange-500);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.05;
  font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink-50);
}
.hero h1 .accent {
  color: var(--orange-500);
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 60%, var(--orange-600) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lede { font-size: 18px; color: var(--ink-400); line-height: 1.6; max-width: 520px; }
@media (max-width: 880px) { .hero .lede { margin-left: auto; margin-right: auto; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 880px) { .hero-cta { justify-content: center; } }

.hero-meta {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 6px 12px; align-items: center;
  font-size: 13px; color: var(--ink-500);
  padding: 0;
}
@media (max-width: 880px) { .hero-meta { justify-content: center; } }
.hero-meta .dot { color: var(--ink-700); }

/* Hero visual — phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; z-index: 2;
  width: 320px; max-width: 100%;
  background: linear-gradient(180deg, #1a1a1f 0%, #0d0d10 100%);
  border-radius: 44px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 12px 40px var(--orange-glow);
  transform: rotate(-2deg);
  transition: transform 600ms var(--ease-out);
}
.phone:hover { transform: rotate(0deg) translateY(-4px); }
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #000; border-radius: 0 0 18px 18px;
  z-index: 3;
}
.phone-screen {
  background: linear-gradient(180deg, #131318 0%, #0a0a0c 100%);
  border-radius: 30px; overflow: hidden;
  padding: 44px 18px 22px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 520px;
  position: relative;
}
.phone-screen::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 0%, var(--orange-glow) 0%, transparent 50%);
  pointer-events: none; opacity: 0.7;
}
.phone-screen > * { position: relative; z-index: 1; }
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--ink-400);
  margin-bottom: 6px;
}
.phone-status-icons { letter-spacing: 1px; opacity: 0.7; }
.phone-greeting { display: flex; flex-direction: column; gap: 4px; }
.phone-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange-300);
}
.phone-title { font-size: 22px; font-weight: 700; color: var(--ink-50); letter-spacing: -0.02em; }
.phone-sub { font-size: 13px; color: var(--ink-400); line-height: 1.5; }
.phone-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px; padding: 12px 14px;
}
.phone-card-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--orange-glow);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-400);
}
.phone-card-icon svg { width: 16px; height: 16px; }
.phone-card-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-500);
  margin-bottom: 2px;
}
.phone-card-title { font-size: 13px; font-weight: 600; color: var(--ink-50); margin-bottom: 2px; }
.phone-card-meta { font-size: 11px; color: var(--ink-500); }
.phone-chat { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.phone-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.45;
}
.phone-bubble-runu {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-100);
  border-bottom-left-radius: 4px;
}
.phone-bubble-user {
  align-self: flex-end;
  background: var(--orange-500);
  color: var(--ink-50);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.phone-bubble-typing { display: inline-flex; align-items: center; gap: 6px; }
.typing-dots { display: inline-flex; gap: 3px; }
.typing-dots i {
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-400);
  animation: typingDot 1.2s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}
.phone-glow {
  position: absolute; inset: -40px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 60%);
  filter: blur(40px); z-index: 1;
  pointer-events: none;
}

/* Hero marquee */
.hero-marquee {
  display: flex; gap: 24px; align-items: center;
  margin-top: 64px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-500);
  flex-wrap: wrap; justify-content: center;
}
.hero-marquee .bullet { color: var(--orange-500); font-size: 8px; }

/* Buttons v2 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: all 180ms var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500); color: var(--ink-50);
  box-shadow: 0 8px 24px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background: var(--orange-400); transform: translateY(-1px);
  box-shadow: 0 12px 32px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: var(--ink-50);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-100); border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08); color: var(--ink-50);
  border-color: var(--orange-500);
}
.btn-arrow { transition: transform 180ms var(--ease-out); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: not-allowed; }

/* Sections v2 */
.section { padding: 96px 24px; max-width: var(--max-w); margin: 0 auto; }
.section-elev {
  background: var(--bg-elev-1);
  max-width: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-left: 0; padding-right: 0;
}
.section-elev > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 720px) { .section { padding: 64px 24px; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink-50); line-height: 1.15; margin-bottom: 14px;
}
.section-head .section-lede { font-size: 17px; color: var(--ink-400); line-height: 1.6; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange-300);
  margin-bottom: 16px;
}

/* Features v2 (alias for .features) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.features-grid .feature {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 220ms var(--ease-out);
  position: relative; overflow: hidden;
}
.features-grid .feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-500), transparent);
  opacity: 0; transition: opacity 220ms var(--ease-out);
}
.features-grid .feature:hover {
  background: var(--bg-elev-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.features-grid .feature:hover::before { opacity: 1; }
.features-grid .feature-icon {
  width: 44px; height: 44px;
  background: var(--orange-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-400);
  margin-bottom: 20px;
}
.features-grid .feature-icon svg { width: 22px; height: 22px; }
.features-grid .feature h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-50); margin-bottom: 10px; }
.features-grid .feature p { font-size: 15px; line-height: 1.6; color: var(--ink-400); margin: 0; }

/* Steps v2 (already has .steps) */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  list-style: none; padding: 0;
  border: 1px solid var(--border);
}
.steps .step {
  background: var(--bg);
  padding: 36px 28px;
  position: relative;
  transition: background 220ms var(--ease-out);
}
.steps .step:hover { background: var(--bg-elev-1); }
.steps .step-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--orange-500);
  margin-bottom: 16px;
  display: block;
}
.steps .step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-50); margin-bottom: 10px; }
.steps .step p { font-size: 15px; line-height: 1.6; color: var(--ink-400); margin: 0; }

/* Quote section v2 */
.quote-section {
  padding: 96px 24px;
  max-width: 880px; margin: 0 auto;
}
.quote-section .quote {
  position: relative;
  padding: 48px 32px 32px;
  text-align: center;
}
.quote-section .quote::before {
  content: '"';
  display: block;
  font-size: 120px; line-height: 0.4;
  color: var(--orange-500);
  font-family: Georgia, serif;
  margin-bottom: 32px;
  opacity: 0.6;
}
.quote-section .quote p {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500; line-height: 1.3; letter-spacing: -0.02em;
  color: var(--ink-100); margin-bottom: 24px;
}
.quote-section .quote-footer {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-500);
}

/* Pricing v2 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 840px; margin: 0 auto;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.pricing-card-featured {
  border-color: var(--orange-500);
  background: linear-gradient(180deg, var(--bg-elev-1) 0%, rgba(232, 93, 58, 0.05) 100%);
  box-shadow: 0 24px 64px rgba(232, 93, 58, 0.12);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange-500); color: var(--ink-50);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  padding: 5px 14px; border-radius: 999px;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 6px 20px var(--orange-glow);
}
.pricing-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-500);
  margin-bottom: 12px;
}
.pricing-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 8px; color: var(--ink-50); }
.pricing-currency { font-size: 22px; font-weight: 600; }
.pricing-amount { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.pricing-period { font-size: 15px; font-weight: 500; color: var(--ink-500); margin-left: 4px; }
.pricing-sub { font-size: 14px; color: var(--ink-400); margin-bottom: 24px; line-height: 1.5; }
.pricing-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 10px; margin-bottom: 28px; padding: 0; flex: 1;
}
.pricing-list li {
  font-size: 14px; color: var(--ink-200); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.pricing-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--orange-500); font-weight: 700;
}
.pricing-list strong { color: var(--ink-50); }
.pricing-note {
  text-align: center; max-width: 560px; margin: 32px auto 0;
  font-size: 13px; color: var(--ink-500); line-height: 1.6;
}
.pricing-note em { color: var(--ink-300); font-style: normal; }

/* CTA banner v2 */
.cta-banner {
  margin: 96px 24px;
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
  background: linear-gradient(135deg, var(--bg-elev-2) 0%, var(--bg-elev-1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--orange-glow) 0%, transparent 50%);
  opacity: 1;
}
.cta-banner-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink-50); margin-bottom: 20px; line-height: 1.1;
}
.cta-banner-lede { font-size: 17px; color: var(--ink-400); margin-bottom: 32px; line-height: 1.6; }

/* Footer v2 (alias for .site-footer pattern) */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elev-1);
  padding: 64px 24px 32px;
  margin-top: 0;
}
.footer .footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-logo {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink-50);
  margin-bottom: 14px;
}
.footer-tagline { font-size: 14px; color: var(--ink-400); line-height: 1.6; max-width: 280px; margin-bottom: 14px; }
.footer-meta { font-size: 13px; color: var(--ink-500); }
.footer-meta a { color: var(--ink-300); }
.footer-meta a:hover { color: var(--orange-400); }
.footer-heading {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-500);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.footer-col a { color: var(--ink-300); font-size: 14px; }
.footer-col a:hover { color: var(--orange-400); }
.footer .footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--ink-500);
}
.footer-disclaimer { max-width: 520px; line-height: 1.5; opacity: 0.8; }

/* Doc page v2 — uses .nav and .footer like landing */
body.page-doc { max-width: none; }
body.page-doc main {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.doc-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange-300);
  margin-bottom: 16px;
}
.doc-lede {
  font-size: 19px; line-height: 1.6; color: var(--ink-200);
  margin: 16px 0 32px;
  font-weight: 400;
}
.doc-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: center; }
.markdown .callout {
  background: var(--bg-elev-1);
  border-left: 3px solid var(--orange-500);
  padding: 14px 18px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink-100);
}

/* Support grid */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 48px;
}
@media (max-width: 640px) { .support-grid { grid-template-columns: 1fr; } }
.support-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.support-card h3 {
  font-size: 17px !important; font-weight: 600; color: var(--ink-50) !important;
  margin: 0 !important; padding: 0 !important; border: none !important;
  font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: -0.005em;
}
.support-card p { font-size: 13px; color: var(--ink-400); margin: 0 0 12px; }
.support-card .btn { margin-top: auto; }
.support-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-500);
}

/* 404 page styling */
body.page-404 { max-width: none; }
body.page-404 main {
  min-height: 80vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
  max-width: 560px;
}
body.page-404 .num {
  font-size: clamp(96px, 18vw, 200px); font-weight: 800; letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-600) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 16px;
}
body.page-404 h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 12px; color: var(--ink-50); }
body.page-404 p { color: var(--ink-400); margin-bottom: 32px; max-width: 420px; line-height: 1.6; }

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

/* 404 — extra layout for dual CTA + help line (added 2026-05-11) */
body.page-404 .num-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
body.page-404 .num-help {
  color: var(--ink-500);
  font-size: 14px;
  max-width: 380px;
  margin: 0 auto;
}
