/* ============================================================
   Rustyyy — landing page
   Fonts: Literata + Inter via <link> in index.html;
   CommitMono (the app's own mono) self-hosted below.
   ============================================================ */

/* ---------- Self-hosted mono (OFL-1.1, see fonts/license.txt) ---------- */
@font-face {
  font-family: 'CommitMono';
  src: url('fonts/CommitMono-400-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CommitMono';
  src: url('fonts/CommitMono-700-Regular.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: rgb(250, 250, 250);
  --ink: #000;
  --ink-soft: rgb(34, 34, 34);
  --muted-40: rgba(0, 0, 0, 0.4);
  --muted-50: rgba(0, 0, 0, 0.5);
  --muted-60: rgba(0, 0, 0, 0.6);

  /* accent — signal red. --accent for fills, --accent-2 for text-sized red */
  --accent: #e01e2b;
  --accent-2: #e01e2b;
  --accent-soft: rgba(224, 30, 43, 0.1);

  --radius-bend: 120px;
  --shadow-card: 0px 20px 40px 0px rgba(0, 17, 71, 0.15);
  --shadow-soft: 0px 1px 3px 0px rgba(10, 0, 87, 0.15);

  --font-display: 'Literata', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'CommitMono', 'SF Mono', ui-monospace, Menlo, monospace;

  --maxw: 960px;
  --gutter: clamp(20px, 5vw, 240px);

  /* vertical rhythm — every section uses one of these two values */
  --sp-section: clamp(72px, 9vw, 104px);   /* standard section padding */
  --sp-bend: clamp(96px, 12vw, 136px);     /* dark rounded "bend" panels */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, p { margin: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 50px;
  z-index: 100;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav__inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 7px;
  overflow: hidden; flex: none;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: -0.4px; }

.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 3px;
  transition: opacity .15s;
}
.nav__link:hover { opacity: .6; }
.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 9px; }
.btn-dark {
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--ink); border-radius: 8px;
  padding: 8px 12px; display: inline-flex; align-items: center; gap: 5px;
  transition: transform .15s, box-shadow .15s; white-space: nowrap;
}
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn-dark .arr { width: 7px; height: 12px; }

.nav__burger { display: none; width: 32px; height: 32px; border-radius: 8px; }
.nav__burger:hover { background: rgba(0,0,0,.05); }
.nav__burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); border-radius: 2px; transition: .25s; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 50px 0 auto 0; z-index: 99;
  background: rgba(250,250,250,.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 16px 20px 24px;
  display: none; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: .22s ease;
}
.mobile-menu.open { display: flex; transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { padding: 12px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid rgba(0,0,0,.05); }
.mobile-menu .row { display: flex; gap: 10px; margin-top: 14px; }
.mobile-menu .row > * { flex: 1; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 150px 20px 40px;
  text-align: center;
  overflow: hidden;
}
.hero__head {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 9.5vw, 100px);
  line-height: 1.06;
  letter-spacing: -2px;
  position: relative;
  z-index: 2;
}
.hero__title .row2 { display: inline-flex; align-items: center; gap: .25em; flex-wrap: wrap; justify-content: center; }
.hi-pill {
  background: var(--accent); color: #fff;
  border-radius: 28px; padding: .06em .28em .14em;
  display: inline-block; line-height: 1;
}

.hero__sub {
  margin: 28px auto 0; max-width: 460px;
  font-size: 18px; font-weight: 500; color: var(--muted-40);
  position: relative; z-index: 2;
}
.cta-primary {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 18px;
  border-radius: 10px; padding: 15px 16px;
  position: relative; z-index: 2;
  transition: transform .15s, box-shadow .15s;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.cta-primary .arr { width: 8px; height: 14px; }
.cta-primary .arr path { stroke: var(--accent); }
.hero__note { margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--muted-40); letter-spacing: .2px; position: relative; z-index: 2; }

/* hero screenshot on gradient "bend" */
.hero-shot {
  position: relative;
  margin-top: 60px;
  padding: 70px var(--gutter);
  border-radius: var(--radius-bend) 0 0 0;
}
/* real app screenshot — native rounded corners (alpha PNG/WebP), shadow follows them */
.hero-shot__img {
  display: block; width: 100%; max-width: 960px; height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.55));
}

/* ============================================================
   BENCHMARKS CTA
   ============================================================ */
.watch {
  text-align: center;
  padding: 64px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.watch__label { font-size: 16px; font-weight: 500; color: var(--muted-40); }
.btn-watch {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 16px;
  border-radius: 12px; padding: 15px 18px;
  transition: transform .15s;
}
.btn-watch:hover { transform: translateY(-2px); }
.btn-watch span, .btn-watch svg { position: relative; z-index: 1; }
.btn-watch svg { width: 13px; height: 15px; }

/* ============================================================
   PROBLEM / AGITATE
   ============================================================ */
.samepage { position: relative; padding: var(--sp-section) 20px; overflow: hidden; }
.samepage__inner { max-width: 960px; margin: 0 auto; position: relative; text-align: center; }
.samepage h2 { font-family: var(--font-display); font-size: clamp(34px,5vw,56px); letter-spacing:-1px; line-height: 1.2; }
.samepage__sub { margin: 16px auto 0; font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--muted-40); }

/* ============================================================
   PILLAR 1 — AI AGENTS CARD
   ============================================================ */
.section-pad { padding: var(--sp-section) 20px; }
.feature-card {
  max-width: 1000px; margin: 0 auto;
  position: relative;
  border-radius: 48px; overflow: hidden;
  min-height: 373px;
  padding: 64px;
  display: flex; align-items: center;
}
.feature-card__text { max-width: 420px; }
.am-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; }
.am-logo .dot { width: 26px; height: 26px; border-radius: 7px; background: #111; display:grid; place-items:center; color:#fff; font-family: var(--font-display); }
.feature-card__title { font-family: var(--font-display); font-size: 26px; letter-spacing: -.6px; margin-top: 22px; }
.feature-card__body { margin-top: 14px; font-weight: 500; font-size: 16px; color: var(--muted-40); }
.feature-card__btns { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.btn-pill-dark, .btn-pill-light {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 16px; border-radius: 10px; padding: 13px 16px;
  transition: transform .15s;
}
.btn-pill-dark { background: var(--ink); color: #fff; }
.btn-pill-light { background: rgba(0,0,0,.06); color: var(--ink); }
.btn-pill-dark:hover, .btn-pill-light:hover { transform: translateY(-2px); }
.btn-pill-dark .arr, .btn-pill-light .arr { width: 7px; height: 12px; }

.feature-card__media {
  position: absolute; right: 64px; bottom: 0;
  width: 370px; max-width: 42%;
  border-radius: 16px 16px 0 0; overflow: hidden;
}
.feature-card__media .term-card { position: static; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,.35); }

/* ============================================================
   PILLAR 3 — SPEED / STAT STRIP
   ============================================================ */
.ditch { padding: var(--sp-section) 20px; text-align: center; }
.h-section { font-family: var(--font-display); font-size: clamp(34px, 5.6vw, 56px); letter-spacing: -1px; line-height: 1.2; }
.sub-section { margin: 22px auto 0; max-width: 580px; font-weight: 500; font-size: 16px; color: var(--muted-40); }

.statstrip { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4.5vw, 54px); max-width: 880px; margin: 44px auto 36px; }
.statstrip .stat { min-width: 88px; }
.statstrip .stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; line-height: 1; }
.statstrip .stat span { display: block; margin-top: 9px; font-size: 13px; font-weight: 500; color: var(--muted-40); }

/* ============================================================
   PILLAR 2 — INDESTRUCTIBLE (dark, red glow)
   ============================================================ */
.terminal-section {
  position: relative;
  background: radial-gradient(120% 130% at 75% -10%, rgba(224, 30, 43, 0.16), transparent 55%), linear-gradient(180deg, #0c0d11, #16181f);
  border-radius: 0 var(--radius-bend) 0 0;
  padding: var(--sp-bend) var(--gutter);
  color: #fff; overflow: hidden;
}
.terminal-section__head {
  max-width: 960px; margin: 0 auto 56px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap;
}
.terminal-section__head h2 { font-family: var(--font-display); font-size: clamp(34px,5.6vw,56px); letter-spacing: -1px; line-height: 1.2; color: #fff; }
.terminal-section__head p { max-width: 360px; font-weight: 500; font-size: 16px; line-height: 1.55; color: rgba(250,250,250,.7); }

.mockstack { max-width: 960px; margin: 0 auto; position: relative; }
.term-card {
  position: relative; z-index: 2;
  width: min(680px, 100%);
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
}
.term-card__bar { display: flex; gap: 8px; padding: 15px; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; }
.tl-r { background:#ff5f57;} .tl-y{background:#febc2e;} .tl-g{background:#28c840;}
.term-card__body { padding: 4px 15px 24px; font-family: var(--font-mono); font-size: 15px; line-height: 21px; color: #fff; }
.term-card__body .muted { color: rgba(255,255,255,.85); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-card__body .link { word-break: break-all; }
.cursor-bar { display: inline-block; width: 2px; height: 16px; background: var(--accent-2); border-radius: 3px; vertical-align: middle; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   THREE MORE REASONS
   ============================================================ */
.collab { padding: var(--sp-section) 20px; }
.collab__inner { max-width: 960px; margin: 0 auto; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.feature-col { text-align: center; padding: 0 24px 22px; }
.feat-ico {
  width: 38px; height: 38px; border-radius: 12px; margin: 0 auto 19px;
  display: grid; place-items: center; color: var(--bg);
  background: linear-gradient(rgb(107,107,107), rgb(0,0,0));
  box-shadow: 0 3px 5px rgba(0,0,0,.2);
}
.feat-ico.flat { background: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.25)); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.feat-ico svg { width: 22px; height: 22px; }
.feature-col p { font-weight: 500; font-size: 15px; line-height: 1.55; }
.feature-underline { grid-column: 1 / -1; width: 50%; justify-self: center; height: 1px; background: rgb(214,214,214); position: relative; margin-top: 0; }

/* ============================================================
   PILLAR 6 — RECEIPTS
   ============================================================ */
.justwrite {
  position: relative;
  border-radius: var(--radius-bend) 0 0 0;
  padding: var(--sp-bend) var(--gutter);
  overflow: hidden;
}
.justwrite__head { max-width: 960px; margin: 0 auto 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.justwrite__head h2 { font-family: var(--font-display); font-size: clamp(34px,5.6vw,56px); letter-spacing:-1px; line-height: 1.2; }
.justwrite__head p { max-width: 340px; font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--muted-60); }

.browser {
  max-width: 1080px; margin: 0 auto;
  border-radius: 10px 10px 0 0; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,17,71,.16);
  background: #fff;
}
.receipts-note { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: 14px; font-weight: 500; color: var(--muted-50); }
.receipts-note a { color: var(--accent-2); font-weight: 600; }
.receipts-note a:hover { text-decoration: underline; }
.receipts-note code { font-family: var(--font-mono); font-size: 12.5px; background: rgba(255,255,255,.08); border-radius: 4px; padding: 0 4px; }

/* ============================================================
   VALUE STACK + CONFIG CARD
   ============================================================ */
.templates { padding: var(--sp-section) 20px 0; text-align: center; background: var(--bg); }
.valuegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; max-width: 940px; margin: 52px auto 0; text-align: left; }
.valuecol h4 { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted-50); margin-bottom: 16px; }
.valuecol ul { list-style: none; margin: 0; padding: 0; }
.valuecol li { display: flex; gap: 9px; font-size: 15px; font-weight: 500; line-height: 1.5; margin-bottom: 11px; color: var(--ink-soft); }
.valuecol li::before { content: "✓"; color: var(--accent-2); font-weight: 700; flex: none; }
.valuecol code { font-family: var(--font-mono); font-size: 13px; background: rgba(0,0,0,.05); border-radius: 4px; padding: 0 4px; }

.runbook-stage { position: relative; height: clamp(420px, 52vw, 760px); margin-top: 40px; }
.runbook-card {
  position: absolute; left: 50%; top: 0;
  width: min(800px, 92vw); background: var(--bg);
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 0 1px rgba(0,0,0,.1), inset 0 1.5px 2px #fff, 0 1px 8px rgba(0,32,102,.12);
}
.runbook-card.b1 { transform: translateX(-50%) rotate(-4deg) translateY(15px); }
.runbook-card.b2 { transform: translateX(-50%) rotate(-2deg) translateY(7px); }
.runbook-card.top { transform: translateX(-50%); text-align: left; }
.runbook-inner { padding: clamp(28px, 6%, 54px); }
.runbook-inner h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.6vw, 36px); color: rgba(0,0,0,.85); }
.runbook-inner .meta { margin-top: 18px; font-size: 13px; color: rgb(164,164,164); }
.rb-rule { height: 1px; background: rgba(0,0,0,.05); margin: 20px 0; }

.cfg { font-family: var(--font-mono); font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
.cfg .c { color: var(--accent-2); }
.cfg .k { color: var(--ink); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; padding: var(--sp-section) 20px 0; }
.faq details { border-bottom: 1px solid rgba(0,0,0,.1); padding: 20px 2px; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted-40); font-weight: 400; font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 12px; color: var(--muted-60); font-size: 16px; line-height: 1.6; }
.faq code { font-family: var(--font-mono); font-size: 13px; background: rgba(0,0,0,.05); border-radius: 4px; padding: 0 4px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { padding: var(--sp-section) 20px 0; }
.trust__inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.trust__item svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.trust__item b { display: block; font-size: 15px; font-weight: 700; }
.trust__item span { display: block; margin-top: 5px; font-size: 14px; font-weight: 500; color: var(--muted-60); line-height: 1.55; }

/* ============================================================
   READY CTA + FOOTER
   ============================================================ */
.ready {
  position: relative;
  border-radius: 0 var(--radius-bend) 0 0;
  padding: var(--sp-bend) var(--gutter) 0;
  margin-top: var(--sp-section);
}
.ready__head { max-width: 960px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.ready__head h2 { font-family: var(--font-display); font-size: clamp(34px,5.6vw,56px); letter-spacing:-1px; line-height:1.2; }
.ready__head p { max-width: 280px; font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--muted-60); }
.ready .cta-primary { margin-top: 0; font-size: 16px; }

.footer {
  position: relative; margin-top: var(--sp-bend);
  background: linear-gradient(rgba(250,250,250,0), var(--bg) 60%);
}
.footer__inner {
  max-width: 960px; margin: 0 auto; padding: 80px 20px 40px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
}
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 15px; }
.footer__about p { font-size: 14px; color: var(--muted-60); line-height: 1.5; max-width: 280px; }
.footer__col a { display: block; font-size: 14px; color: var(--ink); margin-bottom: 15px; transition: opacity .15s; }
.footer__col a:hover { opacity: .55; }
.copyright { text-align: center; padding: 24px; font-size: 12px; color: var(--muted-40); }

/* ============================================================
   REVEAL ANIMATIONS (gated on .js so content shows without JS)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__spacer { flex: 1; }
  .terminal-section__head, .justwrite__head, .ready__head { flex-direction: column; align-items: flex-start; }
  .feature-card { flex-direction: column; padding: 40px 28px; min-height: 0; }
  .feature-card__media { position: static; width: 100%; max-width: 420px; margin-top: 28px; border-radius: 16px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-underline { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .runbook-card.b1, .runbook-card.b2 { display: none; }
  .runbook-stage { height: auto; }
  .runbook-card.top { position: static; transform: none; width: 100%; }
}
@media (max-width: 760px) { .valuegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .valuegrid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .trust__inner { grid-template-columns: 1fr; gap: 20px; } }

/* ============================================================
   DARK THEME — appended last, overrides the light defaults above.
   ============================================================ */
:root {
  --bg: #0c0d11;                 /* blue-slate dark */
  --ink: #f2f3f7;                /* near-white text (also = light button tiles) */
  --ink-soft: #c7cad4;
  --muted-40: rgba(255, 255, 255, 0.42);
  --muted-50: rgba(255, 255, 255, 0.52);
  --muted-60: rgba(255, 255, 255, 0.62);
  --accent-2: #ff4d57;           /* brighter red for text-sized accents on dark */
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.5);
}
body { background: var(--bg); color: var(--ink); }

/* --- nav --- */
.nav { background: rgba(12, 13, 17, 0.78); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.nav__burger:hover { background: rgba(255, 255, 255, 0.06); }
.mobile-menu { background: rgba(12, 13, 17, 0.97); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu a { border-bottom-color: rgba(255, 255, 255, 0.07); }

/* --- buttons: primary CTAs become light tiles with dark text --- */
.btn-dark, .cta-primary, .btn-pill-dark { color: #0c0d11; }
.btn-dark .arr path, .btn-pill-dark .arr path { stroke: #0c0d11; }
.btn-pill-light { background: rgba(255, 255, 255, 0.10); color: var(--ink); }
.btn-pill-light .arr path { stroke: var(--ink); }
/* secondary "See the benchmarks" */
.btn-watch { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--ink); }
.btn-watch:hover { background: rgba(255, 255, 255, 0.12); }
.btn-watch svg path { stroke: var(--ink); }

/* --- hero "bend" → dark with a faint red glow --- */
.hero-shot { background: radial-gradient(120% 120% at 50% -10%, rgba(224, 30, 43, 0.18), transparent 55%), linear-gradient(180deg, #16181f, #0c0d11); }

/* --- pillar 1 card --- */
.feature-card { background: linear-gradient(150deg, #181a21, #101116); border: 1px solid rgba(255, 255, 255, 0.07); }
.am-logo .dot { background: var(--accent); }

/* --- "3 more reasons" icons + underline --- */
.feat-ico.flat { background: linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)); box-shadow: none; }
.feature-underline { background: var(--accent); }

/* --- receipts + final-CTA "bends" → dark --- */
.justwrite { background: linear-gradient(180deg, #0c0d11, #131419); }
.ready { background: radial-gradient(110% 120% at 50% 0%, rgba(224, 30, 43, 0.16), transparent 55%), linear-gradient(180deg, #131419, #0c0d11); }

/* --- value-stack config card --- */
.runbook-card { background: #15171d; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.5); }
.runbook-inner h3 { color: var(--ink); }
.runbook-inner .meta { color: var(--muted-50); }
.rb-rule { background: rgba(255, 255, 255, 0.08); }
.cfg .k { color: var(--ink); }
.valuecol code, .faq code { background: rgba(255, 255, 255, 0.08); }

/* --- faq --- */
.faq details { border-bottom-color: rgba(255, 255, 255, 0.10); }

/* --- footer --- */
.footer { background: linear-gradient(rgba(12, 13, 17, 0), var(--bg) 60%); }
