/* ═══════════════════════════════════════════════════════════════════════
   AIRLEAP · site layer
   Loaded after css/styles.css and built on its tokens. Holds the shared
   header and footer, page shells, CanSat components, forms and payments,
   so every page uses the same buttons, cards, spacing and section heads.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --cs-navy: #13213E;
  --cs-navy-2: #1B2C4F;
  --cs-navy-3: #0E1A33;
  --cs-cream: #FAF6EB;
  --cs-mist: #A9B6CF;
  --cs-fog: #C9D2DE;
  --cs-yellow: #F6C544;
  --cs-cyan: #45D3D5;
  --cs-green: #7BD98F;
  --cs-orange: #FF7B3D;
  --cs-ink-2: #3B4A6B;
  --cs-ink-3: #5A6A88;
  --cs-link: #0B6E72;
  --cs-warn: #9A3412;
  --cs-wash: #fbeee0;
  --wrap: 1180px;
  --gutter: clamp(16px, 5vw, 64px);
  --band-y: clamp(56px, 7vw, 104px);
}

[hidden] { display: none !important; }
html { scroll-padding-top: 88px; }

.wrap { max-width: var(--wrap); margin: 0 auto; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; }
.skip-link:focus { left: 16px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }

/* ── header ────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header .site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px 28px;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 12px var(--gutter);
}

.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 30px; width: auto; display: block; }

.menu { display: flex; align-items: center; gap: 4px clamp(16px, 1.8vw, 30px); margin: 0; padding: 0; list-style: none; }
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-2);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.menu a:hover { color: var(--ink); }
.menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.menu .ext::after { content: "\2197"; font-size: .8em; margin-left: 4px; color: var(--ink-3); }
.menu .mobile-only { display: none; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--cs-navy);
  color: var(--cs-cream);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--cs-link); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .close { display: none; }
.site-header.open .nav-toggle .open { display: none; }
.site-header.open .nav-toggle .close { display: block; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .site-header.open .menu { display: flex; }
  .menu li { border-bottom: 1px solid var(--rule-soft); }
  .menu a { display: flex; width: 100%; min-height: 52px; font-size: 1.05rem; border-bottom: 0; }
  .menu a[aria-current="page"] { color: var(--cs-link); }
  .menu .mobile-only { display: block; }
}

@media (max-width: 420px) {
  .nav-cta { padding: 0 12px; font-size: .82rem; }
  .brand img { height: 26px; }
}

/* ── announcement bar (extends .cansat-bar from styles.css) ─────────── */

.cansat-bar a { text-decoration: underline; text-underline-offset: 3px; }

/* ── footer ────────────────────────────────────────────────────────── */

.site-footer {
  padding: clamp(48px, 6vw, 80px) var(--gutter) 28px;
  background: var(--night);
  color: var(--mist);
  border-top: 0;
}
.site-footer .cols {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px 28px;
}
.site-footer .about { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.site-footer .about img { height: 30px; width: auto; align-self: flex-start; }
.site-footer .about p { font-size: .92rem; line-height: 1.6; }
.site-footer h2 {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--haze);
  margin-bottom: 12px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 2px; }
.site-footer a { color: var(--paper); font-size: .92rem; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--cs-yellow); }
.site-footer .legal {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule-invert);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--haze);
}
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ── bands: every full-width page section ──────────────────────────── */

.band { padding: var(--band-y) var(--gutter) !important; }
.band.tight-top { padding-top: 0 !important; }
.band.alt { background: var(--paper-2); }
.band.warm { background: var(--cs-wash); }
.band.navy { background: var(--cs-navy); color: var(--cs-fog); }
.band.navy h1, .band.navy h2, .band.navy h3 { color: var(--cs-cream); }
.band.navy .sec-index { color: var(--cs-mist); }
.band.navy .sec-label { color: var(--cs-cyan); }
.band.navy .sec-title { color: var(--cs-cream); }
.band.navy .sec-body { color: var(--cs-fog); }
.band.navy .btn-outline { color: var(--cs-cream); border-color: rgba(250, 246, 235, .36); }
.band.navy .btn-outline:hover { border-color: var(--cs-cream); }

.sec-title em { font-style: normal; color: var(--signal); }
.band.navy .sec-title em { color: var(--cs-yellow); }

/* ── buttons (extend .btn from styles.css) ─────────────────────────── */

.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-cansat { background: var(--cs-yellow); color: var(--cs-navy); border-color: var(--cs-yellow); font-weight: 700; }
.btn-cansat:hover { background: var(--cs-cream); border-color: var(--cs-cream); }
.btn-navy { background: var(--cs-navy); color: var(--cs-cream); border-color: var(--cs-navy); font-weight: 700; }
.btn-navy:hover { background: var(--cs-link); border-color: var(--cs-link); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { color: var(--cs-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }
.band.navy .text-link { color: var(--cs-cyan); }

/* ── shared pieces ─────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cs-ink-3);
}
.band.navy .eyebrow { color: var(--cs-mist); }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.band.alt .card { background: #f8f3e8; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
}
a.chip:hover { border-color: var(--ink); }

.tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid currentColor;
}
.tag.solid { background: var(--cs-yellow); border-color: var(--cs-yellow); color: var(--cs-navy); }
.tag.drone { background: var(--cs-orange); border-color: var(--cs-orange); color: var(--cs-navy); }

.kv { display: flex; flex-direction: column; margin: 0; }
.kv > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 14px 0; border-top: 1px solid var(--rule); }
.kv > div:last-child { border-bottom: 1px solid var(--rule); }
.kv dt { font-weight: 700; color: var(--ink); }
.kv dd { margin: 0; color: var(--ink-2); }
.kv.stack > div { flex-direction: column; justify-content: flex-start; gap: 2px; }
.kv.stack dt { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-ink-3); }
.kv.stack dd { color: var(--ink); }
.band.navy .kv > div { border-color: rgba(250, 246, 235, .18); }
.band.navy .kv dt { color: var(--cs-mist); }
.band.navy .kv dd { color: var(--cs-cream); }

/* ── page heads for inner pages ────────────────────────────────────── */

.page-head { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(28px, 4vw, 48px) !important; }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.028em; font-weight: 800; max-width: 18ch; }
.page-head .lead { font-size: 1.1rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ── home ──────────────────────────────────────────────────────────── */

.home-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px 64px; align-items: center; }
.home-hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.home-hero h1 em { font-style: normal; color: var(--cs-yellow); }
.home-hero .lead { font-size: 1.12rem; line-height: 1.6; color: var(--cs-fog); max-width: 54ch; }
.home-hero .copy { display: flex; flex-direction: column; gap: 24px; }
.home-hero .mentor-card { margin: 0; border: 1px solid rgba(250, 246, 235, .18); border-radius: 14px; overflow: hidden; background: var(--cs-navy-2); }
.home-hero .mentor-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 66% 30%; display: block; }
.home-hero .mentor-card figcaption { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.home-hero .mentor-card strong { color: var(--cs-cream); font-size: 1.15rem; }
.home-hero .mentor-card span { color: var(--cs-fog); font-size: .92rem; }
.home-hero .mentor-card small { color: var(--cs-mist); font-size: .72rem; margin-top: 6px; }
@media (max-width: 900px) { .home-hero .wrap { grid-template-columns: 1fr; } }

.dates { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 22px; border-top: 1px solid rgba(250, 246, 235, .18); }
.dates div { display: flex; flex-direction: column; gap: 2px; }
.dates dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-mist); }
.dates dd { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--cs-cream); letter-spacing: -.01em; }
.dates dd small { display: block; font-size: .8rem; font-weight: 500; color: var(--cs-yellow); letter-spacing: 0; }

.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.path { padding: 0; overflow: hidden; gap: 0; color: var(--ink); transition: border-color .15s ease; }
.path:hover { border-color: var(--ink); }
.path .pic { aspect-ratio: 4 / 3; background: var(--paper-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.path .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.path .pic.navy { background: var(--cs-navy); }
.path .pic.navy img { width: 42%; height: auto; object-fit: contain; }
.path .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.path h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.path p { font-size: .94rem; color: var(--ink-2); line-height: 1.55; }
.path .go { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--cs-link); }
@media (max-width: 980px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .paths { grid-template-columns: 1fr; } }

.people { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.person { display: flex; align-items: center; gap: 14px; }
.person img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.person strong { display: block; color: var(--ink); }
.person span { font-size: .88rem; color: var(--ink-2); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }
.partner-logos a { display: inline-flex; align-items: center; min-height: 44px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: center; }
.split img.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.split .copy { display: flex; flex-direction: column; gap: 18px; }
.split h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.022em; font-weight: 800; }
.split h2 em { font-style: normal; color: var(--signal); }
.split p { font-size: 1.04rem; color: var(--ink-2); line-height: 1.65; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.mini-stats { display: flex; flex-wrap: wrap; gap: 16px 36px; }
.mini-stats div { display: flex; flex-direction: column; }
.mini-stats strong { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.mini-stats span { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-3); }

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product { padding: 0; overflow: hidden; gap: 0; }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.product .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.product strong { color: var(--ink); font-size: 1.02rem; }
.product span { font-size: .9rem; color: var(--ink-2); }
.product .price { font-family: var(--font-mono); font-size: .86rem; color: var(--cs-link); }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -.022em; font-weight: 800; }
.cta-band h2 em { font-style: normal; color: var(--cs-yellow); }
.cta-band p { font-size: 1.05rem; margin-top: 8px; }
.cta-band .lead-block { display: flex; align-items: center; gap: 24px; flex: 1 1 520px; min-width: 0; }
.cta-band .lead-block img { width: 72px; height: auto; flex: none; }

/* ── CanSat page ───────────────────────────────────────────────────── */

.cs-lockup { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; }
.cs-lockup img { width: 100%; height: auto; display: block; }
.cs-lockup-rule { display: flex; align-items: center; gap: 14px; }
.cs-lockup-rule i { flex: 1; height: 2px; background: currentColor; }
.cs-lockup-rule span { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 8px; padding-left: 8px; }
.band.navy .cs-lockup { color: var(--cs-cream); }
.cs-lockup.small { max-width: 220px; color: var(--cs-navy); }
.cs-lockup.small .cs-lockup-rule span { font-size: 11px; letter-spacing: 6px; padding-left: 6px; }

.cs-hero .wrap { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.cs-hero .copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.cs-hero h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.026em; font-weight: 800; color: var(--cs-cream); }
.cs-hero h1 em { font-style: normal; color: var(--cs-yellow); }
.cs-hero .lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.6; color: var(--cs-fog); max-width: 600px; }
.cs-hero .facts { margin: 4px 0 0; padding-top: 24px; border-top: 1px solid rgba(250, 246, 235, .18); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 24px; }
.cs-hero .facts div { display: flex; flex-direction: column; gap: 2px; }
.cs-hero .facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-mist); }
.cs-hero .facts dd { margin: 0; font-size: 22px; font-weight: 700; color: var(--cs-cream); }
.cs-hero .facts dd small { display: block; font-size: 13px; font-weight: 400; color: var(--cs-mist); }
.cs-hero .facts dd small.hot { color: var(--cs-yellow); }
.cs-hero .jump .chip { color: var(--cs-cream); border-color: rgba(250, 246, 235, .3); }
.cs-hero .jump .chip:hover { border-color: var(--cs-cream); }

.mentor-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 32px; align-items: center; }
.mentor-feature figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mentor-feature img { width: 100%; height: 380px; object-fit: cover; object-position: 66% 35%; border-radius: 12px; display: block; }
.mentor-feature figcaption { font-size: 12px; color: var(--cs-ink-3); }
.mentor-feature h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.022em; font-weight: 800; color: var(--cs-navy); }
.mentor-feature .role { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--cs-navy); }
.mentor-feature p { color: var(--cs-ink-2); }
.mentors-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px 64px; }
@media (max-width: 900px) { .mentors-row, .mentor-feature { grid-template-columns: 1fr; } }

.num-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; counter-reset: n; }
.num-list li { border-top: 1px solid var(--rule); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.num-list li::before { counter-increment: n; content: counter(n, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--cs-link); }
.num-list strong { font-size: 18px; color: var(--ink); }
.num-list span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 680px) { .num-list { grid-template-columns: 1fr; } }

.cs-table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--cs-cream); }
.table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; color: var(--cs-navy); }
.table th, .table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid rgba(19, 33, 62, .1); vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { border-bottom: 1px solid rgba(19, 33, 62, .18); }
.table thead strong { display: block; font-size: 22px; font-weight: 800; }
.table thead span { font-weight: 400; font-size: 14px; color: var(--cs-ink-2); }
.table tbody th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--cs-ink-3); text-transform: uppercase; letter-spacing: .06em; width: 26%; }
.table .fee { font-weight: 700; }
.note { font-size: 14px; color: var(--cs-ink-3); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px 20px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; border-top: 2px solid var(--cs-navy); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--cs-navy); }
.steps li.now::before { background: var(--cs-yellow); }
.steps li.drone::before { background: var(--cs-orange); }
.steps li.final::before { background: var(--cs-navy); }
.steps .when { font-size: 26px; font-weight: 800; color: var(--cs-navy); letter-spacing: -.01em; }
.steps strong { font-size: 16px; color: var(--cs-navy); }
.steps p { font-size: 14px; color: var(--cs-ink-2); }

.funnel { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 20px; border-top: 1px solid rgba(19, 33, 62, .16); }
.funnel div { display: flex; align-items: baseline; gap: 10px; }
.funnel strong { font-size: 28px; font-weight: 800; color: var(--cs-navy); }
.funnel span { font-size: 14px; color: var(--cs-ink-2); }

.money { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.money-bar { display: flex; min-height: 76px; border-radius: 10px; overflow: hidden; }
.money-bar div { padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 2px; color: var(--cs-navy); }
.money-bar div:first-child { flex: 0 0 30%; background: var(--cs-mist); }
.money-bar div:last-child { flex: 1 1 auto; background: var(--cs-green); }
.money-bar strong { font-size: 20px; line-height: 1.1; }
.money-bar span { font-size: 13px; }
.zero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(250, 246, 235, .18); }
.zero strong { font-size: 30px; color: var(--cs-yellow); }
.zero span { color: var(--cs-cream); }
.cs-callout { padding: 16px 18px; border: 1px solid rgba(250, 246, 235, .24); border-radius: 10px; color: var(--cs-cream); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.outcomes { display: flex; flex-direction: column; }
.outcomes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 20px 0; border-top: 1px solid var(--rule); }
.outcomes li:last-child { border-bottom: 1px solid var(--rule); }
.outcomes b { flex: 0 0 170px; white-space: nowrap; font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--cs-navy); line-height: 1; }
.outcomes span { flex: 1 1 300px; font-size: 17px; color: var(--cs-navy); }

.rules-list li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--cs-ink-2); }
.rules-list li:last-child { border-bottom: 1px solid var(--rule); }

.faq { display: flex; flex-direction: column; max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--cs-link); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 18px; color: var(--ink-2); line-height: 1.65; max-width: 70ch; }

/* ── forms (registration and sponsor) ──────────────────────────────── */

.cs-main { padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(56px, 7vw, 96px); color: var(--cs-ink-2); }
.cs-wrap { max-width: var(--wrap); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.cs-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.cs-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .cs-aside.sticky { position: sticky; top: 92px; } }
.cs-intro { display: flex; flex-direction: column; gap: 14px; }
.cs-h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.028em; font-weight: 800; color: var(--cs-navy); }
.cs-lead { font-size: 18px; line-height: 1.55; color: var(--cs-ink-2); max-width: 640px; }
.cs-main a:not(.btn):not(.chip) { color: var(--cs-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.progress { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cs-ink-3); }
.progress li::before { counter-increment: s; content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rule); font-family: var(--font-mono); font-size: 12px; }
.progress li.done { color: var(--cs-navy); }
.progress li.done::before { content: "\2713"; background: var(--cs-green); border-color: var(--cs-green); color: var(--cs-navy); }
.progress li.current { color: var(--cs-navy); }
.progress li.current::before { background: var(--cs-navy); border-color: var(--cs-navy); color: var(--cs-cream); }

.cs-form { display: flex; flex-direction: column; gap: 32px; }
.cs-fieldset { margin: 0; padding: 24px 0 0; border: 0; border-top: 2px solid var(--cs-navy); min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cs-legend { float: left; width: 100%; padding: 0; display: flex; align-items: baseline; gap: 12px; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--cs-navy); }
.cs-legend span { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--cs-link); }
.cs-sub { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cs-sub > legend { float: left; width: 100%; padding: 0; }
.cs-q { font-size: 14px; font-weight: 600; color: var(--cs-navy); }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 20px; }
.cs-span { grid-column: 1 / -1; }

.fl { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--cs-navy); }
.fi {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(19, 33, 62, .28);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--cs-navy);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
}
textarea.fi { min-height: 76px; resize: vertical; line-height: 1.45; }
.fi:user-invalid { border-color: #C2410C; }
.fh { font-weight: 400; font-size: 13px; line-height: 1.45; color: var(--cs-ink-3); }
.req { color: #C2410C; }

.cs-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-opt { position: relative; display: inline-flex; }
.cs-opt input { position: absolute; left: 50%; bottom: 0; opacity: 0; width: 1px; height: 1px; margin: 0; }
.cs-opt > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(19, 33, 62, .28);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--cs-navy);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.cs-opt > span small { font-size: 13px; font-weight: 400; color: var(--cs-ink-3); }
.cs-opt input:checked + span { background: var(--cs-navy); border-color: var(--cs-navy); color: var(--cs-cream); }
.cs-opt input:checked + span small { color: var(--cs-fog); }
.cs-opt input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.cs-opt.num > span { min-width: 52px; justify-content: center; font-size: 17px; }

.cs-teams { display: flex; flex-direction: column; }
.cs-team { margin: 0; padding: 12px 0; border: 0; border-top: 1px solid rgba(19, 33, 62, .14); min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.cs-team:last-child { border-bottom: 1px solid rgba(19, 33, 62, .14); }
.cs-team > legend { float: left; width: 84px; padding: 0; font-weight: 700; color: var(--cs-navy); }
.cs-team .girls { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; font-size: 14px; color: var(--cs-navy); cursor: pointer; }
.cs-team .girls input { width: 18px; height: 18px; accent-color: var(--cs-navy); }
.cs-team .row-fee { margin-left: auto; font-family: var(--font-mono); font-size: 14px; color: var(--cs-link); min-width: 72px; text-align: right; }

.cs-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--cs-navy); cursor: pointer; }
.cs-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--cs-navy); }
.cs-check strong { display: block; }
.cs-check .fh { display: block; }

.cs-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(19, 33, 62, .24); border-radius: 10px; background: #fffdf8; cursor: pointer; }
.cs-card:has(input:checked) { border-color: var(--cs-navy); background: #EEF1F6; }
.cs-card input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--cs-navy); }
.cs-card > span { display: flex; flex-direction: column; gap: 3px; }
.cs-card strong { font-size: 17px; color: var(--cs-navy); }
.cs-card .amt { font-family: var(--font-mono); font-size: 13px; color: var(--cs-link); }

.cs-stepper { display: inline-flex; align-self: flex-start; align-items: center; border: 1px solid rgba(19, 33, 62, .28); border-radius: 8px; overflow: hidden; background: #fffdf8; }
.cs-stepper button { width: 46px; height: 46px; border: 0; background: transparent; color: var(--cs-navy); font-size: 22px; cursor: pointer; }
.cs-stepper button:hover { background: #EEF1F6; }
.cs-stepper output { min-width: 48px; text-align: center; font-weight: 700; font-size: 18px; color: var(--cs-navy); }

.cs-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.cs-panel { border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cs-panel.night { background: var(--cs-navy); color: var(--cs-fog); }
.cs-panel.paper { border: 1px solid rgba(19, 33, 62, .18); }
.cs-panel h2 { font-size: 20px; font-weight: 800; color: var(--cs-navy); }
.cs-panel .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-mist); }
.cs-big { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--cs-cream); }
.cs-mid { font-size: 24px; line-height: 1.25; font-weight: 800; color: var(--cs-cream); }
.cs-small { font-size: 13px; line-height: 1.5; color: var(--cs-mist); }
.cs-rates { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.cs-rates th, .cs-rates td { padding: 8px 0; border-bottom: 1px solid rgba(250, 246, 235, .14); text-align: right; font-weight: 400; }
.cs-rates th:first-child { text-align: left; }
.cs-rates thead th { color: var(--cs-mist); font-weight: 500; }
.cs-rates td { color: var(--cs-cream); }
.cs-lines { margin: 6px 0 0; display: flex; flex-direction: column; }
.cs-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(250, 246, 235, .14); font-size: 14px; }
.cs-lines dd { margin: 0; color: var(--cs-cream); text-align: right; }
.cs-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.cs-steps li { display: flex; gap: 12px; }
.cs-steps li > span:first-child { font-family: var(--font-mono); font-size: 13px; color: var(--cs-link); padding-top: 2px; }

/* ── payment ───────────────────────────────────────────────────────── */

.pay { display: flex; flex-direction: column; gap: 14px; }
.pay .amount { font-size: clamp(40px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--cs-cream); }
.pay .methods { font-size: 13px; color: var(--cs-mist); }
.pay .btn { align-self: flex-start; }
.pay-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: 15px; line-height: 1.5; background: rgba(250, 246, 235, .08); color: var(--cs-cream); }
.pay-status.show { display: block; }
.pay-status.ok { background: var(--cs-green); color: var(--cs-navy); }
.pay-status.bad { background: #FBE3D6; color: #7A2A0C; }
.pay-status a { color: inherit; text-decoration: underline; }
.pay-status .st-k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.paid-stamp { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--cs-green); color: var(--cs-navy); font-weight: 700; font-size: 14px; }

/* ── section numbering on split pages keeps styles.css look ─────────── */

.sec-head + .num-list, .sec-head + .cs-table-wrap { margin-top: 0; }

/* ── small pieces used by the CanSat and workshops pages ───────────── */

nav.jump, .jump { padding: 0; justify-content: flex-start; }
.jump-bar { padding: 0 var(--gutter) clamp(28px, 4vw, 44px); }
.jump-bar .jump { max-width: var(--wrap); margin: 0 auto; }
.jump-bar .jump .lbl { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); align-self: center; margin-right: 6px; }

.mentor-feature .mf-copy { display: flex; flex-direction: column; gap: 14px; }

.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; margin: 28px 0 0; }
.facts-grid div { border-top: 1px solid var(--rule); padding-top: 12px; }
.facts-grid dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-ink-3); }
.facts-grid dd { margin: 4px 0 0; color: var(--ink); }

.spec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.spec-head .sec-head { margin-bottom: 28px; }

.actions { display: flex; flex-direction: column; gap: 12px; }
.action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 22px 24px;
  border: 1px solid rgba(19, 33, 62, .24);
  border-radius: 12px;
  background: var(--cs-cream);
  color: var(--cs-navy);
  transition: border-color .15s ease, background .15s ease;
}
.action:hover { border-color: var(--cs-navy); }
.action small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cs-ink-3); }
.action strong { font-size: 20px; }
.action .arrow { font-size: 22px; }
.action.dark { background: var(--cs-navy); border-color: var(--cs-navy); color: var(--cs-cream); }
.action.dark small { color: var(--cs-mist); }
.action.dark:hover { background: var(--cs-navy-2); }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.sponsor-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px 64px; align-items: center; }
@media (max-width: 860px) { .sponsor-split { grid-template-columns: 1fr; } }
.sponsor-split h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.022em; font-weight: 800; color: var(--cs-navy); }
.sponsor-split p { font-size: 17px; color: var(--cs-ink-2); max-width: 560px; }

.money-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; }
@media (max-width: 860px) { .money-split { grid-template-columns: 1fr; } }
.money-split h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.022em; font-weight: 800; }
.money-split p { font-size: 17px; max-width: 520px; }
.band.navy .kv.rows > div { flex-wrap: wrap; justify-content: flex-start; gap: 4px 20px; }
.band.navy .kv.rows dt { flex: 0 0 120px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.band.navy .kv.rows dd { flex: 1 1 260px; }

.partner-logos img.ps { height: 84px; width: auto; display: block; }
.partner-logos img.qa { height: 36px; width: auto; display: block; }

/* ── page-assembly helpers ─────────────────────────────────────────── */

@media (max-width: 560px), (min-width: 1181px) and (max-width: 1279px) { .nav-cta .cta-long { display: none; } }

/* live sections dropped next to bands keep their own spacing */
.schools-strip { padding-top: clamp(18px, 3vw, 28px) !important; }
nav.breadcrumbs { padding: 0; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }

.cta-band.light h2 em { color: var(--signal); }
.cta-band.light p { color: var(--ink-2); }
@media (max-width: 560px) { .cta-band .lead-block { flex-direction: column; align-items: flex-start; } }

.contact-note { margin-top: 14px; font-size: .95rem; color: var(--ink-2); }
.contact-note a { color: var(--cs-link); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ordered lists styled as components start flush */
.num-list, .outcomes, .progress, .cs-steps, .steps { margin: 0; padding: 0; list-style: none; }

/* live sections that span the page line up with the content column */
.schools-strip { padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)) !important; padding-right: max(var(--gutter), calc((100% - var(--wrap)) / 2)) !important; }

.cta-band h2 em { white-space: nowrap; }
.site-footer .legal a { font-size: inherit; min-height: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cs-col.narrow { max-width: 760px; margin: 0 auto; }

.cs-total { flex-basis: 100%; display: flex; align-items: baseline; gap: 10px; margin: 0; font-size: 15px; color: var(--cs-ink-2); }
.cs-total strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--cs-navy); }
