:root {
  --navy: #141933;
  --navy-soft: #1e2547;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --crimson: #c81e32;
  --crimson-hover: #a81628;
  --emerald: #0f7a53;
  --emerald-hover: #0b6141;
  --ink: #141933;
  --ink-muted: #525b70;
  --border: #dfe3ec;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.hero-grid > *,
.figures-grid > *,
.photo-strip > *,
.steps-grid > *,
.pricing-grid > *,
.trust-stats > *,
.video-grid > *,
.certs-grid > *,
.form-grid > * {
  min-width: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p {
  margin: 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  border-bottom: 3px solid var(--crimson);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 800;
}

.brand-text span {
  font-size: 12px;
  color: var(--ink-muted);
}

.header-nav {
  display: flex;
  gap: 22px;
}

.header-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 14px;
}

.header-nav a:hover {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-crimson {
  background: var(--crimson);
  color: #fff;
}

.btn-crimson:hover {
  background: var(--crimson-hover);
}

.btn-emerald {
  background: var(--emerald);
  color: #fff;
}

.btn-emerald:hover {
  background: var(--emerald-hover);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-status {
  display: inline-block;
  max-width: 100%;
  background: #fdf0f2;
  color: var(--crimson);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(27px, 6.8vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.hero-lead {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.metric strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-note {
  font-size: 14px;
  color: var(--ink-muted);
}

.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--border);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-photo figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #dbe3f4;
  background: var(--navy);
}

/* Quiz Section */
.quiz-band {
  background: var(--navy);
  color: #fff;
  padding: 58px 0 68px;
}

.quiz-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.quiz-intro h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.quiz-intro p {
  color: #cbd5e1;
  font-size: 16px;
}

.quiz-card {
  max-width: 740px;
  margin: 0 auto;
  background: var(--surface);
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(8, 12, 28, 0.35);
}

.quiz-top {
  margin-bottom: 22px;
}

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
}

.quiz-back-btn {
  background: #eef1f7;
  color: var(--navy);
  border: 0;
  padding: 6px 12px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.quiz-progress-track {
  height: 8px;
  background: #e9edf5;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--crimson);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 6px;
}

.step-hint {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.options-grid {
  display: grid;
  gap: 10px;
}

.option-tile {
  display: block;
  position: relative;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px 15px 46px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.option-tile:hover {
  border-color: #aeb8cc;
  background: #fafbfd;
}

.option-tile.is-selected {
  border-color: var(--crimson);
  background: #fff6f7;
}

.option-tile input {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  accent-color: var(--crimson);
  margin: 0;
}

.option-title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.option-sub {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 3px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

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

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy);
}

.form-field input:focus {
  outline: none;
  border-color: var(--navy);
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 16px;
  cursor: pointer;
}

.consent-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
}

.inline-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.result-box {
  padding: 6px 0;
}

.result-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.res-ok {
  background: #ecfdf5;
  color: #065f46;
}

.res-warn {
  background: #fef3c7;
  color: #92400e;
}

.res-no {
  background: #f1f5f9;
  color: #334155;
}

.result-box h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.result-box p {
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.result-reasons {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #475569;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* Generic Sections */
.section {
  padding: 64px 0;
}

.section-muted {
  background: #eef1f6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

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

.figures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.figure-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.figure-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--crimson);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.figure-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.figure-card p {
  color: var(--ink-muted);
  font-size: 15px;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-tile {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-tile figcaption {
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* Steps */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.price-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.price-box-main {
  border: 2px solid var(--navy);
}

.price-tag {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}

.check-list,
.expense-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

.expense-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.expense-list li span {
  color: var(--ink-muted);
  text-align: right;
}

.price-footnote {
  font-size: 13px;
  color: var(--ink-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.honest-box {
  background: #f8fafc;
  border-left: 4px solid var(--crimson);
  padding: 14px 16px;
  border-radius: 6px;
}

.honest-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.honest-box p {
  font-size: 14px;
  color: var(--ink-muted);
}

/* Trust */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.trust-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.trust-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}

.trust-stat span {
  font-size: 14px;
  color: var(--ink-muted);
}

.subhead {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.video-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: var(--navy);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.video-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  opacity: 0.88;
}

.play-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(20, 25, 51, 0.88);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.video-caption {
  display: block;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cert-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}

.cert-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fafafa;
  border-radius: 8px;
}

.cert-card figcaption {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
}

.faq-list details p {
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 15px;
}

.faq-cta {
  margin-top: 28px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

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

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* Modals */
.modal {
  border: 0;
  padding: 0;
  border-radius: 16px;
  max-width: 540px;
  width: calc(100% - 24px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.modal::backdrop {
  background: rgba(12, 16, 32, 0.72);
}

.modal-box {
  padding: 22px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-close {
  border: 0;
  background: #edf1f7;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.modal-body p {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.video-frame-wrap iframe {
  width: 100%;
  aspect-ratio: 9 / 14;
  max-height: 70vh;
  border: 0;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 960px) {
  .header-nav {
    display: none;
  }
  .hero-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .figures-grid,
  .photo-strip,
  .trust-stats,
  .video-grid,
  .certs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    gap: 10px;
  }
  .btn-sm {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .hero {
    padding: 24px 0 34px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quiz-card {
    padding: 20px 16px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .expense-list li {
    flex-direction: column;
    gap: 4px;
  }
  .expense-list li span {
    text-align: left;
  }
}
