
:root {
  --ink: #152033;
  --muted: #607086;
  --line: #dce5f2;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --blue: #235bff;
  --cyan: #06b6d4;
  --green: #18b98f;
  --pink: #f0528d;
  --amber: #f5a623;
  --deep: #111827;
  --shadow: 0 24px 70px rgba(25, 41, 72, 0.14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fbfdff;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,229,242,0.8);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--deep); white-space: nowrap; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(35,91,255,0.25);
}
nav { display: flex; justify-content: center; gap: clamp(14px, 2.2vw, 28px); color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }
.header-cta, .primary-action, .secondary-action, .secondary-link, .inline-cta {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1.2;
}
.primary-action, .header-cta {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(35,91,255,0.24);
}
.primary-action:hover, .header-cta:hover { background: #184ce6; }
.secondary-action {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}
.secondary-link, .inline-cta {
  min-height: 38px;
  color: var(--blue);
  background: rgba(35,91,255,0.08);
}
.hero-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
  padding: clamp(34px, 5vw, 74px) clamp(18px, 4vw, 56px) clamp(28px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(244,248,251,0.92)),
    radial-gradient(circle at 15% 10%, rgba(24,185,143,0.15), transparent 32%),
    radial-gradient(circle at 82% 16%, rgba(245,166,35,0.14), transparent 26%);
}
.hero-copy { align-self: start; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 5vw, 68px); line-height: 0.98; margin-bottom: 20px; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; margin-bottom: 14px; }
h3 { font-size: 18px; line-height: 1.25; margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 620px; }
.hero-actions, .console-actions, .resource-actions, .cta-stack { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.proof-strip span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.74);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.proof-strip strong { display: block; color: var(--ink); font-size: 21px; }
.prototype-console, .result-board, .pricing-card, .feature-card, .persona-lab article, .plain-grid article, .risk-list article, .step-row article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
}
.prototype-console {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}
.console-head, .result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.console-head h2, .result-head h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}
.status-pill, .badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #075c45;
  background: rgba(24,185,143,0.12);
  border: 1px solid rgba(24,185,143,0.28);
  font-size: 12px;
  font-weight: 800;
}
label { display: grid; gap: 7px; color: var(--muted); font-weight: 700; font-size: 13px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cfd9ea;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  outline: 0;
}
textarea { resize: vertical; min-height: 86px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35,91,255,0.12); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slider-row, .file-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}
.file-row { grid-template-columns: auto 1fr; }
input[type="range"] { accent-color: var(--blue); padding: 0; }
input[type="file"] { padding: 8px; }
.result-board {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.score-ring {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: conic-gradient(var(--green) 0 82%, #eaf0f7 82% 100%);
  color: var(--ink);
}
.score-ring strong { font-size: 26px; line-height: 1; }
.score-ring span { display: block; font-size: 11px; color: var(--muted); }
.metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metrics-row article {
  border-radius: 8px;
  padding: 12px;
  background: #f6f9fd;
  border: 1px solid var(--line);
}
.metrics-row strong { display: block; font-size: 24px; }
.metrics-row span { color: var(--muted); font-size: 12px; }
.persona-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.persona-card {
  padding: 11px;
  border-radius: 8px;
  border: 1px solid #dfe8f4;
  background: #fff;
}
.persona-card b { display: block; font-size: 13px; }
.persona-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.journey-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.journey-step {
  position: relative;
  min-height: 64px;
  border-radius: 8px;
  border: 1px solid #dce5f2;
  padding: 10px;
  background: #fff;
  font-size: 12px;
}
.journey-step strong { display: block; font-size: 13px; }
.journey-step em { color: var(--muted); font-style: normal; }
.journey-step.warning { border-color: rgba(245,166,35,0.55); background: rgba(245,166,35,0.08); }
.journey-step.fail { border-color: rgba(240,82,141,0.55); background: rgba(240,82,141,0.08); }
.heatmap-panel { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 14px; min-height: 240px; }
.screen-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #cfd9ea;
  background: linear-gradient(180deg, #ffffff, #edf4fb);
  min-height: 240px;
}
.screen-block { position: absolute; border-radius: 8px; background: rgba(35,91,255,0.12); border: 1px solid rgba(35,91,255,0.18); }
.block-a { top: 18px; left: 18px; width: 58%; height: 34px; }
.block-b { top: 72px; left: 18px; width: 78%; height: 62px; background: rgba(24,185,143,0.12); }
.block-c { bottom: 74px; right: 18px; width: 44%; height: 44px; background: rgba(245,166,35,0.14); }
.block-d { bottom: 18px; left: 18px; width: 70%; height: 34px; background: rgba(240,82,141,0.12); }
.heat-dot {
  position: absolute;
  width: var(--s);
  height: var(--s);
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240,82,141,0.86), rgba(245,166,35,0.46) 48%, rgba(35,91,255,0.1) 72%, transparent);
  mix-blend-mode: multiply;
}
.issue-list { display: grid; gap: 9px; align-content: start; }
.issue-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dfe8f4;
}
.issue-item b {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--pink);
  font-size: 12px;
}
.issue-item span { font-weight: 800; }
.issue-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.band, .split-band, .faq-band, .pricing-page, .resource-page, .legal-page, .checkout-page {
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 56px);
}
.band.alt, .faq-band { background: var(--soft); }
.section-heading {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}
.section-heading p { color: var(--muted); line-height: 1.7; }
.feature-grid, .pricing-grid, .plain-grid, .risk-list, .step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card, .plain-grid article, .risk-list article, .step-row article {
  padding: 20px;
  box-shadow: none;
}
.feature-card p, .plain-grid p, .risk-list p, .step-row p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }
.split-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: center;
}
.split-band p { color: var(--muted); line-height: 1.75; }
.persona-lab { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.persona-lab article { padding: 18px; box-shadow: none; }
.persona-lab b { display: block; margin-bottom: 8px; }
.persona-lab span { color: var(--muted); line-height: 1.55; }
.step-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-row span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
  margin-bottom: 12px;
}
.billing-toggle, .modal-billing {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.billing-toggle button, .modal-billing button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  min-height: 40px;
  border-radius: 999px;
  padding: 0 15px;
  font-weight: 800;
}
.billing-toggle .is-active, .modal-billing .is-active {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}
.pricing-card {
  position: relative;
  padding: 22px;
  box-shadow: none;
}
.pricing-card.featured { border-color: rgba(35,91,255,0.55); box-shadow: 0 24px 60px rgba(35,91,255,0.16); }
.pricing-card.is-selected { outline: 3px solid rgba(35,91,255,0.12); }
.pricing-card .badge { margin-bottom: 14px; }
.pricing-card p { color: var(--muted); line-height: 1.6; min-height: 78px; }
.price-line { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 2px; }
.price-line strong { font-size: clamp(32px, 4vw, 48px); }
.pricing-card small { display: block; color: var(--muted); min-height: 22px; }
.plan-meta { display: grid; gap: 8px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.plan-meta span { padding: 9px 10px; background: #f5f8fc; border: 1px solid var(--line); border-radius: 8px; }
.pricing-card ul { padding-left: 18px; color: var(--muted); line-height: 1.8; min-height: 176px; }
.pricing-card button { width: 100%; }
.faq-band details {
  max-width: 900px;
  margin: 12px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
}
.faq-band summary { cursor: pointer; font-weight: 900; }
.faq-band p { color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
.resource-page, .legal-page, .checkout-page { max-width: 1100px; margin: 0 auto; }
.resource-hero {
  padding: clamp(34px, 5vw, 70px) 0 28px;
  border-bottom: 1px solid var(--line);
}
.resource-hero h1 { max-width: 860px; }
.resource-hero p { max-width: 780px; color: var(--muted); line-height: 1.75; font-size: 18px; }
.resource-section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.resource-section p, .resource-section li, .legal-page p, .legal-page li { color: var(--muted); line-height: 1.75; }
.numbered { display: grid; gap: 12px; padding-left: 24px; }
.resource-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
}
.resource-cta p { color: #cdd8ea; line-height: 1.7; }
.resource-cta .secondary-link { color: #fff; background: rgba(255,255,255,0.12); }
.risk-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.risk-list strong { color: var(--pink); }
.legal-page h1, .checkout-page h1 { font-size: clamp(34px, 4vw, 54px); }
.legal-page h2 { font-size: 24px; margin-top: 34px; }
.checkout-page {
  min-height: 58vh;
  display: grid;
  align-content: center;
  justify-items: start;
}
.checkout-page p { color: var(--muted); max-width: 720px; line-height: 1.7; }
.site-footer {
  padding: 44px clamp(18px, 4vw, 56px) 26px;
  background: #101827;
  color: #edf5ff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 0.7fr;
  gap: 28px;
}
.footer-brand .brand-mark { box-shadow: none; }
.site-footer p, .site-footer a, .site-footer .muted { color: #b8c5d8; line-height: 1.7; }
.site-footer h2 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { display: block; margin: 8px 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: #9cacbf;
  font-size: 13px;
}
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(18,28,44,0.24);
}
.checkout-overlay[hidden] { display: none; }
body.checkout-open > :not(.checkout-overlay) { filter: blur(4px); }
.checkout-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.5);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,0.26);
  padding: clamp(22px, 4vw, 34px);
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}
.modal-plan-grid { display: grid; gap: 10px; margin: 18px 0; }
.modal-plan-grid button {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 14px;
}
.modal-plan-grid button.is-selected {
  border-color: var(--blue);
  background: rgba(35,91,255,0.07);
}
.modal-plan-grid span { color: var(--muted); font-size: 13px; }
.modal-plan-grid em { font-style: normal; font-weight: 900; color: var(--blue); }
.checkout-summary {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 8px;
  background: #f4f8fb;
  border: 1px solid var(--line);
  margin: 16px 0;
}
.checkout-summary strong { font-size: 30px; color: var(--green); }
.checkout-summary small { color: var(--muted); }
.full { width: 100%; }
.return-banner {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: min(680px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  background: #0f766e;
  box-shadow: var(--shadow);
  font-weight: 800;
}
@media (max-width: 1180px) {
  .hero-lab { grid-template-columns: 1fr 1fr; }
  .hero-copy { grid-column: 1 / -1; }
  .result-board { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero-lab, .split-band, .heatmap-panel, .resource-cta, .footer-grid { grid-template-columns: 1fr; }
  .field-grid, .persona-strip, .metrics-row, .proof-strip, .feature-grid, .pricing-grid, .step-row, .plain-grid, .risk-list, .persona-lab { grid-template-columns: 1fr; }
  .slider-row, .file-row { grid-template-columns: 1fr; }
  h1 { font-size: clamp(34px, 12vw, 46px); }
  .modal-plan-grid button { grid-template-columns: 1fr; }
  .pricing-card p, .pricing-card ul { min-height: auto; }
}
