/* jobmaxxing.ai landing page — "GUMDROP".
   Tokens copied (not imported) from web/src/index.css so this page stays
   airgapped from the app build. Milk paper, Liquorice ink, an Anton display
   face, a Sour-Cherry action accent, and the five-candy stage track. */

@font-face {
  font-family: "Anton";
  src: url("./Anton.ttf") format("truetype");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #fffdf7;            /* Milk */
  --surface: #ffffff;
  --ink: #211d2e;           /* Liquorice */
  --ink-2: #5a5468;
  --muted: #8a8399;
  --line: #dbd2e2;
  --ring: rgba(33, 29, 46, 0.12);
  --accent: #c2136b;        /* Sour Cherry */
  --accent-soft: color-mix(in oklab, var(--accent) 10%, var(--surface));
  --on-accent: #ffffff;

  --font-display: "Anton", "Arial Black", "Helvetica Neue", sans-serif;
  --radius: 12px;
  --radius-lg: 16px;

  /* the stage track, bubblegum → apricot → butter → mint → periwinkle */
  --stage-prospect: #f18cb4;
  --stage-messaged: #f2a65a;
  --stage-applied: #e4b32c;
  --stage-interviewing: #2fbe92;
  --stage-offer: #7c86e8;
}

/* Dark = "Blackcurrant": the candy hues flip to light-sources. This page has
   no theme toggle, so it follows the OS directly via the media query rather
   than the app's [data-theme] script — no JS, and it tracks a theme change
   made while the page is open. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1826;
    --surface: #2a2438;
    --ink: #f7f4fb;
    --ink-2: #c9c2d6;
    --muted: #9a92ac;
    --line: #453c58;
    --ring: rgba(247, 244, 251, 0.12);
    --accent: #ff7ec4;
    --accent-soft: color-mix(in oklab, var(--accent) 20%, var(--surface));
    --on-accent: #211d2e;

    --stage-prospect: #ffa3cf;
    --stage-messaged: #ffb877;
    --stage-applied: #ffd060;
    --stage-interviewing: #6fe0b2;
    --stage-offer: #a5afff;
  }
}

* { box-sizing: border-box; margin: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Avenir Next", Seravek, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* belt and braces: nothing on this page may cause a sideways scroll */
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.hero { padding: 72px 0 0; text-align: center; }

.wordmark {
  display: block;
  width: min(340px, 72vw);
  height: auto;
  margin: 0 auto 28px;
}

h1 {
  font: 400 clamp(30px, 7.2vw, 52px)/1.06 var(--font-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 18px;
}

.lede {
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ---- the stage track: the product, as one object -------------------- */

.track {
  display: flex;
  gap: 6px;
  margin: 44px 0 12px;
  list-style: none;
  padding: 0;
}

.track li {
  flex: 1;
  min-width: 0;
  height: 10px;
  border-radius: 999px;
  background: var(--c);
}

.track-labels {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin-bottom: 56px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.track-labels li {
  flex: 1;
  min-width: 0;
  text-align: center;
  /* five uppercase labels at 375px is tight — let them shrink, not overflow */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- waitlist ------------------------------------------------------- */

.waitlist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 3px var(--ring);
}

.waitlist h2 {
  font: 400 20px/1.2 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.waitlist p {
  color: var(--ink-2);
  font-size: 14px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 13px;
}

input[type="email"]::placeholder { color: var(--muted); }

input[type="email"]:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button {
  font: 400 15px/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  padding: 13px 22px;
  cursor: pointer;
  transition: filter 120ms ease;
}

button:hover { filter: brightness(1.08); }

/* the honeypot Netlify uses to catch bots — never shown to people */
.hp { position: absolute; left: -9999px; }

/* ---- pillars -------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 64px 0;
}

.pillar h3 {
  font: 400 15px/1.2 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pillar h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--c);
  margin-bottom: 10px;
}

.pillar p { font-size: 14.5px; color: var(--ink-2); }

/* ---- status --------------------------------------------------------- */

.status {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.status strong {
  display: inline-block;
  font: 400 12px/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 11px;
  margin-bottom: 12px;
}

footer {
  margin: 56px 0 40px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: baseline;
}

footer a { color: var(--ink-2); }
a { color: var(--accent); }

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

.centered {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

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