:root {
  --page: #F4F6F8;
  --navy: #122C5B;
  --amber: #F0B429;
  --ink: #1A1A1A;
  --radius: 18px;
  --rule: 2px solid #122C5B;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body,
button,
input,
textarea {
  font-family: "Inter", sans-serif;
}

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

h1,
h2,
h3,
.brand {
  font-family: "IBM Plex Sans", sans-serif;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

a {
  color: inherit;
}

svg {
  display: block;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: 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;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 2px solid var(--navy);
  background: var(--page);
}

.header-inner,
.subpage-nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.brand-light,
.text-link-light {
  color: var(--page);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a:not(.button),
.text-link-light {
  font-weight: 700;
  text-decoration: none;
}

.main-nav > a:not(.button):hover,
.text-link-light:hover,
.footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: var(--page);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--navy);
  color: var(--page);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 9px 16px;
}

.button-ghost {
  background: transparent;
  color: var(--navy);
}

.button-amber {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

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

.eyebrow-light {
  color: var(--amber);
}

.hero {
  padding: clamp(70px, 10vw, 130px) 0;
  border-bottom: 2px solid var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.hero-copy .lead {
  max-width: 720px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 600;
}

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

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

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tile {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: var(--radius);
}

.tile svg {
  width: 54px;
  margin-bottom: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.tile strong {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.22rem;
}

.tile span:not(.tile-label) {
  margin-top: 5px;
  font-size: 0.9rem;
}

.tile-amber {
  background: var(--amber);
  color: var(--ink);
}

.tile-navy {
  margin-top: 34px;
  background: var(--navy);
  color: var(--page);
}

.tile-outline {
  grid-column: 1 / -1;
  min-height: 140px;
  border: var(--rule);
  background: var(--page);
  color: var(--navy);
}

.tile-label {
  margin-bottom: auto;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prices,
.steps,
.services {
  padding: clamp(76px, 9vw, 120px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: var(--rule);
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.price-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-left: 8px solid var(--amber);
  background: var(--navy);
  color: var(--page);
}

.price-intro h3,
.price-intro p {
  margin-bottom: 0;
}

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

.price-card,
.service-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 26px;
  border: var(--rule);
  border-radius: var(--radius);
  background: var(--page);
}

.price-card:nth-child(2),
.price-card:nth-child(4) {
  border-color: var(--amber);
}

.price-card p {
  flex: 1;
}

.price-card strong {
  color: var(--navy);
}

.price-code,
.step-marker {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
}

.next-page-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--amber);
}

.next-page-callout h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.next-page-callout p:last-child {
  margin-bottom: 0;
}

.stats-section {
  padding: 0 0 clamp(70px, 8vw, 100px);
  background: var(--navy);
  color: var(--page);
}

.subpage-nav {
  min-height: 82px;
  margin-bottom: clamp(60px, 8vw, 100px);
  border-bottom: 2px solid var(--amber);
}

.stats-heading {
  max-width: 800px;
  margin-bottom: 44px;
}

.stats-heading h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.stats-heading p:last-child {
  max-width: 620px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-right: 2px solid var(--amber);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--amber);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1;
}

.stat span {
  margin-top: 10px;
  font-weight: 700;
}

.steps {
  border-bottom: 2px solid var(--navy);
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.step-card {
  display: grid;
  min-height: 200px;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px;
  border: var(--rule);
  border-radius: var(--radius);
}

.step-card:nth-child(2),
.step-card:nth-child(3) {
  border-color: var(--amber);
}

.step-card .step-marker {
  margin: 0;
}

.service-card svg {
  width: 54px;
  margin-bottom: 44px;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.service-card p {
  margin-bottom: 0;
}

.service-card-accent {
  border-color: var(--amber);
  background: var(--amber);
}

.service-card-dark {
  background: var(--navy);
  color: var(--page);
}

.service-card-dark svg {
  stroke: var(--amber);
}

.contact {
  padding: clamp(76px, 9vw, 120px) 0 30px;
  background: var(--navy);
  color: var(--page);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(45px, 8vw, 100px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 550px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.contact-details div {
  padding: 18px 0;
  border-top: 2px solid var(--amber);
}

.contact-details span,
.contact-details strong {
  display: block;
}

.contact-details span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 9px;
  padding: clamp(26px, 5vw, 44px);
  border-radius: var(--radius);
  background: var(--page);
  color: var(--ink);
}

.contact-form label {
  margin-top: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: var(--page);
  color: var(--ink);
  font-size: 1rem;
}

.contact-form input {
  min-height: 48px;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

.contact-form .button {
  margin-top: 12px;
}

.form-note,
.form-status {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.form-status {
  min-height: 1.4em;
  color: var(--navy);
  font-weight: 700;
}

.privacy-panel {
  margin-top: 70px;
  padding: 26px;
  border: 2px solid var(--amber);
  border-radius: var(--radius);
}

.privacy-panel p {
  max-width: 900px;
  margin-bottom: 0;
}

.footer {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 2px solid var(--amber);
}

.footer a {
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

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

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border: var(--rule);
    border-radius: 14px;
    background: var(--page);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a:not(.button) {
    padding: 12px 8px;
  }

  .section-heading,
  .steps-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 16px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 120px;
    border-right: 0;
    border-bottom: 2px solid var(--amber);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .next-page-callout,
  .price-intro,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-panel,
  .price-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .tile-navy {
    margin-top: 0;
  }

  .tile-outline {
    grid-column: auto;
  }

  .price-card,
  .service-card {
    min-height: 250px;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .next-page-callout .button {
    width: 100%;
  }

  .subpage-nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .social-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
