:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #0f1a2b;
  --ink-muted: #526073;
  --line: #dde2ea;
  --primary: #16294a;
  --primary-ink: #ffffff;
  --accent: #c8781e;
  --accent-soft: #fbf1e3;
  --radius: 10px;
  --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
ul { margin: 0; padding: 0; list-style: none; }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--primary);
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a { text-decoration: none; color: var(--ink-muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 16px;
  border-top: 1px solid var(--line);
}

.nav-mobile a {
  padding: 10px 4px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav-mobile.open { display: flex; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: #1f3a68; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-muted); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Sections */
section { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { color: var(--ink-muted); font-size: 17px; }

/* Hero */
.hero { padding: 80px 0 72px; }

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

.hero h1 { font-size: clamp(38px, 6vw, 60px); }

.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy p { font-size: 18px; color: var(--ink-muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 8px;
  font-size: 14px;
  color: var(--ink-muted);
}

.hero-meta strong { display: block; color: var(--ink); font-weight: 600; }

/* Company card in hero */
.company-card {
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 30px 60px -30px rgba(22, 41, 74, 0.55);
}

.company-card .brand-mark { width: 40px; height: 40px; color: var(--primary-ink); }
.company-card h2 { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); font-family: var(--font-body); font-weight: 600; }

.company-card dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.company-card dl div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.company-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.company-card dt { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.company-card dd { margin: 0; font-size: 16px; font-weight: 500; }
.company-card dd a { color: var(--primary-ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.company-card dd a:hover { text-decoration-color: var(--primary-ink); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 { font-size: 20px; }
.card p { color: var(--ink-muted); font-size: 15px; }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.card-icon svg { width: 20px; height: 20px; }

.card ul { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-muted); }
.card ul li::before {
  content: "";
  flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

/* Process */
.process { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-step h3 { font-size: 19px; }
.process-step p { color: var(--ink-muted); font-size: 15px; max-width: 640px; }

.plain-list { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.plain-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; color: var(--ink-muted); }
.plain-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 10px; }
.plain-list strong { color: var(--ink); font-weight: 600; }

/* Band */
.band {
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: 16px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.band h2 { font-size: clamp(26px, 3.5vw, 34px); }
.band p { color: rgba(255, 255, 255, 0.75); font-size: 17px; max-width: 560px; }
.band .btn-primary { background: var(--surface); color: var(--primary); }
.band .btn-primary:hover { background: #eef1f6; }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 48px); }
.page-hero p { color: var(--ink-muted); font-size: 18px; max-width: 640px; margin-top: 16px; }

/* Definition list */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.facts dd { margin: 0; font-size: 16px; }
.facts a { color: var(--primary); }

/* Prose (legal pages) */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-size: 22px; margin-top: 18px; }
.prose p, .prose li { color: var(--ink-muted); font-size: 16px; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .updated { font-size: 14px; color: var(--ink-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contact-card { gap: 6px; }
.contact-card .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; color: var(--ink-muted); }
.contact-card .value { font-size: 18px; font-weight: 500; }
.contact-card .value a { text-decoration: none; color: var(--primary); }
.contact-card .value a:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer-brand p { font-size: 14px; color: var(--ink-muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); font-family: var(--font-body); font-weight: 600; }
.footer-col a { text-decoration: none; font-size: 15px; color: var(--ink); }
.footer-col a:hover { color: var(--accent); }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.6; }
.footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .band { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px 48px; }
  .facts > div { grid-template-columns: 220px 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-legal { flex-direction: row; justify-content: space-between; }
  .process-step { grid-template-columns: 260px 1fr; gap: 32px; }
  .company-card dl { grid-template-columns: 1fr 1fr; }
}
