
:root {
  color-scheme: light;
  --ink: #10242b;
  --muted: #5f6f78;
  --line: #d7e3e6;
  --paper: #ffffff;
  --wash: #f5fafb;
  --teal: #17776e;
  --teal-dark: #0e514d;
  --amber: #f0a23d;
  --red: #cf4d48;
  --blue: #356f9b;
  --shadow: 0 18px 50px rgba(16, 36, 43, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--wash);
  color: var(--ink);
  letter-spacing: 0;
}
body.checkout-active main,
body.checkout-active .site-header,
body.checkout-active .site-footer { filter: blur(4px); pointer-events: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 251, 252, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
nav { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }
.header-cta, .primary, .secondary, .link-button, .site-footer button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.primary, .header-cta {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 119, 110, .22);
}
.primary:hover, .header-cta:hover { background: var(--teal-dark); }
.secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.secondary:hover { border-color: var(--teal); }
main { overflow: hidden; }
.hero-tool {
  min-height: calc(100vh - 68px);
  max-height: 820px;
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(520px, 1.14fr);
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(26px, 4vw, 50px) clamp(18px, 5vw, 70px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: .98;
  margin-bottom: 18px;
  max-width: 780px;
}
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 10px; }
p { color: var(--muted); line-height: 1.65; }
.hero-lede { font-size: 19px; max-width: 660px; }
.hero-actions, .modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 22px 0;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-strip span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: #40505a;
  font-size: 13px;
}
.sim-console {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.console-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
}
.console-bar strong { color: #9fe2d9; }
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}
.field, .boundary-set {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  background: #fbfefe;
}
.field span, .boundary-set legend {
  color: #40505a;
  font-size: 12px;
  font-weight: 800;
}
.field.wide, .wide { grid-column: 1 / -1; }
textarea, select, input[type="file"] {
  width: 100%;
  border: 1px solid #c9d8dc;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 104px; }
small { color: var(--muted); }
.boundary-set {
  grid-template-columns: 1fr 1fr;
  align-content: start;
}
.boundary-set legend { grid-column: 1 / -1; margin-bottom: 4px; }
.boundary-set label { display: flex; gap: 8px; align-items: center; color: #344a54; font-size: 14px; }
.result-panel {
  border-top: 1px solid var(--line);
  padding: 14px 16px 16px;
  background: #f9fcfd;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.metric-row div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.metric-row span { display: block; font-size: 24px; font-weight: 850; color: var(--ink); }
.metric-row small { font-size: 11px; }
.risk-board {
  border: 1px solid #f1c4be;
  background: #fff8f7;
  border-radius: 8px;
  padding: 12px;
}
.risk-board h2 { font-size: 17px; margin-bottom: 8px; }
ul, ol { margin: 0; padding-left: 20px; color: #40505a; line-height: 1.7; }
.section {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 70px);
}
.section.compact { padding-top: 44px; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.feature-grid, .resource-grid, .plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-grid article, .resource-grid a, .plan-card, .resource-layout article, .faq > div, .ops-row > div, .checkout-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.feature-grid article:nth-child(2) { border-color: #f1c46f; }
.feature-grid article:nth-child(3) { border-color: #9ccdc7; }
.split {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr);
  gap: 32px;
  align-items: center;
  background: #fff;
}
.mini-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.mini-steps span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--wash);
  font-weight: 750;
  font-size: 13px;
}
.asset-frame {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.ops-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ops-row strong { display: block; font-size: 20px; margin-bottom: 8px; }
.ops-row span { color: var(--muted); line-height: 1.6; }
.pricing-section { scroll-margin-top: 78px; background: #eef7f8; }
.pricing-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}
.pricing-top p { max-width: 720px; }
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  flex-shrink: 0;
}
.billing-toggle button {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 760;
}
.billing-toggle button.active { background: var(--ink); color: #fff; }
.plan-card { position: relative; display: grid; gap: 10px; align-content: start; }
.plan-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.badge {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #fff2d8;
  color: #7d4a00;
  border: 1px solid #efc06a;
  border-radius: 8px;
  padding: 5px 8px;
  font-weight: 850;
  font-size: 12px;
}
.price { display: flex; align-items: baseline; gap: 7px; }
.price span { font-size: 36px; font-weight: 900; color: var(--ink); }
.billing-note, .volume { margin: 0; font-size: 14px; }
.resource-links { background: #fff; }
.resource-grid { grid-template-columns: repeat(4, 1fr); }
.resource-grid a { display: grid; gap: 8px; }
.resource-grid span { font-weight: 820; color: var(--ink); }
.resource-grid small { line-height: 1.45; }
.pricing-hero, .resource-hero {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 70px) 34px;
  max-width: 980px;
}
.pricing-hero h1, .resource-hero h1 { font-size: clamp(36px, 5vw, 58px); }
.resource-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px clamp(18px, 5vw, 70px) 82px;
}
.product-callout {
  grid-column: 1 / -1;
  border-color: #9ccdc7;
}
.legal-page {
  max-width: 930px;
  margin: 0 auto;
  padding: 54px 18px 86px;
}
.legal-page section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 14px;
}
.checkout-page { min-height: 52vh; }
.checkout-summary {
  display: grid;
  gap: 6px;
  max-width: 560px;
  margin: 18px 0;
}
.site-footer {
  padding: 42px clamp(18px, 5vw, 70px) 28px;
  background: var(--ink);
  color: #fff;
}
.site-footer p, .site-footer a, .site-footer .muted { color: #cad7db; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1.2fr .8fr;
  gap: 28px;
}
.footer-grid h2 { font-size: 14px; color: #fff; margin-bottom: 12px; }
.footer-grid div { display: grid; align-content: start; gap: 8px; }
.footer-brand .brand-mark { background: #fff; color: var(--ink); }
.site-footer button {
  background: #fff;
  color: var(--ink);
  width: fit-content;
}
.fineprint {
  border-top: 1px solid rgba(255,255,255,.14);
  margin: 28px 0 0;
  padding-top: 16px;
  font-size: 13px;
}
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(16, 36, 43, .42);
  padding: 18px;
}
.checkout-backdrop[hidden] { display: none; }
.checkout-modal {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  position: relative;
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}
.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}
@media (max-width: 1060px) {
  .hero-tool { grid-template-columns: 1fr; max-height: none; }
  .feature-grid, .plans, .ops-row { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  nav { display: none; }
}
@media (max-width: 640px) {
  .site-header { align-items: center; }
  .header-cta { display: none; }
  h1 { font-size: 38px; }
  .hero-tool { padding-top: 24px; }
  .hero-actions { align-items: stretch; }
  .hero-actions > * { width: 100%; }
  .sim-grid, .metric-row, .resource-layout, .footer-grid, .pricing-top, .resource-grid { grid-template-columns: 1fr; }
  .pricing-top { display: grid; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; }
}
