:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #f9fbfd;
  --ink: #111827;
  --muted: #667085;
  --line: #d8e0eb;
  --blue: #2458e6;
  --blue-dark: #1d46bc;
  --green: #087443;
  --green-soft: #ecfdf3;
  --amber: #b54708;
  --amber-soft: #fff7ed;
  --red: #b42318;
  --shadow: 0 18px 48px rgba(15, 23, 42, .09);
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, .05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #edf5ff 0, #f6f8fb 460px, #f6f8fb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 224, 235, .88);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 820;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #122033;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(36, 88, 230, .16);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.ghost {
  background: transparent;
}

.button.full {
  width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 34px;
  align-items: center;
  padding: 54px 0 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #b9ccff;
  border-radius: 999px;
  background: #eef4ff;
  color: #2746a7;
  font-size: 13px;
  font-weight: 790;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5vw, 68px);
  max-width: 800px;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 680px;
  color: #344054;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
  color: #475467;
  font-size: 13px;
  font-weight: 720;
}

.trust-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-top {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.locked-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 12px;
  font-weight: 820;
}

.product-body {
  padding: 16px;
}

.audit-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}

.audit-input input,
.form-control input,
.form-control select,
.form-control textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.audit-input input:disabled {
  background: #f3f6fa;
  color: #667085;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  min-height: 108px;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1;
}

.metric.ok strong {
  color: var(--green);
}

.metric.warn strong {
  color: var(--amber);
}

.locked-report {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #fedf89;
  background: #fffbf2;
  border-radius: 8px;
  color: #7a4b11;
  font-weight: 720;
}

.section {
  padding: 46px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
}

h3 {
  font-size: 19px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card,
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.card p,
.price-card p {
  color: var(--muted);
}

.card ul,
.price-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: #344054;
}

.card li,
.price-card li {
  margin: 7px 0;
}

.price-card.featured {
  border-color: #9db9ff;
  box-shadow: var(--shadow);
}

.price {
  margin: 12px 0 4px;
  font-size: 38px;
  font-weight: 860;
  letter-spacing: 0;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.table th,
.table td {
  padding: 12px 13px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: #f8fafc;
  color: #344054;
  font-size: 13px;
}

.table tr:last-child td {
  border-bottom: 0;
}

.page-hero {
  padding: 50px 0 24px;
}

.page-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
}

.form-panel {
  max-width: 760px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-control {
  display: grid;
  gap: 6px;
  font-weight: 730;
  color: #344054;
}

.form-control.full {
  grid-column: 1 / -1;
}

.status-box {
  margin-top: 14px;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfdff;
  color: #344054;
}

.status-box.error {
  border-color: #fecdca;
  background: #fff8f7;
  color: var(--red);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 32px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #667085;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

code {
  display: inline-block;
  background: #eef2f7;
  border-radius: 4px;
  padding: 1px 5px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: .92em;
}

@media (max-width: 920px) {
  .hero,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero .product-shell {
    order: -1;
  }

  .product-shell {
    min-width: 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .audit-input,
  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .nav-links .button {
    width: 100%;
    min-width: 0;
  }
}
