:root {
  --navy: #0b1e33;
  --navy-2: #12304f;
  --blue: #0057a0;
  --accent: #f2a900;
  --accent-hover: #ffbc1f;
  --bg: #ffffff;
  --bg-muted: #f3f5f8;
  --text: #1b2430;
  --text-muted: #4a5563;
  --border: #dde2e9;
  --radius: 10px;
  --container: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

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

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  text-decoration: none;
}
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-accent { color: var(--accent); font-weight: 600; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav ul { display: flex; gap: .25rem; }
.site-nav ul a {
  display: block;
  padding: .5rem .75rem;
  color: #dbe4ee;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}
.site-nav ul a:hover { color: #fff; background: rgba(255,255,255,.08); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: transform .2s, background-color .2s;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 767px) {
  .header-inner { flex-wrap: wrap; }
  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    padding-bottom: 1rem;
  }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .75rem; }
  .nav-cta { width: 100%; }

  /* Collapse the menu only when JS is available, so it stays usable without it. */
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 4rem 0 4.5rem;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.hero-text { display: flex; flex-direction: column; gap: 1.25rem; }
.eyebrow {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-dark { color: var(--blue); }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: #c9d5e2;
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: .75rem;
  font-size: .95rem;
  color: #dbe4ee;
}
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (min-width: 900px) {
  .hero { padding: 5.5rem 0 6rem; }
  .hero-inner { flex-direction: row; align-items: center; gap: 3.5rem; }
  .hero-text { flex: 1 1 55%; }
  .hero-media { flex: 1 1 45%; }
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-muted { background: var(--bg-muted); }
.section-header {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 44rem;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
}
.section-lead { color: var(--text-muted); font-size: 1.075rem; }

.service-group + .service-group { margin-top: 2.5rem; }
.service-group-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-left: .75rem;
  border-left: 4px solid var(--accent);
}
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #b7c3d2; box-shadow: 0 8px 24px rgba(11,30,51,.06); }
.card-title { font-size: 1.075rem; color: var(--navy); }
.card-text { color: var(--text-muted); }

/* Brands table */
.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.brands-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.brands-table caption {
  text-align: left;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  caption-side: top;
}
.brands-table th,
.brands-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
}
.brands-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.brands-table tbody tr + tr { border-top: 1px solid var(--border); }
.brands-table tbody tr:nth-child(even) { background: #fafbfc; }
.brands-table tbody th { color: var(--navy); font-weight: 800; white-space: nowrap; }
.brands-table td { color: var(--text-muted); }

@media (max-width: 639px) {
  .brands-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .brands-table tbody tr { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem; }
  .brands-table tbody th,
  .brands-table tbody td { padding: 0; white-space: normal; }
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.post-tag {
  padding: .15rem .6rem;
  border-radius: 999px;
  background: #e6effa;
  color: var(--blue);
  font-weight: 700;
}
.post-title { font-size: 1.15rem; color: var(--navy); }
.post-text { color: var(--text-muted); }
.post-soon { margin-top: auto; font-size: .9rem; font-weight: 700; color: var(--navy); }

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-weight: 800;
}
.step-title { font-size: 1.075rem; color: var(--navy); }
.step-text { color: var(--text-muted); }

.notice {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  background: #fff8e6;
  border: 1px solid #f1d58a;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text);
}

/* CTA */
.cta { background: var(--blue); color: #fff; }
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.cta-text { display: flex; flex-direction: column; gap: .75rem; max-width: 40rem; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta p { color: #e1ecf7; font-size: 1.075rem; }
@media (min-width: 900px) {
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b8c6d6;
  padding: 2.5rem 0;
  font-size: .95rem;
}
.footer-inner { display: flex; flex-direction: column; gap: .5rem; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-copy { margin-top: .5rem; font-size: .875rem; }
