:root {
  --navy: #04426F;
  --navy-dark: #03304f;
  --orange: #F39A45;
  --ink: #1c2733;
  --muted: #55616d;
  --line: #dfe5ea;
  --tint: #f4f7fa;
  --max: 1100px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

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

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: 20px; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.cta a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.narrow > * { max-width: 46rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: var(--navy-dark); }
.btn-primary:hover { background: #f5a95f; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.btn-big { font-size: 1.2rem; padding: 1.1rem 1.6rem; overflow-wrap: anywhere; }
@media (max-width: 380px) { .btn-big { font-size: 1.05rem; padding-inline: 1rem; } }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-block: 14px;
}
.site-header img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { text-decoration: underline; }
.nav .btn { padding: .55rem 1.1rem; }
.nav-toggle {
  display: none;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 6px;
  padding: .4rem .9rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .site-header img { height: 32px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 10px;
  }
  .site-header.open .nav { display: flex; }
  .nav a { padding: .8rem 0; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: .6rem; text-align: center; border-top: 0; padding: .8rem; }
}

/* Sections */
.hero { background: var(--tint); padding-block: clamp(3rem, 8vw, 6rem); }
.section { padding-block: 4rem; }
.section-alt { background: var(--tint); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  overflow: hidden;
}
.card > img:first-child, .card > a:first-child > img {
  margin: -1.5rem -1.5rem 1.2rem;
  max-width: calc(100% + 3rem);
  width: calc(100% + 3rem);
  border-bottom: 1px solid var(--line);
}
.card p:last-child { margin-bottom: 0; }
.card h2, .card h3 { font-size: 1.2rem; border-left: 4px solid var(--orange); padding-left: .6rem; }
.card > img + h2, .card > a + h2, .card > img + h3, .card > a + h3 { border-left: 0; padding-left: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.5rem 3.6rem;
  min-height: 3rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps strong { display: block; color: var(--navy); }

.cta { background: var(--navy); color: #fff; text-align: center; padding-block: 4rem; }
.cta h2 { color: #fff; }
.cta .btn-row { justify-content: center; }
.cta .btn-ghost { border-color: #fff; color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--navy); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1.1rem; }
details p { margin: .8rem 0 0; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #fff;
  padding-block: 2.5rem;
  font-size: .95rem;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 .4rem; }
