/* ==========================================================================
   JetClean Academy - site stylesheet
   Voice: confident, plain, no hype. Aviation professional, not SaaS startup.
   Palette: Jet Clean brand. Blue-tinted dark ground, chrome type, turquoise CTAs.
   ========================================================================== */

:root {
  /* ground - blue-tinted dark, matched to jetcleantx.com */
  --ink:        #0A0F11;
  --surface:    #111719;
  --surface-2:  #161D20;
  --surface-3:  #1D2528;
  --line:       #263135;
  --line-soft:  #1A2225;

  /* chrome / steel, taken off the logo */
  --chrome-1:   #F4F7F8;
  --chrome-2:   #B9C3C7;
  --chrome-3:   #7C868B;
  --chrome-4:   #4A5459;

  /* type */
  --text:       #E9EDEF;
  --text-2:     #A9B4B8;
  --muted:      #7E8A8E;

  /* accent - Jet Clean turquoise */
  --accent:     #35DECB;
  --accent-hi:  #5FE9DA;
  --accent-lo:  #16B4A2;
  --accent-ink: #04211D;

  /* status */
  --good:       #4ADE80;
  --warn:       #FBBF24;
  --bad:        #F87171;

  /* metrics */
  --wrap:       1120px;
  --wrap-tight: 760px;
  --r-sm:       6px;
  --r:          10px;
  --r-lg:       16px;

  --shadow:     0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg:  0 2px 4px rgba(0,0,0,.4), 0 24px 64px rgba(0,0,0,.5);

  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: 'kern' 1, 'liga' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 800;
  color: var(--chrome-1);
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.014em; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); text-decoration: underline; }

strong { color: var(--chrome-1); font-weight: 700; }
em { color: var(--text-2); }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--tight { max-width: var(--wrap-tight); }

section { padding-block: clamp(56px, 8vw, 104px); }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 20px;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------------ wordmark -- */

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .5ch;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { text-decoration: none; }

.wordmark__jet {
  background: linear-gradient(177deg,
    #FFFFFF 0%, var(--chrome-2) 38%, var(--chrome-4) 52%,
    var(--chrome-2) 66%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.wordmark__sub {
  font-size: .5em;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  transform: translateY(-.1em);
}

/* --------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 17, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.nav .wordmark { font-size: 1.35rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: var(--text-2);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.nav__link:hover { color: var(--chrome-1); text-decoration: none; }

@media (max-width: 860px) {
  .nav__links .nav__link { display: none; }
}

/* -------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(53,222,203,.09), transparent 70%),
    radial-gradient(40% 60% at 78% 12%, rgba(120,150,180,.07), transparent 70%);
  pointer-events: none;
}

.hero__inner { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}

.hero h1 { max-width: 15ch; margin-bottom: 24px; }

.hero__sub {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--text-2);
  max-width: 56ch;
  margin-bottom: 34px;
}

/* -------------------------------------------------------------- video -- */

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(45deg,
      transparent, transparent 14px,
      rgba(255,255,255,.014) 14px, rgba(255,255,255,.014) 28px),
    var(--surface-2);
}

.video-frame__play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid var(--chrome-3);
  display: grid;
  place-items: center;
  color: var(--chrome-2);
}
.video-frame__play svg { width: 24px; height: 24px; margin-left: 3px; }

.video-frame__note {
  font-size: .85rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform .16s var(--ease), background .16s var(--ease),
              border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled='true'] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset,
              0 8px 24px rgba(53,222,203,.22);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #7FF0E3, var(--accent-hi));
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset,
              0 10px 30px rgba(53,222,203,.3);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--chrome-3); color: var(--chrome-1); }

.btn--lg { padding: 19px 40px; font-size: 1.1rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.cta-note {
  font-size: .9rem;
  color: var(--muted);
  margin: 14px 0 0;
}

/* --------------------------------------------------------------- band -- */

.band { background: var(--surface); border-block: 1px solid var(--line-soft); }
.band--deep { background: var(--surface-2); }

.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head p { color: var(--text-2); font-size: 1.06rem; margin-bottom: 0; }

/* --------------------------------------------------------- problem list -- */

.q-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}

.q-list li {
  background: var(--ink);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 1.04rem;
  color: var(--text);
}

.q-list li::before {
  content: '?';
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--chrome-4);
  color: var(--chrome-3);
  font-size: .82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ------------------------------------------------------------ teachers -- */

.teachers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.teacher {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
}

.teacher__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--chrome-1);
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

.teacher__role {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.teacher p { color: var(--text-2); font-size: .99rem; margin-bottom: 0; }

/* ------------------------------------------------------------- weeks -- */

.weeks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  counter-reset: wk;
}

.week {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 24px 24px 76px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.week:hover { border-color: var(--chrome-4); transform: translateY(-2px); }

.week::before {
  counter-increment: wk;
  content: counter(wk, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--chrome-4);
}

.week--star { border-color: rgba(53,222,203,.32); }
.week--star::before { color: var(--accent); }

.week__title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--chrome-1);
  margin-bottom: 6px;
  line-height: 1.3;
}

.week__out {
  font-size: .94rem;
  color: var(--text-2);
  margin: 0;
}
.week__out strong { color: var(--accent); font-weight: 600; }

.week__flag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(53,222,203,.35);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------- fit -- */

.fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.fit__col {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  background: var(--surface-2);
}
.fit__col--yes { border-color: rgba(74,222,128,.24); }
.fit__col--no  { border-color: var(--line); }

.fit__head {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--chrome-1);
  margin-bottom: 18px;
}

.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }

.fit li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .99rem;
  color: var(--text-2);
  line-height: 1.55;
}

.fit li::before {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  margin-top: 2px;
}

.fit__col--yes li::before {
  content: '\2713';
  background: rgba(74,222,128,.14);
  color: var(--good);
}
.fit__col--no li::before {
  content: '\2715';
  background: rgba(248,113,113,.12);
  color: var(--bad);
}

/* --------------------------------------------------------------- faq -- */

.faq { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }

.faq details { background: var(--ink); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 52px 22px 4px;
  position: relative;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--chrome-1);
  transition: color .15s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }

.faq summary::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--chrome-3);
  border-bottom: 2px solid var(--chrome-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq__body {
  padding: 0 52px 24px 4px;
  color: var(--text-2);
  font-size: 1rem;
}
.faq__body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ closing -- */

.closer {
  text-align: center;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(53,222,203,.08), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line-soft);
}
.closer h2 { margin-bottom: 18px; }
.closer p { color: var(--text-2); max-width: 54ch; margin-inline: auto; font-size: 1.06rem; }
.closer .cta-group { justify-content: center; margin-top: 32px; }

.seats {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--chrome-2);
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 26px;
}
.seats__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(74,222,128,.16);
}

/* ------------------------------------------------------------- footer -- */

.footer {
  background: var(--ink);
  border-top: 1px solid var(--line-soft);
  padding-block: 48px 40px;
  font-size: .92rem;
  color: var(--muted);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--text-2); font-size: .92rem; }
.footer__links a:hover { color: var(--chrome-1); }

.footer__legal {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 78ch;
}
.footer__legal p { margin-bottom: .7em; }

/* ============================================================ APPLY === */

.apply-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.apply-bar {
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.apply-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
}
.apply-bar .wordmark { font-size: 1.15rem; }

.apply-bar__count {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.progress {
  height: 3px;
  background: var(--line-soft);
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi));
  transition: width .38s var(--ease);
}

.apply-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(36px, 7vh, 72px);
}

.step { display: none; }
.step.is-active { display: block; animation: stepIn .34s var(--ease) both; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.step__kicker {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.step__q {
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.18;
  color: var(--chrome-1);
  margin-bottom: 10px;
  text-wrap: balance;
}

.step__help {
  color: var(--text-2);
  font-size: 1.02rem;
  margin-bottom: 30px;
  max-width: 54ch;
}

.field {
  width: 100%;
  max-width: 560px;
  padding: 17px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit;
  font-size: 1.08rem;
  line-height: 1.5;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.field::placeholder { color: #5C656E; }
.field:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-3);
  box-shadow: 0 0 0 3px rgba(53,222,203,.12);
}
textarea.field { resize: vertical; min-height: 132px; }

.choices { display: grid; gap: 11px; max-width: 640px; }

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 20px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  font-size: 1.03rem;
  color: var(--text);
  transition: border-color .15s var(--ease), background .15s var(--ease),
              transform .15s var(--ease);
}
.choice:hover { border-color: var(--chrome-4); background: var(--surface-3); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }

.choice__key {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: all .15s var(--ease);
}

.choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(53,222,203,.09);
}
.choice:has(input:checked) .choice__key {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.step__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hint {
  font-size: .85rem;
  color: var(--muted);
}
.hint kbd {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82em;
  color: var(--text-2);
}

.err {
  color: var(--bad);
  font-size: .93rem;
  margin-top: 12px;
  min-height: 1.4em;
}

.back-link {
  background: none;
  border: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: .93rem;
  cursor: pointer;
  padding: 8px 0;
}
.back-link:hover { color: var(--text); text-decoration: underline; }

/* honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------------------------------ outcome -- */

.outcome {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  text-align: center;
}

.outcome__badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  font-size: 1.9rem;
}
.outcome__badge--ok {
  background: rgba(74,222,128,.13);
  border: 1px solid rgba(74,222,128,.4);
  color: var(--good);
}
.outcome__badge--wait {
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.36);
  color: var(--warn);
}

.outcome h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin-bottom: 16px; }
.outcome p { color: var(--text-2); max-width: 56ch; margin-inline: auto; font-size: 1.05rem; }

.cal-box {
  margin-top: 40px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 640px;
  text-align: left;
}

/* -------------------------------------------------------------- admin -- */

.admin-bar {
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.stat {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
}
.stat__n {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--chrome-1);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__l {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
}
.filter:hover { border-color: var(--chrome-4); color: var(--chrome-1); }
.filter.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }

table.apps { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 860px; }
table.apps th {
  text-align: left;
  padding: 13px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
table.apps td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-2);
  vertical-align: top;
}
table.apps tr:last-child td { border-bottom: 0; }
table.apps tbody tr:hover { background: var(--surface); }
table.apps td strong { color: var(--chrome-1); }

.pill {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--approved { background: rgba(74,222,128,.14); color: var(--good); }
.pill--waitlist { background: rgba(251,191,36,.13); color: var(--warn); }
.pill--review   { background: rgba(147,197,253,.13); color: #93C5FD; }
.pill--booked   { background: rgba(53,222,203,.16); color: var(--accent-hi); }
.pill--declined { background: rgba(248,113,113,.12); color: var(--bad); }

.flagchip {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  color: var(--warn);
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 4px;
  padding: 1px 6px;
  margin: 2px 3px 0 0;
  white-space: nowrap;
}

.login-card {
  max-width: 400px;
  margin: 14vh auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  text-align: center;
}

.notice {
  border: 1px solid rgba(53,222,203,.34);
  background: rgba(53,222,203,.07);
  border-radius: var(--r);
  padding: 16px 20px;
  font-size: .93rem;
  color: var(--text-2);
  margin-bottom: 22px;
}
.notice strong { color: var(--accent-hi); }

.empty {
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
}

/* ---------------------------------------------------------- legal doc -- */

.doc { padding-block: 56px 88px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.doc__meta { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.3rem; margin-top: 44px; margin-bottom: 12px; }
.doc p, .doc li { color: var(--text-2); font-size: 1rem; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 1.15em; }

/* --------------------------------------------------------------- misc -- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
