:root {
  --bg: #ffffff;
  --surface: #fbfbf7;
  --surface-strong: #f3f5ef;
  --ink: #111811;
  --muted: #5d675e;
  --line: #d9dfd3;
  --line-strong: #b9c5b5;
  --green: #0e4a34;
  --green-deep: #082f25;
  --navy: #092139;
  --gold: #b78b3f;
  --shadow: 0 18px 46px rgba(8, 47, 37, 0.08);
  --display:
    Georgia, "Times New Roman", Times, serif;
  --sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--green-deep);
  pointer-events: none;
  z-index: 10;
}

a {
  color: inherit;
}

.site-header,
.hero,
.section,
.education-band,
.about,
.trust,
.contact {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  padding: 22px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-symbol {
  width: 42px;
  height: 43px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-wordmark {
  width: 150px;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-deep);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  padding: 58px 0 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 76px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 118px;
  height: 2px;
  background: var(--gold);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.65rem, 7.1vw, 6.45rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.02;
}

h3 {
  letter-spacing: 0;
}

.hero-subheadline {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--green-deep);
  border-radius: 4px;
  background: var(--green-deep);
  color: #ffffff;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(8, 47, 37, 0.16);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.lead-flow {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.lead-flow::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.flow-header {
  padding: 2px 30px 10px 2px;
  border-bottom: 1px solid var(--line);
}

.flow-header span {
  display: block;
  margin-bottom: 2px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-header strong {
  font-family: var(--display);
  font-size: 1.26rem;
  font-weight: 500;
  line-height: 1.2;
}

.flow-card {
  position: relative;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.flow-card::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: -1px;
  width: 3px;
  background: var(--green);
}

.flow-card strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.flow-label {
  width: fit-content;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 24px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: 54px;
  align-items: end;
}

.split-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.setup-section {
  padding-top: 46px;
}

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

.setup-card,
.help-item,
.steps li {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
}

.setup-card {
  min-height: 108px;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.setup-card span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 600;
}

.setup-card h3 {
  margin-bottom: 0;
  font-size: 1.04rem;
  line-height: 1.3;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.help-item {
  grid-column: span 2;
  min-height: 154px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.help-item:nth-child(4),
.help-item:nth-child(5) {
  grid-column: span 3;
}

.help-item span {
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.help-item h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
  line-height: 1.35;
}

.help-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.education-band,
.trust {
  position: relative;
  margin-top: 52px;
  margin-bottom: 0;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 4px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
}

.education-band p:last-child,
.trust p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.how {
  padding-top: 56px;
  border-bottom: 0;
}

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

.steps li {
  min-height: 148px;
  padding: 20px;
  border-top: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.steps span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.steps p {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.35;
}

.about {
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
  gap: 46px;
}

.about h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.about p:last-child {
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.trust {
  margin-top: 0;
  margin-bottom: 18px;
}

.trust h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact {
  position: relative;
  margin-bottom: 42px;
  padding: 32px 36px;
  border-radius: 4px;
  background: var(--green-deep);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 116px;
  height: 3px;
  background: var(--gold);
}

.contact .eyebrow {
  color: #cdddcf;
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact p:not(.eyebrow) {
  max-width: 540px;
  margin: 12px 0 0;
  color: #d7e0d3;
}

.contact a {
  flex: 0 0 auto;
  color: #ffffff;
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

@media (max-width: 1040px) {
  .site-header,
  .hero,
  .section,
  .education-band,
  .about,
  .trust,
  .contact {
    width: min(100% - 40px, 1180px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 46px;
  }

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

  .help-item,
  .help-item:nth-child(4),
  .help-item:nth-child(5) {
    grid-column: auto;
  }
}

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

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    padding-top: 44px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .lead-flow {
    max-width: none;
  }

  .split-heading,
  .setup-grid,
  .help-grid,
  .steps,
  .education-band,
  .about,
  .trust {
    grid-template-columns: 1fr;
  }

  .setup-card,
  .help-item,
  .steps li {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  body::before {
    width: 3px;
  }

  .site-header,
  .hero,
  .section,
  .education-band,
  .about,
  .trust,
  .contact {
    width: min(100% - 28px, 1180px);
  }

  .brand-symbol {
    width: 38px;
    height: 39px;
  }

  .brand-wordmark {
    width: 132px;
  }

  .site-nav {
    font-size: 0.9rem;
  }

  .hero {
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.45rem);
  }

  .section {
    padding: 44px 0;
  }

  .setup-section {
    padding-top: 42px;
  }

  .education-band,
  .trust,
  .contact {
    padding: 24px;
  }

  .about {
    padding: 32px 0 38px;
  }
}
