/* RepoForge.io marketing site: shared styles for the homepage, format pages and /pricing.
   Values come from the brand kit tokens (roadmap#8). Plain CSS, no build step. */

:root {
  --forge: #e05a3a;
  --forge-light: #f0714e;
  --forge-deep: #c94d2f;
  --forge-deeper: #a8401f;
  --link: #a8401f;
  --forge-tint: rgba(224, 90, 58, 0.12);
  --forge-tint-strong: rgba(224, 90, 58, 0.16);
  --anvil: #16161a;
  --anvil-raised: #1e1f28;
  --anvil-deep: #0e0e11;
  --ground: #f5f5f3;
  --surface: #ffffff;
  --surface-sunk: #fafaf8;
  --fill-quiet: #f0f0ee;
  --line: #e8e8e5;
  --line-control: #e0e0dc;
  --line-soft: #f0f0ee;
  --ink: #1a1a1a;
  --ink-2: #3d3d3a;
  --ink-3: #4a4a46;
  --muted: #6b6b66;
  --on-anvil: rgba(255, 255, 255, 0.82);
  --on-anvil-muted: rgba(255, 255, 255, 0.55);
  --on-anvil-line: rgba(255, 255, 255, 0.08);
  --success: #166534;
  --success-fill: #16a34a;
  --code-ink: #f8f8f2;
  --code-keyword: #ff79c6;
  --code-string: #f1fa8c;
  --code-command: #50fa7b;
  --code-comment: #8f98c4;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Rubik, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --radius-chip: 4px;
  --radius-control: 6px;
  --radius-tile: 8px;
  --radius-card: 10px;
  --radius-feature: 12px;
  --radius-pill: 999px;

  --shadow-showcase: 0 30px 80px rgba(10, 10, 14, 0.28), 0 4px 14px rgba(10, 10, 14, 0.12);
  --focus-ring: 0 0 0 3px rgba(224, 90, 58, 0.35);

  --gutter: 24px;
  --content: 1120px;
  --space-section: 96px;
}

/* ─── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, figure, blockquote, pre { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: var(--link); }
a:hover { color: var(--forge-deeper); }
code, pre, kbd { font-family: var(--font-mono); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--forge); outline-offset: 2px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--forge-light); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }
.rule { display: none; }

/* ─── Type helpers ─────────────────────────────────── */
.eyebrow, .label {
  display: block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--link);
}
.dark .eyebrow, .dark .label { color: var(--forge-light); }
.section-title {
  font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -1.2px;
  text-wrap: balance;
}
.lede { font-size: 16px; line-height: 1.6; color: var(--ink-3); }
.dark { background: var(--anvil); color: #fff; }
.dark .lede { color: rgba(255, 255, 255, 0.72); }

/* ─── Logo ─────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.logo:hover { color: #fff; }
.logo svg { flex-shrink: 0; }
.logo-word { font-size: 15px; font-weight: 600; letter-spacing: -0.2px; line-height: 1; }
.logo-word::after { content: '.io'; opacity: 0.4; }

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.2;
  padding: 8px 14px; min-height: 36px;
  border-radius: var(--radius-control); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); border-color: var(--forge); }
.btn-lg { font-size: 15px; padding: 12px 23px; min-height: 46px; }
.btn-primary, a.btn-primary { background: var(--forge-deep); color: #fff; }
.btn-primary:hover { background: var(--forge-deeper); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-control); }
.btn-secondary:hover { background: var(--ground); border-color: #cccccc; color: var(--ink); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.22); }
.btn-on-dark:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-white { background: #fff; color: var(--anvil); font-weight: 600; }
.btn-white:hover { background: var(--ground); color: var(--anvil); }
.btn svg { display: inline-block; }

/* ─── Chips ────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: var(--radius-chip); font-size: 11px; line-height: 1; white-space: nowrap;
  background: var(--fill-quiet); color: var(--ink-2);
}
.chip-brand { background: var(--forge-tint); color: var(--forge-deeper); font-weight: 500; }
.chip-mono { font-family: var(--font-mono); }
.dark .chip, .chip-on-dark { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); }
.dark .chip-brand { background: rgba(224, 90, 58, 0.2); color: var(--forge-light); font-weight: 600; }

/* ─── Header ───────────────────────────────────────── */
.site-header { background: var(--anvil); color: #fff; border-bottom: 1px solid var(--on-anvil-line); position: relative; z-index: 10; }
.site-header-in {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); height: 60px;
  display: flex; align-items: center; gap: 28px;
}
.topnav { display: flex; gap: 2px; flex: 1; }
.topnav a {
  font-size: 13px; color: rgba(255, 255, 255, 0.75); text-decoration: none;
  padding: 6px 10px; border-radius: var(--radius-control);
}
.topnav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.topnav a[aria-current="page"] { background: var(--forge-tint-strong); color: var(--forge-light); font-weight: 500; }
.header-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }

/* ─── Code blocks (Dracula on anvil-raised) ────────── */
.code {
  background: var(--anvil-raised); border-radius: var(--radius-feature); overflow: hidden;
  color: var(--code-ink); min-width: 0;
}
.code-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 16px; border-bottom: 1px solid var(--on-anvil-line);
}
.code-label { font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.copy-btn {
  flex-shrink: 0; font: inherit; font-size: 11.5px; color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08); border: none; border-radius: 5px;
  padding: 5px 10px; cursor: pointer;
}
.code-bar .copy-btn { margin-left: auto; }
.copy-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.copy-btn:focus-visible { outline: 2px solid var(--forge-light); outline-offset: 2px; }
.code pre {
  padding: 18px; overflow-x: auto; font-size: 13px; line-height: 1.7; color: var(--code-ink);
}
.code .k { color: var(--code-keyword); }
.code .s { color: var(--code-string); }
.code .m { color: var(--code-command); }
.code .c { color: var(--code-comment); }

/* ─── Code + copy section (homepage, variants) ─────── */
.gh { padding: var(--space-section) 0; }
.gh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.gh-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gh-copy .lede { max-width: 440px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.gh .code { box-shadow: 0 18px 50px rgba(10, 10, 14, 0.18); }

/* ─── Formats: dark band with sidebar-style tabs ───── */
.formats { padding: var(--space-section) 0; }
.formats-panel { display: flex; flex-wrap: wrap; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-feature); overflow: hidden; }
.format-tabs {
  flex: 1 1 220px; display: flex; flex-direction: column; gap: 3px; padding: 14px 12px;
  background: rgba(255, 255, 255, 0.02); border-right: 1px solid var(--on-anvil-line);
}
.format-tab {
  font: inherit; font-size: 13.5px; text-align: left; padding: 9px 12px; border: none; border-radius: var(--radius-control);
  cursor: pointer; color: var(--on-anvil); background: transparent;
}
.format-tab:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.format-tab[aria-selected="true"] { color: var(--forge-light); background: var(--forge-tint-strong); font-weight: 500; }
.format-tab:focus-visible { outline: 2px solid var(--forge-light); outline-offset: -2px; }
.format-panel { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.format-panel[hidden] { display: none; }
.format-info { padding: 26px 28px 22px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--on-anvil-line); }
.format-info h3 { font-size: 22px; letter-spacing: -0.4px; }
.format-info p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); max-width: 640px; }
.format-info .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.format-info .note { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.format-code { background: var(--anvil-deep); flex: 1; display: flex; flex-direction: column; min-width: 0; }
.format-code .code-bar { padding: 9px 28px; }
.format-code pre { margin: 0; padding: 22px 28px; overflow-x: auto; font-size: 13px; line-height: 1.75; color: var(--code-ink); }
.format-code .c { color: var(--code-comment); }
.format-code .m { color: var(--code-command); }
.format-code .s { color: var(--code-string); }

/* ─── Format-page hero (anvil band) ────────────────── */
.hero {
  background: var(--anvil); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  max-width: none; padding: 80px max(var(--gutter), calc((100% - var(--content)) / 2 + var(--gutter))) 96px;
}
.hero-left { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--forge-light); }
.hero-headline { font-size: 56px; line-height: 1.02; letter-spacing: -2px; font-weight: 600; text-wrap: balance; }
.hero-headline .accent { color: var(--forge-light); }
.hero-sub { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); max-width: 520px; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-actions .btn-primary { white-space: normal; text-align: center; }
.btn-ghost, .btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 6px; min-height: 46px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: #fff;
  padding: 12px 20px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-control);
}
.btn-ghost:hover, .btn-cta-ghost:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost svg, .btn-cta-ghost svg { display: inline-block; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 12px; padding-top: 24px;
  border-top: 1px solid var(--on-anvil-line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 26px; font-weight: 600; letter-spacing: -0.6px; line-height: 1.1; }
.stat-label { font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-anvil-muted); }
.hero-right { min-width: 0; }
.terminal-wrap { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.terminal-card { background: var(--anvil-deep); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-feature); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--on-anvil-line); }
.terminal-bar .dot { display: none; }
.t-title { font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, 0.65); }
.terminal-body { padding: 18px 20px 20px; overflow-x: auto; }
.tl { font-family: var(--font-mono); font-size: 13px; line-height: 1.75; display: block; white-space: pre; color: var(--code-ink); }
.tp { color: var(--code-comment); }
.tc { color: var(--code-ink); }
.tm { color: var(--code-comment); }
.tok { color: var(--code-command); }
.tcmd { color: var(--code-command); }
.td { color: rgba(255, 255, 255, 0.72); }
.tcur { display: inline-block; width: 7px; height: 14px; background: var(--forge-light); vertical-align: middle; animation: blink 1s step-end infinite; }
.float-card {
  display: flex; align-items: center; gap: 12px; align-self: flex-start;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-tile); padding: 10px 14px;
}
.float-main { font-size: 13px; font-weight: 500; color: #fff; }
.float-sub { font-family: var(--font-mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.65); margin-top: 2px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── Page hero (/pricing) ─────────────────────────── */
.page-hero {
  background: var(--anvil); color: #fff; text-align: center;
  padding: 80px var(--gutter) 88px; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.page-hero h1 { font-size: 56px; line-height: 1.02; letter-spacing: -2px; }
.page-hero p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); max-width: 600px; }

/* ─── Features: one ruled panel with icon tiles ────── */
.section-features { padding: var(--space-section) 0; }
.features-header, .pricing-header, .compare-header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.section-head > p { font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 440px; }
.dark .section-head > p { color: rgba(255, 255, 255, 0.65); }
.features-header h2 { font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; max-width: 640px; text-wrap: balance; }
.features-header p { font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 520px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-feature); overflow: hidden;
}
.feature-cell {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-content: start;
  padding: 26px 28px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft);
  margin: 0 -1px -1px 0;
}
.feat-num { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.feat-icon {
  grid-row: span 2; width: 36px; height: 36px; border-radius: var(--radius-tile);
  background: var(--forge-tint); display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--forge-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat-glyph { font-size: 20px; line-height: 1; color: var(--forge-deep); }
.feature-cell h3 { font-size: 15px; letter-spacing: 0.02em; line-height: 1.4; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feature-cell h3 .chip { font-weight: 400; height: 20px; padding: 0 7px; }
.feature-cell p { grid-column: 2; font-size: 14px; line-height: 1.6; color: var(--ink-3); }

/* ─── Format links (format pages) ──────────────────── */
.section-formats { padding: 0 0 var(--space-section); }
.formats-label { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.formats-row { display: flex; gap: 8px; flex-wrap: wrap; }
.fmt-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 7px 14px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line-control); border-radius: var(--radius-control);
}
.fmt-link:hover { border-color: #cccccc; color: var(--ink); }
.fmt-link.current { background: var(--forge-tint); border-color: transparent; color: var(--forge-deeper); }

/* ─── Pricing ──────────────────────────────────────── */
.section-pricing { padding: var(--space-section) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-header h2 { font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; }
.pricing-header p { font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 460px; }
.pricing-toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tgl-label { font-size: 13px; color: var(--muted); }
.tgl-label.on { color: var(--ink); font-weight: 500; }
.tgl-track {
  position: relative; width: 42px; height: 24px; flex-shrink: 0; padding: 0; cursor: pointer;
  background: var(--fill-quiet); border: 1px solid var(--line-control); border-radius: var(--radius-pill);
  transition: background-color 0.2s, border-color 0.2s;
}
.tgl-track:focus-visible { outline: none; box-shadow: var(--focus-ring); border-color: var(--forge); }
.tgl-thumb {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px var(--line-control); transition: left 0.2s;
}
.tgl-track.on { background: var(--forge-deep); border-color: var(--forge-deep); }
.tgl-track.on .tgl-thumb { left: 21px; box-shadow: none; }
.save-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-chip); background: var(--forge-tint); color: var(--forge-deeper); font-size: 11px; font-weight: 500; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; align-items: stretch; }
.pricing-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-feature);
}
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.plan-name { font-size: 16px; font-weight: 600; }
.plan-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.plan-pill { order: -1; align-self: flex-start; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-chip); background: rgba(224, 90, 58, 0.2); color: var(--forge-light); font-size: 11px; font-weight: 600; white-space: nowrap; }
.plan-head .plan-pill { order: 0; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; }
.p-sym { font-size: 26px; font-weight: 600; letter-spacing: -0.6px; }
.p-amt { font-size: 44px; font-weight: 600; letter-spacing: -1.6px; line-height: 1; font-variant-numeric: tabular-nums; }
.p-per { font-size: 13px; color: var(--muted); margin-left: 4px; }
.btn-plan {
  order: 1; display: flex; align-items: center; justify-content: center; min-height: 40px;
  font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--ink);
  padding: 9px 12px; border: 1px solid var(--line-control); border-radius: var(--radius-control);
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-plan:hover { background: var(--ground); border-color: #cccccc; color: var(--ink); }
.btn-plan:focus-visible { outline: none; box-shadow: var(--focus-ring); border-color: var(--forge); }
.plan-feats { order: 2; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.plan-feats li { line-height: 1.45; }
.pricing-card.featured { background: var(--anvil); border-color: var(--anvil); color: #fff; }
.pricing-card.featured .plan-sub, .pricing-card.featured .p-per { color: rgba(255, 255, 255, 0.65); }
.pricing-card.featured .plan-feats { color: rgba(255, 255, 255, 0.85); border-top-color: rgba(255, 255, 255, 0.1); }
.pricing-card.featured .btn-plan { background: var(--forge-deep); border-color: var(--forge-deep); color: #fff; }
.pricing-card.featured .btn-plan:hover { background: var(--forge-deeper); border-color: var(--forge-deeper); }
.pricing-card.featured .btn-plan:focus-visible { box-shadow: 0 0 0 2px var(--anvil), 0 0 0 4px var(--forge-light); }
.pricing-note { margin-top: 24px; font-size: 13.5px; color: var(--ink-3); }

/* ─── Comparison table ─────────────────────────────── */
.section-compare { padding: var(--space-section) 0; }
.compare-header h2 { font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; }
.compare-header p { font-size: 13px; color: var(--muted); }
.compare-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-feature); overflow-x: auto; }
.compare-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.compare-table th, .compare-table td { text-align: left; white-space: nowrap; padding: 12px 16px; }
.compare-table th {
  padding: 11px 16px; background: var(--surface-sunk); border-bottom: 1px solid var(--line);
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.compare-table td { border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.compare-table tbody th { background: none; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); border-bottom: 1px solid var(--line-soft); padding: 12px 16px; }
.compare-table tbody tr:hover > * { background: var(--surface-sunk); }
.compare-table tbody tr:last-child > * { border-bottom: none; }
.compare-table .col-rf, .compare-table tbody tr:hover > .col-rf { background: var(--anvil); color: #fff; font-weight: 600; border-bottom-color: var(--on-anvil-line); }
.compare-table thead .col-rf { color: #fff; border-bottom-color: var(--anvil); }
.compare-table tbody tr:last-child td { white-space: normal; min-width: 128px; }
.compare-table tbody td:first-child { font-weight: 500; }
.compare-table .chk { color: var(--success); font-weight: 600; }
.compare-table .cross { color: var(--muted); }
.compare-table .col-rf .chk { color: var(--forge-light); }
.compare-table tbody tr:last-child .col-rf .chk { color: #fff; }
.compare-table .yes { color: var(--success); }
.compare-table .no { color: var(--muted); }
.compare-table .col-rf .yes { color: var(--forge-light); }

/* ─── Testimonials ─────────────────────────────────── */
.section-trust { padding: 0 0 var(--space-section); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.t-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-feature); padding: 28px;
}
.clients-row { display: flex; gap: 12px 40px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.client-name { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); }
.trust-header { margin-bottom: 28px; }
.trust-header h2 { font-size: 40px; line-height: 1.08; letter-spacing: -1.2px; }
.t-quote { font-size: 44px; line-height: 0.6; height: 18px; font-weight: 600; color: var(--forge-deep); }
.t-card > .t-text { flex: 1; }
.t-text { font-size: 18px; line-height: 1.5; font-weight: 500; letter-spacing: -0.2px; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--anvil); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t-author > div { line-height: 1.35; }
.t-name { font-size: 13px; font-weight: 600; line-height: 1.35; }
.t-role { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ─── Orange CTA band ──────────────────────────────── */
.section-cta { background: var(--forge-deep); color: #fff; padding: 72px var(--gutter); text-align: center; }
.section-cta > * { max-width: calc(var(--content) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.section-cta .label { color: #fff; margin-bottom: 12px; }
.section-cta h2 { font-size: 44px; line-height: 1.05; letter-spacing: -1.4px; margin-bottom: 12px; text-wrap: balance; }
.section-cta h2 em { font-style: normal; }
.section-cta p { font-size: 16px; line-height: 1.55; color: #fff; max-width: 560px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.section-cta .btn-primary, .section-cta a.btn-primary {
  display: inline-flex; align-items: center; min-height: 46px; padding: 12px 24px; border-radius: var(--radius-control);
  background: #fff; color: var(--anvil); font-size: 15px; font-weight: 600; text-decoration: none;
}
.section-cta .btn-primary:hover { background: var(--ground); color: var(--anvil); }
.section-cta .btn-primary:focus-visible, .section-cta .btn-ghost:focus-visible, .section-cta .btn-cta-ghost:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: none; }
.section-cta .btn-ghost, .section-cta .btn-cta-ghost { border-color: rgba(255, 255, 255, 0.6); }
.section-cta .btn-ghost:hover, .section-cta .btn-cta-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.cta-note { margin-top: 20px; font-size: 13px; color: #fff; }
.section-cta.split { text-align: left; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: 10px; }
.cta-in .cta-actions { margin-top: 0; justify-content: flex-start; }

/* ─── Footer ───────────────────────────────────────── */
.site-footer { background: var(--anvil); color: var(--on-anvil); }
.footer-in { max-width: var(--content); margin: 0 auto; padding: 56px var(--gutter) 0; display: flex; flex-direction: column; gap: 40px; }
.site-footer > .footer-inner {
  max-width: var(--content); margin: 0 auto; padding: 56px var(--gutter) 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px;
}
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-anvil-muted); margin-bottom: 10px; }
.site-footer > .footer-bottom { max-width: calc(var(--content) - 2 * var(--gutter)); margin: 0 auto; }
@media (max-width: 1167px) { .site-footer > .footer-bottom { margin: 0 var(--gutter); } }
.footer-bottom p { margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.65); max-width: 240px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.footer-col h2 { font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--on-anvil-muted); margin-bottom: 2px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-bottom a { color: var(--on-anvil); text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 0 24px; border-top: 1px solid var(--on-anvil-line);
  font-size: 11.5px; color: rgba(255, 255, 255, 0.6);
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 72px; }
}
@media (max-width: 760px) {
  :root { --space-section: 64px; --gutter: 16px; }
  .topnav, .hide-sm { display: none !important; }
  .site-header-in { gap: 12px; }
  .section-title, .features-header h2, .pricing-header h2, .compare-header h2 { font-size: 32px; letter-spacing: -0.9px; }
  .hero-headline, .page-hero h1 { font-size: 40px; letter-spacing: -1.3px; }
  .section-cta h2 { font-size: 34px; letter-spacing: -1px; }
  .feature-cell { padding: 22px 20px; }
  .tl { font-size: 12px; }
  .format-tabs { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--on-anvil-line); }
  .format-info { padding: 22px 20px 18px; }
  .format-code pre, .format-code .code-bar { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
