﻿@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #0f172a;
  --muted: #4b5563;
  --line: #d7e0ef;
  --primary: #0b5fff;
  --primary-dark: #0749c9;
  --accent: #0dbf8b;
  --accent-dark: #0b9e73;
  --cta: #ff6b2c;
  --cta-dark: #e45b20;
}

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

#calculator,
#proof,
#faq,
#contact {
  scroll-margin-top: 110px;
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1000px 480px at 88% -10%, #dfe9ff 0%, transparent 60%), var(--bg);
}
h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}
.narrow { width: min(860px, 92%); }

.announcement {
  text-align: center;
  background: linear-gradient(90deg, #0c1633, #1b2f67);
  color: #dbe8ff;
  font-size: 0.82rem;
  padding: 0.42rem 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(246, 248, 252, 0.82);
  border-bottom: 1px solid #dde5f5;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}
.brand-logo {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.topnav {
  display: none;
  gap: 1.5rem;
  color: var(--muted);
}
.topnav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.85rem;
  padding: 0.88rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-nav {
  background: #111b38;
  color: #fff;
  font-size: 0.9rem;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 44, 0.28);
}
.btn-primary:hover { background: var(--cta-dark); }
.btn-ghost {
  color: #111b38;
  background: #edf2ff;
  border: 1px solid #d8e3ff;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(13, 191, 139, 0.25);
}
.btn-accent:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: #111b38; }
.full { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 0 3.5rem;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 88% 10%, rgba(11,95,255,0.2), transparent 60%),
    radial-gradient(480px 250px at 72% 42%, rgba(13,191,139,0.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,248,252,0.95));
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #2850a8;
  margin-bottom: 0.65rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.03;
  max-width: 13ch;
}
.hero h1 span { color: var(--primary); }
.hero-lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  margin-top: 0.65rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}
.trust-inline {
  margin-top: 1rem;
  color: #364152;
  font-size: 0.86rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.hero-panel {
  background: rgba(255,255,255,0.85);
  border: 1px solid #dbe4f7;
  border-radius: 1.1rem;
  padding: 1.1rem;
  box-shadow: 0 14px 34px rgba(14,24,42,0.11);
}
.panel-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #496086;
  margin-bottom: 0.7rem;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.panel-grid div {
  background: #f7faff;
  border: 1px solid #e4edff;
  border-radius: 0.8rem;
  padding: 0.75rem;
}
.panel-grid strong { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.panel-grid span { color: #4d5f79; font-size: 0.8rem; }

.proof-bar { padding: 0.4rem 0 1.4rem; }
.proof-grid {
  display: grid;
  gap: 0.8rem;
}
.proof-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
}
.proof-grid strong { display: block; margin-bottom: 0.2rem; }
.proof-grid p { color: var(--muted); font-size: 0.9rem; }

.section { padding: 4.2rem 0; }
.section-muted { background: #eef3fb; }
.section-head { text-align: center; margin-bottom: 1.8rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.8vw, 2.7rem); }
.section-head p { color: var(--muted); max-width: 62ch; margin: 0 auto; }

.preset-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.7rem;
  margin: -0.8rem 0 1.1rem;
  color: #324154;
}

.preset-bar > span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.preset-buttons {
  display: inline-flex;
  gap: 0.35rem;
}

.preset-btn {
  border: 1px solid #bed0f4;
  background: #f3f7ff;
  color: #1e2f54;
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}

.preset-btn:hover {
  border-color: #93b4ee;
  background: #eaf1ff;
}

.preset-btn.is-active {
  border-color: #2f66da;
  background: #2f66da;
  color: #fff;
}

.preset-bar small {
  color: #4d5f79;
  font-size: 0.78rem;
}

.proof-bar,
.section,
.faq-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.calculator-layout {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}
.calc-inputs { display: grid; gap: 0.9rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem;
  box-shadow: 0 10px 22px rgba(16, 33, 69, 0.06);
}
.field { margin-top: 0.95rem; }
.field-last { margin-bottom: 0; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 0.4rem;
}
.field small { color: #63738d; font-size: 0.76rem; }
input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.results {
  position: sticky;
  top: 5.5rem;
  background: linear-gradient(160deg, #0f1d43, #123071 55%, #0b5fff);
  color: #fff;
  border: 1px solid #25488f;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 20px 40px rgba(8, 20, 48, 0.35);
}
.result-box,
.result-mini,
.breakdown,
.plan-note {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0.8rem;
}
.result-box { padding: 0.8rem; margin-top: 0.55rem; }
.result-box p { font-size: 0.74rem; letter-spacing: 0.1em; color: #d0dcff; }
.result-box strong { color: #6cfcc5; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-top: 0.6rem; }
.result-mini { padding: 0.7rem; }
.result-mini p { font-size: 0.72rem; color: #d4dfff; }
.result-mini strong { color: #6cfcc5; font-size: 1.35rem; }
.breakdown { margin-top: 0.6rem; padding: 0.75rem; }
.breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.86rem;
  margin-bottom: 0.65rem;
}
.breakdown > div:last-child { margin-bottom: 0; }
.breakdown b { display: block; text-align: right; }
.breakdown small { color: #c6d6ff; display: block; font-size: 0.72rem; text-align: right; }
.total-line { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 0.6rem; font-weight: 700; }
.plan-note { margin-top: 0.6rem; padding: 0.7rem; font-size: 0.83rem; }
.plan-note p + p { margin-top: 0.35rem; color: #d2ddff; font-size: 0.76rem; }
.tiny { margin-top: 0.6rem; font-size: 0.72rem; color: #ccdaff; text-align: center; }

.cards-2 {
  display: grid;
  gap: 0.8rem;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
}
.benefit p { color: var(--muted); }

.faq-section { background: #f5f8ff; }
.faq-list { display: grid; gap: 0.65rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.15rem 0.85rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 0.8rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  color: var(--muted);
  padding: 0 0 0.8rem;
  font-size: 0.95rem;
}

.cta {
  background: linear-gradient(120deg, #0d1f48, #163c8b 55%, #0dbf8b);
  color: #fff;
  text-align: center;
}
.center { width: min(820px, 92%); }
.center p { color: #dae6ff; margin: 0 auto 1rem; max-width: 60ch; }

.footer {
  background: #0d142c;
  color: #aebde2;
  padding: 2rem 0 5rem;
}
.footer-grid {
  display: grid;
  gap: 0.9rem;
}
.footer h4 { color: #fff; margin-bottom: 0.35rem; }
.footer p, .footer li { font-size: 0.88rem; margin: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.footer a:hover { color: #fff; }
.coming-soon-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #d2dbf3;
}
.coming-soon-item small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9fb2dd;
  border: 1px solid #30497f;
  border-radius: 999px;
  padding: 0.1rem 0.38rem;
}
.btn-foot {
  margin-top: 0.75rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
}
.footer-bottom {
  margin-top: 1.2rem;
  border-top: 1px solid #1b2a53;
  padding-top: 0.9rem;
  text-align: center;
  color: #93a5d0;
  font-size: 0.8rem;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  background: var(--cta);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 0.82rem;
  border-radius: 0.85rem;
  z-index: 60;
  box-shadow: 0 16px 28px rgba(255, 107, 44, 0.35);
}

.cookie-banner {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 130;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  background: rgba(12, 20, 44, 0.95);
  border: 1px solid rgba(125, 158, 224, 0.35);
  color: #e9efff;
  border-radius: 0.85rem;
  padding: 0.75rem 0.8rem;
  box-shadow: 0 18px 36px rgba(8, 14, 31, 0.45);
}

.cookie-banner__text {
  flex: 1 1 320px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.cookie-banner__text a {
  color: #bcd3ff;
  text-decoration: underline;
}

.cookie-banner__btn {
  border: 1px solid #5f86d8;
  background: #2a4a9e;
  color: #fff;
  border-radius: 0.65rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__btn:hover {
  background: #3158bd;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.lead-modal.is-open {
  display: block;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 30, 0.64);
  backdrop-filter: blur(3px);
}

.lead-modal__panel {
  position: relative;
  width: min(720px, 92%);
  margin: 5vh auto 0;
  background: #fff;
  border: 1px solid #d8e2f4;
  border-radius: 1rem;
  box-shadow: 0 22px 56px rgba(10, 18, 38, 0.36);
  padding: 1.15rem;
}

.lead-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  color: #2f3a55;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lead-copy {
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.lead-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.lead-grid {
  display: grid;
  gap: 0.55rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.32rem;
  border: 1px solid #cfdaf0;
  border-radius: 0.7rem;
  padding: 0.66rem 0.72rem;
  font: inherit;
  background: #fbfcff;
  color: #111827;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid #bfd7ff;
  border-color: #7eaefc;
}

.lead-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.52rem;
  color: #374151;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  margin-bottom: 0.72rem !important;
}

.lead-consent input {
  width: 1rem;
  height: 1rem;
  margin: 0.08rem 0 0;
}

.lead-consent a {
  color: #1747b6;
  text-decoration: underline;
}

.lead-error {
  color: #b91c1c;
  font-size: 0.82rem;
  margin: 0 0 0.62rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.lead-success {
  text-align: center;
  padding: 1.2rem 0.4rem 0.2rem;
}

.lead-success p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.reveal-up { animation: revealUp 0.7s ease both; }
.reveal-scale { animation: revealScale 0.72s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-up,
  .reveal-scale {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes revealScale {
  from { opacity: 0; transform: scale(0.975); }
  to { opacity: 1; transform: scale(1); }
}

@media (min-width: 760px) {
  .topnav { display: flex; }
  .mobile-sticky-cta { display: none; }
  .cookie-banner {
    left: auto;
    right: 1rem;
    bottom: 1rem;
    width: min(620px, calc(100vw - 2rem));
  }
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calculator-layout { grid-template-columns: 1.13fr 0.92fr; gap: 1rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 1.1rem; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
  .topbar-inner { padding: 1rem 0; }
  .calculator-layout { gap: 1.25rem; }
  .card { padding: 1.25rem; }
  .results { padding: 1.3rem; }
}



