/* ===== Enrollment landing =====
   Built from the Omega landing's own design language, not a reinterpretation:
   same tokens, same gold gradient button, same eyebrow, same glass panel with
   a gold hover. Anything not already used on the main site is not invented
   here either. Fonts self hosted (no CDN, strict CSP safe). */

@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/roboto-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/roboto-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/roboto-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/roboto-condensed-latin-800-normal.woff2") format("woff2");
}

/* Tokens copied verbatim from the main landing. Do not drift. */
:root {
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Roboto Condensed", "Roboto", system-ui, sans-serif;

  --navy-900: #161826;
  --navy-800: #1a1b2c;
  --navy-700: #262840;
  --navy-600: #30324f;
  --ink: #1b1d2e;

  --text: #f1ede4;
  --text-dim: #b3b1c0;
  --text-mute: #7e7d90;

  --gold: #bd9a5f;
  --gold-2: #d8b87e;
  --gold-3: #9c7c44;

  --line: rgba(189, 154, 95, .16);
  --line-strong: rgba(189, 154, 95, .28);
  --glass: rgba(255, 255, 255, .035);
  --glass-2: rgba(255, 255, 255, .055);

  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --maxw: 1080px;

  /* one spacing scale, used everywhere below */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  background-color: var(--ink);
  /* the main site's own section glow, same numbers */
  background-image: radial-gradient(900px 380px at 50% -10%, rgba(189, 154, 95, .10), transparent 60%);
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

a { color: var(--gold-2); }
a:hover { color: var(--gold); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; color: var(--text); }

/* ---------------------------------------------------------------- header */

.header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 14, 26, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__logo { display: block; height: 40px; width: auto; }
@media (max-width: 620px) { .header__logo { height: 32px; } }

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

.hero {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s8) 20px var(--s6);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 var(--s3);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__title {
  margin: 0 auto var(--s4);
  max-width: 16ch;
  text-wrap: balance;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.01em;
}
/* the site's gold gradient text, reused for the emphasised word */
.grad {
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin: 0 auto;
  max-width: 72ch;
  font-size: 1.08rem;
}
@media (max-width: 620px) { .hero { padding: var(--s7) 20px var(--s5); } }

/* ------------------------------------------------------------------ grid */

.wrap {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px var(--s6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: var(--s7);
  align-items: stretch;
}
.wrap--single { grid-template-columns: minmax(0, 600px); justify-content: center; padding-top: var(--s5); }
@media (max-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-bottom: var(--s7); }
}

/* ---------------------------------------------------------------- panels */

/* the landing's .step panel, same gradient, same border, same hover */
.panel {
  padding: var(--s5);
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.panel--form { padding: var(--s6); }
@media (max-width: 480px) { .panel--form { padding: var(--s5) var(--s4); } }


/* ----------------------------------------------------------------- perks */

.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.perks li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: var(--s3);
  align-items: start;
  color: var(--text);
  font-size: .98rem;
}
/* same tinted square as .step__icon on the main site, scaled down */
.perks__icon {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(189, 154, 95, .12);
  border: 1px solid var(--line-strong);
}
.perks__icon svg { width: 15px; height: 15px; fill: none; stroke: var(--gold-2); stroke-width: 2.4; }

/* ------------------------------------------------------------ site links */

/* left column stretches to the row height, the links block is pushed down so
   it ends level with the bottom of the form card */
.pitch { display: flex; flex-direction: column; }
.sites-block { margin-top: auto; padding-top: var(--s5); }
.panel--form { align-self: start; }
.sites { display: grid; gap: var(--s3); }
.sitecard {
  display: block;
  padding: var(--s4);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sitecard:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 8px 20px rgba(189, 154, 95, .1);
}
.sitecard:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.sitecard__name { display: block; color: var(--text); font-weight: 700; font-size: 1.02rem; }
.sitecard__desc { display: block; margin-top: var(--s1); color: var(--text-mute); font-size: .88rem; }

/* ------------------------------------------------------------------ form */

.form { display: grid; gap: var(--s5); }

.field { display: grid; gap: var(--s2); min-width: 0; }
.field__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field__label .star { color: var(--gold); }
.field__label .opt { margin-left: var(--s1); font-weight: 400; letter-spacing: .04em; color: var(--text-mute); }

.field__input {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px; /* 16px stops iOS from zooming on focus */
  color: var(--text);
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field__input::placeholder { color: var(--text-mute); }
.field__input:hover { border-color: var(--line-strong); }
.field__input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(189, 154, 95, .16); }

.field__hint { margin: 0; font-size: .82rem; color: var(--text-mute); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }

/* Same sprite holder as the main site. */
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Honeypot: off screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- consent */

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: var(--s3);
  align-items: start;
  cursor: pointer;
}
.consent__box { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }
.consent__text { font-size: .9rem; color: var(--text-dim); }

/* ---------------------------------------------------------------- button */

/* .btn--primary from the main site, verbatim */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .9rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: #1a1407;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(189, 154, 95, .32);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, opacity .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(189, 154, 95, .42); }
.btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
/* Class, not [disabled]: a disabled button fires no click, and we need the
   click to trigger the browser required-field bubble. Applied by JS only, so
   a visitor with JS off is never locked out. */
.btn.is-off { opacity: .45; cursor: not-allowed; box-shadow: none; filter: grayscale(.3); }
.btn.is-off:hover { transform: none; box-shadow: none; }
.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: grayscale(.3);
}
.btn:disabled:hover { transform: none; box-shadow: none; }

.form__foot { margin: 0; text-align: center; font-size: .82rem; color: var(--text-mute); }

/* ------------------------------------------------------------ thanks page */

.done { text-align: center; padding: var(--s7) var(--s6); }
@media (max-width: 480px) { .done { padding: var(--s6) var(--s4); } }

.done__icon {
  width: 66px; height: 66px;
  margin: 0 auto var(--s5);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 24px rgba(189, 154, 95, .32);
}
.done__icon svg { width: 30px; height: 30px; fill: none; stroke: #1a1407; stroke-width: 3; }
.done__title { margin: 0 0 var(--s3); font-size: clamp(26px, 4vw, 34px); line-height: 1.15; text-wrap: balance; }
.done__lead { margin: 0 auto; max-width: 56ch; text-wrap: balance; }
.done__note { margin: var(--s3) auto 0; max-width: 66ch; font-size: .84rem; color: var(--text-mute); text-wrap: balance; }
.done__next { margin-top: var(--s6); text-align: left; }

/* ----------------------------------------------------------------- prose */

.prose { color: var(--text-dim); font-size: .95rem; }
.prose h1 { font-size: clamp(26px, 4vw, 34px); }
.prose h2 { margin-top: var(--s6); font-size: 1.3rem; }
.prose h3 { margin-top: var(--s5); font-size: 1.06rem; }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: var(--s2) var(--s3); }

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

.foot {
  border-top: 1px solid var(--line);
  background: var(--navy-900);
}
.foot__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--s6) 20px var(--s5);
  text-align: center;
}

/* .socials / .social from the main site, verbatim */
.socials { display: flex; justify-content: center; gap: 10px; margin: 0; }
.social {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy-800);
  border: 1px solid var(--line);
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}
.social:hover { transform: translateY(-2px); border-color: var(--gold); background: var(--navy-700); }
.social svg { width: 18px; height: 18px; fill: var(--text-dim); transition: fill .2s ease; }
.social:hover svg { fill: var(--gold); }
.social--img { position: relative; }
.social--img img { width: 18px; height: 18px; object-fit: contain; transition: opacity .2s ease; }
.social--img .social__base { margin: auto; opacity: .8; }
.social--img .social__hover { position: absolute; inset: 0; margin: auto; opacity: 0; }
.social--img:hover .social__base { opacity: 0; }
.social--img:hover .social__hover { opacity: 1; }

.contact {
  width: 100%;
  padding: 0 20px var(--s8);
}
.contact-line {
  max-width: 66ch;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  font-size: .9rem;
  color: var(--text-mute);
}
.contact-line__q { display: block; margin-bottom: var(--s1); color: var(--text-dim); font-weight: 700; }
.contact-line a { color: var(--gold-2); text-decoration: none; white-space: nowrap; }
.contact-line a:hover { color: var(--gold); text-decoration: underline; }

.foot__legal {
  padding: var(--s4) 20px var(--s5);
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--text-mute);
  text-align: center;
}
.foot__legal a { color: var(--text-dim); text-decoration: none; }
.foot__legal a:hover { color: var(--gold-2); }

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