:root {
  --stone-dark: #2d3436;
  --stone-mid: #636e72;
  --warm-gold: #b8860b;
  --warm-gold-soft: #d4a43a;
  --warm-gold-ink: #3a2a04;
  --warm-linen: #f5f0eb;
  --warm-linen-deep: #ebe3d8;
  --white: #ffffff;
  --forest-deep: #1b4332;
  --forest-mid: #245a43;

  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1100px;
  --max-w-narrow: 720px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--stone-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--stone-dark);
  letter-spacing: -0.01em;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: var(--max-w-narrow);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--warm-gold);
  display: inline-block;
}

.gold-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--warm-gold);
}

/* ---------- Hero (Forest Deep) ---------- */

.hero {
  background: var(--forest-deep);
  color: var(--warm-linen);
  padding: 32px 0 128px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1000px 400px at 80% -10%,
      rgba(184, 134, 11, 0.14),
      transparent 60%
    ),
    radial-gradient(
      800px 500px at 10% 110%,
      rgba(184, 134, 11, 0.08),
      transparent 60%
    );
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero-rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--warm-gold) 15%,
    var(--warm-gold) 85%,
    transparent
  );
  opacity: 0.9;
}

.topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0 96px;
}

.wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.32em;
  color: var(--warm-linen);
}

.wordmark.small {
  font-size: 15px;
}

.domain {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--warm-gold-soft);
  letter-spacing: 0.04em;
}

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

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--warm-gold-soft);
  margin: 0 0 36px;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--warm-linen);
  margin-bottom: 40px;
}

.hero h1 br {
  display: block;
}

.lede {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.7;
  color: rgba(245, 240, 235, 0.86);
  max-width: 60ch;
  margin: 0 0 48px;
}

.lede-accent {
  color: var(--warm-gold-soft);
  font-style: italic;
}

/* ---------- CTA ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease),
    transform 180ms var(--ease), box-shadow 180ms var(--ease);
  text-decoration: none;
}

.cta-gold {
  background: var(--warm-gold);
  color: var(--warm-gold-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 12px 24px -12px rgba(184, 134, 11, 0.55);
}

.cta-gold:hover {
  background: var(--warm-gold-soft);
  color: var(--warm-gold-ink);
  transform: translateY(-1px);
}

.cta-arrow {
  transition: transform 220ms var(--ease);
}

.cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* ---------- How we work ---------- */

.how {
  background: var(--white);
  padding: 128px 0;
  position: relative;
}

.section-head {
  margin-bottom: 72px;
  max-width: 640px;
}

.how h2,
.apply h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  position: relative;
  padding: 8px 32px 8px 0;
}

.step + .step {
  padding-left: 32px;
  border-left: 1px solid var(--warm-linen-deep);
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--warm-gold);
}

.step + .step::before {
  left: 32px;
}

.step-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--warm-gold);
  display: block;
  margin: 28px 0 24px;
}

.step h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--stone-dark);
}

.step p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--stone-dark);
  margin: 0;
}

/* ---------- Apply ---------- */

.apply {
  background: var(--warm-linen);
  padding: 128px 0;
  position: relative;
}

.apply h2 {
  margin-bottom: 24px;
  max-width: 22ch;
}

.apply-intro {
  font-size: 18px;
  color: var(--stone-mid);
  margin: 0 0 56px;
  max-width: 52ch;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

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

label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

input,
select,
textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--stone-dark);
  background: var(--white);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--stone-mid);
  border-radius: 0;
  padding: 14px 4px;
  line-height: 1.4;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

textarea {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
  resize: vertical;
  min-height: 140px;
  padding: 14px 16px;
  border: 1px solid var(--warm-linen-deep);
  background: var(--white);
}

input:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--warm-gold);
  box-shadow: 0 1px 0 0 var(--warm-gold);
}

textarea:focus {
  outline: none;
  border-color: var(--warm-gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.18);
}

.form .cta {
  align-self: flex-start;
  margin-top: 16px;
}

.form-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--stone-mid);
  margin: 4px 0 0;
  max-width: 56ch;
}

.apply-success {
  padding: 40px 0;
}

.apply-success h2 {
  margin-bottom: 16px;
}

.apply-success p {
  font-size: 18px;
  color: var(--stone-mid);
  max-width: 52ch;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--forest-deep);
  color: var(--warm-linen);
  padding: 44px 0;
  border-top: 1px solid rgba(184, 134, 11, 0.25);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer .wordmark {
  color: var(--warm-linen);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--warm-linen);
  display: inline-flex;
  gap: 12px;
  align-items: center;
  opacity: 0.86;
}

.footer-meta a {
  color: var(--warm-gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 164, 58, 0.5);
}

.footer-meta a:hover {
  color: var(--warm-gold-soft);
  text-decoration-color: var(--warm-gold-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step {
    padding: 20px 0 0 0;
  }

  .step + .step {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--warm-linen-deep);
  }

  .step::before,
  .step + .step::before {
    top: 0;
    left: 0;
    width: 44px;
    height: 2px;
  }

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

  .hero {
    padding: 24px 0 96px;
  }

  .topbar {
    padding-bottom: 64px;
  }

  .how,
  .apply {
    padding: 88px 0;
  }

  .hero h1 br {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .tagline {
    font-size: 22px;
  }

  .lede {
    font-size: 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
