:root {
  --navy: #0f2740;
  --navy-2: #1c3550;
  --teal: #0aa3c2;
  --teal-2: #0889a4;
  --teal-soft: #e7f7fb;
  --ink: #173047;
  --muted: #5d6f82;
  --line: #d7e2ec;
  --bg: #ffffff;
  --soft: #f5f9fc;
  --card: #fff;
  --blue: #2f6fed;
  --amber: #c77700;
  --green: #148a52;
  --slate: #64748b;
  --red: #c0353a;
  --shadow: 0 24px 64px rgba(15, 39, 64, .10);
  --shadow-soft: 0 10px 28px rgba(15, 39, 64, .06);
  --radius: 20px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-2); }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.logo-ready { color: var(--navy); }
.logo-gauge { color: var(--teal); }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215,226,236,.55);
}
.site-header .wrap {
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em;
}
.logo-text { display: inline-flex; }
.nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--navy-2); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--teal-2); }
.nav .btn { font-size: .9rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: .15s ease;
  font-family: inherit;
}
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-nav { min-height: 42px; padding: 0 18px; }
.btn-block { width: 100%; }
.btn:focus-visible,
.scenario-tab:focus-visible {
  outline: 3px solid rgba(10,163,194,.45);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--teal); color: #fff;
  box-shadow: 0 12px 28px rgba(10,163,194,.28);
}
.btn-primary:hover { background: var(--teal-2); transform: translateY(-1px); }
.btn-outline {
  background: #fff; color: var(--teal-2);
  border: 1.5px solid var(--teal);
  box-shadow: none;
}
.btn-outline:hover { background: var(--teal-soft); transform: translateY(-1px); }

.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 35%, rgba(10,163,194,.10), transparent 55%),
    linear-gradient(180deg, #eef7fb 0%, #f7fbfd 42%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}
.hero-copy-col { max-width: 34rem; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  color: var(--teal-2); font-size: .74rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero h1 {
  margin: 0; color: var(--navy);
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.05; letter-spacing: -.035em; font-weight: 800;
}
.hero h1 .hero-accent,
.hero-accent { color: #0aa3c2 !important; }
.hero-problem {
  margin: 22px 0 10px; font-size: 1.18rem; font-weight: 700; color: var(--navy);
}
.hero-copy {
  margin: 0 0 28px; color: var(--muted); font-size: 1.05rem; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-price { margin: 0; color: var(--navy-2); font-weight: 650; font-size: .95rem; }

.hero-visual {
  position: relative;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center right;
  filter: drop-shadow(0 28px 50px rgba(15, 39, 64, .18));
}

.section { padding: 88px 0; }
.section-white { background: #fff; }
.section-soft { background: var(--soft); }
.section-pricing {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(10,163,194,.07), transparent 50%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}
.section h2 {
  margin: 0 0 12px; color: var(--navy);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.15; letter-spacing: -.02em; font-weight: 800;
}
.section-lead {
  margin: 0 0 36px; max-width: 42rem; color: var(--muted); font-size: 1.05rem;
}
.section-lead-tight { margin-top: -24px; margin-bottom: 36px; }
.pricing-intro { text-align: center; margin-bottom: 8px; }
.pricing-intro .section-lead { margin-left: auto; margin-right: auto; }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 32px 24px;
  box-shadow: none;
  text-align: left;
}
.pillar:last-child { border-right: 0; }
.pillar-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-icon-blue { background: #eaf1ff; color: var(--blue); }
.pillar-icon-teal { background: var(--teal-soft); color: var(--teal-2); }
.pillar-icon-amber { background: #fff4df; color: var(--amber); }
.pillar-icon-green { background: #e8f7ef; color: var(--green); }
.pillar-kicker {
  margin-bottom: 8px;
  font-size: .95rem; font-weight: 800; color: var(--navy);
  letter-spacing: 0; text-transform: none;
}
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }

.demo-panel {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 20px; box-shadow: var(--shadow-soft);
}
.scenario-tabs { display: grid; gap: 10px; }
.scenario-tab {
  text-align: left; border: 1px solid var(--line); background: #fff;
  border-radius: 16px; padding: 14px 16px; cursor: pointer; color: var(--navy);
  font-family: inherit; transition: .12s ease;
}
.scenario-tab:hover { border-color: rgba(10,163,194,.35); }
.scenario-tab[aria-selected="true"] {
  border-color: rgba(10,163,194,.55);
  background: var(--teal-soft);
  box-shadow: inset 0 0 0 1px rgba(10,163,194,.18);
}
.scenario-tab strong { display: block; font-size: .98rem; }
.scenario-tab span { color: var(--muted); font-size: .88rem; }

.result-card {
  border: 1px solid var(--line); border-radius: 18px; background: #fbfcfe; padding: 22px;
  min-height: 100%;
}
.result-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.25rem; }
.result-meta { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.status-rows { display: grid; gap: 10px; margin-bottom: 16px; }
.status-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
}
.status-row .label { font-weight: 700; color: var(--navy-2); }
.status-chip {
  display: inline-flex; border-radius: 999px; padding: 4px 10px;
  font-size: .78rem; font-weight: 800;
}
.chip-blue { background: #eaf1ff; color: var(--blue); }
.chip-teal { background: var(--teal-soft); color: var(--teal-2); }
.chip-amber { background: #fff4df; color: #9a5b00; }
.chip-green { background: #e8f7ef; color: var(--green); }
.chip-slate { background: #eef2f6; color: var(--slate); }
.chip-red { background: #fdecec; color: var(--red); }

.verdict { border-radius: 14px; padding: 14px; border: 1px solid transparent; }
.verdict strong { display: block; margin-bottom: 4px; font-size: 1.02rem; }
.verdict p { margin: 0; font-size: .94rem; }
.verdict-ready { background: #e8f7ef; border-color: #b7ebcd; color: #0f5e37; }
.verdict-blocked { background: #fff4df; border-color: #f0d19a; color: #7a4a00; }
.verdict-done { background: #eef2f6; border-color: #c9d4e0; color: #334155; }
.note { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }

.pricing-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 20px;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px;
}
.price-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px 24px; box-shadow: var(--shadow-soft);
}
.price-card.featured {
  border-color: rgba(10,163,194,.4);
  box-shadow: 0 16px 40px rgba(10,163,194,.12);
}
.price-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1rem; font-weight: 700; }
.price {
  margin: 0 0 6px; font-size: 2.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em;
}
.price span { font-size: 1rem; font-weight: 650; color: var(--muted); }
.price-trial { margin: 0 0 18px; color: var(--teal-2); font-weight: 700; font-size: .95rem; }
.save-badge {
  display: inline-block; margin-bottom: 10px; border-radius: 999px;
  background: #e8f7ef; color: var(--green);
  font-size: .78rem; font-weight: 800; padding: 4px 12px;
}
.price-foot {
  text-align: center; color: var(--muted); font-weight: 600; margin: 8px 0 0;
}

.benefits {
  display: grid; gap: 22px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.benefit {
  display: flex; gap: 14px; align-items: flex-start;
  background: transparent; border: 0; border-radius: 0; padding: 0;
}
.benefit-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-2);
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit h3 { margin: 0 0 4px; color: var(--navy); font-size: 1.02rem; }
.benefit p { margin: 0; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line); background: #fff; padding: 36px 0 52px;
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center;
}
.footer-brand strong { display: block; font-size: 1.05rem; }
.footer-brand span { color: var(--muted); font-size: .92rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--navy-2); font-weight: 700; }

.legal-page { padding: 48px 0 72px; background: var(--soft); }
.legal-page h1 { margin-top: 0; color: var(--navy); }
.legal-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px;
}

@media (max-width: 980px) {
  .hero-grid,
  .demo-panel,
  .pricing-layout,
  .pricing-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:nth-child(odd) { border-right: 1px solid var(--line); }
  .pillar:nth-last-child(-n+2) { border-bottom: 0; }
  .benefits { padding-left: 0; border-left: 0; padding-top: 8px; }
  .hero { padding: 40px 0 36px; }
  .hero-visual { order: -1; }
  .hero-visual img { filter: drop-shadow(0 18px 32px rgba(15, 39, 64, .14)); }
  .section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .site-header .wrap { min-height: 62px; }
  .nav { gap: 12px; }
  .nav > a:not(.btn) { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
