:root {
  color-scheme: light;
  --ink: #10212d;
  --muted: #5a6a74;
  --line: #d9e4e8;
  --bg: #f7fbfa;
  --panel: #ffffff;
  --panel-2: #eef7f4;
  --navy: #12324a;
  --teal: #0f8f8a;
  --green: #1f9d66;
  --blue: #2e6de6;
  --amber: #c9821f;
  --red: #c2413a;
  --shadow: 0 24px 70px rgba(18, 50, 74, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, textarea { font: inherit; }

.page-shell {
  min-height: 100vh;
  transition: filter 160ms ease;
}
body.modal-open .page-shell {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(247, 251, 250, 0.92);
  border-bottom: 1px solid rgba(217, 228, 232, 0.86);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 10px 25px rgba(15, 143, 138, 0.28);
}
.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 10px;
  color: #36505c;
  font-weight: 700;
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--teal); }
.header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}
.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(620px, 1.12fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(28px, 5vw, 68px) clamp(18px, 5vw, 64px) 32px;
  background:
    linear-gradient(180deg, rgba(238, 247, 244, 0.95), rgba(247, 251, 250, 0.98)),
    repeating-linear-gradient(90deg, rgba(18, 50, 74, 0.04) 0 1px, transparent 1px 72px);
}
.hero-copy { max-width: 660px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 5.9rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 3.2vw, 3.35rem); }
h3 { font-size: 1.18rem; }
.hero-lede, .page-hero p, .section-heading p, .split-section p, .guide-hero p {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.hero-actions, .guide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 18px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  line-height: 1.1;
}
.button-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 143, 138, 0.25);
}
.button-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}
.button:hover { transform: translateY(-1px); }
.full-width { width: 100%; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.trust-strip span, .status-pill, .plan-badge {
  border: 1px solid rgba(15, 143, 138, 0.22);
  background: rgba(255,255,255,0.78);
  color: #29535d;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}
.console-shell {
  align-self: stretch;
  min-height: 690px;
  border: 1px solid rgba(18, 50, 74, 0.16);
  border-radius: 10px;
  background: #0f2330;
  color: #e9f5f2;
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.console-topbar, .panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.console-topbar h2 { font-size: clamp(1.45rem, 2vw, 2.1rem); }
.status-pill {
  background: rgba(25, 157, 102, 0.16);
  color: #c9fff0;
  border-color: rgba(31, 157, 102, 0.38);
}
.status-pill span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #38d48a;
}
.source-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.source-tab {
  min-height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: #cfe1de;
  cursor: pointer;
  font-weight: 800;
}
.source-tab.is-active {
  background: #dff8f2;
  color: #113442;
}
.log-label {
  color: #b8cac8;
  font-size: 0.82rem;
  font-weight: 800;
}
.log-input {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #081620;
  color: #dff8f2;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
}
.console-actions {
  display: flex;
  gap: 10px;
}
.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metric {
  min-height: 104px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  padding: 14px;
}
.metric span, .metric small {
  display: block;
  color: #a9bbb9;
  font-weight: 700;
}
.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 2rem;
  line-height: 1.05;
}
.results-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 12px;
  min-height: 250px;
}
.detected-list {
  display: grid;
  gap: 8px;
  align-content: start;
}
.finding {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  min-height: 66px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  padding: 10px 12px;
}
.finding strong { display: block; }
.finding small { color: #a9bbb9; }
.risk-chip {
  align-self: center;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}
.risk-high { color: #ffd8d6; background: rgba(194, 65, 58, 0.22); }
.risk-medium { color: #ffe8c8; background: rgba(201, 130, 31, 0.2); }
.risk-low { color: #c9fff0; background: rgba(31, 157, 102, 0.18); }
.heatmap-panel {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.055);
  padding: 12px;
}
.panel-title {
  color: #cfe1de;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.heatmap {
  display: grid;
  grid-template-columns: repeat(5, minmax(28px, 1fr));
  gap: 8px;
}
.heat-cell {
  aspect-ratio: 1;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #07151e;
  font-weight: 900;
  font-size: 0.76rem;
}
.heat-low { background: #77ddb3; }
.heat-medium { background: #f2c875; }
.heat-high { background: #ef8a83; }
.section, .split-section, .page-hero, .guide, .legal, .checkout-page {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px);
}
.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}
.feature-grid, .resource-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card, .resource-card, .plan-card, .checkout-assurance, .pricing-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 14px 38px rgba(18, 50, 74, 0.07);
}
.feature-card p, .resource-card p, .plan-fit, .plan-total, .legal p, .guide-section p, .guide-section li {
  color: var(--muted);
}
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 32px;
  align-items: center;
  background: #10293a;
  color: #f2fbf8;
}
.split-section p { color: #c7d8d6; }
.timeline {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.timeline div {
  display: grid;
  gap: 4px;
  border-left: 3px solid var(--teal);
  padding: 8px 0 8px 14px;
}
.timeline span { color: #c7d8d6; }
.dashboard-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  background: #f6fbfb;
}
.billing-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 18px;
}
.billing-toggle button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
}
.billing-toggle button.is-active {
  background: var(--navy);
  color: #fff;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-card.is-featured {
  border-color: rgba(15, 143, 138, 0.5);
  box-shadow: 0 24px 60px rgba(15, 143, 138, 0.17);
}
.plan-badge {
  align-self: flex-start;
  color: var(--teal);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-price span {
  font-size: 2.45rem;
  line-height: 1;
  font-weight: 900;
}
.plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 auto;
  padding-left: 18px;
  color: var(--muted);
}
.pricing-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.resource-card {
  display: grid;
  gap: 8px;
}
.resource-card span {
  color: var(--teal);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.page-hero, .guide-hero {
  background: linear-gradient(180deg, #eaf7f4, #f7fbfa);
}
.compact-hero {
  padding-bottom: 34px;
}
.compact-hero h1, .guide-hero h1 {
  max-width: 920px;
  font-size: clamp(2.25rem, 4.8vw, 4.7rem);
}
.guide {
  max-width: 1120px;
  margin: 0 auto;
}
.guide-hero {
  margin: calc(clamp(48px, 7vw, 92px) * -1) calc(clamp(18px, 5vw, 64px) * -1) 34px;
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 64px);
}
.guide-section {
  margin: 26px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.guide-section ul, .guide-section ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}
.product-link {
  background: #0f2330;
  color: #f2fbf8;
  border-color: rgba(255,255,255,0.12);
}
.product-link p { color: #c8d9d6; }
.legal {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
}
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.legal h2 {
  font-size: 1.35rem;
  margin-top: 28px;
}
.checkout-page {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.65fr);
  gap: 24px;
  align-items: start;
}
.checkout-summary {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}
.checkout-summary span { color: var(--muted); }
.checkout-summary strong { font-size: 1.4rem; }
.footer {
  background: #07151e;
  color: #d6e5e2;
  padding: 46px clamp(18px, 5vw, 64px) 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.footer h2 {
  font-size: 0.92rem;
  margin-bottom: 10px;
  color: #fff;
}
.footer a {
  display: block;
  color: #d6e5e2;
  margin: 7px 0;
}
.footer p, .footer-bottom {
  color: #9fb3b0;
}
.footer-brand { color: #fff; }
.footer-region {
  max-width: 480px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.11);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.82rem;
}
.checkout-overlay[hidden] { display: none; }
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
}
.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 21, 30, 0.62);
}
.checkout-modal {
  position: relative;
  width: min(980px, 96vw);
  height: min(760px, 90vh);
  display: grid;
  grid-template-rows: auto auto 1fr;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0,0,0,0.34);
  overflow: hidden;
}
.checkout-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.checkout-modal-head h2 {
  font-size: clamp(1.15rem, 2vw, 1.7rem);
}
.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
.checkout-status {
  padding: 12px 20px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.checkout-frame {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 1120px) {
  .hero, .split-section, .checkout-page {
    grid-template-columns: 1fr;
  }
  .console-shell { min-height: auto; }
  .feature-grid, .resource-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
  }
  .nav-toggle { display: block; justify-self: end; }
  .nav-links, .header-cta {
    display: none;
  }
  .site-header.menu-open .nav-links {
    display: grid;
    grid-column: 1 / -1;
    justify-self: stretch;
    gap: 2px;
    padding-top: 8px;
  }
  .site-header.menu-open .header-cta {
    display: inline-flex;
    grid-column: 1 / -1;
  }
  .hero {
    min-height: auto;
    padding-top: 26px;
  }
  h1 { font-size: clamp(2.25rem, 14vw, 3.55rem); }
  .console-grid, .results-layout, .feature-grid, .resource-grid, .pricing-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .console-actions, .pricing-note, .footer-bottom {
    flex-direction: column;
  }
  .source-tabs, .billing-toggle {
    grid-template-columns: 1fr;
  }
  .checkout-modal {
    height: 92vh;
  }
}