/* ============================================================
   AI CAREER 2026 — Upgrade
   Bold / high-contrast / acid-lime on near-black
   Display: Unbounded · Body: Manrope
   ============================================================ */

:root {
  /* Surfaces */
  --bg:        #0B0D0A;   /* near-black canvas */
  --bg-lift:   #11140F;   /* slightly warmer lifted surface */
  --bg-card:   #14180F;   /* card fill */
  --line:      rgba(232, 255, 200, 0.12);
  --line-soft: rgba(232, 255, 200, 0.07);

  /* Accent */
  --lime:      #C7F92E;
  --lime-deep: #A6D814;
  --lime-ink:  #0B0D0A;   /* text on lime */

  /* Text */
  --ink:       #F3F6EC;   /* off-white */
  --ink-dim:   #A7AE9C;   /* muted */
  --ink-faint: #6E7466;   /* faint labels */

  /* Type */
  --display: "Unbounded", system-ui, sans-serif;
  --body:    "Manrope", system-ui, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 150px);
  --radius: 18px;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--lime-ink); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--lift { background: var(--bg-lift); }

.eyebrow {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--lime);
  display: inline-block;
}

/* ---------- Display type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1.display { font-size: clamp(40px, 7.4vw, 104px); }
h2.display { font-size: clamp(32px, 4.6vw, 64px); }
h3.display { font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }

.section-head { max-width: 920px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .eyebrow { margin-bottom: 24px; }
.section-head h2 { margin-bottom: 22px; }
.section-head p { color: var(--ink-dim); font-size: clamp(17px, 1.5vw, 21px); max-width: 640px; }

.lime-text { color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 16px 28px;
  border-radius: 100px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--lime:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px var(--lime); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn--dark { background: var(--lime-ink); color: var(--ink); }
.btn--dark:hover { transform: translateY(-2px); }
.btn:disabled { cursor: wait; opacity: .72; transform: none; box-shadow: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 38px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(199,249,46,.4); }

.grid { display: grid; gap: clamp(16px, 1.6vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Lead form ---------- */
.lead {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.lead__copy p {
  color: var(--ink-dim);
  font-size: clamp(17px, 1.5vw, 21px);
  max-width: 620px;
  margin-top: 24px;
}
.lead__form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 42px);
  display: grid;
  gap: 18px;
}
.lead__form label {
  display: grid;
  gap: 8px;
}
.lead__form label span {
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 700;
}
.lead__form input,
.lead__form select,
.lead__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  outline: none;
}
.lead__form textarea {
  resize: vertical;
}
.lead__form input:focus,
.lead__form select:focus,
.lead__form textarea:focus {
  border-color: var(--lime);
}
.lead__note {
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.5;
}
.lead__note a {
  color: var(--lime);
}
.lead__status {
  min-height: 20px;
  color: var(--ink-faint);
  font-size: 13px;
  line-height: 1.5;
}
.lead__status[data-state="pending"] {
  color: var(--ink-dim);
}
.lead__status[data-state="error"] {
  color: #ffb4a8;
}
.lead__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Document pages ---------- */
.doc-page {
  min-height: 100vh;
}
.doc {
  max-width: 860px;
  padding-block: clamp(56px, 8vw, 110px);
}
.doc__back {
  color: var(--lime);
  font-weight: 700;
  display: inline-flex;
  margin-bottom: 34px;
}
.doc h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}
.doc h2 {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 42px 0 16px;
}
.doc p,
.doc li {
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}
.doc ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0 22px;
}
.doc strong {
  color: var(--ink);
}
.doc__lead {
  color: var(--ink-dim);
  font-size: clamp(17px, 1.5vw, 21px);
  margin-bottom: 34px;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 30px 0;
}
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
}
.doc-card h3 {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.doc-card p {
  margin: 0;
}
.doc-meta {
  color: var(--lime);
  display: block;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.doc-cta {
  background: var(--lime);
  color: var(--lime-ink);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  margin-top: 42px;
}
.doc-cta h2,
.doc-cta p {
  color: var(--lime-ink);
}
.doc-cta .btn {
  background: var(--lime-ink);
  color: var(--ink);
  margin-top: 18px;
}
.doc-table {
  display: grid;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.doc-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.doc-row strong {
  color: var(--lime);
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: .07s; }
  .reveal[data-d="2"] { transition-delay: .14s; }
  .reveal[data-d="3"] { transition-delay: .21s; }
  .reveal[data-d="4"] { transition-delay: .28s; }
  .reveal[data-d="5"] { transition-delay: .35s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .lead { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .doc-row { grid-template-columns: 1fr; gap: 6px; }
}
