:root {
  --blue-900: #12335f;
  --blue-800: #17447c;
  --blue-700: #1f5fa8;
  --blue-100: #eaf3ff;
  --yellow: #ffd447;
  --purple: #662d91;
  --text: #172033;
  --muted: #5f6b7a;
  --line: #dce4ef;
  --surface: #ffffff;
  --tint: #f5f8fc;
  --shadow: 0 18px 45px rgba(18, 51, 95, 0.12);
  --radius: 20px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: var(--blue-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--purple);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--blue-900);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

.topbar {
  background: var(--blue-900);
  color: #fff;
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 8px 0;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

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

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

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

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  display: inline-block;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-line::before { top: -6px; }
.nav-toggle-line::after { top: 6px; }

.primary-nav {
  display: none;
  grid-column: 1 / -1;
  padding: 8px 0 4px;
  border-top: 1px solid var(--line);
}

.primary-nav.is-open {
  display: grid;
  gap: 6px;
}

.primary-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 0.95rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--blue-100);
  color: var(--blue-800);
}

h1, h2, h3 {
  color: var(--blue-900);
  line-height: 1.12;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.85rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #334155;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  color: var(--purple);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.hero,
.page-hero {
  background:
    radial-gradient(circle at top left, rgba(255,212,71,.28), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #fff 100%);
  padding: 34px 0;
}

.hero-grid,
.page-hero-grid,
.split,
.contact-grid {
  display: grid;
  gap: 28px;
}

.hero-copy {
  align-self: center;
}

.hero-media,
.media-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-media img,
.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-hero.simple {
  padding: 52px 0 24px;
}

.section {
  padding: 54px 0;
}

.section.compact {
  padding: 24px 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.credibility-strip span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 750;
  color: var(--blue-900);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card,
.step-card,
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(18, 51, 95, 0.06);
}

.card p:last-child,
.step-card p:last-child,
.mini-card p:last-child {
  margin-bottom: 0;
}

.quote-card {
  border-left: 6px solid var(--yellow);
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button-row.stacked {
  display: grid;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1.1;
}

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

.btn-primary:hover {
  background: var(--blue-900);
  color: #fff;
}

.btn-secondary {
  color: var(--blue-900);
  background: #fff;
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--blue-100);
  color: var(--blue-900);
}

.btn-light {
  background: #fff;
  color: var(--blue-900);
}

.btn-light:hover {
  color: var(--blue-900);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.text-link {
  font-weight: 800;
}

.check-list,
.plain-list {
  padding-left: 1.2rem;
  margin: 0;
}

.check-list li,
.plain-list li {
  margin: 0 0 10px;
}

.check-list li::marker {
  color: var(--purple);
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-list dt {
  color: var(--muted);
  font-weight: 750;
}

.info-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.step-grid {
  display: grid;
  gap: 16px;
}

.step-card span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--yellow);
  color: var(--blue-900);
  font-weight: 900;
  margin-bottom: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--blue-900);
  background: #f8fbff;
  font-weight: 800;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.compact-table table {
  min-width: 420px;
}

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

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--blue-900);
}

details p {
  margin-top: 12px;
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 51, 95, 0.06);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px 14px;
  font-weight: 750;
  color: var(--blue-900);
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-weight: 800;
  color: var(--blue-900);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.nav-toggle:focus-visible,
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 212, 71, 0.9);
  outline-offset: 3px;
}

.cta-band {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 38px 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 0;
}

.cta-inner {
  display: grid;
  gap: 20px;
}

.site-footer {
  background: #101828;
  color: #d7deea;
  padding: 44px 0 22px;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.site-footer a {
  color: #e9f1ff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.footer-grid section {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-grid p {
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

@media (min-width: 620px) {
  .credibility-strip {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }

  .card-grid.three,
  .step-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (min-width: 900px) {
  .topbar-inner {
    justify-content: flex-end;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    align-items: center;
    gap: 2px;
    border-top: 0;
    padding: 0;
  }

  .primary-nav a {
    padding: 10px 9px;
    font-size: 0.89rem;
  }

  .hero,
  .page-hero {
    padding: 58px 0;
  }

  .hero-grid,
  .page-hero-grid,
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 42px;
  }

  .split.reverse > :first-child {
    order: 2;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

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

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

  .cta-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

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

@media (min-width: 1120px) {
  .primary-nav a {
    font-size: 0.95rem;
    padding-inline: 11px;
  }
}

@media print {
  .topbar,
  .site-header,
  .site-footer,
  .cta-band,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
  }

  .section,
  .page-hero {
    padding: 18px 0;
  }

  .card,
  .table-wrap {
    box-shadow: none;
  }
}
