
:root {
  color-scheme: light;
  --ink: #16201b;
  --muted: #58685f;
  --line: #dbe5df;
  --paper: #fbfcf9;
  --surface: #ffffff;
  --mist: #eef5f0;
  --teal: #0f766e;
  --teal-dark: #0b5853;
  --cobalt: #2457c5;
  --amber: #e7a63a;
  --coral: #d85d4c;
  --shadow: 0 18px 50px rgba(22, 32, 27, 0.13);
}
* { 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;
  color: var(--ink);
  background: var(--paper);
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.page-shell { min-height: 100vh; transition: filter 180ms ease; }
body.modal-open .page-shell { filter: blur(12px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(219, 229, 223, 0.9);
  background: rgba(251, 252, 249, 0.94);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: white;
  background: var(--teal);
  font-size: 13px;
  letter-spacing: 0;
}
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); color: var(--muted); font-size: 14px; }
.site-header nav a:hover { color: var(--ink); }
button, .primary, .secondary, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 750;
  white-space: nowrap;
}
.primary {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}
.primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}
.secondary:hover { border-color: var(--teal); }
.ghost {
  color: var(--teal);
  background: transparent;
  border-color: var(--line);
}
.header-cta { min-height: 38px; color: white; background: var(--ink); border-color: var(--ink); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: calc(100svh - 64px);
  padding: clamp(26px, 4vw, 54px) clamp(18px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(36, 87, 197, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}
.hero-copy { max-width: 710px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(42px, 6vw, 78px); line-height: 0.98; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 19px; letter-spacing: 0; }
.hero-lede, .page-hero p, .section-heading p { color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; }
.hero-actions, .modal-actions, .section-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
.proof-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.72);
}
.readiness-console {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  min-height: 520px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}
.console-topline, .metric-grid { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.console-topline h2 { margin-bottom: 0; font-size: clamp(24px, 3vw, 36px); }
.score {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  color: white;
  background: var(--cobalt);
  font-size: 36px;
  font-weight: 900;
}
.readiness-console label { display: grid; gap: 7px; color: var(--ink); font-weight: 760; }
.readiness-console input[type="text"], .readiness-console select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--surface);
}
.toggle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.toggle-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--mist);
  font-size: 14px;
}
.metric-grid { grid-template-columns: repeat(3, 1fr); }
.metric-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf6;
}
.metric-grid span { display: block; margin-bottom: 4px; font-size: 22px; font-weight: 900; color: var(--teal); }
.metric-grid small { color: var(--muted); }
.risk-list { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.45; }
.console-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.section, .page-hero, .article-layout { padding: clamp(48px, 7vw, 88px) clamp(18px, 4vw, 52px); }
.section.compact { padding-top: 58px; padding-bottom: 62px; }
.section-heading { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.workflow-grid, .plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.workflow-grid article, .plan-card, .article-layout article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}
.workflow-grid article { min-height: 180px; }
.workflow-grid p, .plan-card p, .article-layout p, .article-layout li { color: var(--muted); line-height: 1.58; }
.pricing-section { background: #f3f6ef; }
.billing-switch {
  width: fit-content;
  margin: 0 auto 20px;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.billing-switch button { min-height: 36px; padding: 0 12px; color: var(--muted); background: transparent; border-color: transparent; box-shadow: none; }
.billing-switch button.active { color: white; background: var(--ink); }
.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin: 0 auto; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 410px; }
.plan-card.featured { border-color: var(--teal); box-shadow: 0 18px 38px rgba(15, 118, 110, 0.14); }
.badge { width: fit-content; margin-bottom: 0; border-radius: 999px; padding: 5px 8px; color: white !important; background: var(--teal); font-size: 12px; font-weight: 850; }
.plan-fit, .billing, .limit { margin-bottom: 0; }
.price { margin: 4px 0 0; color: var(--ink) !important; }
.price span { font-size: 42px; font-weight: 950; }
.plan-card ul { display: grid; gap: 8px; margin: 8px 0 18px; padding-left: 18px; }
.plan-card button { margin-top: auto; width: 100%; }
.pricing-note { max-width: 820px; margin: 18px auto 0; color: var(--muted); text-align: center; }
.evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
}
.evidence p { color: var(--muted); line-height: 1.6; }
.evidence img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}
.page-main { min-height: 60vh; }
.page-hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.page-hero.tight { padding-top: 48px; padding-bottom: 44px; }
.page-hero h1 { max-width: 980px; font-size: clamp(38px, 5vw, 64px); }
.page-hero p { max-width: 900px; }
.pricing-page .page-hero.tight { padding-top: clamp(26px, 2.5vw, 36px); padding-bottom: clamp(24px, 2.5vw, 32px); }
.pricing-page .page-hero h1 { max-width: 1180px; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.02; }
.pricing-page .pricing-section { padding-top: clamp(28px, 3vw, 44px); }
.pricing-page .section-heading { max-width: 1120px; margin-bottom: 14px; }
.pricing-page .pricing-section h2 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.08; }
.pricing-page .section-heading p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.45; }
.pricing-page .billing-switch { margin-bottom: 12px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}
.article-layout h2 { font-size: 26px; }
.article-layout ul, .article-layout ol { margin-bottom: 0; padding-left: 22px; }
.answer-card { border-color: rgba(15, 118, 110, 0.34) !important; background: #f7fbf8 !important; }
.cta-card { background: #fffaf0 !important; border-color: rgba(231, 166, 58, 0.42) !important; }
.inline { margin-top: 16px; }
.policy-page .article-layout article { background: white; }
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(22, 32, 27, 0.38);
}
.checkout-backdrop[hidden] { display: none; }
.checkout-modal {
  position: relative;
  width: min(620px, 100%);
  border-radius: 8px;
  padding: 28px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}
.checkout-modal h2 { font-size: 30px; }
.checkout-modal p { color: var(--muted); line-height: 1.55; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  min-height: 36px;
  padding: 0;
  color: var(--muted);
  background: var(--mist);
  border-color: var(--line);
}
.site-footer {
  padding: 44px clamp(18px, 4vw, 52px) 28px;
  color: #eaf2ee;
  background: #14201a;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 0.7fr));
  gap: 28px;
}
.site-footer h2 { margin-bottom: 12px; font-size: 15px; }
.site-footer p, .site-footer a { color: #c8d7cf; }
.site-footer a, .site-footer button { display: flex; width: fit-content; margin-bottom: 9px; }
.site-footer button { min-height: 38px; color: #14201a; background: #f1c467; border-color: #f1c467; }
.footer-brand { margin-bottom: 14px; color: white; }
.muted, .fineprint { color: var(--muted); }
.fineprint { margin: 24px 0 0; font-size: 13px; color: #9eb0a6 !important; }
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .readiness-console { min-height: 0; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .header-cta { min-height: 36px; }
  .plan-grid, .workflow-grid, .footer-grid { grid-template-columns: 1fr; }
  .toggle-grid, .metric-grid { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  .hero { padding-top: 24px; }
  .readiness-console { padding: 16px; }
  .score { width: 74px; height: 74px; font-size: 30px; }
  button, .primary, .secondary, .ghost { width: 100%; white-space: normal; text-align: center; }
  .proof-row span { width: 100%; }
  .proof-row { display: none; }
}
