@font-face {
  font-family: "CircularStd";
  src: url("assets/fonts/CircularStd-Black.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CircularStd Book";
  src: url("assets/fonts/CircularStd-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #5070ff;
  --blue-hover: #0047f0;
  --pink: #ff61a0;
  --navy: #0a083b;
  --text: #57586e;
  --periwinkle: #adbaf6;
  --light: #f1f1f1;
  --white: #ffffff;
  --line: rgba(10, 8, 59, 0.1);
  --shadow: 0 18px 50px rgba(10, 8, 59, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font-family: "CircularStd Book", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }

.page-glow { position: fixed; z-index: -1; pointer-events: none; }
.page-glow--one { top: 220px; right: 0; width: 150px; height: 210px; opacity: .55; background-image: radial-gradient(var(--periwinkle) 3px, transparent 3px); background-size: 25px 25px; }

.hero, .method-note {
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  align-items: start;
  gap: 30px 60px;
  min-height: 0;
  padding: 0 0 70px;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow, .step-label {
  color: var(--blue);
  font-family: "CircularStd", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 22px; }

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-family: "CircularStd", sans-serif;
  font-size: clamp(3.6rem, 6vw, 5.7rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 610px; margin: 27px 0 0; font-size: 18px; line-height: 1.65; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 490px; }
.hero-visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: #f0f3ff; }
.hero-visual img { position: relative; z-index: 1; width: min(100%, 560px); height: auto; }
.decor-dot { position: absolute; z-index: 2; border-radius: 50%; }
.decor-dot--one { top: 8%; right: 7%; width: 44px; height: 44px; background: var(--pink); }
.decor-dot--two { bottom: 11%; left: 7%; width: 22px; height: 22px; background: var(--blue); }

.trust-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 4px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.trust-row span { color: var(--navy); font-size: 15px; }
.trust-row span::before { content: "✦"; margin-right: 10px; color: var(--pink); }

.calculator-section {
  padding: 90px max(24px, calc((100vw - 1100px) / 2)) 100px;
  background: var(--light);
}
.section-intro { max-width: 820px; margin: 0 auto 42px; text-align: center; }
.section-intro h2 { margin: 0 0 12px; color: var(--blue); font-family: "CircularStd", sans-serif; font-size: clamp(2.15rem, 3.6vw, 3.25rem); line-height: 1.08; white-space: nowrap; }
.section-intro p { margin: 0; font-size: 17px; line-height: 1.6; }

.tool-shell {
  width: min(1100px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 22px;
}
.benchmark-form, .result-panel {
  min-height: 640px;
  padding: clamp(34px, 4.2vw, 52px);
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-heading { margin-bottom: 38px; }
.form-heading .step-label { display: block; margin-bottom: 13px; }
.form-heading h2, .result-content h2, .result-empty h2 { margin: 0; color: var(--navy); font-family: "CircularStd", sans-serif; letter-spacing: -.025em; }
.form-heading h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-heading p { margin: 8px 0 0; line-height: 1.5; }

.field-grid { display: grid; gap: 21px; }
.field { display: grid; gap: 9px; }
.field > span:first-child { color: var(--navy); font-family: "CircularStd", sans-serif; font-size: 13px; }
.field b { color: var(--pink); }
.field select, .field input {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid rgba(10, 8, 59, .16);
  border-radius: 10px;
  outline: none;
  color: var(--navy);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 19px) 25px, calc(100% - 14px) 25px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field select:focus, .field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(80,112,255,.12); }
.field select:disabled { color: var(--navy); background-color: #f0f2fa; border-color: rgba(10, 8, 59, .1); cursor: not-allowed; opacity: 1; }

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  margin-top: 31px;
  padding: 0 30px;
  border: 0;
  border-radius: 50px;
  color: var(--white);
  background: var(--blue);
  font-family: "CircularStd", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-color .25s ease, transform .25s ease;
}
.primary-button:hover { background: var(--blue-hover); transform: translateY(-2px); }
.button-arrow { color: var(--white); font-size: 1.2rem; }
.form-note { margin: 14px 0 0; color: #89899b; font-size: 12px; line-height: 1.4; text-align: center; }

.result-panel { position: relative; display: grid; overflow: hidden; }
.result-panel::after { content: ""; position: absolute; right: -80px; bottom: -90px; width: 250px; height: 250px; border: 35px solid rgba(173,186,246,.18); border-radius: 50%; pointer-events: none; }
.result-empty { position: relative; z-index: 1; align-self: center; max-width: 390px; margin: auto; text-align: center; }
.result-empty h2 { margin-top: 14px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; }
.result-empty > p:last-child { max-width: 330px; margin: 14px auto 0; line-height: 1.55; }
.orbital { position: relative; display: grid; place-items: center; width: 125px; height: 125px; margin: 0 auto 32px; border: 1px solid rgba(80,112,255,.26); border-radius: 50%; }
.orbital::before { content: ""; position: absolute; inset: 17px; border: 1px dashed var(--periwinkle); border-radius: 50%; }
.orbital-core { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: var(--white); background: var(--blue); font-family: "CircularStd"; font-weight: 900; box-shadow: 0 10px 25px rgba(80,112,255,.3); }
.orbital-dot { position: absolute; top: 8px; right: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); }

.result-content { position: relative; z-index: 1; animation: reveal .4s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } }
.result-topline { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 25px; }
.result-content h2 { margin-top: 7px; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.confidence { display: flex; align-items: center; gap: 7px; color: var(--text); font-size: 12px; white-space: nowrap; }
.confidence i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.kpi-card { position: relative; min-height: 143px; padding: 21px; overflow: hidden; border: 1px solid rgba(10,8,59,.08); border-radius: 12px; background: #f7f8fc; }
.kpi-card--featured { color: var(--white); background: var(--blue); border-color: transparent; }
.kpi-card p { margin: 0 0 10px; color: var(--text); font-size: 13px; }
.kpi-card--featured p, .kpi-card--featured .kpi-caption { color: rgba(255,255,255,.76); }
.kpi-card strong { display: block; color: var(--navy); font-family: "CircularStd"; font-size: clamp(1.55rem, 2.8vw, 2.05rem); letter-spacing: -.035em; }
.kpi-card--featured strong { color: var(--white); }
.kpi-caption { display: block; margin-top: 7px; color: #858697; font-size: 11px; }
.kpi-number { position: absolute; top: 15px; right: 15px; color: rgba(10,8,59,.22); font-size: 11px; }
.kpi-card--featured .kpi-number { color: rgba(255,255,255,.45); }

.recommendation { display: flex; gap: 12px; margin-top: 11px; padding: 15px 16px; border-radius: 10px; background: #eef1ff; }
.recommendation > span { color: var(--pink); }
.recommendation p { margin: 0; color: var(--text); font-size: 12px; line-height: 1.5; }
.recommendation b { color: var(--navy); }
.inline-lead { margin-top: 13px; padding: 18px; border-radius: 12px; background: var(--navy); }
.inline-lead > p:first-child { margin: 0 0 12px; color: #d7d7e1; font-size: 13px; line-height: 1.45; }
.inline-lead > p:first-child b { color: var(--white); }
.inline-lead-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.inline-lead-form > input[type="email"] { min-width: 0; height: 50px; padding: 0 15px; border: 1px solid transparent; border-radius: 50px; outline: none; color: var(--navy); background: var(--white); }
.inline-lead-form > input[type="email"]:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,97,160,.18); }
.mailchimp-trap { position: absolute; left: -5000px; }
.subscription-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; margin: 3px 4px 5px; color: #c8c8d3; font-size: 11px; line-height: 1.5; cursor: pointer; }
.subscription-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--pink); cursor: pointer; }
.subscription-consent a { color: var(--white); text-underline-offset: 2px; }
.subscription-consent a:hover { color: var(--pink); }
.subscription-consent:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 4px; }
.inline-lead-form button { min-height: 50px; padding: 0 20px; border: 0; border-radius: 50px; color: var(--white); background: var(--blue); font-family: "CircularStd"; font-size: 12px; text-transform: uppercase; white-space: nowrap; }
.inline-lead-form button:hover { background: var(--blue-hover); }
.inline-lead .success-message { display: flex; align-items: center; gap: 10px; padding-top: 8px; }
.inline-lead .success-message > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); background: var(--pink); }
.inline-lead .success-message div { display: grid; gap: 2px; }
.inline-lead .success-message b { color: var(--white); }
.inline-lead .success-message small { color: #b9b9c5; }

.method-note { display: grid; grid-template-columns: 180px 1fr; gap: 25px; padding: 42px 0 48px; }
.method-note span { color: var(--navy); font-family: "CircularStd"; }
.method-note p { max-width: 720px; margin: 0; line-height: 1.65; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 0; text-align: center; }
  .hero h1, .hero-copy > p { margin-inline: auto; }
  .hero-visual { min-height: 430px; }
  .hero-visual img { max-width: 540px; }
  .trust-row { text-align: left; }
  .tool-shell { grid-template-columns: 1fr; }
  .benchmark-form, .result-panel { min-height: auto; }
  .result-panel { min-height: 600px; }
}

@media (max-width: 620px) {
  .hero, .method-note { width: min(100% - 28px, 1100px); }
  .page-glow { display: none; }
  .hero { min-height: auto; padding: 0 0 45px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 4.2rem); }
  .hero-copy > p { font-size: 16px; }
  .hero-visual { min-height: 330px; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
  .calculator-section { padding: 68px 14px 72px; }
  .section-intro { max-width: 100%; }
  .section-intro h2 { font-size: clamp(1.45rem, 7.1vw, 2.2rem); white-space: nowrap; }
  .benchmark-form, .result-panel { padding: 29px 21px; border-radius: 12px; }
  .result-panel { min-height: 570px; }
  .result-topline { align-items: flex-start; flex-direction: column; }
  .kpi-card { min-height: 135px; padding: 18px; }
  .kpi-card strong { font-size: 1.45rem; }
  .inline-lead-form { grid-template-columns: 1fr; }
  .inline-lead-form button { width: 100%; }
  .method-note { grid-template-columns: 1fr; padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
