:root {
  --ink: #10233d;
  --muted: #4f5e75;
  --amber: #e8a25c;
  --paper: #f5f6f8;
  --white: #fff;
  --line: #dfe3e9;
  --field: #c4ccd7;
  --tint: #eef1f6;
}

* { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }

ul, ol { list-style: none; }

a { color: inherit; }

button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }

.inset { width: min(100% - 3rem, 92.5rem); margin-inline: auto; }

h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.pill {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
  cursor: pointer;
}

.pill:hover { background: #1c3555; }

/* Band and header */

.band {
  padding: 0.6rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9375rem;
  text-align: center;
}

.band a { margin-left: 0.5rem; color: var(--amber); text-underline-offset: 0.2em; }

.band :focus-visible, .bottom :focus-visible { outline-color: var(--white); }

.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav { display: flex; gap: 2.25rem; font-size: 1rem; }

.nav a { text-decoration: none; }

.nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

.top .pill { justify-self: end; }

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: clamp(40rem, 84vh, 52rem);
  padding: clamp(3rem, 9vh, 5rem) 1.5rem 0;
  border-radius: 20px;
  background: var(--ink) url("assets/hero-highway.jpg") center bottom / cover no-repeat;
  color: var(--white);
  text-align: center;
}

h1 {
  max-width: 15em;
  font-size: clamp(2.625rem, 5.4vw, 4.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lede { max-width: 36rem; margin-top: 1.25rem; font-size: 1.25rem; line-height: 1.4; }

.capture {
  display: flex;
  width: min(100%, 30rem);
  margin-top: 1.75rem;
  padding: 0.375rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.capture input {
  flex: 1;
  min-width: 0;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 1.0625rem;
}

.capture input::placeholder { color: var(--muted); opacity: 1; }

.capture .pill { flex: none; }

.capture :focus-visible { outline-offset: -2px; }

/* Paperwork strip */

.strip { padding-block: 3rem; text-align: center; }

.strip p { color: var(--muted); font-size: 1rem; text-wrap: balance; }

.strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.75rem;
  margin-top: 1rem;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Jobs */

.jobs { padding-block: 5.5rem 6rem; background: var(--paper); }

.section-intro { max-width: 34rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.25rem; line-height: 1.4; }

.jobs-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4.5rem;
  align-items: start;
  margin-top: 3.5rem;
}

.job {
  display: block;
  width: 100%;
  padding: 1.15rem 0;
  border: 0;
  border-top: 1px solid var(--field);
  background: none;
  text-align: left;
  cursor: pointer;
}

.job:last-child { border-bottom: 1px solid var(--field); }

.job-name { display: block; color: var(--muted); font-size: 1.3125rem; font-weight: 500; letter-spacing: -0.015em; }

.job:hover .job-name { color: var(--ink); }

.job[aria-selected="true"] .job-name { color: var(--ink); }

.job-desc { display: none; margin-top: 0.35rem; color: var(--muted); }

.job[aria-selected="true"] .job-desc { display: block; }

.stage {
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: 20px;
  background: var(--ink) url("assets/hero-highway.jpg") 62% 45% / cover no-repeat;
}

.sample {
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 28px 48px -28px rgb(16 35 61 / 0.7);
}

.sample-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

.sample-title { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.015em; }

.sample-tag { color: var(--muted); font-size: 0.875rem; }

.sent {
  margin-top: 0.85rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  background: var(--tint);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.sent span { color: var(--muted); }

.steps { margin-top: 1rem; font-size: 1rem; }

.steps li { display: flex; gap: 0.6rem; align-items: center; padding-block: 0.2rem; }

.steps svg { flex: none; }

.sample.play .steps li { animation: tick 0.3s ease-out both; }

.sample.play .steps li:nth-child(2) { animation-delay: 0.22s; }

.sample.play .steps li:nth-child(3) { animation-delay: 0.44s; }

@keyframes tick {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .sample.play .steps li { animation: none; }
}

.result { margin-top: 1rem; border-top: 1px solid var(--line); font-size: 1rem; }

.result div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.result dt { color: var(--muted); }

.result dd { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }

.result .flag { color: #a4510d; }

.sample-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.status { display: inline-flex; align-items: center; gap: 0.55rem; }

.status::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--amber);
}

.action {
  flex: none;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9375rem;
}

.stage-note { margin-top: 0.85rem; color: var(--muted); font-size: 0.9375rem; }

/* How it will work */

.how { padding-block: 5.5rem; }

.how ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.how li { padding-top: 1rem; border-top: 1px solid var(--ink); }

.how-no { font-size: 1rem; color: var(--muted); }

.how h3 { margin-top: 2rem; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }

.how li p:last-child { margin-top: 0.4rem; color: var(--muted); }

/* You stay in charge */

.charge {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 40rem;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 20px;
  background: var(--ink) url("assets/yard.jpg") center bottom / cover no-repeat;
  color: var(--white);
}

.charge h2 { max-width: 13em; }

.charge p { max-width: 31rem; margin-top: 1rem; font-size: 1.25rem; line-height: 1.4; }

/* Early access */

.join { padding-block: 6rem; }

.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }

.join-form { padding: 2rem; border-radius: 16px; background: var(--paper); }

.field { display: block; margin-bottom: 1.1rem; }

.field span { display: block; margin-bottom: 0.3rem; font-size: 1rem; font-weight: 500; }

.field input, .field select {
  width: 100%;
  height: 3rem;
  padding: 0 0.85rem;
  border: 1px solid var(--field);
  border-radius: 10px;
  background: var(--white);
}

fieldset { margin-bottom: 1.25rem; border: 0; }

legend { padding: 0; margin-bottom: 0.4rem; font-size: 1rem; font-weight: 500; }

.choice {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.4rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--field);
  border-radius: 10px;
  background: var(--white);
  font-size: 1rem;
  cursor: pointer;
}

.choice input { flex: none; width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--ink); }

.choice:has(input:checked) { border-color: var(--ink); background: var(--tint); }

.join-form .pill { width: 100%; padding-block: 0.85rem; font-size: 1.0625rem; }

.fine { margin-top: 0.7rem; color: var(--muted); font-size: 0.9375rem; text-align: center; }

.message { margin-top: 0.8rem; font-size: 1rem; font-weight: 500; text-align: center; }

.message[data-kind="error"] { color: #a3112a; }

/* Footer */

.bottom { padding-block: 2.5rem; background: var(--ink); color: var(--white); }

.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; }

.bottom .fine-print { color: #c7d0dd; font-size: 1rem; }

@media (max-width: 60rem) {
  .top { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .jobs-grid, .join-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .how ol { grid-template-columns: 1fr; gap: 2rem; }
  .how h3 { margin-top: 0.75rem; }
  .hero { background-position: 58% bottom; }
  .charge { background-position: 35% bottom; }
}

@media (max-width: 36rem) {
  body { font-size: 1.0625rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .inset { width: calc(100% - 1.5rem); }
  .band { font-size: 0.875rem; }
  .hero { height: auto; min-height: 47rem; padding-top: 2.75rem; }
  .lede { font-size: 1.125rem; }
  .strip ul { font-size: 1.0625rem; gap: 0.35rem 1.5rem; }
  .jobs, .how { padding-block: 4rem; }
  .section-intro, .charge p { font-size: 1.125rem; }
  .job-name { font-size: 1.1875rem; }
  .sample { padding: 1.1rem; }
  .charge { min-height: 36rem; }
  .join { padding-block: 4rem; }
  .join-form { padding: 1.25rem; }
}

/* Added for the public site */

.jobs-more { margin-top: 1.25rem; font-size: 1rem; }

.jobs-more a { text-underline-offset: 0.2em; }

.faq { padding-block: 5.5rem 0; }

.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4.5rem; margin-top: 3rem; }

.qa dt { font-size: 1.3125rem; font-weight: 500; letter-spacing: -0.015em; }

.qa dd { margin-top: 0.4rem; color: var(--muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 1.25rem; font-size: 1rem; cursor: pointer; }

.consent input { flex: none; width: 1.05rem; height: 1.05rem; margin: 0.2rem 0 0; accent-color: var(--ink); }

.fine a { text-underline-offset: 0.2em; }

.message[data-kind="ok"] { color: #1b6b3a; }

.pill:disabled { opacity: 0.6; cursor: default; }

/* Inner pages */

.page-head { padding-block: 3.5rem 4rem; background: var(--paper); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; color: var(--muted); font-size: 0.9375rem; }

.crumbs li + li::before { content: "/"; margin-right: 0.5rem; }

.crumbs a { text-underline-offset: 0.2em; }

.page-tag { margin-top: 2rem; color: var(--muted); font-size: 1rem; }

.page-head h1 { max-width: 19em; margin-top: 0.5rem; font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.08; }

.answer { max-width: 44rem; margin-top: 1.25rem; font-size: 1.25rem; line-height: 1.4; }

.page-body { padding-block: 4rem 5.5rem; }

.page-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 4.5rem; align-items: start; }

.prose { max-width: 44rem; }

.prose h2 { margin-top: 3rem; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }

.prose h2:first-child { margin-top: 0; }

.prose p { margin-top: 1rem; }

.prose ul { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; }

.prose li { margin-top: 0.4rem; }

.prose a { text-underline-offset: 0.2em; }

.prose .qa { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }

.prose .qa dt { font-size: 1.125rem; }

.table-wrap { margin-top: 1.25rem; overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 1rem; }

th, td { padding: 0.65rem 1rem 0.65rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

thead th { color: var(--muted); font-weight: 500; }

tbody th { font-weight: 500; }

.stage-side { position: sticky; top: 1.5rem; }

.card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.card { display: block; padding: 1.5rem; border-radius: 16px; background: var(--paper); text-decoration: none; }

.card:hover { background: var(--tint); }

.card h2, .card h3 { font-size: 1.3125rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }

.card p { margin-top: 0.4rem; color: var(--muted); }

.page-section + .page-section { margin-top: 4rem; }

.page-section > h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; margin-bottom: 1.5rem; }

.cta { padding-block: 4rem; background: var(--paper); text-align: center; }

.cta h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }

.cta .pill { margin-top: 1.5rem; }

@media (max-width: 60rem) {
  .qa, .page-grid, .card-list { grid-template-columns: 1fr; gap: 2rem; }
  .stage-side { position: static; }
}

@media (max-width: 36rem) {
  .faq { padding-block: 4rem 0; }
  .page-head { padding-block: 2.5rem 3rem; }
  .answer { font-size: 1.125rem; }
  .page-body { padding-block: 3rem 4rem; }
}

.foot-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 1rem; }

.foot-nav a { color: #c7d0dd; text-underline-offset: 0.2em; }
