:root {
  --bg: #0e1016;
  --bg-deep: #0b0d14;
  --card: #171a22;
  --ink: #f2f0ed;
  --text: #f2f0ed;
  --muted: #a7a39c;
  --line: rgba(242, 240, 237, 0.12);
  --gold: #2bb683;
  --gold-2: #2bb683;
  --saffron: #2bb683;
  --lagoon: #2bb683;
  --ocean: #2bb683;
  --primary: #2bb683;
  --primary-ink: #0b0d14;
  --soft: rgba(43, 182, 131, 0.16);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --sans: "General Sans", Inter, system-ui, sans-serif;
  --display: "Cabinet Grotesk", "General Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}
body::before { content: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 0.4em; }
.accent { color: #2bb683; }
h1 { font-size: clamp(2.7rem, 1.4rem + 4.4vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 1.2rem + 1.5vw, 2.8rem); }
p { margin: 0 0 0.8rem; }
button, input, select, textarea { font: inherit; color: inherit; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem 0.85rem; background: #12141b; color: var(--text); resize: vertical; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: 0.75rem; top: -3rem; background: var(--ocean); color: white; padding: 0.5rem 0.8rem; z-index: 5; }
.skip:focus { top: 0.75rem; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); }
.section { padding: 3.6rem 0; position: relative; }
.band { background: #12141b; border-block: 1px solid var(--line); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 44rem; }
.eyebrow { color: var(--saffron); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }
.note { color: var(--muted); }

.site-header {
  position: sticky; top: 0; z-index: 4;
  background: rgba(14, 16, 22, 0.9);
  color: #f2f0ed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-bar, .account, .nav, .cta-row, .badges { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.header-bar { justify-content: space-between; padding: 0.85rem 0; }
.logo { color: #f2f0ed; text-decoration: none; display: flex; flex-direction: row; align-items: center; gap: 0.55rem; line-height: 1; }
.logo .mark { width: 1.75rem; height: 1.75rem; border-radius: 0.45rem; background: #2bb683; color: #0b0d14; display: grid; place-items: center; font-weight: 700; }
.logo .word { font-weight: 650; letter-spacing: -0.03em; font-size: 1.05rem; }
.logo small { display: none; }
.nav a, .account a { color: #f2f0ed; text-decoration: none; }
.nav a[aria-current="page"] { color: #2bb683; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: 0.5rem 0.95rem; border-radius: 6px; border: 1px solid transparent; text-decoration: none; cursor: pointer; font-weight: 600; }
.btn-primary { background: #2bb683; color: #0b0d14; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary { background: transparent; border-color: rgba(242, 240, 237, 0.2); color: var(--text); }
.site-header .btn-secondary, .site-header .btn-primary { }
.site-header .account .btn-secondary { border-color: rgba(246, 239, 228, 0.4); color: #f6efe4; }
.quick-logins { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin: 0.2rem 0 0.9rem; }
.quick-logins span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.quick-logins button {
  background: #12141b; color: #f2f0ed; border: 1px solid rgba(43, 182, 131, 0.55);
  border-radius: 6px; padding: 0.45rem 0.85rem; cursor: pointer; font-weight: 650;
}
.btn:disabled { opacity: 0.55; cursor: default; }

.hero { padding: 2.8rem 0 1rem; }
.hero-grid { display: grid; gap: 1.5rem; align-items: center; }
.hero-media { border-radius: 1.1rem; overflow: hidden; box-shadow: var(--shadow); background: #12141b; border: 1px solid var(--line); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cta-row { margin: 1rem 0 1.25rem; }
.full { width: 100%; }

.search { display: grid; gap: 0.75rem; background: var(--card); border: 1px solid var(--line); border-radius: 1.2rem; padding: 0.9rem; box-shadow: var(--shadow); }
.search-field { display: grid; gap: 0.25rem; }
.search label, .stack label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.search input, .search select, .stack input, .field input, .field select {
  width: 100%; min-height: 2.75rem; border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.75rem; background: #12141b; color: var(--text);
}
.chip-label { margin: 0.9rem 0 0.4rem; font-size: 0.85rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.categories, .cards, .values, .quotes, .steps, .footer-grid { display: grid; gap: 0.85rem; }
.chip, .badge { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 0.35rem 0.75rem; text-decoration: none; color: var(--text); }
.chip[aria-current="true"], .chip:hover { border-color: #2bb683; color: #2bb683; }

.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.job-card, .category-card, .values article, .quotes figure, .faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 1.15rem; padding: 1.05rem 1.1rem;
}
.job-card { display: block; color: inherit; text-decoration: none; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.job-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #2bb683; }
.job-card:hover { transform: translateY(-2px); border-color: rgba(169, 120, 46, 0.55); }
.job-card h3 { font-size: 1.25rem; }
.meta, .company { color: var(--muted); }
.lock { color: var(--saffron); font-weight: 700; }
.salary, .match { font-weight: 700; color: #2bb683; }
.category-card { display: flex; justify-content: space-between; align-items: center; color: inherit; text-decoration: none; }
.category-card strong { background: var(--soft); color: #2bb683; border-radius: 999px; min-width: 2rem; text-align: center; padding: 0.15rem 0.45rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 1.15rem; padding: 1rem; }
.steps li::before { counter-increment: step; content: counter(step); display: inline-flex; width: 1.8rem; height: 1.8rem; align-items: center; justify-content: center; border-radius: 999px; background: #2bb683; color: #0b0d14; font-weight: 700; margin-bottom: 0.5rem; }
.employer-box { display: grid; gap: 1rem; background: #12141b; color: #f2f0ed; border: 1px solid var(--line); border-radius: 1rem; padding: 1.6rem; }
.employer-box .eyebrow, .employer-box a { color: #2bb683; }
.employer-box .btn-primary { background: #2bb683; color: #0b0d14; }
.employer-box .btn-secondary { border-color: rgba(246, 239, 228, 0.45); color: #f6efe4; }
.quotes figcaption { color: var(--muted); }
.faq { padding: 0.2rem 1rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 0.85rem 0; }
.faq p { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 0; list-style: none; color: var(--muted); }
.prose h2 { font-size: 1.35rem; margin-top: 1.4rem; }
.locked { position: relative; filter: blur(5px); user-select: none; pointer-events: none; margin-top: 1rem; }
.ghost { height: 0.7rem; border-radius: 999px; background: #2a2e38; margin: 0.45rem 0; }
.ghost.short { width: 55%; }
.wall { margin-top: -3rem; position: relative; background: #171a22; border: 1px solid rgba(43, 182, 131, 0.45); border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow); }
.band-note { border-radius: 0.9rem; padding: 0.75rem 0.9rem; font-weight: 600; }
.band-note.shortlist { background: #e5f4f1; color: #0d4f48; }
.band-note.stretch { background: #fff1df; color: #8a4b12; }
.band-note.below { background: #f8e8e4; color: #8a3324; }
.site-footer { background: #0b0d14; color: #f2f0ed; padding: 2.6rem 0 1.2rem; border-top: 1px solid var(--line); }
.site-footer a { color: #f2f0ed; display: block; margin: 0.25rem 0; }
.site-footer h2 { font-size: 1rem; color: #2bb683; }
.legal-line { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.5rem; padding-top: 1rem; }
.stack { display: grid; gap: 0.4rem; }
.form-status { min-height: 1.2rem; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: 1rem; padding: 1rem; }

.app-shell { display: grid; min-height: 100vh; }
.app-bar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: #0b0d14; color: #f2f0ed; border-bottom: 1px solid var(--line); }
.app-bar a { color: #2bb683; text-decoration: none; }
.app-bar strong { font-family: var(--display); font-size: 1.4rem; font-weight: 560; }
.app-main { width: min(1100px, calc(100% - 1.5rem)); margin: 1.2rem auto 3rem; display: grid; gap: 1rem; }
.tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 0.45rem 0.85rem; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: #2bb683; color: #0b0d14; border-color: #2bb683; }
.panel { display: none; gap: 0.8rem; }
.panel.active { display: grid; }
.score {
  width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; background: conic-gradient(var(--lagoon) calc(var(--p) * 1%), #eadcc8 0);
  color: var(--ocean);
}
.score span { background: #12141b; color: #f2f0ed; width: 2.35rem; height: 2.35rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; }
.row-card { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 0.9rem; }
.auth-card, .composer, .thread { background: var(--card); border: 1px solid var(--line); border-radius: 1.1rem; padding: 1rem; }
.thread-log { display: grid; gap: 0.45rem; max-height: 280px; overflow: auto; }
.bubble { padding: 0.55rem 0.7rem; border-radius: 0.8rem; background: #12141b; border: 1px solid var(--line); }
.bubble.out { background: #e7f3ef; }
.field { display: grid; gap: 0.3rem; }
form[data-meet] { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
form[data-meet] input { flex: 1 1 16rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: 8px; padding: 0.4rem 0.75rem; background: #12141b; color: var(--text); }
.split { display: grid; gap: 0.8rem; }
.muted { color: var(--muted); }
.pill { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: #2bb683; }

@media (min-width: 768px) {
  .search { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end; }
  .cards, .values, .quotes, .categories { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .split { grid-template-columns: 0.9fr 1.1fr; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .categories { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.1fr 1fr 0.8fr 1.2fr; }
  .header-bar { flex-wrap: nowrap; }
  .values { grid-template-columns: 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .job-card:hover { transform: none; }
}
