/* RFW Apply — brand tokens from the RFW system */
:root {
  --bg: #060A1A;
  --bg-2: #0A1030;
  --surface: #0E1640;
  --surface-2: #141E55;
  --surface-soft: rgba(14, 22, 64, 0.76);
  --text: #F4F6FF;
  --body: #D3DAF4;
  --muted: #9AA6D6;
  --navy: #001A77;
  --accent: #002BFF;
  --periwinkle: #6982FF;
  --light-blue: #CCD5FF;
  --line: #1C2A66;
  --good: #4CD36F;
  --warn: #FFB020;
  --font: "Inter", system-ui, sans-serif;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ambient backdrop */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 500px at 70% -10%, rgba(0, 43, 255, 0.14), transparent 60%),
    radial-gradient(800px 420px at 10% 30%, rgba(105, 130, 255, 0.07), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}
main, header.site, footer.site { position: relative; z-index: 1; }

/* header */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-glasses { height: 26px; display: block; }
.brand-wordmark { height: 15px; display: block; }
header.site .apply-mini {
  font-family: var(--font-mono); font-size: 13px; text-decoration: none;
  color: var(--light-blue); border: 1px solid rgba(204, 213, 255, 0.22);
  padding: 9px 18px; border-radius: 999px; transition: all .2s;
}
header.site .apply-mini:hover { border-color: var(--accent); color: #fff; }

/* hero */
.hero { padding: 72px 0 40px; }
.hero .kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--periwinkle); margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head); font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 26px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  font-family: var(--font-mono); font-size: 13px; color: var(--light-blue);
  background: var(--surface-soft); border: 1px solid var(--line);
  padding: 8px 15px; border-radius: 999px; white-space: nowrap;
}
.chip strong { color: #fff; font-weight: 600; }
.chip.money { border-color: rgba(0, 43, 255, 0.5); color: #fff; }
.hero .lede { font-size: 20px; line-height: 1.6; color: var(--body); max-width: 60ch; }
.hero .lede strong { color: var(--text); }

/* buttons */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 17px; text-decoration: none; border-radius: 14px;
  padding: 15px 30px; transition: transform .15s, box-shadow .15s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--periwinkle));
  color: #fff; box-shadow: 0 18px 48px rgba(0, 43, 255, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 56px rgba(0, 43, 255, 0.38); }
.btn--ghost {
  color: var(--text); border: 1px solid rgba(204, 213, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

/* sections */
section { padding: 56px 0; }
section h2 {
  font-family: var(--font-head); font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.015em; margin-bottom: 8px;
}
section .sub { color: var(--body); font-size: 17px; line-height: 1.6; margin-bottom: 30px; max-width: 60ch; }
.tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--periwinkle); display: block; margin-bottom: 12px;
}

/* panels */
.panel {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,22,64,0.9), rgba(6,10,26,0.8));
  border: 1px solid rgba(0, 43, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}
.panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(0,43,255,0.16), transparent 36%),
    linear-gradient(135deg, rgba(105,130,255,0.06), transparent 42%);
}
.panel > * { position: relative; z-index: 1; }

/* video — vertical (9:16) phone-style presentation */
.video-panel { padding: 14px; display: flex; justify-content: center; }
.video-panel video, .video-panel .video-placeholder {
  border-radius: 14px; display: block; background: #000;
  aspect-ratio: 9 / 16; width: min(100%, 420px); max-height: 78vh;
}
.video-panel .video-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: var(--font-mono); font-size: 14px;
  border: 1px dashed var(--line);
}
.watch-callout {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 22px; padding: 18px 22px; border-radius: 16px;
  background: rgba(0, 43, 255, 0.10); border: 1px solid rgba(0, 43, 255, 0.35);
}
.watch-callout .dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(0, 43, 255, 0.25);
}
.watch-callout p { color: var(--light-blue); }
.watch-callout strong { color: #fff; }

/* duty / requirement lists */
.cards { display: grid; gap: 14px; }
.card {
  background: var(--surface-soft); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 26px;
}
.card h3 { font-family: var(--font-head); font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--body); font-size: 16.5px; line-height: 1.62; }
.card .num {
  font-family: var(--font-mono); font-size: 12px; color: var(--periwinkle);
  display: block; margin-bottom: 8px;
}

/* comp block */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.comp {
  text-align: center; padding: 26px 14px; border-radius: 18px;
  background: var(--surface-soft); border: 1px solid var(--line);
}
.comp .n { font-family: var(--font-mono); font-size: clamp(22px, 3vw, 30px); color: #fff; display: block; }
.comp .l { font-size: 13px; color: var(--muted); margin-top: 6px; display: block; }
.comp.hot { border-color: rgba(0, 43, 255, 0.5); box-shadow: 0 0 0 1px rgba(204,213,255,0.12), 0 18px 60px rgba(0, 43, 255, 0.25); }

/* apply steps */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: flex; gap: 20px; padding: 24px 26px; border-radius: 18px;
  background: var(--surface-soft); border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 15px; color: var(--accent);
  font-weight: 700; flex: none; margin-top: 2px;
}
.step h3 { font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--body); font-size: 16px; line-height: 1.6; }
.step strong { color: var(--text); }

/* form */
.form-panel { padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--light-blue); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  background: rgba(6, 10, 26, 0.7); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font); font-size: 15.5px;
  padding: 13px 15px; border-radius: 12px; outline: none; transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; }
.form-panel .btn { width: 100%; text-align: center; margin-top: 24px; border: 0; cursor: pointer; }
.form-note { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 16px; }
.form-success { text-align: center; padding: 48px 24px; display: none; }
.form-success h3 { font-family: var(--font-head); font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--body); max-width: 46ch; margin: 0 auto; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* footer */
footer.site {
  padding: 48px 28px 60px; text-align: center; color: var(--muted); font-size: 14px;
  border-top: 1px solid rgba(28, 42, 102, 0.5); margin-top: 40px;
}
footer.site img { height: 26px; opacity: .8; margin-bottom: 14px; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .hero { padding: 48px 0 28px; }
}
