:root {
  --navy: #0f2a3d;
  --navy-2: #163a54;
  --amber: #f2b33d;
  --amber-dark: #d99a20;
  --ink: #1b2430;
  --muted: #5b6776;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --radius: 12px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

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

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--amber); color: var(--navy); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
  font-size: 1.15rem; font-weight: 600; letter-spacing: .02em;
}
.wordmark strong { font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .975rem;
}
.site-nav a:hover { color: var(--navy-2); text-decoration: underline; text-underline-offset: 4px; }
.site-nav .nav-cta {
  background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.site-nav .nav-cta:hover { background: var(--navy-2); color: #fff; text-decoration: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row-center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-secondary { background: #fff; color: var(--navy); }
.btn-secondary:hover { background: #eef2f5; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2f5; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(242, 179, 61, .18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 96px 0 104px;
}
.hero h1 { max-width: 18ch; }
.eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber);
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #d3dde6; max-width: 60ch; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

.cards {
  display: grid; gap: 20px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #cdd5de; box-shadow: 0 8px 24px rgba(15, 42, 61, .06); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 18px;
  display: grid; place-items: center; background: #fff6e3;
}
.card-icon svg {
  width: 24px; height: 24px; fill: none; stroke: var(--amber-dark);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.split { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: center; }

.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; color: var(--navy);
}

.steps {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr);
  counter-reset: none;
}
.steps li { padding: 24px; border-top: 3px solid var(--amber); background: var(--bg-alt); border-radius: 0 0 var(--radius) var(--radius); }
.steps p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700;
}

/* Contact */
.contact {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 88px 0; text-align: center;
}
.contact p { color: #d3dde6; font-size: 1.15rem; }

/* Footer */
.site-footer { background: #0a1e2c; color: #9fb0bf; font-size: .925rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 24px; padding-bottom: 24px; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0; }

  .hero { padding: 64px 0 72px; }
  .section, .contact { padding: 64px 0; }
  .cta-row .btn { flex: 1 1 100%; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
