:root {
  --ink: #102530;
  --panel: #132f3d;
  --panel-deep: #0b1b24;
  --paper: #f6f3ea;
  --muted: #6e7e82;
  --line: rgba(16, 37, 48, 0.16);
  --wire: #f4a432;
  --wire-hot: #ffcf59;
  --safety: #f36c21;
  --flag-red: #b31b34;
  --flag-blue: #213a72;
  --success: #2fb66d;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(9, 23, 31, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 37, 48, 0.055) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #f8f6ef 0%, #efe8da 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 18px clamp(18px, 4vw, 36px);
  position: relative;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 48px;
  width: 168px;
}

.brand-mark {
  align-items: center;
  background: var(--wire-hot);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  display: inline-flex;
  font-size: 28px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
}

.language-toggle {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  padding: 4px;
}

.lang-button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  padding: 9px 14px;
}

.lang-button.is-active {
  background: var(--ink);
  color: var(--white);
}

.hero {
  align-items: stretch;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(34px, 7vw, 96px) clamp(18px, 4vw, 36px) 52px;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  color: var(--safety);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

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

h1 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 84px);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 24px;
  max-width: 850px;
}

.lede {
  color: #40535a;
  font-size: clamp(18px, 2.2vw, 23px);
  max-width: 780px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 30px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
}

.primary-link,
button[type="submit"] {
  align-items: center;
  background: var(--safety);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.primary-link:hover,
button[type="submit"]:hover {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(3px, 3px);
}

.site-card {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 207, 89, 0.18), transparent 30%),
    linear-gradient(180deg, var(--panel), var(--panel-deep));
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--white);
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.card-topline {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.us-flag {
  background:
    repeating-linear-gradient(
      to bottom,
      var(--flag-red) 0,
      var(--flag-red) 3px,
      var(--white) 3px,
      var(--white) 6px
    );
  border: 1px solid rgba(255, 255, 255, 0.78);
  display: inline-block;
  flex: 0 0 auto;
  height: 30px;
  position: relative;
  width: 46px;
}

.us-flag span {
  background: var(--flag-blue);
  display: block;
  height: 16px;
  left: 0;
  position: absolute;
  top: 0;
  width: 20px;
}

.card-photo {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: block;
  margin-bottom: 24px;
  object-fit: cover;
  width: 100%;
}

.site-card h2 {
  font-size: 32px;
  line-height: 1.04;
  margin-bottom: 12px;
}

.site-card p {
  color: #c8d4d8;
  margin-bottom: 0;
}

.how-it-works,
.shortage-lanes,
.worker-stories,
.vibe-strip,
.candidate-voice,
.form-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 40px clamp(18px, 4vw, 36px);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 22px;
}

.lane-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lane-grid article {
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 rgba(16, 37, 48, 0.92);
  min-height: 230px;
  padding: 22px;
}

.lane-grid span {
  color: var(--safety);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 34px;
  text-transform: uppercase;
}

.lane-grid h3 {
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.lane-grid p {
  color: #40535a;
  margin-bottom: 0;
}

.worker-stories {
  padding-top: 18px;
}

.section-heading p:not(.eyebrow) {
  color: #40535a;
  font-size: 15px;
  margin-bottom: 22px;
  max-width: 720px;
}

.story-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid article {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 rgba(16, 37, 48, 0.92);
  overflow: hidden;
}

.story-grid img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.story-body {
  padding: 18px;
}

.story-body > span {
  color: var(--safety);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.story-body h3 {
  font-size: 24px;
  line-height: 1.05;
  margin-bottom: 10px;
}

.story-body p {
  color: #40535a;
  font-weight: 750;
}

.story-body dl {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 0;
  padding-top: 14px;
}

.story-body dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-body dd {
  font-size: 16px;
  font-weight: 950;
  margin: 3px 0 0;
}

.vibe-strip {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: 1.12fr 0.88fr;
  padding-top: 24px;
}

.vibe-strip figure {
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--ink);
  margin: 0;
  overflow: hidden;
}

.vibe-strip img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.vibe-strip h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

.vibe-strip p:not(.eyebrow) {
  color: #40535a;
  font-size: 18px;
}

.trade-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.trade-tags span {
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 11px;
}

.candidate-voice {
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: 0.82fr 1.18fr;
}

.candidate-voice h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
  line-height: 1;
}

.quote-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-grid figure {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 24px;
}

.quote-grid blockquote {
  font-size: 20px;
  font-weight: 850;
  line-height: 1.22;
  margin: 0 0 20px;
}

.quote-grid figcaption {
  color: var(--safety);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.how-it-works h2,
.form-intro h2 {
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 20px;
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.steps span {
  color: var(--safety);
  display: block;
  font-weight: 900;
  margin-bottom: 24px;
}

.steps h3 {
  font-size: 22px;
  line-height: 1.1;
}

.steps p {
  color: var(--muted);
  margin-bottom: 0;
}

.form-section {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 0.82fr 1.18fr;
  padding-bottom: 72px;
}

.form-intro {
  position: sticky;
  top: 24px;
}

.form-intro p:not(.eyebrow) {
  color: #40535a;
  font-size: 18px;
}

.signup-form {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(20px, 4vw, 34px);
}

.field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label,
fieldset {
  display: block;
}

label > span,
legend {
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
}

input,
select,
textarea {
  background: #fbfaf7;
  border: 1px solid #cbd4d4;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.lang-button:focus-visible,
.primary-link:focus-visible,
button:focus-visible {
  box-shadow: 0 0 0 4px rgba(243, 108, 33, 0.24);
}

fieldset {
  border: 0;
  margin: 24px 0 18px;
  padding: 0;
}

.pay-field {
  background: #f9f5ec;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 18px;
  padding: 16px;
}

.pay-field > span {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pay-field strong {
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  font-size: 16px;
  padding: 7px 12px;
}

input[type="range"] {
  accent-color: var(--safety);
  min-height: 36px;
  padding: 0;
}

.pay-field small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips label {
  align-items: center;
  background: #f4f1e8;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  padding: 9px 12px;
}

.chips input {
  accent-color: var(--safety);
  min-height: 0;
  width: auto;
}

.wide {
  margin-bottom: 18px;
}

.consent {
  align-items: start;
  background: #f9f5ec;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px 1fr;
  margin: 22px 0;
  padding: 14px;
}

.consent input {
  accent-color: var(--safety);
  margin-top: 3px;
  min-height: 0;
  width: auto;
}

button[type="submit"] {
  width: 100%;
}

.fine-print {
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0 0;
}

.hidden {
  display: none;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(18px, 4vw, 36px) 40px;
}

footer a,
.fine-print a {
  color: var(--ink);
  font-weight: 800;
}

.privacy-page {
  min-height: 100vh;
  padding: 24px;
}

.privacy-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--ink);
  margin: 24px auto;
  max-width: 820px;
  padding: clamp(24px, 5vw, 48px);
}

.privacy-card h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.privacy-card h2 {
  font-size: 24px;
  margin-top: 28px;
}

.privacy-card p,
.privacy-card li {
  color: #40535a;
}

.thanks-page {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding: 24px;
}

.thanks-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--ink);
  margin: auto;
  max-width: 620px;
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
}

.thanks-card h1 {
  font-size: clamp(42px, 9vw, 76px);
}

.thanks-card .spanish {
  color: var(--muted);
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .form-section,
  .vibe-strip,
  .candidate-voice,
  .lane-grid,
  .story-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .quote-grid {
    grid-template-columns: 1fr;
  }

  .form-intro {
    position: static;
  }

  .site-card {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .brand-logo {
    height: 38px;
    width: 134px;
  }

  .language-toggle {
    width: 100%;
  }

  .lang-button {
    flex: 1;
  }

  .hero {
    padding-top: 24px;
  }

  .trust-row span {
    width: 100%;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .signup-form {
    box-shadow: 6px 6px 0 var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
