/* Modern Operators Club — landing styles
   Look: premium (near-black, confident type, whitespace).
   Voice cue: warm off-white text + one energetic accent.
   Swap the whole palette by editing the tokens below. */

:root {
  --bg:        #0B0B0C;
  --bg-2:      #141416;
  --bg-3:      #1B1B1E;
  --text:      #F4F2ED;   /* warm off-white */
  --muted:     #9C978D;   /* warm grey */
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --accent:    #E7B24C;   /* warm amber/gold — the one pop of energy */
  --accent-hi: #F1C368;
  --accent-ink:#1A1400;   /* text on accent */

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --wrap: 1080px;
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; margin: 0; }

a { color: inherit; }

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hi); }
.btn--block { width: 100%; padding: 16px 22px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--text);
}
.wordmark-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); flex: none; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav > a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s ease; }
.header-nav > a:not(.btn):hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 12vw, 132px) 0 clamp(56px, 9vw, 104px); border-bottom: 1px solid var(--line); }
.hero-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(231, 178, 76, 0.16), rgba(231, 178, 76, 0.05) 45%, transparent 72%);
  filter: blur(4px);
}
.hero-inner { position: relative; max-width: 820px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; font-weight: 600;
  color: var(--accent); margin: 0 0 20px;
}
.hero-title { font-size: clamp(40px, 7.2vw, 76px); font-weight: 700; letter-spacing: -0.035em; margin: 0 0 24px; }
.hero-sub { font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); max-width: 640px; margin: 0 0 40px; }

/* ---------- form ---------- */
.form-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; max-width: 640px; }
.join-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.join-form input[type="text"], .join-form input[type="email"] {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 11px; padding: 14px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.join-form input::placeholder { color: #7C776E; }
.join-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(231, 178, 76, 0.18); }
.join-form .btn--block { grid-column: 1 / -1; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-note { color: var(--muted); font-size: 13.5px; margin: 14px 2px 0; }
.form-error { color: #F1948A; font-size: 14px; margin: 12px 2px 0; }

.form-success { text-align: left; padding: 6px 2px; }
.form-success h2 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--muted); margin: 0 0 8px; }
.form-success .signoff { color: var(--text); font-weight: 500; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 10vw, 112px) 0; border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; font-weight: 600; color: var(--accent); margin: 0 0 18px; }
.section-title { font-size: clamp(28px, 4.6vw, 46px); margin-bottom: 22px; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 14px; }
.lede em { color: var(--text); font-style: italic; }
.lede--center { text-align: center; margin-left: auto; margin-right: auto; }
.problem .lede { max-width: 680px; }
.how .section-title, .how .lede, .arc .section-title, .arc .lede { text-align: center; }
.how .section-title, .arc .section-title { margin-left: auto; margin-right: auto; max-width: 720px; }

/* steps */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .18s ease, transform .18s ease; }
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); letter-spacing: 0.05em; }
.step h3 { font-size: 21px; margin: 10px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.step em { color: var(--text); font-style: italic; }

/* themes */
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.theme { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.theme-q { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: 999px; margin-bottom: 16px; }
.theme h3 { font-size: 19px; margin-bottom: 8px; }
.theme p { color: var(--muted); font-size: 15px; margin: 0; }

/* founders */
.founder-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.founder { display: flex; gap: 18px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.founder-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--line-2); background: var(--bg-3); }
.founder-body h3 { font-size: 20px; margin-bottom: 2px; }
.founder-role { color: var(--accent); font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.founder-body p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

.why {
  margin: 48px auto 0; max-width: 720px; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 3vw, 28px);
  line-height: 1.35; letter-spacing: -0.02em; color: var(--text);
  border: 0; padding: 0;
}

.final-cta { text-align: center; margin-top: 52px; }
.final-cta .form-note { text-align: center; }

/* footer */
.site-footer { padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.footer-meta { color: var(--accent); font-size: 14px; margin: 0; }
.footer-fine { color: var(--muted); font-size: 13px; margin: 6px 0 0; max-width: 560px; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-nav > a:not(.btn) { display: none; }
  .join-form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .themes { grid-template-columns: 1fr 1fr; }
  .founder-cards { grid-template-columns: 1fr; }
  .founder { flex-direction: row; }
}
@media (max-width: 440px) {
  .themes { grid-template-columns: 1fr; }
}
