:root {
  --ink: #13231e;
  --ink-soft: #4f5f59;
  --forest: #123f32;
  --forest-deep: #08271f;
  --sage: #dce9e3;
  --paper: #f7f6f1;
  --white: #ffffff;
  --line: #d5ddd8;
  --burgundy: #6c263b;
  --error: #a22b35;
  --focus: #f3bf5a;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--focus);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: var(--forest);
  color: var(--white);
  font-size: 22px;
  font-weight: 500;
}

.header-action {
  color: var(--forest);
  font-size: 22px;
  font-weight: 500;
  text-underline-offset: 4px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-select {
  min-height: 48px;
  border: 1px solid #b6c4be;
  border-radius: 6px;
  padding: 8px 38px 8px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
}

.language-select:focus-visible {
  outline: 3px solid #d1a64a;
  outline-offset: 3px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(760px, calc(100vh - 76px));
  align-items: end;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  background: url("../assets/ez-employers-team.jpg") center center / cover no-repeat;
}

.hero-overlay {
  z-index: -1;
  background: rgba(6, 24, 19, 0.7);
}

.hero-content {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 92px 0 68px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #6f847a;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: #bdd1c7;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

h3,
strong,
b {
  font-weight: 500;
}

h1 {
  max-width: 760px;
  font-size: 72px;
  font-weight: 500;
}

h2 {
  max-width: 840px;
  font-size: 42px;
  font-weight: 500;
}

h3 {
  font-size: 30px;
}

.hero-proposition {
  max-width: 820px;
  margin: 20px 0 0;
  font-size: 34px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: #e0e9e5;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 13px 18px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.button-primary {
  background: var(--white);
  color: var(--forest-deep);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.boundary-line {
  max-width: 760px;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #d0ddd7;
  font-size: 22px;
}

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

.section-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 88px 0;
}

.split-layout,
.review-grid,
.model-grid,
.form-layout,
.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
}

.section-lead,
.section p,
.model-grid article p,
.final-layout p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 22px;
}

.signal-list {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.signal-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.signal-list dt {
  font-weight: 500;
}

.signal-list dd {
  margin: 0;
  color: var(--ink-soft);
}

.section-review {
  background: var(--white);
}

.section-receive {
  background: var(--white);
}

.employee-access-note {
  max-width: 700px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--forest) !important;
  font-size: 22px !important;
  font-weight: 500;
}

.quiet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.quiet-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.section-pilot {
  background: #eaf0ed;
}

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

.pilot-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 50px 0 0;
  padding: 0;
  border-top: 1px solid #b9c8c0;
  list-style: none;
}

.pilot-steps li {
  min-height: 230px;
  padding: 22px 24px 22px 0;
  border-right: 1px solid #b9c8c0;
}

.pilot-steps li + li {
  padding-left: 24px;
}

.pilot-steps li:last-child {
  border-right: 0;
}

.pilot-steps span {
  display: block;
  color: #6f847a;
  font-size: 22px;
  font-weight: 500;
}

.pilot-steps strong {
  display: block;
  margin-top: 34px;
  font-size: 24px;
}

.pilot-steps p {
  margin-top: 12px;
  font-size: 22px;
}

.section-model {
  background: var(--white);
}

.model-grid article + article {
  padding-left: 72px;
  border-left: 1px solid var(--line);
}

.model-grid h2 {
  font-size: 34px;
}

.model-boundary {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 22px !important;
}

.section-form {
  background: var(--forest-deep);
  color: var(--white);
}

.form-intro .eyebrow {
  color: #bdd1c7;
}

.form-intro p {
  color: #d5e1dc;
}

.privacy-note {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 22px !important;
}

.next-steps {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.next-steps h3 {
  font-size: 22px;
}

.next-steps p {
  margin-top: 12px;
  font-size: 22px;
}

.form-panel {
  align-self: start;
  border-radius: 6px;
  padding: 30px;
  background: var(--white);
  color: var(--ink);
}

.field-grid {
  display: grid;
  gap: 16px;
}

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

.field {
  margin-bottom: 17px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aebbb5;
  border-radius: 3px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

.field input:user-invalid,
.field select:user-invalid,
.consent-field input:user-invalid {
  border-color: var(--error);
}

.field-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 2px 0 22px;
}

.consent-field input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--forest);
}

.consent-field label {
  font-size: 22px;
}

.consent-field-optional {
  margin-top: -8px;
}

.button-submit {
  width: 100%;
  background: var(--forest);
  color: var(--white);
}

.button-submit[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.form-message {
  margin: 16px 0 0 !important;
  font-size: 22px !important;
}

.form-failure {
  color: var(--error) !important;
}

.success-state {
  min-height: 330px;
  padding: 16px 4px;
}

.success-state .eyebrow {
  color: #6f847a;
}

.success-state p {
  color: var(--ink-soft);
}

.success-reference {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 22px !important;
}

.success-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 22px !important;
}

.final-cta {
  background: var(--burgundy);
  color: var(--white);
}

.final-layout {
  align-items: end;
}

.final-layout p {
  color: #f0dce3;
}

.button-light {
  justify-self: end;
  background: var(--white);
  color: #3b1422;
}

.site-footer {
  padding: 34px 24px;
  color: var(--ink-soft);
  font-size: 22px;
}

.footer-inner {
  display: grid;
  width: min(100%, var(--content));
  margin: 0 auto;
  gap: 8px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 8px;
}

.site-footer a {
  color: var(--forest);
  text-underline-offset: 4px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .hero {
    min-height: 700px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .split-layout,
  .review-grid,
  .model-grid,
  .form-layout,
  .final-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .pilot-steps li:nth-child(2) {
    border-right: 0;
  }

  .pilot-steps li:nth-child(n + 3) {
    border-top: 1px solid #b9c8c0;
  }

  .model-grid article + article {
    padding: 36px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .button-light {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 22px;
  }

  .site-header,
  .hero-content,
  .section-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .site-header {
    min-height: 68px;
  }

  .header-action {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .language-select {
    max-width: 142px;
    min-height: 44px;
    padding: 6px 32px 6px 10px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-content {
    padding: 76px 0 42px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-proposition {
    font-size: 27px;
  }

  .hero-copy,
  .section-lead,
  .section p,
  .model-grid article p,
  .final-layout p {
    font-size: 22px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    padding: 62px 0;
  }

  .signal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pilot-steps {
    grid-template-columns: 1fr;
  }

  .pilot-steps li,
  .pilot-steps li + li {
    min-height: 0;
    padding: 20px 0;
    border-top: 1px solid #b9c8c0;
    border-right: 0;
  }

  .pilot-steps li:first-child {
    border-top: 0;
  }

  .pilot-steps strong {
    margin-top: 18px;
  }

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

  .form-panel {
    padding: 22px 18px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
