:root {
  --navy: #10233f;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --text: #10233f;
  --muted: #3a4a5e;
  --bg: #ffffff;
  --contact-bg: #eef3fa;
  --field-bg: #e7edf5;
  --field-border: #c5d0de;
  --header-border: #e8eaf0;
  --wrap: 1120px;
  --pad: 24px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
}

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

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  clip: auto;
  overflow: visible;
  white-space: normal;
  background: var(--navy);
  color: #fff;
  z-index: 100;
  border-radius: 4px;
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: #fff;
  padding: 22px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 56px;
  width: auto;
}

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

.header-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-nav .header-cta {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 400;
  white-space: nowrap;
}

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 88px 0 96px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d5dbe4;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.15rem, 5.2vw, 3.55rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero .lead {
  margin: 0 0 36px;
  max-width: 46rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #e6eaf0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  background: var(--blue);
}

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

.btn-dark {
  background: #161616;
  border-radius: 4px;
  padding: 12px 22px;
  font-weight: 600;
}

.btn-dark:hover {
  background: #000;
  color: #fff;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section h2 {
  margin: 0 0 36px;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section p {
  margin: 0 0 1em;
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.fee-note {
  margin: 64px 0 0;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}

.benefits .intro {
  margin: -12px 0 36px;
  max-width: 54rem;
  font-size: 1.05rem;
}

.benefits .cols-3 {
  margin-bottom: 36px;
}

.text-link {
  color: var(--navy);
  text-underline-offset: 3px;
  font-weight: 400;
}

.about-block p {
  max-width: 54rem;
  font-size: 1.05rem;
}

/* Contact */
.contact {
  background: var(--contact-bg);
}

.contact .email {
  margin: 0 0 28px;
  color: var(--muted);
}

.contact .email a {
  color: var(--navy);
}

.contact-form {
  max-width: 100%;
}

.contact-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-form .hint {
  font-weight: 400;
  color: var(--muted);
}

.contact-form .field {
  margin: 0 0 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--field-border);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #fff;
  border-color: var(--blue);
}

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

.form-success {
  display: none;
  padding: 24px 0;
  font-size: 1.15rem;
  color: var(--navy);
}

.form-success.is-visible,
body.sent .form-success {
  display: block;
}

body.sent .contact-form {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.98rem;
  color: #fff;
}

/* About page */
.page-hero {
  padding: 72px 0 88px;
}

.page-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 54rem;
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1.2em;
}

.page-hero p:last-of-type {
  margin-bottom: 32px;
}

/* Thanks / 404 */
.simple {
  min-height: 50vh;
  padding: 80px 0 100px;
}

.simple h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.simple p {
  color: var(--muted);
  max-width: 36rem;
}

/* Mobile */
@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-nav {
    flex-wrap: wrap;
    gap: 16px 20px;
  }

  .logo img {
    height: 50px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero h1 {
    max-width: none;
  }

  .section {
    padding: 64px 0;
  }

  .cols-3 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fee-note {
    margin-top: 48px;
    padding-top: 8px;
    text-align: left;
  }

  .page-hero {
    padding: 48px 0 64px;
  }
}

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