.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:root {
  --ink: #1b2a4a;
  --accent: #2563eb;
  --accent-soft: #eef3ff;
  --muted: #5b6b85;
  --wash: #f5f7fb;
  --paper: #ffffff;
  --line: #e6eaf2;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--wash);
}

main { flex: 1 0 auto; }

a { color: var(--accent); text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  position: relative;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  height: 0;
  box-shadow: none;
  background: transparent;
  position: relative;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); }

#site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

#site-nav a {
  color: var(--muted);
  font-weight: 500;
}
#site-nav a:hover,
#site-nav a[aria-current="page"] { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.nav-cta:hover { background: #152238; }

.hero { padding: 48px 0 28px; }
.hero-home { padding: 40px 0 20px; max-width: 52rem; }
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.6vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 16ch;
}
.tag { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.lead { margin: 0 0 12px; color: var(--muted); font-size: 18px; max-width: 42ch; }
.sub { margin: 0 0 26px; font-weight: 650; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.actions.mt { margin-top: 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #1d4ed8; }
.btn.ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: 28px 0 56px; }
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
}
.section .intro { margin: 0 0 20px; color: var(--muted); max-width: 52ch; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.card, .product, .phase, .panel, .lane, .support {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3, .product h3, .phase h3, .panel h3, .lane h3, .support h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.card p, .product p, .phase p, .panel p, .lane p, .support p,
.list-plain { margin: 0; color: var(--muted); font-size: 14.5px; }

.accent-bar {
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* Home: process strip + dominant lane */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.process-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.process-step .num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.process-step strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.process-step span { color: var(--muted); font-size: 13.5px; }

.lanes {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}
.lane.lead {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.lane.lead p { color: #c5cee0; }
.lane.lead .accent-bar { background: var(--accent); }
.lane ul, .support ul, .phase ul, .product ul, .deliverables {
  margin: 12px 0 0;
  padding: 0 0 0 1.1em;
  color: var(--muted);
  font-size: 14.5px;
}
.lane.lead ul { color: #c5cee0; }
.lane li, .support li, .phase li, .product li { margin-bottom: 6px; }

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 8px;
}
.proof-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.proof-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.proof-item span { color: var(--muted); font-size: 13.5px; }

.badge {
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 10px;
}

.product-panel {
  margin: 14px 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  padding: 16px 18px;
}
.product-panel strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.product-panel span {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.product .btn {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .product .btn { white-space: normal; width: 100%; }
}
.product .actions { margin-top: 16px; }
.product h3 { margin-top: 12px; }

.cap-lead {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 14px;
}
.cap-lead h3 { margin: 0 0 8px; font-size: 20px; }
.cap-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
.contact h2 { margin: 0 0 8px; }
.contact > div > p { margin: 0 0 18px; color: var(--muted); }
.side {
  background: var(--wash);
  border-radius: 14px;
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
}
.side strong { display: block; color: var(--ink); margin-bottom: 8px; }
.side .about-line {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.trust-list li:last-child { border-bottom: none; }
.trust-list strong { color: var(--ink); }

footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
}
.foot-brand img { height: 28px; width: auto; }

@media (max-width: 860px) {
  .grid-3, .grid-2, .contact, .lanes, .process, .proof, .cap-secondary {
    grid-template-columns: 1fr;
  }
  .hero h1 { max-width: none; }

  .nav-toggle { display: inline-flex; }

  #site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(27, 42, 74, 0.08);
  }
  #site-nav.is-open { display: flex; }
  #site-nav a {
    padding: 12px 4px;
    border-radius: 8px;
  }
  #site-nav .nav-cta {
    margin-top: 6px;
    width: 100%;
  }
}

.panel.why { padding: 26px; }
.panel.why h2 { margin: 0 0 8px; font-size: clamp(22px, 2.8vw, 28px); letter-spacing: -0.02em; }
.panel.why .list-plain { font-size: 16px; max-width: 48ch; }
