@font-face {
  font-family: "Geist";
  src: url("./assets/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font: 100%/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --orange: #ec4207;
  --cloud: #ffffff;
  --violet: #190c33;
  --cocoa: #2b0b0b;
  --indigo: #211d53;
  --ink: #211226;
  --muted: #655d68;
  --line: rgba(33, 18, 38, 0.14);
  --surface: #f7f3f0;
  --radius-sm: 0.9rem;
  --radius-md: 1.5rem;
  --radius-lg: 2.25rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow: 0 24px 70px rgba(43, 11, 11, 0.12);
  --shadow-material: 0 18px 48px rgba(43, 11, 11, 0.12), 0 2px 8px rgba(43, 11, 11, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cloud);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

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

button,
.button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--orange) 70%, white);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: var(--cloud);
  color: var(--violet);
  transition: transform 160ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  padding-block: 1.15rem;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 5.5rem;
  min-height: 2.75rem;
}

.brand img {
  width: 5.4rem;
  height: auto;
}

.nav-links,
.variant-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links {
  justify-self: center;
}

.nav-links a,
.variant-links a {
  display: inline-grid;
  min-height: 2.75rem;
  place-items: center;
  font-size: 0.91rem;
  font-weight: 650;
}

.variant-links {
  gap: 0.3rem;
}

.variant-links a {
  min-width: 2.75rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.62;
}

.variant-links a[aria-current="page"] {
  opacity: 1;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  cursor: pointer;
  transform: translateZ(0) scale(1);
  transform-origin: center;
  transition: transform 100ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.button:active,
.button[data-pressed="true"] {
  transform: scale(0.97);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

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

h1,
h2,
h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-optical-sizing: auto;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.25rem, 8.5vw, 7.4rem);
  font-weight: 780;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

h2 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 740;
  line-height: 0.95;
  letter-spacing: -0.038em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}

.lede {
  max-width: 58ch;
  margin-bottom: 1.75rem;
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}

.step {
  min-height: 15rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-number {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 3rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lead-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 0.9fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.lead-copy {
  position: sticky;
  top: 2rem;
}

.lead-copy p {
  max-width: 46ch;
  line-height: 1.65;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--cloud);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field.full,
.form-actions,
.consent,
.form-status {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 720;
  letter-spacing: 0.008em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid rgba(33, 18, 38, 0.2);
  border-radius: 0.8rem;
  background: #fbfaf9;
  color: var(--ink);
  padding: 0.8rem 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(236, 66, 7, 0.14);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b42318;
  background: #fff8f7;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.1);
}

.field-error {
  margin: -0.1rem 0 0;
  color: #9f1f15;
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.4;
  letter-spacing: 0.006em;
}

.consent-error {
  margin-top: -0.35rem;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  accent-color: var(--orange);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-status:not(:empty) {
  padding: 0.72rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(33, 18, 38, 0.06);
}

.site-footer {
  padding-block: 1.5rem 2.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid currentColor;
  padding-top: 1.3rem;
  font-size: 0.85rem;
  opacity: 0.76;
}

.reveal {
  animation: reveal 700ms var(--ease-out) both;
}

.reveal:nth-child(2) {
  animation-delay: 60ms;
}

.reveal:nth-child(3) {
  animation-delay: 120ms;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-1px) scale(1.005);
    box-shadow: 0 8px 24px rgba(43, 11, 11, 0.12);
  }

  .button[data-pressed="true"] {
    transform: translateY(0) scale(0.97);
  }

  .nav-links a:hover {
    opacity: 0.65;
  }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .variant-links {
    justify-self: end;
  }

  .section-heading,
  .lead-layout {
    grid-template-columns: 1fr;
  }

  .lead-copy {
    position: static;
  }

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

  .step {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 1.7rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.25rem, 76rem);
  }

  .variant-links a {
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 180ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    animation-name: fade-only !important;
    transform: none !important;
  }

  .button,
  .choice {
    transform: none !important;
  }
}

@keyframes fade-only {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-contrast: more) {
  :focus-visible {
    outline-width: 4px;
  }

  .button,
  .field input,
  .field select,
  .field textarea,
  .lead-form {
    border-width: 2px;
  }

  .field-help,
  .expectation,
  .campaign-nav-note {
    color: currentColor !important;
    opacity: 0.82;
  }
}
