/* QCI.LT — light, accessible public-information site */
:root {
  --ink: #10243f;
  --ink-2: #38516e;
  --ink-3: #657a91;
  --paper: #f7fafc;
  --surface: #ffffff;
  --surface-2: #edf4f8;
  --line: #d9e5ec;
  --line-strong: #b7cad6;
  --blue: #155eef;
  --blue-dark: #0a3ca9;
  --blue-soft: #eaf1ff;
  --teal: #008c85;
  --teal-soft: #e4f7f4;
  --lime: #b9ee4a;
  --navy: #081d36;
  --navy-2: #0e3157;
  --amber: #b85d00;
  --amber-soft: #fff4df;
  --maxw: 1180px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 63, .04), 0 8px 24px rgba(16, 36, 63, .06);
  --shadow-lg: 0 28px 80px rgba(16, 36, 63, .14);
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Sans", "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 8%, rgba(21, 94, 239, .10), transparent 28rem),
    radial-gradient(circle at 5% 34%, rgba(0, 140, 133, .08), transparent 24rem);
}

img { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; }
p { margin: 0 0 1rem; color: var(--ink-2); }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3rem, 7vw, 6.25rem); }
h2 { font-size: clamp(2.1rem, 4.7vw, 4rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }

::selection { color: var(--surface); background: var(--blue); }

:focus-visible {
  outline: 3px solid rgba(21, 94, 239, .45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  font-weight: 700;
}
.skip-link:focus { transform: none; }

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

.section { padding: clamp(76px, 10vw, 132px) 0; }
.section--compact { padding: clamp(52px, 7vw, 84px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 140, 133, .10);
}
.eyebrow--light { color: #a9c7ed; }
.eyebrow--light::before { background: var(--lime); box-shadow: 0 0 0 5px rgba(185, 238, 74, .12); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 64px);
}
.section-heading > p { max-width: 52ch; margin: 0; font-size: 1.04rem; }
.section-heading--center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.section-heading--center p { margin: 22px auto 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(183, 202, 214, .78);
  background: rgba(247, 250, 252, .88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.05em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.brand__name { display: block; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.brand__tag { display: block; margin-top: 2px; color: var(--ink-3); font-size: .69rem; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: .86rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.nav a:hover { color: var(--blue-dark); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.lang button {
  min-width: 38px;
  padding: 5px 8px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-3);
  background: transparent;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
}
.lang button.is-active { color: white; background: var(--navy); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.site-header.is-open .nav-toggle span { opacity: 0; }
.site-header.is-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: var(--blue); box-shadow: 0 12px 28px rgba(21, 94, 239, .22); }
.button--primary:hover { background: var(--blue-dark); }
.button--secondary { color: var(--ink); border-color: var(--line-strong); background: rgba(255, 255, 255, .74); }
.button--secondary:hover { color: var(--blue-dark); border-color: #8cabcf; background: white; }
.button--light { color: var(--navy); background: var(--lime); box-shadow: 0 14px 32px rgba(0, 0, 0, .15); }
.button--light:hover { background: #c9f66b; }
.button--outline-light { color: white; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .06); }
.button--outline-light:hover { background: rgba(255, 255, 255, .12); }
.button__arrow { font-size: 1.05em; transition: transform .18s ease; }
.button:hover .button__arrow { transform: translateX(3px); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 112px) 0 clamp(72px, 10vw, 132px);
}
.hero::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -180px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(21, 94, 239, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(21, 94, 239, .025), 0 0 0 180px rgba(0, 140, 133, .018);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}
.hero h1 { max-width: 11ch; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero__lead { max-width: 59ch; margin: 26px 0 30px; font-size: clamp(1.05rem, 1.7vw, 1.28rem); }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}
.trust-chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-3);
  background: rgba(255, 255, 255, .68);
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 600;
}

.network-card {
  position: relative;
  min-height: 520px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(183, 202, 214, .72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-lg);
}
.network-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(21, 94, 239, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.network-card__head,
.network-card__routes,
.network-card__foot { position: relative; z-index: 1; }
.network-card__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.network-card__head small { color: var(--ink-3); font-family: var(--font-mono); font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.network-card__head strong { display: block; margin-top: 5px; font-size: 1.05rem; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #07665f;
  background: var(--teal-soft);
  font-size: .69rem;
  font-weight: 750;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.network-card__routes { display: grid; gap: 22px; margin-top: 52px; }
.route-label { margin-bottom: 12px; color: var(--ink-3); font-family: var(--font-mono); font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
.route-line { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; }
.route-line--space { grid-template-columns: auto 1fr auto 1fr auto; }
.route-node {
  display: grid;
  min-width: 62px;
  min-height: 62px;
  place-items: center;
  padding: 9px;
  border: 1px solid #b8cae2;
  border-radius: 16px;
  color: var(--ink);
  background: white;
  font-size: .74rem;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.route-node--hub { color: white; border-color: var(--blue); background: var(--blue); }
.route-node--space { color: var(--navy); border-color: #9ed63a; background: var(--lime); }
.route-link {
  position: relative;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.route-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  transform: translateY(-50%) rotate(45deg);
}
.route-link--dash { height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); }
.route-link--dash::after { border-color: var(--blue); }
.network-card__foot {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .72rem;
}
.network-card__foot strong { color: var(--ink); }

/* Metrics */
.metric-strip { position: relative; z-index: 2; margin-top: -34px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.metric { padding: 22px 24px; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.04em; line-height: 1; }
.metric span { display: block; margin-top: 8px; color: var(--ink-3); font-size: .76rem; }

/* Projects */
.projects { background: var(--surface); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.project-card--blue { background: linear-gradient(155deg, #f4f7ff 0%, #edf4ff 100%); }
.project-card--green { background: linear-gradient(155deg, #f4fbf9 0%, #eaf8f5 100%); }
.project-card__top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.project-number { color: var(--blue); font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.project-card--green .project-number { color: var(--teal); }
.project-meta { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.project-meta span { padding: 5px 8px; border: 1px solid rgba(16, 36, 63, .12); border-radius: 999px; color: var(--ink-3); background: rgba(255, 255, 255, .64); font-size: .67rem; font-weight: 700; }
.project-card h3 { max-width: 17ch; margin-bottom: 18px; font-size: clamp(1.72rem, 3vw, 2.45rem); }
.project-card__summary { margin-bottom: 22px; font-size: .98rem; }
.deliverables { display: grid; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.deliverables li { position: relative; padding-left: 23px; color: var(--ink-2); font-size: .88rem; }
.deliverables li::before { content: ""; position: absolute; top: .62em; left: 0; width: 8px; height: 8px; border-radius: 3px; background: var(--blue); transform: rotate(45deg); }
.project-card--green .deliverables li::before { background: var(--teal); }
.project-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(16, 36, 63, .12); }
.project-card__footer small { max-width: 23ch; color: var(--ink-3); line-height: 1.45; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-dark); font-size: .84rem; font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.source-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  background: var(--amber-soft);
  color: #78420c;
  font-size: .78rem;
}
.source-note strong { color: #603203; }

/* Architecture */
.architecture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.architecture-card {
  position: relative;
  min-height: 270px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .76);
}
.architecture-card::after {
  content: attr(data-step);
  position: absolute;
  right: 14px;
  bottom: -18px;
  color: rgba(21, 94, 239, .08);
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
}
.architecture-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
}
.architecture-card:nth-child(even) .architecture-card__icon { color: #07665f; background: var(--teal-soft); }
.architecture-card h3 { margin-bottom: 12px; }
.architecture-card p { position: relative; z-index: 1; margin: 0; font-size: .84rem; }

/* Partners */
.partners { background: var(--surface-2); }
.partner-groups { display: grid; gap: 22px; }
.partner-group {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.partner-group__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 26px; }
.partner-group__head p { max-width: 52ch; margin: 8px 0 0; font-size: .84rem; }
.project-code { flex: 0 0 auto; padding: 6px 9px; border-radius: 8px; color: var(--ink-3); background: var(--paper); font-family: var(--font-mono); font-size: .65rem; }
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.partner-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.partner-card:hover { transform: translateY(-3px); border-color: #9bb8cb; background: white; }
.partner-card strong { font-size: .9rem; line-height: 1.35; letter-spacing: -.01em; }
.partner-card span { color: var(--ink-3); font-size: .68rem; }
.partner-card span:last-child { color: var(--blue-dark); font-weight: 800; }
.partner-context {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius);
  color: #c8d9eb;
  background: var(--navy);
}
.partner-context h3 { color: white; font-size: 1.15rem; }
.partner-context p { margin: 0; color: #a9bfd5; font-size: .83rem; }

/* Assessment */
.assessment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}
.assessment-copy h2 { max-width: 12ch; }
.assessment-copy > p { max-width: 58ch; margin: 24px 0 28px; }
.dimension-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.dimension-list span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: white; font-size: .72rem; font-weight: 700; }
.assessment-card {
  position: relative;
  padding: clamp(28px, 5vw, 46px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
  box-shadow: var(--shadow-lg);
}
.assessment-card::after {
  content: "QSI";
  position: absolute;
  right: -12px;
  bottom: -30px;
  color: rgba(255, 255, 255, .05);
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 800;
  letter-spacing: -.08em;
}
.score-orbit {
  position: relative;
  display: grid;
  width: 178px;
  height: 178px;
  margin: 0 auto 30px;
  place-items: center;
  border: 1px solid rgba(185, 238, 74, .55);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(185, 238, 74, .04), 0 0 0 42px rgba(255, 255, 255, .025);
}
.score-orbit::before,
.score-orbit::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px rgba(185, 238, 74, .8); }
.score-orbit::before { top: 18px; right: 23px; }
.score-orbit::after { bottom: 21px; left: 19px; }
.score-orbit strong { color: white; font-family: var(--font-display); font-size: 3.4rem; letter-spacing: -.08em; line-height: 1; }
.score-orbit span { display: block; color: #a9c7ed; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .08em; text-align: center; }
.assessment-card h3 { position: relative; z-index: 1; color: white; }
.assessment-card p { position: relative; z-index: 1; margin: 12px 0 0; color: #a9bfd5; font-size: .82rem; }
.assessment-disclaimer { margin-top: 14px !important; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); color: #91abc5 !important; font-size: .7rem !important; }

/* Join CTA */
.join { padding: 0 0 clamp(78px, 10vw, 130px); }
.join-card {
  position: relative;
  padding: clamp(34px, 7vw, 78px);
  overflow: hidden;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 92% 10%, rgba(185, 238, 74, .17), transparent 24rem),
    linear-gradient(135deg, #0d3154 0%, #071a31 68%);
  box-shadow: var(--shadow-lg);
}
.join-card::after {
  content: "";
  position: absolute;
  top: -85px;
  right: -70px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, .025), 0 0 0 96px rgba(255, 255, 255, .018);
}
.join-card__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(34px, 7vw, 84px); align-items: end; }
.join-card h2 { max-width: 12ch; color: white; }
.join-card h2 em { color: var(--lime); font-style: normal; }
.join-card p { max-width: 58ch; margin: 24px 0 0; color: #b9cee3; font-size: 1rem; }
.join-actions { display: grid; gap: 12px; }
.join-actions .button { width: 100%; }
.join-types { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.join-types span { padding: 5px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #b9cee3; font-size: .67rem; }

/* Sources */
.sources { border-top: 1px solid var(--line); }
.sources-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; align-items: start; }
.sources h2 { font-size: 1.6rem; }
.sources p { margin-top: 10px; font-size: .82rem; }
.source-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.source-links a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-2); background: white; font-size: .75rem; font-weight: 700; text-decoration: none; }
.source-links a:hover { color: var(--blue-dark); border-color: #9eb6c8; }

/* Footer */
.site-footer { padding: 46px 0 28px; color: #b3c7d9; background: #06172a; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 34px; }
.site-footer .brand { color: white; }
.site-footer .brand__mark { color: var(--navy); background: var(--lime); }
.site-footer .brand__tag { color: #8da8c0; }
.site-footer p { max-width: 46ch; margin: 16px 0 0; color: #89a3bc; font-size: .78rem; }
.footer-col strong { display: block; margin-bottom: 13px; color: white; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: block; width: max-content; max-width: 100%; margin: 8px 0; color: #a9bfd5; font-size: .78rem; text-decoration: none; }
.footer-col a:hover { color: white; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .10); color: #708ca6; font-size: .68rem; }

.noscript {
  padding: 10px 18px;
  color: #5e3608;
  background: var(--amber-soft);
  font-size: .78rem;
  text-align: center;
}

@media (max-width: 1060px) {
  .nav { gap: 0; }
  .nav a { padding-inline: 8px; font-size: .8rem; }
  .hero__grid { grid-template-columns: 1fr 420px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .architecture-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .container { width: min(calc(100% - 30px), var(--maxw)); }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 12px 15px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 252, .98);
    box-shadow: var(--shadow-sm);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 11px 12px; font-size: .9rem; }
  .header-actions { margin-left: auto; }
  .hero__grid, .assessment-layout { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .network-card { width: min(100%, 620px); min-height: 480px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .partner-context, .join-card__grid, .sources-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1.3fr 1fr; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 76px; }
  .site-header__inner { min-height: 68px; }
  .brand__tag { display: none; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.35rem); }
  .hero__lead { font-size: 1rem; }
  .button-row .button { width: 100%; }
  .network-card { min-height: 450px; padding: 20px; }
  .network-card__routes { margin-top: 40px; gap: 28px; }
  .route-node { min-width: 49px; min-height: 54px; padding: 6px; border-radius: 13px; font-size: .61rem; }
  .route-label { font-size: .6rem; }
  .network-card__foot { right: 19px; bottom: 18px; left: 19px; align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric + .metric { border-top: 1px solid var(--line); border-left: 0; }
  .project-card__top, .project-card__footer, .partner-group__head { align-items: flex-start; flex-direction: column; }
  .project-meta { justify-content: flex-start; }
  .architecture-grid, .partner-grid, .source-links { grid-template-columns: 1fr; }
  .architecture-card { min-height: 220px; }
  .architecture-card__icon { margin-bottom: 32px; }
  .partner-card { min-height: 120px; }
  .join-card { border-radius: 24px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; }
}

@media print {
  .site-header, .button-row, .join, .site-footer, .skip-link { display: none !important; }
  body { color: #111; background: white; }
  body::before { display: none; }
  .section { padding: 34px 0; }
  .project-card, .partner-group, .architecture-card, .assessment-card { break-inside: avoid; box-shadow: none; }
}

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