:root {
  --bg: #050b10;
  --bg-2: #071018;
  --bg-3: #0a141d;
  --surface: #0e1b25;
  --surface-2: #122431;
  --surface-3: #172d3c;

  --text: #f5f7fa;
  --text-soft: #d7e1e8;
  --muted: #9db0bf;
  --muted-2: #718692;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --blue: #22a8ff;
  --blue-soft: #67c8ff;
  --green: #72c72d;
  --green-soft: #9ce85e;
  --purple: #9c4dcc;
  --purple-soft: #c786ef;
  --orange: #ff8a1f;
  --orange-soft: #ffad61;
  --cyan: #22c7d9;
  --cyan-soft: #6ce6f3;

  --danger: #ff5c6c;
  --warning: #ffc857;

  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.38);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --max: 1220px;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 168, 255, 0.06), transparent 22%),
    radial-gradient(circle at 85% 15%, rgba(114, 199, 45, 0.05), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(34, 168, 255, 0.32);
  color: white;
}

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

/* TYPOGRAPHY */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Rajdhani, Inter, sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(52px, 7.5vw, 94px);
  line-height: 0.92;
  font-weight: 700;
}

h1 span {
  color: var(--green);
  text-shadow: 0 0 30px rgba(114, 199, 45, 0.12);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 0.98;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-lead,
.lead {
  max-width: 800px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.prose {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.8;
}

.prose p {
  margin-bottom: 18px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 16, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brand-text {
  color: white;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #dbe6ee;
  font-size: 13px;
  font-weight: 600;
}

.primary-nav>a:not(.button) {
  position: relative;
  padding: 28px 0;
  transition: color 160ms ease;
}

.primary-nav>a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav>a:not(.button):hover {
  color: white;
}

.primary-nav>a:not(.button):hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: white;
  cursor: pointer;
}

/* BUTTONS */

.button {
  min-height: 48px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 30px rgba(34, 168, 255, 0.12);
  color: #051017;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(34, 168, 255, 0.16);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
  color: white;
}

.button-ghost:hover {
  border-color: rgba(34, 168, 255, 0.45);
  background: rgba(34, 168, 255, 0.08);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 18%, rgba(34, 168, 255, 0.19), transparent 31%),
    radial-gradient(circle at 75% 75%, rgba(114, 199, 45, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      var(--blue),
      var(--green),
      transparent);
}

.hero-grid {
  min-height: 760px;
  padding: 82px 0;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 60px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .hero-lead+.hero-lead {
  margin-top: 14px;
  color: #afc0ca;
}

.hero-actions {
  margin: 32px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  max-width: 620px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  color: white;
  font-family: Rajdhani, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.hero-stats span {
  margin-top: 5px;
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 168, 255, 0.19), transparent 55%);
  filter: blur(36px);
}

.hero-visual img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

/* SECTIONS */

.section {
  position: relative;
  padding: 100px 0;
}

.section-dark {
  background: #050b10;
}

.section-muted {
  background:
    radial-gradient(circle at 10% 20%, rgba(34, 168, 255, 0.04), transparent 20%),
    #0a141d;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 40px;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
  gap: 82px;
}

/* PROGRAM CARDS */

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

.card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.025);
  filter: blur(2px);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 168, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--surface);
}

.card h3 {
  max-width: 240px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.icon {
  width: 52px;
  height: 52px;
  margin-bottom: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: Rajdhani, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.icon-green {
  border: 1px solid rgba(114, 199, 45, 0.35);
  background: rgba(114, 199, 45, 0.15);
  color: var(--green-soft);
}

.icon-blue {
  border: 1px solid rgba(34, 168, 255, 0.35);
  background: rgba(34, 168, 255, 0.15);
  color: var(--blue-soft);
}

.icon-purple {
  border: 1px solid rgba(156, 77, 204, 0.35);
  background: rgba(156, 77, 204, 0.15);
  color: var(--purple-soft);
}

.icon-orange {
  border: 1px solid rgba(255, 138, 31, 0.35);
  background: rgba(255, 138, 31, 0.15);
  color: var(--orange-soft);
}

.icon-cyan {
  border: 1px solid rgba(34, 199, 217, 0.35);
  background: rgba(34, 199, 217, 0.15);
  color: var(--cyan-soft);
}

/* HOW IT WORKS */

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}

.flow-step {
  min-height: 250px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--surface);
}

.flow-step>span {
  width: 38px;
  height: 38px;
  margin-bottom: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(34, 168, 255, 0.2);
  border-radius: 10px;
  background: rgba(34, 168, 255, 0.12);
  color: var(--blue);
  font-weight: 800;
}

.flow-step p {
  color: var(--muted);
  font-size: 13px;
}

.flow-arrow {
  align-self: center;
  color: #49616f;
  font-size: 27px;
}

/* TECHNOLOGY SERVICES */

#technology-services {
  background:
    radial-gradient(circle at 88% 25%, rgba(34, 199, 217, 0.08), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(114, 199, 45, 0.05), transparent 22%),
    var(--bg-2);
}

.technology-cta {
  margin-top: 26px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(34, 199, 217, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(34, 199, 217, 0.08), rgba(114, 199, 45, 0.05)),
    var(--surface);
}

.technology-cta h3 {
  max-width: 760px;
  font-size: 22px;
}

.technology-cta p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
}

/* SERVICE AREA */

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

.location-grid span {
  position: relative;
  padding: 18px 20px 18px 45px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.location-grid span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 0 14px rgba(34, 168, 255, 0.28);
  transform: translateY(-50%);
}

/* FUNDRAISER */

.fundraiser-section {
  background:
    radial-gradient(circle at 84% 34%, rgba(114, 199, 45, 0.12), transparent 25%),
    radial-gradient(circle at 12% 65%, rgba(34, 168, 255, 0.12), transparent 28%),
    #081119;
}

.fundraiser-grid {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 500px);
  align-items: start;
  gap: 64px;
}

.fundraiser-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gfm-shell {
  min-height: 620px;
  overflow: hidden;
  padding: 10px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-lg);
}

.qr-card {
  max-width: 220px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.qr-card img {
  width: 100%;
}

.check-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #c8d5dc;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* SUPPORT GRID */

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

.support-grid>div {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--surface);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.support-grid>div:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 168, 255, 0.25);
}

.support-grid strong,
.support-grid span {
  display: block;
}

.support-grid strong {
  margin-bottom: 9px;
  color: white;
  font-size: 15px;
}

.support-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* CONTACT */

.contact-section {
  padding-bottom: 90px;
}

.contact-box {
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(34, 168, 255, 0.25);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 20%, rgba(34, 168, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(34, 168, 255, 0.08), rgba(114, 199, 45, 0.06)),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.contact-box p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
}

.contact-actions {
  min-width: 290px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* STARTUP NOTICE */

.startup-notice {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #081119;
}

.startup-notice p {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

/* FOOTER */

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #03080c;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 30px 40px;
}

.footer-brand {
  margin-bottom: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
}

/* FUNDING ROADMAP */

.roadmap-frame {
  margin-top: 26px;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-md);
}

.roadmap-frame img {
  width: 100%;
  min-width: 900px;
  border-radius: var(--radius-md);
}

.roadmap-link {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.roadmap-link a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-decoration-color: rgba(103, 200, 255, 0.35);
}

.roadmap-link a:hover {
  color: white;
}

/* LEGAL PAGES */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 74px 0 52px;
  background:
    radial-gradient(circle at 82% 10%, rgba(34, 168, 255, 0.14), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(114, 199, 45, 0.08), transparent 26%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-bottom: 1px solid var(--line);
}

.legal-updated {
  margin-top: 12px;
  color: var(--muted);
  font-family: Rajdhani, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.legal-section {
  padding: 64px 0 100px;
}

.legal-shell {
  display: grid;
  grid-template-columns: 232px 1fr;
  align-items: start;
  gap: 56px;
}

.legal-toc {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    var(--surface);
}

.legal-toc .eyebrow {
  margin-bottom: 14px;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: none;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  transition: color 160ms ease, background 160ms ease;
}

.legal-toc a::before {
  content: counter(toc) '. ';
  color: var(--blue);
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
}

.legal-toc a:hover {
  background: rgba(34, 168, 255, 0.08);
  color: white;
}

.legal {
  min-width: 0;
  color: var(--text-soft);
}

.legal-intro {
  padding-bottom: 28px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.clause {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 104px;
}

.clause:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.clause h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 25px;
}

.clause h2 .num {
  flex: none;
  color: var(--blue);
  font-family: Rajdhani, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.clause h3 {
  margin: 22px 0 8px;
  color: white;
  font-size: 16px;
}

.clause p {
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.clause ul {
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
}

.clause li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.clause li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
}

.clause a {
  color: var(--blue-soft);
  text-decoration: underline;
  text-decoration-color: rgba(103, 200, 255, 0.35);
  text-underline-offset: 3px;
}

.clause a:hover {
  color: white;
}

.clause strong {
  color: white;
}

.legal-callout {
  margin: 18px 0;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-md);
  background: rgba(255, 138, 31, 0.07);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.legal-table-wrap {
  margin: 6px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.legal-table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-table-wrap th,
.legal-table-wrap td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.legal-table-wrap th {
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--blue-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-table-wrap tr:last-child td {
  border-bottom: none;
}

.legal-table-wrap td strong {
  color: white;
}

@media (max-width: 900px) {
  .legal-shell {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .legal-toc {
    position: static;
  }
}

/* FOOTER LEGAL COLUMN */

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  margin-bottom: 2px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  transition: color 160ms ease;
}

.footer-legal a:hover {
  color: white;
}

/* FOCUS STATES */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

/* TABLET */

@media (max-width: 1100px) {
  .primary-nav {
    gap: 17px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-arrow {
    display: none;
  }

  .fundraiser-grid {
    grid-template-columns: 1fr;
  }

  .gfm-shell {
    width: 100%;
    max-width: 560px;
  }
}

/* MOBILE NAV */

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(11, 21, 30, 0.98);
    box-shadow: var(--shadow-md);
  }

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

  .primary-nav>a:not(.button) {
    padding: 13px 12px;
    border-radius: 9px;
  }

  .primary-nav>a:not(.button)::after {
    display: none;
  }

  .primary-nav>a:not(.button):hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .primary-nav .button {
    margin-top: 8px;
  }

  .hero-grid,
  .split,
  .contact-box,
  .technology-cta {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 62px 0 78px;
    gap: 34px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    object-position: top;
  }

  .split {
    gap: 32px;
  }

  .contact-actions {
    min-width: 0;
    width: 100%;
  }

  .technology-cta .button {
    width: fit-content;
  }
}

/* SMALL TABLET */

@media (max-width: 700px) {
  .brand-tagline {
    display: none;
  }

  .hero-stats,
  .cards,
  .support-grid,
  .location-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .icon {
    margin-bottom: 30px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

/* PHONE */

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 26px), var(--max));
  }

  html {
    scroll-padding-top: 76px;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand-mark {
    width: 41px;
    height: 41px;
  }

  .brand-text {
    font-size: 13px;
  }

  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 39px;
  }

  .hero-lead,
  .lead {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    margin-top: 26px;
  }

  .card,
  .flow-step,
  .support-grid>div {
    padding: 21px;
  }

  .technology-cta {
    padding: 26px;
  }

  .technology-cta .button {
    width: 100%;
  }

  .contact-box {
    padding: 28px;
  }

  .contact-actions .button {
    width: 100%;
  }

  .gfm-shell {
    min-height: 560px;
    border-radius: 18px;
  }

  .startup-notice p {
    text-align: left;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}