*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080809; --bdr: #1e1e23; --gold: #c9a96e;
  --white: #f0ede8; --light: #a8a8b3; --grey: rgb(90,90,100);
}
body {
  background: var(--bg); color: var(--white);
  font-family: 'Inter', sans-serif; font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  padding: 64px 24px 48px;
}
main { width: 100%; max-width: 600px; }
.mark { display: block; height: 28px; width: auto; margin-bottom: 48px; }
.eyebrow {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; text-decoration: none; display: inline-block;
}
a.eyebrow:hover { color: var(--white); }
h1 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 16px;
}
h2 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  margin: 36px 0 12px; color: var(--white);
}
p, li { color: var(--light); font-size: 0.95rem; }
p { margin-bottom: 20px; }
.meta { color: var(--grey); font-size: 0.82rem; margin-bottom: 28px; }
.lead { margin-bottom: 8px; }
ul { margin: 0 0 20px 20px; }
li { margin-bottom: 6px; }
.note { color: var(--grey); font-size: 0.82rem; margin-top: 36px; }
.apply {
  display: inline-block; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); text-decoration: none;
  background: none; cursor: pointer;
  border: 1px solid var(--gold); padding: 14px 28px; transition: color .2s, background .2s;
}
.apply:hover, .apply:focus-visible { background: var(--gold); color: var(--bg); outline: none; }
.apply[disabled] { opacity: .5; cursor: default; }
.status { display: block; min-height: 1.4em; margin-top: 12px; color: var(--grey); font-size: 0.82rem; }
.revealed { margin-top: 12px; color: var(--light); font-size: 0.88rem; }
.revealed a { color: var(--white); text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { color: var(--grey); font-size: 0.8rem; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--bdr); }
.small a { color: var(--light); text-underline-offset: 3px; }
.small a:hover { color: var(--gold); }
.roles { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--bdr); }
.roles li { border-bottom: 1px solid var(--bdr); margin: 0; }
.roles a { display: block; padding: 20px 0; text-decoration: none; }
.roles .title { display: block; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--white); }
.roles .sub { display: block; color: var(--grey); font-size: 0.82rem; margin-top: 2px; }
.roles a:hover .title { color: var(--gold); }

/* ---- top bar: home mark and back link ---- */
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.top .mark { margin: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--light); font-size: 0.82rem; text-decoration: none; }
.back:hover, .back:focus-visible { color: var(--gold); outline: none; }
.back svg { display: block; }

/* ---- shared footer, matches the homepage ---- */
.site-footer {
  width: 100%; max-width: 600px; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--bdr);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.site-footer .footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--grey);
}
.site-footer .footer-copy, .site-footer .footer-reg { font-size: 0.7rem; color: var(--grey); letter-spacing: 0.05em; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--gold); outline: none; }

/* ---- apply button after a successful check ---- */
.done .apply { pointer-events: none; opacity: .5; cursor: default; }

/* ---- legal pages ---- */
.legal h2 { margin-top: 32px; }
.legal p, .legal li { font-size: 0.92rem; }
.legal a { color: var(--white); text-underline-offset: 3px; }
.legal a:hover { color: var(--gold); }
.updated { color: var(--grey); font-size: 0.8rem; margin-bottom: 28px; }
