@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-700.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}

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

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --text: #1a2330;
  --muted: #5a6d83;
  --line: #d4deea;
  --brand: #0d3558;
  --brand-strong: #082642;
  --accent: #c9962c;
  --accent-strong: #aa7d1f;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 30px rgba(13, 53, 88, 0.08);
  --shadow-strong: 0 18px 44px rgba(8, 38, 66, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
  background: rgba(246, 248, 251, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #1768a9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.brand-text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--brand);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  background: var(--brand);
  margin: 0.22rem auto;
}

.hero {
  padding: 5rem 0 3.5rem;
  background: radial-gradient(circle at 100% 0%, rgba(201, 150, 44, 0.2), transparent 34%),
    linear-gradient(135deg, #0d3558 0%, #0b2c4b 60%, #12436f 100%);
  color: #fefefe;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3d48a;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: #f3d48a;
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  margin: 1.1rem 0 1.6rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 58ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  font-weight: 700;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover {
  background: var(--surface-soft);
}

.card-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.hero-points li::before {
  content: "•";
  color: #f3d48a;
  margin-right: 0.4rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

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

.hero-card-body {
  padding: 1.2rem;
}

.hero-card-body h2 {
  margin: 0 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  color: var(--brand);
}

.price-line {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0.55rem 0 1rem;
}

.price-line strong {
  font-size: 2rem;
  font-family: "Fraunces", Georgia, serif;
  color: var(--brand-strong);
  line-height: 1;
}

.price-line span {
  color: var(--muted);
  text-decoration: line-through;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-tag {
  margin: 0;
  color: var(--brand);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.section-title {
  margin: 0.55rem 0 0.7rem;
  font-family: "Fraunces", Georgia, serif;
  color: var(--brand-strong);
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
}

.features {
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  color: var(--brand);
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.4rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.panel h3 {
  margin: 0 0 0.9rem;
  color: var(--brand);
  font-family: "Fraunces", Georgia, serif;
}

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

.checklist li {
  padding: 0.52rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist strong {
  color: var(--text);
}

.calculator {
  background: var(--surface);
}

.calc-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 0.95fr;
}

.range-field {
  margin-bottom: 1.1rem;
}

.range-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.range-top label {
  font-weight: 500;
  color: var(--brand-strong);
}

.range-top output {
  color: var(--brand);
  font-weight: 700;
}

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

.calc-results {
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: linear-gradient(160deg, var(--brand-strong), var(--brand));
  color: #fff;
}

.calc-results h3 {
  margin: 0 0 0.9rem;
  font-family: "Fraunces", Georgia, serif;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.result-row:last-child {
  border-bottom: 0;
  padding-top: 0.8rem;
}

.result-row span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.result-row strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.08rem;
}

.lead {
  background: linear-gradient(135deg, #f1f4fa 0%, #f8fbff 100%);
}

.lead-box {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.lead-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.lead-form input {
  flex: 1 1 260px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

.lead-form button {
  border: 0;
  cursor: pointer;
}

.form-hint {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0.15rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.8rem 0;
  font-weight: 700;
  color: var(--brand);
}

.faq-item p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.site-footer {
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
  background: #0a2945;
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, 1fr);
  gap: 1.2rem;
}

.site-footer h4 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0.25rem 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-note {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.9rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid,
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1rem;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child {
    border-bottom: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }

  .nav-button {
    width: 100%;
    margin-top: 0.6rem;
  }

  .hero {
    padding-top: 4.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.3rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    width: 100%;
  }
}
