/* ==============================================================
   RunSpection — shared site styles
   Used by /, /pricing/, /contact/, /compare/, /compare/<slug>/
   Page-specific CSS stays inline on each page after this file.
   ============================================================== */

:root {
  /* Core palette — neutral zinc scale */
  --background: #FFFFFF;
  --foreground: #09090B;
  --muted: #F4F4F5;
  --muted-foreground: #71717A;
  --border: #E4E4E7;
  --border-strong: #D4D4D8;
  --card: #FFFFFF;
  --card-subtle: #FAFAFA;
  --accent: #18181B;
  --accent-foreground: #FAFAFA;

  /* Brand signal */
  --brand: #059669;
  --brand-soft: #ECFDF5;
  --brand-ring: rgba(5, 150, 105, 0.18);

  --success: #16A34A;
  --success-soft: #F0FDF4;
  --danger: #E11D48;
  --danger-soft: #FFF1F2;
  --running: #2563EB;
  --running-soft: #EFF6FF;
  --gold: #D4A017;
  --gold-soft: rgba(212, 160, 23, 0.12);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.04);
  --shadow: 0 1px 3px 0 rgba(0,0,0,0.06), 0 1px 2px 0 rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px -10px rgba(0,0,0,0.12), 0 4px 10px -4px rgba(0,0,0,0.06);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.18);

  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --wrap-pad: 28px;
  --nav-pad-y: 14px;
  --section-pad: 96px;
}

@media (max-width: 720px) {
  :root {
    --wrap-pad: 20px;
    --nav-pad-y: 10px;
    --section-pad: 64px;
  }
}

/* ============== RESET / BASE ============== */
* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--f-sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
  position: relative;
}
.wrap-narrow { max-width: 1100px; }

/* ============== NAV ============== */
nav.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: var(--nav-pad-y) var(--wrap-pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
  color: var(--foreground);
  flex-shrink: 0;
}
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--foreground);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.brand-mark svg { display: block; }

.nav-links { display: flex; gap: 28px; align-items: center; font-size: 13.5px; font-weight: 450; }
.nav-links a { color: var(--muted-foreground); transition: color .15s; }
.nav-links a:hover { color: var(--foreground); }
.nav-links a.active { color: var(--foreground); }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; font-size: 13.5px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all .15s ease;
  border: 1px solid transparent;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--foreground); color: var(--accent-foreground);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #27272A; box-shadow: var(--shadow); }
.btn-primary .arrow { transition: transform .2s ease; }
.btn-primary:hover .arrow { transform: translateX(2px); }

.btn-lg { padding: 11px 20px; font-size: 14px; border-radius: var(--radius-lg); }

.btn-ghost {
  color: var(--muted-foreground);
  border-color: var(--border);
  background: var(--background);
}
.btn-ghost:hover { color: var(--foreground); border-color: var(--border-strong); }

/* ============== MOBILE NAV ============== */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--background);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  transition: border-color .15s ease, background .15s ease;
}
.nav-toggle:hover { border-color: var(--border-strong); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.nav-toggle-bar {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--foreground);
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 49;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: calc(var(--nav-pad-y) * 2 + 38px + 12px) var(--wrap-pad) 24px;
  transform: translateY(-100%);
  transition: transform .28s ease;
  display: none;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
}
.mobile-menu-inner a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-inner a.active { color: var(--brand); }
.mobile-menu-inner a:hover { color: var(--brand); }
.mobile-menu-inner .menu-cta {
  margin-top: 18px;
  padding: 12px 18px;
  justify-content: center;
  border-bottom: none;
  color: var(--accent-foreground);
}
.mobile-menu-inner .menu-cta:hover { color: var(--accent-foreground); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  nav.topnav > .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
  body.menu-open { overflow: hidden; }
}

/* ============== HERO (shared) ============== */
.hero {
  padding: 130px 0 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero.hero-large { padding: 140px 0 100px; }

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(900px, 120vw);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--brand-soft) 0%, transparent 60%);
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}
.hero.hero-large::before {
  height: 600px;
  opacity: 0.9;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted-foreground);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  font-weight: 450;
  max-width: 100%;
}

h1.hero-title {
  font-weight: 600;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--foreground);
  margin-bottom: 18px;
  text-wrap: balance;
}
h1.hero-title.hero-title-xl {
  font-size: clamp(38px, 7.2vw, 84px);
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
h1.hero-title .accent {
  background: linear-gradient(180deg, var(--foreground) 0%, #52525B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h1.hero-title .brand-accent { color: var(--brand); }
h1.hero-title .forever { color: var(--brand); display: inline-block; position: relative; }

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 28px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-sub strong { color: var(--foreground); font-weight: 500; }

.hero-cta { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-cta-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center; }
.hero-cta .note {
  font-size: 12.5px; color: var(--muted-foreground); font-weight: 400;
}

@media (max-width: 720px) {
  .hero { padding: 110px 0 28px; }
  .hero.hero-large { padding: 112px 0 72px; }
  .hero-badge { margin-bottom: 18px; font-size: 12px; padding: 5px 12px; }
  h1.hero-title.hero-title-xl { letter-spacing: -0.035em; margin-bottom: 20px; }
}

/* ============== SECTION HEADERS ============== */
section { padding: var(--section-pad) 0; position: relative; }

.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-block;
}

h2 {
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--foreground);
  max-width: 720px;
  text-wrap: balance;
}
h2.h2-small { font-size: clamp(26px, 3.6vw, 36px); }
h2 .brand-accent { color: var(--brand); }

.lede {
  font-size: clamp(15px, 1.4vw, 16px);
  color: var(--muted-foreground);
  max-width: 580px;
  margin-top: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* ============== CTA BAND (dark footer CTA) ============== */
.cta-band {
  background: var(--foreground);
  color: var(--accent-foreground);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band.cta-band-large { padding: 100px 0 88px; }
@media (max-width: 720px) {
  .cta-band { padding: 64px 0 56px; }
  .cta-band.cta-band-large { padding: 72px 0 64px; }
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(5,150,105,0.22), transparent 55%),
    radial-gradient(ellipse at 80% 0%, rgba(5,150,105,0.10), transparent 55%);
  pointer-events: none;
}
.cta-band > .wrap { position: relative; z-index: 2; }
.cta-band h2 {
  color: var(--accent-foreground);
  margin: 0 auto 14px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-band.cta-band-large h2 {
  margin: 0 auto 20px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
}
.cta-band h2 .brand-accent { color: #6EE7B7; }
.cta-band p, .cta-band .lede {
  color: rgba(255,255,255,0.62);
  margin: 0 auto 24px;
  font-size: clamp(14px, 1.4vw, 16px);
  max-width: 540px;
}
.cta-band.cta-band-large .lede { margin: 0 auto 32px; }
.cta-band .btn-primary {
  background: var(--background); color: var(--foreground);
}
.cta-band .btn-primary:hover { background: #F4F4F5; }
.cta-band .cta-note {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ============== FOOTER ============== */
footer.site-footer,
body > footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted-foreground);
  flex-wrap: wrap; gap: 14px;
}
.foot a:hover { color: var(--foreground); }
.foot-brand { font-weight: 600; color: var(--foreground); letter-spacing: -0.01em; }
@media (max-width: 560px) {
  .foot { justify-content: center; text-align: center; gap: 10px; }
  .foot > div { width: 100%; }
}

/* ============== REVEAL ANIMATION ============== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .no-rotator .word,
  .running-step .spinner,
  .play-btn { animation: none !important; }
}

/* ============== Recovered rules from previous inline <style> ============== */
.no-strip {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--card-subtle);
    text-align: center;
  }

.no-line {
    font-weight: 500;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--foreground);
    display: inline-flex;
    align-items: baseline;
    gap: 0.35em;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
  }

.no-rotator {
    display: inline-block;
    color: var(--brand);
    font-weight: 600;
    position: relative;
    /* Sized to the longest word "false alarms." so layout never shifts */
    min-width: 7.5em;
    text-align: left;
  }

@media (max-width: 520px) {
    /* On narrow screens, allow it to collapse naturally */
    .no-rotator { min-width: 0; }
    .no-line { gap: 0.3em; }
    .no-strip { padding: 22px 0; }
  }

.no-rotator .word {
    display: inline-block;
    animation: rotateWord 2.4s ease-in-out forwards;
  }

@keyframes rotateWord {
    0%   { opacity: 0; transform: translateY(10px); filter: blur(4px); }
    14%  { opacity: 1; transform: translateY(0);    filter: blur(0); }
    82%  { opacity: 1; transform: translateY(0);    filter: blur(0); }
    100% { opacity: 0; transform: translateY(-8px); filter: blur(3px); }
  }

.how-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
  }

@media (max-width: 960px) {
    .how-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
  }

.timeline {
    position: relative;
    max-width: 480px;
  }

.timeline::before {
    content: "";
    position: absolute;
    left: 15px; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom,
      transparent 0%,
      var(--border-strong) 10%,
      var(--border-strong) 90%,
      transparent 100%);
  }

.tstep {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 18px;
    padding: 6px 0 24px;
    position: relative;
  }

.tstep:last-child { padding-bottom: 0; }

.tstep-num {
    position: relative;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--background);
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted-foreground);
    z-index: 2;
    transition: all .25s;
  }

.tstep:hover .tstep-num {
    background: var(--foreground);
    color: var(--accent-foreground);
    border-color: var(--foreground);
    box-shadow: 0 0 0 4px var(--brand-ring);
  }

.tstep-body { padding-top: 4px; }

.tstep-tag {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
  }

.tstep h3 {
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.015em;
    color: var(--foreground);
    margin-bottom: 6px;
    line-height: 1.3;
  }

.tstep p {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.55;
    text-wrap: pretty;
  }

.tstep .chip {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px;
    padding: 3px 10px;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    color: var(--muted-foreground);
    font-weight: 500;
  }

.tstep .chip::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: var(--success);
  }

.screenshot-frame {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--card);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    /* Prevent overflow in constrained grid tracks */
    min-width: 0;
    width: 100%;
  }

.screenshot-chrome {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--card-subtle);
  }

.chrome-dots { display: flex; gap: 6px; flex-shrink: 0; }

.chrome-dots span {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--border-strong);
    box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.08);
  }

.chrome-dots span:nth-child(1) { background: #FF5F57; }

.chrome-dots span:nth-child(2) { background: #FEBC2E; }

.chrome-dots span:nth-child(3) { background: #28C840; }

.chrome-url {
    flex: 1;
    min-width: 0;
    padding: 4px 10px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--muted-foreground);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

.app-preview {
    padding: 20px;
    min-height: 440px;
    display: flex; flex-direction: column; gap: 14px;
    background:
      linear-gradient(180deg, var(--card) 0%, var(--card-subtle) 100%);
  }

.app-section-title {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }

.app-section-title h4 {
    font-size: 13px; font-weight: 600; color: var(--foreground);
    letter-spacing: -0.01em;
  }

.app-status-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 999px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    font-weight: 500;
    white-space: nowrap;
  }

.app-status-pill::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    flex-shrink: 0;
  }

.test-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    display: flex; flex-direction: column; gap: 8px;
    transition: border-color .2s;
  }

.test-card:hover { border-color: var(--border-strong); }

.test-card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
  }

.test-card-name {
    font-size: 13px; font-weight: 500; color: var(--foreground);
    letter-spacing: -0.005em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.test-badge {
    font-family: var(--f-mono);
    font-size: 10px; font-weight: 500;
    padding: 2px 7px;
    border-radius: 4px;
    flex-shrink: 0;
  }

.badge-ok { background: var(--success-soft); color: var(--success); }

.badge-run { background: var(--running-soft); color: var(--running); }

.test-card-flow {
    font-size: 12px;
    color: var(--muted-foreground);
    line-height: 1.5;
    text-wrap: pretty;
  }

.test-card-meta {
    display: flex;
    gap: 6px 14px;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--f-mono);
    font-size: 10.5px;
    color: var(--muted-foreground);
    padding-top: 6px;
    border-top: 1px dashed var(--border);
  }

.test-card-meta .dot { color: var(--border-strong); }

.test-card-meta .schedule {
    display: inline-flex; align-items: center; gap: 5px;
  }

.test-card-meta .schedule svg { flex-shrink: 0; }

@media (max-width: 420px) {
    .test-card-meta .dot { display: none; }
  }

.running-step {
    display: flex; align-items: center; gap: 8px;
    font-size: 11.5px;
    color: var(--running);
    font-family: var(--f-mono);
    font-weight: 500;
  }

.running-step .spinner {
    width: 10px; height: 10px;
    border: 1.5px solid rgba(37, 99, 235, 0.18);
    border-top-color: var(--running);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    flex-shrink: 0;
  }

@keyframes spin { to { transform: rotate(360deg); } }

.demo { background: var(--card-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.demo-frame {
    margin-top: 48px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--foreground);
    aspect-ratio: 16/9;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-xl);
  }

.demo-placeholder {
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    color: rgba(255,255,255,0.55);
  }

.play-btn {
    width: clamp(56px, 10vw, 72px);
    height: clamp(56px, 10vw, 72px);
    border-radius: 50%;
    background: var(--background);
    display: flex; align-items: center; justify-content: center;
    transition: transform .25s;
    animation: pulseRing 2.5s ease-out infinite;
  }

@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
    100% { box-shadow: 0 0 0 28px rgba(255,255,255,0); }
  }

.play-btn:hover { transform: scale(1.05); }

.play-btn::before {
    content: "";
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--foreground);
    margin-left: 4px;
  }

.demo-caption {
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
  }

.compare-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow-sm);
  }

@media (max-width: 860px) {
    .compare-grid { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  }

.compare-col { padding: 32px; }

.compare-col.old { border-right: 1px solid var(--border); background: var(--card-subtle); }

@media (max-width: 860px) {
    .compare-col.old { border-right: none; border-bottom: 1px solid var(--border); }
    .compare-col { padding: 28px 24px; }
  }

.compare-tag {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
  }

.compare-col.old .compare-tag { color: var(--danger); background: var(--danger-soft); }

.compare-col.new .compare-tag { color: var(--brand); background: var(--brand-soft); }

.compare-col h3 {
    font-size: clamp(19px, 2.2vw, 22px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 20px;
    line-height: 1.2;
    text-wrap: balance;
  }

.compare-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.compare-list li {
    font-size: 14px; line-height: 1.5;
    padding-left: 26px; position: relative;
    letter-spacing: -0.005em;
    text-wrap: pretty;
  }

.compare-list li::before {
    position: absolute; left: 0; top: 3px;
    width: 16px; height: 16px;
    border-radius: 4px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    font-family: var(--f-mono);
  }

.compare-col.old .compare-list li::before {
    content: "×";
    background: var(--danger-soft); color: var(--danger);
    font-size: 14px; line-height: 1;
  }

.compare-col.new .compare-list li::before {
    content: "✓";
    background: var(--brand-soft); color: var(--brand);
    font-size: 9px;
  }

.compare-col.old li { color: var(--muted-foreground); }

.compare-col.new li { color: var(--foreground); }

.values {
    border-top: 1px solid var(--border);
    background: var(--card-subtle);
  }

.values-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

@media (max-width: 860px) {
    .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  }

@media (max-width: 520px) {
    .values-grid { grid-template-columns: minmax(0, 1fr); }
  }

.value-item {
    background: var(--card);
    padding: 28px 24px;
    display: flex; flex-direction: column; gap: 8px;
    transition: background .15s ease;
  }

.value-item:hover { background: var(--card-subtle); }

.value-icon {
    width: 32px; height: 32px;
    border-radius: var(--radius);
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
  }

.value-item h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--foreground);
    line-height: 1.3;
  }

.value-item p {
    font-size: 13.5px;
    color: var(--muted-foreground);
    line-height: 1.5;
    text-wrap: pretty;
  }

.cta {
    background: var(--foreground);
    color: var(--accent-foreground);
    padding: 100px 0 88px;
    position: relative;
    overflow: hidden;
  }

.cta::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 100%, rgba(5,150,105,0.22), transparent 55%),
      radial-gradient(ellipse at 80% 0%, rgba(5,150,105,0.10), transparent 55%);
    pointer-events: none;
  }

.cta-inner { text-align: center; position: relative; z-index: 2; }

.cta h2 {
    color: var(--accent-foreground);
    margin: 0 auto 20px;
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.05;
  }

.cta h2 .brand-accent { color: #6EE7B7; }

.cta .lede {
    color: rgba(255,255,255,0.62);
    margin: 0 auto 32px;
    font-size: clamp(15px, 1.4vw, 16px);
  }

.cta .btn-primary {
    background: var(--background); color: var(--foreground);
  }

.cta .btn-primary:hover { background: #F4F4F5; }

.cta-note {
    margin-top: 18px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
  }

footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 32px 0;
  }

