:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --graphite: #374151;
  --muted: #64748b;
  --muted-2: #8792a2;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f5f7;
  --line: rgba(17, 24, 39, 0.12);
  --line-strong: rgba(17, 24, 39, 0.22);
  --blue: #2754d8;
  --blue-2: #1d4ed8;
  --violet: #6d5df7;
  --amber: #f59e0b;
  --red: #dc2626;
  --green: #059669;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --max: 1180px;
  --nav-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(39, 84, 216, .18); }
:focus-visible { outline: 3px solid rgba(39, 84, 216, .32); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 9999;
  background: var(--blue);
  color: white;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17, 24, 39, .1);
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  border: 1px solid rgba(39, 84, 216, .34);
}
.logo-mark svg { width: 22px; height: 22px; color: #f8fafc; }
.logo-word { line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .18rem;
}
.nav-links a {
  color: var(--graphite);
  padding: .6rem .74rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 700;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--blue);
  background: rgba(39, 84, 216, .08);
}
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-pill {
  border: 1px solid var(--line);
  color: var(--graphite);
  padding: .54rem .72rem;
  border-radius: var(--radius);
  font-size: .86rem;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: .58rem .72rem;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { overflow: hidden; }
.section { padding: 84px 0; }
.section.compact { padding: 44px 0; }
.section:nth-of-type(odd):not(.hero):not(.page-hero) { background: #f5f3ed; }
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  font-weight: 850;
}
.eyebrow::before, .section-kicker::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 2px;
  background: currentColor;
}
h1, .h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.035em;
}
h2, .h2 {
  margin: .6rem 0 0;
  max-width: 900px;
  font-size: clamp(1.85rem, 3.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
h3 {
  margin: 0;
  font-size: clamp(1.18rem, 1.8vw, 1.5rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}
h4 { margin: 0; font-size: 1.02rem; }
p { color: var(--muted); margin: .75rem 0 0; }
.lead {
  color: var(--graphite);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 760px;
}
.narrow { max-width: 720px; }
.gradient-text { color: #aab7ff; }

.hero,
.page-hero,
.language-gate {
  position: relative;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(39, 84, 216, .18), transparent 34%),
    linear-gradient(180deg, #111827 0%, #182033 100%);
}
.hero {
  padding: 82px 0 64px;
  border-bottom: 1px solid rgba(17, 24, 39, .18);
}
.hero::before,
.page-hero::before,
.language-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(248, 250, 252, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 250, 252, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 78%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  align-items: center;
  gap: 3rem;
}
.hero .lead,
.hero p,
.page-hero .lead,
.page-hero p,
.language-card p { color: rgba(248, 250, 252, .76); }
.hero .eyebrow,
.page-hero .eyebrow,
.language-card .eyebrow { color: #bfc7ff; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .58rem;
  margin-top: 1.35rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid rgba(248, 250, 252, .18);
  background: rgba(248, 250, 252, .07);
  border-radius: var(--radius);
  color: rgba(248, 250, 252, .84);
  padding: .48rem .64rem;
  font-size: .86rem;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 2px;
  background: #9fb0ff;
}
.badge.amber::before { background: var(--amber); }
.badge.violet::before { background: var(--violet); }
.badge.green::before { background: var(--green); }
.badge.red::before { background: var(--red); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  padding: .76rem 1.02rem;
  color: var(--ink);
  background: white;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(39, 84, 216, .46);
  color: var(--blue);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .12);
}
.btn.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 16px 34px rgba(39, 84, 216, .25);
}
.btn.primary:hover {
  color: white;
  background: var(--blue-2);
  border-color: var(--blue-2);
}
.btn.ghost {
  color: inherit;
  background: transparent;
  border-color: currentColor;
}
.hero .btn.ghost { color: #f8fafc; border-color: rgba(248, 250, 252, .34); }
.hero .btn.ghost:hover { background: rgba(248, 250, 252, .08); color: white; }
.btn.small { min-height: 38px; padding: .56rem .78rem; font-size: .9rem; }

.panel,
.card,
.timeline-content,
.table-wrap,
.deliverable-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.panel { box-shadow: var(--shadow); overflow: hidden; }
.hero-panel {
  padding: 1rem;
  min-height: auto;
  background: #f8fafc;
  color: var(--ink);
}
.terminal {
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.terminal-bar {
  min-height: 46px;
  border-bottom: 1px solid rgba(17, 24, 39, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .9rem;
  color: var(--graphite);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}
.dots { display: none; }
.terminal-body { padding: .1rem 1rem; }
.finding {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: .9rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, .09);
}
.finding:last-child { border-bottom: 0; }
.finding-id {
  align-self: start;
  border: 1px solid rgba(39, 84, 216, .22);
  border-radius: 6px;
  color: var(--blue);
  background: rgba(39, 84, 216, .07);
  padding: .32rem .42rem;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  font-weight: 850;
}
.finding-title { color: var(--ink); font-weight: 900; line-height: 1.25; }
.finding-meta { color: var(--muted); font-size: .86rem; margin-top: .22rem; }
.axis-card {
  position: static;
  width: 100%;
  margin-top: .85rem;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: var(--radius);
  padding: 1rem;
  background: #111827;
  color: #f8fafc;
}
.axis-card span { color: #bfc7ff; }
.axis-card strong { display: block; margin-top: .25rem; font-size: 1.05rem; line-height: 1.28; }
.axis-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  margin-top: .9rem;
}
.axis-line span { height: 7px; border-radius: 2px; background: rgba(248, 250, 252, .18); }
.axis-line span:nth-child(1) { background: var(--blue); }
.axis-line span:nth-child(2) { background: var(--violet); }
.axis-line span:nth-child(3) { background: var(--green); }

.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  padding: 1.22rem;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17, 24, 39, .04);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--blue);
  opacity: 0;
  transition: opacity .2s ease;
}
.card:hover::after { opacity: 1; }
.card .num,
.card .icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(39, 84, 216, .08);
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
  margin-bottom: 1rem;
}
.card .icon { width: 42px; height: 42px; }
.card p { font-size: .97rem; }
.card ul, .panel-list, .check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .55rem;
}
.card li, .panel-list li, .check-list li {
  color: var(--muted);
  position: relative;
  padding-left: 1.1rem;
}
.card li::before, .panel-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--blue);
}
.card.emphasis {
  color: #f8fafc;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.card.emphasis h2,
.card.emphasis h3,
.card.emphasis h4 { color: #f8fafc; }
.card.emphasis p,
.card.emphasis li { color: rgba(248, 250, 252, .76); }
.card.emphasis .section-kicker { color: #bfc7ff; }
.service-card { display: flex; flex-direction: column; gap: .9rem; }
.service-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .1rem;
}
.service-card .meta span,
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .32rem .5rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
  background: rgba(17, 24, 39, .025);
  white-space: nowrap;
}
.card.emphasis .meta span,
.card.emphasis .tag {
  color: rgba(248, 250, 252, .78);
  border-color: rgba(248, 250, 252, .18);
  background: rgba(248, 250, 252, .07);
}
.service-card .btn { margin-top: auto; align-self: flex-start; }
.tag.blue { color: #1d4ed8; border-color: rgba(39, 84, 216, .25); background: rgba(39, 84, 216, .08); }
.tag.amber { color: #92400e; border-color: rgba(245, 158, 11, .32); background: rgba(245, 158, 11, .1); }
.tag.red { color: #991b1b; border-color: rgba(220, 38, 38, .28); background: rgba(220, 38, 38, .08); }
.tag.green { color: #065f46; border-color: rgba(5, 150, 105, .28); background: rgba(5, 150, 105, .08); }
.tag.violet { color: #4f46e5; border-color: rgba(109, 93, 247, .3); background: rgba(109, 93, 247, .1); }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}
.sticky-note { position: sticky; top: calc(var(--nav-h) + 28px); }
.quote-panel {
  border-left: 3px solid var(--blue);
  padding: 1rem 1.15rem;
  background: rgba(39, 84, 216, .06);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1.2rem;
}
.quote-panel p { color: var(--ink); font-size: 1.05rem; }

.timeline { display: grid; gap: .78rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
}
.timeline-dot {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(39, 84, 216, .22);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: rgba(39, 84, 216, .07);
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 900;
}
.timeline-content { padding: 1rem; }
.timeline-content p { margin-top: .35rem; }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
th, td {
  text-align: left;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
  vertical-align: top;
}
th {
  color: var(--ink);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(17, 24, 39, .045);
}
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

.page-hero {
  padding: 70px 0 42px;
  border-bottom: 1px solid rgba(17, 24, 39, .16);
}
.page-hero .container,
.language-card { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  color: rgba(248, 250, 252, .62);
  font-size: .9rem;
  margin-bottom: 1.1rem;
}
.breadcrumb a { color: rgba(248, 250, 252, .78); }
.breadcrumb a:hover { color: white; }

.deliverable-preview {
  background: var(--surface-2);
  padding: 1rem;
}
.memo {
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: 1.2rem;
  min-height: 360px;
  box-shadow: var(--shadow);
}
.memo p, .memo li { color: var(--muted); }
.memo-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(17, 24, 39, .12);
}
.memo-title { font-weight: 900; letter-spacing: -.01em; }
.memo-pill { color: var(--blue); font-weight: 850; font-size: .82rem; }
.memo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .9rem; }
.memo-box { border: 1px solid rgba(17, 24, 39, .11); border-radius: var(--radius); padding: .75rem; background: white; }
.memo-box strong { display: block; font-size: .86rem; }
.memo-line { height: 8px; border-radius: 2px; background: #e5e7eb; margin-top: .5rem; }
.memo-line.short { width: 65%; }
.memo-line.blue { background: #c7d2fe; }
.memo-line.amber { background: #fde68a; }
.memo-line.violet { background: #ddd6fe; }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .42rem; color: var(--ink); font-weight: 800; }
label span { color: var(--muted); font-weight: 650; font-size: .88rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
  padding: .82rem .9rem;
  outline: none;
}
select option { background: white; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(39, 84, 216, .55);
  box-shadow: 0 0 0 4px rgba(39, 84, 216, .1);
}
.form-note { color: var(--muted-2); font-size: .9rem; }
.notice {
  border: 1px solid rgba(245, 158, 11, .32);
  background: rgba(245, 158, 11, .1);
  color: #78350f;
  border-radius: var(--radius);
  padding: .9rem 1rem;
  margin-top: 1rem;
}
.success-message {
  display: none;
  border: 1px solid rgba(5, 150, 105, .28);
  background: rgba(5, 150, 105, .08);
  color: #065f46;
  border-radius: var(--radius);
  padding: .9rem 1rem;
}
.success-message.show { display: block; }

.resource-card time {
  color: var(--muted-2);
  font-size: .84rem;
  display: inline-block;
  margin-bottom: .55rem;
}
.article { max-width: 860px; margin-inline: auto; }
.article h2 { margin-top: 2.2rem; font-size: clamp(1.55rem, 3vw, 2.45rem); }
.article h3 { margin-top: 1.7rem; }
.article p, .article li { font-size: 1.04rem; }
.article ul, .article ol { color: var(--muted); padding-left: 1.4rem; }
.article li { margin: .42rem 0; }
.article .callout {
  border: 1px solid rgba(39, 84, 216, .2);
  background: rgba(39, 84, 216, .06);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin: 1.4rem 0;
}
.article-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }

.cta-band {
  border: 1px solid rgba(17, 24, 39, .08);
  background:
    linear-gradient(135deg, rgba(39, 84, 216, .16), transparent 42%),
    var(--ink);
  color: #f8fafc;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0; color: #f8fafc; }
.cta-band p { color: rgba(248, 250, 252, .76); }
.cta-band .section-kicker { color: #bfc7ff; }
.cta-band .btn:not(.primary) {
  color: #f8fafc;
  background: transparent;
  border-color: rgba(248, 250, 252, .32);
}

.site-footer {
  padding: 46px 0 32px;
  color: #f8fafc;
  background: var(--ink);
}
.site-footer p,
.site-footer a,
.site-footer span { color: rgba(248, 250, 252, .74); }
.site-footer a:hover { color: white; }
.site-footer .logo,
.site-footer .logo:hover { color: #f8fafc; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr .75fr;
  gap: 2rem;
}
.footer-col h4 {
  color: #f8fafc;
  margin-bottom: .65rem;
  font-size: .95rem;
}
.footer-col a { display: block; margin: .38rem 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(248, 250, 252, .1);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: .9rem;
}

.language-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}
.language-card {
  width: min(760px, calc(100% - 32px));
  border: 1px solid rgba(248, 250, 252, .16);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, .07);
  padding: clamp(1.25rem, 6vw, 3rem);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}
.language-card .logo,
.language-card .logo:hover { color: #f8fafc; }
.language-card .logo { margin-bottom: 1.5rem; }
.language-options { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.kpi {
  padding: 1rem;
  border-right: 1px solid var(--line);
}
.kpi:last-child { border-right: 0; }
.kpi strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  letter-spacing: -.02em;
}
.kpi span { color: var(--muted); font-size: .9rem; }

@media (max-width: 1060px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .section-top { align-items: start; flex-direction: column; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --nav-h: 66px; }
  .container { width: min(100% - 28px, var(--max)); }
  .menu-toggle { display: inline-block; }
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--nav-h) + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .82rem .9rem; }
  .nav-actions .btn { display: none; }
  .hero { padding-top: 56px; }
  .grid.three, .grid.two, .grid.four { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .memo-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .page-hero { padding-top: 48px; }
}

@media (max-width: 560px) {
  .logo { letter-spacing: .05em; }
  .logo-word { font-size: .82rem; }
  h1, .h1 { font-size: clamp(2.25rem, 12vw, 3.6rem); }
  .badge { width: 100%; justify-content: flex-start; }
  .hero-actions .btn,
  .language-options .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .kpi-strip { grid-template-columns: 1fr; }
  .kpi,
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .terminal-body { padding: .1rem .8rem; }
  .finding { grid-template-columns: 1fr; gap: .5rem; }
  .finding-id { width: max-content; min-width: 62px; }
}

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