:root {
  --ink: #20252b;
  --muted: #626b74;
  --line: #b9c0c7;
  --soft: #f3f4f5;
  --mid: #e3e6e8;
  --accent: #34546d;
  --accent-dark: #263f52;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 4px 16px rgba(25, 34, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #0b65a0; outline-offset: 3px; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(800px, 100%); }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  transform: translateY(-160%); padding: 10px 14px;
  color: var(--white); background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.utility-bar { border-bottom: 1px solid var(--line); background: var(--soft); }
.utility-inner { min-height: 38px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.utility-inner a, .lang-switch { font-size: .82rem; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.lang-button { border: 0; padding: 2px 4px; color: var(--accent); background: transparent; }
.lang-button[aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration: underline; }
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--white); }
.project-notice {
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #f8f8f7;
  font-size: .82rem;
  line-height: 1.45;
}
.project-notice strong { color: var(--ink); }
.main-nav-row { min-height: 84px; display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; color: var(--ink); text-decoration: none; }
.logo-box { display: inline-grid; min-width: 150px; min-height: 50px; padding: 6px 14px; place-items: center; border: 2px solid var(--ink); font-weight: 700; line-height: 1.1; text-align: center; }
.logo-box small { display: block; color: var(--muted); font-size: .65rem; font-weight: 400; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); padding: 10px 14px; color: var(--ink); background: var(--white); }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 10px 9px; border-bottom: 3px solid transparent; color: var(--ink); font-size: .88rem; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.header-cta { flex: 0 0 auto; }
.breadcrumb { padding-block: 12px; border-bottom: 1px solid var(--line); background: var(--soft); font-size: .88rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 7px; color: var(--muted); }
.breadcrumb [aria-current="page"] { color: var(--muted); }
.section { padding-block: 76px; border-bottom: 1px solid var(--line); }
.section--soft { background: var(--soft); }
.section--dark { color: var(--white); background: #303840; }
.section--brand { border-block: 4px double var(--line); background: #ecebea; }
.hero { padding-block: 56px; border-bottom: 1px solid var(--line); background: var(--soft); }
.hero-grid, .split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero--brand { background: #e9e7e4; }
.eyebrow, .tag {
  display: inline-block; margin: 0 0 14px; padding: 4px 9px;
  border: 1px solid var(--line); color: var(--muted); background: var(--white);
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.18; }
h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(2.25rem, 5vw, 4.6rem); letter-spacing: -.035em; }
h2 { margin-bottom: 16px; font-size: clamp(1.7rem, 3vw, 2.65rem); letter-spacing: -.02em; }
h3 { margin-bottom: 10px; font-size: 1.15rem; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.provisional { padding-left: 12px; border-left: 3px solid var(--line); color: var(--muted); font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
  padding: 10px 17px; border: 1px solid var(--accent); border-radius: var(--radius);
  color: var(--white); background: var(--accent); font-weight: 700; text-decoration: none;
}
.button:hover { color: var(--white); background: var(--accent-dark); }
.button--secondary { color: var(--accent); background: var(--white); }
.button--secondary:hover { color: var(--white); }
.button--light { border-color: var(--white); color: var(--ink); background: var(--white); }
.placeholder {
  display: grid; min-height: 250px; padding: 24px; place-items: center;
  border: 2px dashed #8c959e; color: #555e66;
  background: repeating-linear-gradient(-45deg, #eef0f1, #eef0f1 12px, #e6e8ea 12px, #e6e8ea 24px);
  font-size: .83rem; font-weight: 700; letter-spacing: .04em; text-align: center;
}
.placeholder--hero { min-height: 430px; }
.placeholder--wide { min-height: 320px; }
.placeholder--small { min-height: 150px; }
.placeholder--tall { min-height: 400px; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading p { color: var(--muted); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  min-width: 0; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.card--optional { border-style: dashed; box-shadow: none; }
.card .placeholder { margin: -22px -22px 20px; border-width: 0 0 1px; }
.card p, .muted { color: var(--muted); }
.metric { padding: 24px; border-top: 4px solid var(--accent); background: var(--soft); }
.metric strong { display: block; margin-bottom: 5px; font-size: 1.35rem; }
.check-list { margin: 20px 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin-bottom: 9px; padding-left: 24px; }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.link-arrow::after { content: " →"; }
.relationship { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 28px; margin-top: 28px; }
.relationship .card { position: relative; text-align: center; }
.relationship .card:not(:last-child)::after {
  content: "→"; position: absolute; top: 50%; right: -23px;
  color: var(--accent); font-size: 1.5rem; font-weight: 700;
}
.timeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin: 30px 0; padding: 0; counter-reset: phase; list-style: none; }
.timeline--6 { grid-template-columns: repeat(6, 1fr); }
.timeline li { position: relative; min-height: 130px; padding: 46px 14px 14px; border: 1px solid var(--line); background: var(--white); font-weight: 700; }
.timeline li::before {
  counter-increment: phase; content: counter(phase);
  position: absolute; top: 12px; left: 14px; display: grid; width: 26px; height: 26px;
  place-items: center; border-radius: 50%; color: var(--white); background: var(--accent); font-size: .8rem;
}
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 2px; border: 0; color: var(--ink); background: transparent;
  font-weight: 700; text-align: left;
}
.accordion-button::after { content: "+"; flex: 0 0 auto; color: var(--accent); font-size: 1.4rem; }
.accordion-button[aria-expanded="true"]::after { content: "−"; }
.accordion-panel { padding: 0 2px 20px; color: var(--muted); }
.accordion-panel[hidden] { display: none; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-button { padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.filter-button[aria-pressed="true"] { border-color: var(--accent); color: var(--white); background: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .legend { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #7b858e; border-radius: 2px; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; }
.field-error { color: #9b271f; font-size: .84rem; }
.form-notice { margin-top: 16px; padding: 12px; border-left: 4px solid var(--accent); background: var(--soft); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px; border: 2px solid currentColor; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; }
.site-footer { color: #e9ecef; background: #262d33; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr; gap: 36px; padding-block: 56px; }
.site-footer h2 { font-size: 1rem; }
.site-footer a { color: #f4f6f7; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo-box { border-color: #f4f6f7; color: #f4f6f7; }
.footer-bottom { padding-block: 18px; border-top: 1px solid #5a6269; font-size: .8rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 15;
  display: none; width: 48px; height: 48px; border: 1px solid var(--white);
  border-radius: 50%; color: var(--white); background: var(--accent); box-shadow: var(--shadow);
}
.back-to-top.is-visible { display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 1100px) {
  .main-nav-row { flex-wrap: wrap; padding-block: 14px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .primary-nav {
    display: none; order: 4; width: 100%; margin: 0;
    max-height: calc(100vh - 150px); overflow-y: auto; border-top: 1px solid var(--line);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; padding-top: 10px; }
  .primary-nav a { padding: 11px 6px; }
  .header-cta { margin-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .container { width: min(100% - 28px, 1200px); }
  .utility-inner { justify-content: center; gap: 12px; }
  .utility-inner > a { display: none; }
  .main-nav-row { min-height: 70px; gap: 10px; }
  .logo-box { min-width: 126px; min-height: 44px; font-size: .85rem; }
  .header-cta { display: none; }
  .section { padding-block: 52px; }
  .hero { padding-block: 42px; }
  .hero-grid, .split, .grid-2, .grid-3, .grid-4, .relationship, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .placeholder--hero { min-height: 290px; }
  .relationship { gap: 18px; }
  .relationship .card:not(:last-child)::after {
    content: "↓"; top: auto; right: 50%; bottom: -22px; transform: translateX(50%);
  }
  .timeline { grid-template-columns: 1fr; }
  .timeline--6 { grid-template-columns: 1fr; }
  .timeline li { min-height: 0; }
  .field--full { grid-column: auto; }
  .cta { align-items: flex-start; flex-direction: column; padding: 24px; }
  .footer-grid { gap: 28px; }
  .footer-bottom .container { flex-direction: column; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.15rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .placeholder { min-height: 190px; }
  .placeholder--hero { min-height: 250px; }
}

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