:root {
  --blue: #10284a;
  --blue-2: #173860;
  --ink: #172033;
  --muted: #647084;
  --line: rgba(16, 40, 74, 0.14);
  --line-strong: rgba(16, 40, 74, 0.24);
  --paper: #ffffff;
  --soft: #f4f7f6;
  --warm: #f8f3eb;
  --gold: #d7ad62;
  --green: #496f63;
  --shadow: 0 24px 60px rgba(16, 40, 74, 0.12);
  --soft-shadow: 0 12px 34px rgba(16, 40, 74, 0.08);
  --radius: 8px;
  --header: 78px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 950px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.6vw, 5.1rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.95rem, 3.5vw, 3.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 8px;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 200;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 260px;
  color: var(--blue);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 2px solid rgba(215, 173, 98, 0.7);
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  display: block;
  overflow: hidden;
  font-weight: 900;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-claim {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.24;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a,
.mobile-menu a {
  color: var(--blue);
  font-weight: 760;
  text-decoration: none;
}

.site-nav a {
  padding: 10px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(215, 173, 98, 0.18);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 168px;
  padding: 13px 22px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 5px;
  font-weight: 850;
  line-height: 1.16;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-2);
  border-color: var(--blue-2);
  outline: none;
  transform: translateY(-1px);
}

.button-small {
  min-width: 0;
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.92rem;
}

.button-light {
  color: var(--blue);
  background: #fff;
  border-color: #fff;
}

.button-outline {
  color: var(--blue);
  background: transparent;
  border-color: var(--line-strong);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--blue);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 9px 12px;
  font-weight: 850;
}

.menu-button i,
.menu-button i::before,
.menu-button i::after {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--blue);
  content: "";
}

.menu-button i {
  position: relative;
}

.menu-button i::before {
  position: absolute;
  top: -6px;
}

.menu-button i::after {
  position: absolute;
  top: 6px;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu-inner {
  display: grid;
  gap: 10px;
  padding-block: 18px 24px;
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: clamp(44px, 7vw, 88px) 0 42px;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}

.hero-intro {
  max-width: 710px;
  color: #344056;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.hero-copy p:not(.hero-intro) {
  max-width: 720px;
}

.badge,
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.badge {
  margin-bottom: 18px;
  padding: 8px 11px;
  color: var(--blue);
  background: rgba(215, 173, 98, 0.2);
  border: 1px solid rgba(215, 173, 98, 0.32);
  border-radius: 4px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.image-panel img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  width: min(330px, calc(100% - 32px));
  padding: 18px;
  color: #fff;
  background: rgba(16, 40, 74, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.hero-note p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-grid span {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: var(--blue);
  border-left: 1px solid var(--line);
  font-weight: 820;
  text-align: center;
}

.trust-grid span:last-child {
  border-right: 1px solid var(--line);
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
  background: var(--paper);
}

.section-soft {
  background: var(--soft);
}

.section-warm {
  background: var(--warm);
}

.section-blue {
  color: #fff;
  background: var(--blue);
}

.section-blue h2,
.section-blue h3,
.section-blue .eyebrow {
  color: #fff;
}

.section-blue p,
.section-blue li {
  color: rgba(255, 255, 255, 0.86);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 32px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.two-column,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.split {
  align-items: center;
}

.text-flow > *:last-child {
  margin-bottom: 0;
}

.card-grid,
.reason-grid,
.page-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.reason-card,
.question-box,
.check-panel,
.form-card,
.result-card,
.mini-card {
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.section-soft .card,
.section-warm .card,
.section-soft .reason-card,
.section-warm .reason-card {
  background: rgba(255, 255, 255, 0.92);
}

.card-number,
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--blue);
  background: rgba(215, 173, 98, 0.22);
  border-radius: 6px;
  font-weight: 900;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
  color: #293348;
  font-weight: 660;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 19px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.section-blue .feature-list li {
  border-color: rgba(255, 255, 255, 0.16);
}

.question-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.question-grid a,
.link-grid a,
.option-button {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-weight: 820;
  text-decoration: none;
}

.option-button {
  width: 100%;
  text-align: left;
}

.question-grid a:hover,
.question-grid a:focus-visible,
.link-grid a:hover,
.link-grid a:focus-visible,
.option-button:hover,
.option-button:focus-visible,
.option-button.is-selected {
  background: rgba(215, 173, 98, 0.2);
  border-color: rgba(215, 173, 98, 0.46);
  outline: none;
}

.check-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.55fr);
  gap: 22px;
}

.check-step + .check-step {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.option-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.slider-row {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.range-value {
  color: var(--blue);
  font-weight: 900;
}

.result-card {
  position: sticky;
  top: calc(var(--header) + 18px);
  background: var(--blue);
  color: #fff;
}

.result-card h3 {
  color: #fff;
}

.result-card p {
  color: rgba(255, 255, 255, 0.86);
}

.meter {
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.meter-fill {
  width: 34%;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
  transition: width 180ms ease;
}

.image-panel {
  margin: 0;
}

.image-panel figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.notice {
  padding: 16px 18px;
  color: #314056;
  background: rgba(73, 111, 99, 0.1);
  border: 1px solid rgba(73, 111, 99, 0.2);
  border-radius: 6px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
}

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

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.faq-list summary {
  padding: 18px 22px;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary:focus-visible {
  outline: 3px solid rgba(215, 173, 98, 0.62);
  outline-offset: 3px;
}

.faq-list details > div {
  padding: 0 22px 20px;
  color: #354156;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: var(--blue);
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #9e2f2f;
  box-shadow: 0 0 0 3px rgba(158, 47, 47, 0.12);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #354156;
  font-size: 0.94rem;
}

.checkbox-row input {
  margin-top: 5px;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 760;
}

.form-status.is-error {
  color: #9e2f2f;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-hero {
  padding: clamp(48px, 7vw, 92px) 0;
  background: var(--soft);
}

.page-hero p {
  max-width: 760px;
  color: #344056;
  font-size: 1.18rem;
}

.mini-card {
  box-shadow: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #0b1d36;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .site-nav,
  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }
}

@media (max-width: 880px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 30px, 1180px);
  }

  .hero-grid,
  .two-column,
  .split,
  .check-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-note {
    position: static;
    width: auto;
    margin-top: -8px;
    border-radius: 0 0 8px 8px;
  }

  .trust-grid,
  .card-grid,
  .reason-grid,
  .page-grid,
  .offer-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .result-card {
    position: static;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  :root {
    --header: 68px;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-claim {
    display: none;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.25rem);
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .trust-grid,
  .card-grid,
  .reason-grid,
  .page-grid,
  .offer-grid,
  .question-grid,
  .link-grid,
  .option-group,
  .form-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }
}
