:root {
  --bg: #080a08;
  --bg-2: #0f130d;
  --surface: rgba(255, 255, 255, 0.052);
  --surface-2: rgba(255, 255, 255, 0.032);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(0, 255, 1, 0.32);
  --text: #f3f6f1;
  --muted: #a7afa5;
  --muted-2: #6b736a;
  --green: #00ff01;
  --green-soft: #3aff3a;
  --green-text: #7cff7c;
  --ink: #04210a;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(38% 48% at 88% 0%, rgba(0, 255, 1, 0.08), transparent 60%),
    radial-gradient(36% 46% at 8% 100%, rgba(0, 255, 1, 0.035), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
}

.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(1.35) blur(14px);
  background: rgba(8, 10, 8, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 850;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.brand-wordmark {
  color: var(--text);
  font-size: 19px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a.is-active {
  color: var(--text);
  border-bottom-color: var(--green);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--green);
}

/* Typography helpers */

.kicker,
.board-label,
.footer-title {
  margin: 0 0 16px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.55;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.section-note,
.cta-note,
.apply-note {
  color: var(--muted-2);
  font-size: 14px;
}

.prose p,
.prose li {
  max-width: 74ch;
  color: var(--muted);
}

.prose p {
  margin-bottom: 14px;
}

.prose ul,
.card ul,
.legal-section ul,
.job-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.prose li,
.card li,
.legal-section li,
.job-section li {
  margin-bottom: 6px;
}

.prose strong,
.card strong {
  color: var(--text);
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green-text);
  font-weight: 650;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green);
}

.prose a,
.legal-section a,
.facts a,
.apply-email a,
.faq-answer a {
  color: var(--green-text);
  text-decoration: underline;
  text-decoration-color: rgba(124, 255, 124, 0.45);
}

/* Buttons */

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 750;
  text-align: center;
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-soft);
  border-color: var(--green-soft);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--green);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 56px;
  align-items: center;
  padding: 80px 0 64px;
}

.hero-copy {
  max-width: 760px;
}

.page-hero {
  max-width: 860px;
  padding: 72px 0 40px;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero .hero-actions {
  margin-top: 30px;
}

/* Surfaces */

.signal-board,
.card,
.notice,
.cta-panel,
.legal-card,
.apply-card,
.job-card,
.step,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 24px 60px -34px rgba(0, 0, 0, 0.95);
}

.signal-board {
  position: relative;
  padding: 30px;
}

.signal-board::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.signal-board h2 {
  font-size: clamp(22px, 2.2vw, 28px);
}

.board-rows {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.board-row span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.board-row strong {
  text-align: right;
}

/* Blocks */

.block {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.block:first-of-type {
  border-top: 0;
}

main > .block:last-child {
  padding-bottom: 64px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 28px;
}

.card p,
.card li {
  color: var(--muted);
}

.card p {
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card .kicker {
  margin-bottom: 12px;
}

.steps {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.step p {
  margin-bottom: 8px;
  color: var(--muted);
}

.step p:last-child {
  margin-bottom: 0;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--green);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
}

.facts {
  display: grid;
  gap: 10px;
  margin: 0;
  max-width: 820px;
}

.fact-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1.4fr);
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.fact-row dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding-top: 3px;
}

.fact-row dd {
  margin: 0;
}

.facts-compact .fact-row {
  padding: 10px 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  padding: 0 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-right: 36px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 22px;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 0 22px;
}

.faq-answer p {
  max-width: 74ch;
  margin-bottom: 12px;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.job-list {
  display: grid;
  gap: 14px;
}

.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  transition: border-color 0.15s ease;
}

.job-card:hover,
.job-card:focus-visible {
  border-color: var(--green);
}

.job-card h3 {
  margin-bottom: 8px;
}

.job-card p {
  margin: 0;
  color: var(--muted);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.job-meta li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.job-meta-large {
  margin: 0 0 28px;
}

.job-meta-large li {
  font-size: 13px;
  padding: 8px 12px;
}

.job-card-link {
  color: var(--green-text);
  font-weight: 700;
  white-space: nowrap;
}

.cta-panel,
.notice {
  padding: 34px;
  border-color: var(--line-strong);
  background:
    radial-gradient(90% 160% at 50% 0, rgba(0, 255, 1, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.cta-panel p,
.notice p {
  max-width: 72ch;
  color: var(--muted);
}

.cta-panel .cta-actions {
  margin-top: 24px;
}

.cta-panel .cta-note {
  margin: 16px 0 0;
}

/* Job detail */

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.8fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
}

.job-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.job-section h2 {
  font-size: clamp(22px, 2.2vw, 28px);
}

.job-body .lead {
  margin-bottom: 22px;
}

.job-aside {
  position: sticky;
  top: 108px;
}

.apply-card {
  padding: 28px;
}

.apply-card h2 {
  font-size: 24px;
}

.apply-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.apply-card .button {
  width: 100%;
  margin: 6px 0 16px;
}

.apply-card .facts {
  margin-top: 16px;
}

.apply-email {
  word-break: break-all;
}

/* Legal */

.legal-page {
  padding-bottom: 64px;
}

.legal-card {
  display: grid;
  gap: 28px;
  max-width: 920px;
  padding: 34px;
  border-radius: 16px;
}

.legal-section {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2.1vw, 28px);
}

.legal-section p,
.legal-section li {
  max-width: 74ch;
  color: var(--muted);
}

.legal-section p {
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.footer-col p {
  margin: 0 0 6px;
}

.footer-company strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
}

.footer-title {
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal {
  margin-top: 14px;
}

.footer-email {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 650;
  word-break: break-all;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
}

.footer-note {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 12px;
}

/* Responsive */

@media (max-width: 960px) {
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .job-aside {
    position: static;
  }

  .job-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 0;
    min-height: 0;
    gap: 12px 18px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 2px 16px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0 40px;
  }

  .page-hero {
    padding: 52px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .page {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .button {
    width: 100%;
  }

  .board-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-row strong {
    text-align: left;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-card,
  .cta-panel,
  .notice,
  .card,
  .apply-card {
    padding: 22px;
  }

  .nav-cta {
    display: none;
  }
}
