:root {
  --bg: #090a0d;
  --bg-2: #101217;
  --panel: #15181e;
  --panel-2: #1c2028;
  --ink: #f4f1ea;
  --muted: #b7b2a8;
  --faint: #8d887e;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #ff8a3d;
  --accent-ink: #1a1008;
  --teal: #7ec8c3;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Unified aliases for compare.html */
  --bg-card: #15181e;
  --bg-subtle: #101217;
  --border: rgba(244, 241, 234, 0.12);
  --text-main: #f4f1ea;
  --text-muted: #b7b2a8;
  --text-light: #8d887e;
  --green: #7ec8c3;
  --green-soft: rgba(126, 200, 195, 0.14);
  --accent-soft: rgba(255, 138, 61, 0.12);
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

::selection { background: rgba(255, 138, 61, 0.28); color: var(--ink); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: rgba(244, 241, 234, 0.22) var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -48px; z-index: 40;
  background: var(--ink); color: #111; padding: 8px 12px; border-radius: 8px;
}
.skip:focus { top: 12px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 10, 13, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; white-space: nowrap; letter-spacing: -0.02em;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.links { display: flex; gap: 22px; align-items: center; }
.links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
  font: 500 0.88rem/1 var(--sans); cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 11px 18px; border: 1px solid transparent;
  font: 600 0.92rem/1 var(--sans); text-decoration: none; cursor: pointer;
  background: transparent; color: var(--ink);
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-lg { padding: 14px 22px; font-size: 1rem; }

.hero { padding: 56px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px; align-items: center;
}
.kicker {
  margin: 0 0 14px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
h1 {
  margin: 0 0 14px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 4.6vw, 4.35rem);
  line-height: 0.98; letter-spacing: -0.03em;
}
h1 em { font-style: italic; color: var(--accent); }
.lead { margin: 0 0 22px; color: var(--muted); font-size: 1.05rem; max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.micro { margin: 0; color: var(--faint); font-size: 0.82rem; }

.demo {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  min-width: 0; overflow: hidden;
}
.demo-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: #12141a;
}
.lights { display: flex; gap: 6px; }
.lights i { width: 8px; height: 8px; border-radius: 50%; background: #3a3e48; display: block; }
.lights i:first-child { background: #ff8a3d; }
.who-switch { display: flex; gap: 4px; margin-left: 4px; }
.who-switch button {
  border: 0; background: transparent; color: var(--faint);
  font: 500 0.75rem/1 var(--sans); padding: 6px 8px; border-radius: 999px; cursor: pointer;
}
.who-switch button.on { background: var(--panel-2); color: var(--ink); }
.tag-illus {
  margin-left: auto; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint);
}
.demo-body { padding: 18px 18px 16px; display: grid; gap: 12px; min-height: 390px; }
.msg span, .nle-top {
  display: block; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px;
}
.msg p, .msg pre { margin: 0; }
.msg.user p {
  font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.02em;
}
.msg.tool {
  background: #0d0f13; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.msg.tool pre {
  font-family: var(--mono); font-size: 0.78rem; line-height: 1.45;
  white-space: pre-wrap; overflow-wrap: anywhere; color: var(--teal);
}
.ok-line { color: var(--muted); font-size: 0.88rem; }
.ok-line strong { color: #b6e3b4; font-weight: 600; }
.nle { background: #0c0e12; border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.nle-top { display: flex; justify-content: space-between; }
.row { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 8px; }
.row b { font-weight: 500; font-size: 0.78rem; color: var(--muted); }
.bar {
  display: block; height: 22px; border-radius: 4px; width: 100%;
  transform-origin: left center;
}
.c1 { background: #3c7cb8; width: 92%; }
.c2 { background: #d08945; width: 74%; }
.c3 { background: #d85a4a; width: 100%; }
.track {
  position: relative; margin-top: 12px; height: 28px;
  background: #090b0e; border-radius: 4px; overflow: hidden;
}
.play {
  position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.anim { animation: rise 12s ease infinite backwards; }
.a2 { animation-delay: 0.8s; }
.a3 { animation-delay: 1.7s; }
.a4 { animation-delay: 2.5s; }
.bar { animation: grow 12s ease infinite backwards; }
.c1 { animation-delay: 2.8s; }
.c2 { animation-delay: 3.3s; }
.c3 { animation-delay: 3.8s; }
.play { animation: sweep 12s ease infinite backwards; }

@keyframes rise {
  0% { opacity: 0; transform: translateY(10px); }
  10% { opacity: 1; transform: none; }
  82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(6px); }
}
@keyframes grow {
  0%, 18% { transform: scaleX(0); }
  32%, 82% { transform: scaleX(1); }
  94%, 100% { transform: scaleX(0); }
}
@keyframes sweep {
  0%, 24% { left: 4%; opacity: 0; }
  34% { opacity: 1; }
  78% { left: 92%; opacity: 1; }
  90%, 100% { opacity: 0; }
}

section { padding: 72px 0; scroll-margin-top: 76px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  margin: 0 0 8px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.05;
}
.sub { margin: 0 0 28px; color: var(--muted); max-width: 36rem; }

.steps, .jobs, .points, .limits {
  display: grid; gap: 16px;
}
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jobs, .points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points { margin-top: 8px; }
.point-cmd { margin-top: 12px; color: var(--teal); font-family: var(--mono); font-size: 0.75rem; }
.founder-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 16px;
  padding: 28px 28px 24px;
  max-width: 46rem;
}
.founder-line {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; min-width: 0;
}
.step-no {
  font-family: var(--mono); color: var(--accent); font-size: 0.75rem; letter-spacing: 0.14em;
}
.card h3 { margin: 10px 0 6px; font-size: 1.35rem; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 28px; height: 28px; color: var(--accent); }

.copybox {
  display: flex; gap: 8px; align-items: stretch; margin-top: 16px;
  background: #0c0e12; border: 1px solid var(--line); border-radius: 12px; padding: 8px;
}
.copybox code {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.72rem; line-height: 1.45;
  color: var(--teal); overflow-wrap: anywhere; padding: 6px;
}
.copybox button {
  flex: none; align-self: center; border: 0; border-radius: 999px;
  background: var(--ink); color: #111; font: 600 0.78rem/1 var(--sans);
  padding: 8px 12px; cursor: pointer;
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px;
  font-size: 0.78rem; color: var(--ink); background: #0c0e12;
}
.quote {
  margin: 14px 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25;
}
.cmd-label { margin: 10px 0 0; }

.cta-band { text-align: center; padding: 28px; }
.cta-band h2 { margin-bottom: 16px; }

details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 2px 16px; margin-bottom: 8px;
}
summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
details p { margin: 0 0 14px; color: var(--muted); }
.limits { grid-template-columns: 1fr 1fr 1fr; }
.limits h3 { font-size: 1.05rem; margin: 8px 0; }
.limits ul { margin: 0; padding-left: 18px; color: var(--muted); }
.limits li { margin: 6px 0; }

.site-footer { padding: 28px 0 48px; color: var(--faint); font-size: 0.82rem; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot p { margin: 0; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(0, 0, 0, 0.62);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  width: min(440px, 100%); background: var(--panel); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; padding: 24px; position: relative;
}
.modal-card h2 { font-family: var(--sans); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.modal-close {
  position: absolute; top: 8px; right: 8px; border: 0; background: transparent;
  color: var(--muted); font-size: 1.5rem; cursor: pointer; padding: 4px 8px;
}
label { display: block; font-size: 0.8rem; font-weight: 600; margin: 14px 0 6px; }
input, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #0c0e12; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.form-note, .form-result { color: var(--muted); font-size: 0.88rem; }
.form-actions { margin-top: 16px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .wrap { width: min(1160px, calc(100% - 28px)); }
  .hero { padding-top: 28px; }
  .hero-grid, .steps, .jobs, .points, .limits { grid-template-columns: minmax(0, 1fr); }
  .nav-toggle { display: inline-flex; }
  .links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #101217; border-bottom: 1px solid var(--line); padding: 8px 16px 14px;
  }
  .nav.is-open .links { display: flex; }
  .links a { padding: 12px 2px; }
  .demo-body { min-height: 0; }
  h1 { font-size: 2.45rem; }
  .copybox { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .anim, .bar, .play { animation: none !important; opacity: 1 !important; transform: none !important; }
}


/* ============================================================
   Junior / Senior Editor Dynamic & Chatbot Grid Styling
   ============================================================ */

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.role-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.role-card.junior {
  border-top: 3px solid var(--teal);
}
.role-card.senior {
  border-top: 3px solid var(--accent);
  background: #13171e;
}
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}
.role-card.junior .role-badge {
  background: rgba(126, 200, 195, 0.12);
  color: var(--teal);
  border: 1px solid rgba(126, 200, 195, 0.25);
}
.role-card.senior .role-badge {
  background: rgba(255, 138, 61, 0.12);
  color: var(--accent);
  border: 1px solid rgba(255, 138, 61, 0.25);
}
.role-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.role-card p.role-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
  line-height: 1.5;
}
.role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
}
.role-list li strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.role-card.junior .role-list li::before {
  content: "⚡";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.85rem;
}
.role-card.senior .role-list li::before {
  content: "✨";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.85rem;
}

/* Chatbot Ecosystem Grid */
.bot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.bot-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.bot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 241, 234, 0.25);
}
.bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bot-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.bot-icon img { display: block; width: 20px; height: 20px; object-fit: contain; }
.hero-plug-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.plug-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 2px;
}
.plug-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.plug-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
}
.plug-chip img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 3px;
}
.plug-arrow {
  color: var(--accent, #2dd4bf);
  font-weight: 700;
  font-size: 0.9rem;
}
.bot-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bot-card h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.bot-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  flex: 1;
}
.bot-cmd {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--teal);
  background: #0c0e12;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}

/* Trust Pill Row */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 24px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 500;
}
.trust-pill span {
  color: var(--teal);
  font-weight: 700;
}

/* Interactive Chat Demo Styling */
.demo-senior-reply {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.demo-senior-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .role-grid, .bot-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Comparison Sales Page Specific Styles
   ============================================================ */

/* Badges */
.badge-diff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-diff.pass {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(21, 128, 61, 0.2);
}
.badge-diff.fail {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.28);
}
.badge-diff.warn {
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

/* Trust Bar / Micro Badges */
.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 32px;
  align-items: center;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 12px;
  font-weight: 500;
}
.trust-chip span {
  color: var(--green);
  font-weight: 700;
}

/* The 60-Second Verdict (3 Cards) */
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.verdict-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.verdict-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.verdict-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.verdict-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--text-main);
}
.verdict-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Architecture Comparison */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0 48px;
}
.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
}
.arch-card.highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 36px rgba(224, 79, 38, 0.08);
}
.arch-card .card-tag {
  display: inline-block;
  margin-bottom: 12px;
}
.arch-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.arch-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  line-height: 1.6;
}
.arch-code {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-main);
  overflow-x: auto;
  line-height: 1.5;
}

/* Interactive Scenario Simulator */
.scenario-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin: 48px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.scenario-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  overflow-x: auto;
}
.scenario-tab {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.scenario-tab:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
}
.scenario-tab.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}
.scenario-prompt-box {
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}
.scenario-prompt-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.scenario-prompt-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-main);
}

.scenario-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sc-diff-col {
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sc-diff-col.generic {
  background: #fdf5f5;
  border: 1px solid #fed7d7;
}
.sc-diff-col.rbridge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.sc-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sc-col-title {
  font-weight: 600;
  font-size: 0.92rem;
}
.sc-col-summary {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.45;
}
.sc-diff-col.generic .sc-col-summary {
  color: #991b1b;
}
.sc-diff-col.rbridge .sc-col-summary {
  color: #166534;
}
.sc-col-list {
  list-style: none;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.sc-col-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.sc-diff-col.generic .sc-col-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}
.sc-diff-col.rbridge .sc-col-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: bold;
}
.sc-col-footer {
  border-top: 1px dashed rgba(0,0,0,0.1);
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
}

/* Feature Matrix & Filters */
.matrix-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}
.matrix-filter-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-right: 6px;
}
.matrix-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.matrix-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
}
.matrix-filter-btn.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.breakdown-group {
  margin-bottom: 40px;
}
.breakdown-group h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.88rem;
}
.breakdown-table th, .breakdown-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.breakdown-table tr:last-child td {
  border-bottom: none;
}
.breakdown-table th {
  background: var(--bg-subtle);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.col-aspect {
  width: 22%;
  font-weight: 600;
  color: var(--text-main);
}
.col-generic {
  width: 38%;
  color: var(--text-muted);
}
.col-rbridge {
  width: 40%;
  background: var(--accent-soft);
  color: var(--text-main);
}

/* Total Cost of Ownership Economics */
.economics-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  margin: 48px 0;
}
.economics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
.econ-card {
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.econ-card.saas {
  background: var(--bg-subtle);
}
.econ-card.rbridge {
  background: #fdfaf8;
  border: 2px solid var(--accent);
}
.econ-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0 16px;
  color: var(--text-main);
}
.econ-price small {
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--text-muted);
}
.econ-list {
  list-style: none;
  font-size: 0.88rem;
  line-height: 1.6;
}
.econ-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}
.econ-card.saas .econ-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}
.econ-card.rbridge .econ-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 48px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item.open {
  border-color: var(--border-strong);
}
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::after {
  content: "+";
  font-size: 1.3rem;
  font-family: var(--font-mono);
  color: var(--text-light);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q::after {
  content: "−";
  color: var(--accent);
}
.faq-a {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--bg-subtle);
}
.faq-item.open .faq-a {
  display: block;
}

/* Sticky Conversion Floating Bar */
.sticky-conversion-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: rgba(16, 18, 23, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
  padding: 14px 0;
  z-index: 90;
  transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-conversion-bar.visible {
  bottom: 0;
}
.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sticky-bar-text {
  font-size: 0.92rem;
  color: var(--text-main);
}
.sticky-bar-text strong {
  font-weight: 600;
}
.sticky-bar-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 8px;
}
.sticky-bar-actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 820px) {
  .verdict-grid, .arch-grid, .scenario-diff-grid, .economics-grid {
    grid-template-columns: 1fr;
  }
  .col-aspect, .col-generic, .col-rbridge {
    width: auto;
  }
  .sticky-bar-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}


/* ============================================================
   Launch Polish: Hero Pill, Before/After, Pricing, Modals & Compare Support
   ============================================================ */
.btn-sm { padding: 8px 14px; font-size: 0.84rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--muted); }

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}
.lead-secondary {
  margin-top: -8px;
  font-size: 0.98rem;
  color: var(--ink);
}
.check-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--teal);
}
.demo-senior-quote {
  font-family: var(--serif);
  font-size: 1.06rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.35;
}
.demo-senior-bot {
  font-size: 0.82rem;
  color: var(--teal);
  margin: 5px 0 0;
}

/* Before & After */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.ba-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.ba-after {
  border-color: rgba(126, 200, 195, 0.34);
  background: linear-gradient(160deg, rgba(126, 200, 195, 0.06) 0%, var(--panel) 55%);
}
.ba-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ba-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.ba-tag-bad {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
}
.ba-tag-good {
  background: rgba(126, 200, 195, 0.16);
  color: var(--teal);
}
.ba-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.ba-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
}
.ba-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.ba-ico {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.ba-before .ba-ico { color: #f87171; }
.ba-after .ba-ico { color: var(--teal); }

/* Companion Callout */
.companion-callout {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.companion-callout strong {
  color: var(--ink);
  font-size: 0.96rem;
}
.companion-callout p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 44rem;
}

/* Terminal Fallback Toggle */
.terminal-toggle {
  margin-top: 14px;
  border: 0;
  padding: 0;
  background: transparent;
}
.terminal-toggle summary {
  font-size: 0.8rem;
  color: var(--faint);
  cursor: pointer;
  padding: 4px 0;
  list-style: none;
}
.terminal-toggle summary::-webkit-details-marker { display: none; }
.terminal-toggle summary:hover { color: var(--muted); }
.terminal-toggle .copybox { margin-top: 8px; }

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.price-card.featured {
  border-color: rgba(255, 138, 61, 0.55);
  background: linear-gradient(170deg, rgba(255, 138, 61, 0.08) 0%, var(--panel) 48%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
}
.price-head h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 600;
}
.price-tag {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-tag span {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}
.price-desc {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.price-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 11px;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.price-list li strong { color: var(--ink); }
.cloud-compare-strip {
  margin-top: 24px;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cloud-compare-strip strong {
  display: block;
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.cloud-compare-strip span {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 44rem;
}

/* Final CTA & Footer */
.final-cta {
  text-align: center;
  max-width: 42rem;
}
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
}
.footer-links a:hover { color: var(--ink); }

/* Modal Polish */
.modal-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(126, 200, 195, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.modal-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}
.modal-sub {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
.modal-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.co-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.co-row strong {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.co-guarantee {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
}
.modal-footnote {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--faint);
  text-align: center;
}

/* Compare.html Compatibility */
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.top-announcement {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announcement-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 0.84rem; color: var(--faint); }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.modal-code {
  background: #0b0d11;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--teal);
  overflow-x: auto;
}

@media (max-width: 900px) {
  .ba-grid, .pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .main-nav { display: none; }
}
