:root {
  --ink: #17211c;
  --muted: #59635e;
  --paper: #f7f8f7;
  --white: #ffffff;
  --green: #17644f;
  --red: #a3384b;
  --line: rgba(23, 33, 28, 0.14);
  --soft: rgba(23, 100, 79, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  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;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  color: var(--white);
}

.brand,
.site-header nav,
footer nav,
.actions,
.channel-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--red);
  box-shadow: inset -8px -8px 0 rgba(255, 255, 255, 0.18);
}

.site-header nav {
  gap: 18px;
  font-weight: 800;
  font-size: 0.9rem;
}

.nav-action {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 7px 12px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 14, 0.88), rgba(8, 18, 14, 0.64) 42%, rgba(8, 18, 14, 0.16)),
    linear-gradient(0deg, rgba(8, 18, 14, 0.34), transparent 42%);
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=2200&h=1400&q=84") center/cover no-repeat;
  transform: scale(1.03);
  animation: image-settle 900ms ease-out both;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(690px, calc(100% - 44px));
  margin-left: max(22px, calc((100vw - 1180px) / 2));
  padding: 92px 0 54px;
  animation: rise-in 620ms ease-out both;
}

.eyebrow {
  margin: 0 0 14px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h3,
p {
  margin: 0;
}

.hero-copy p:not(.eyebrow),
.section-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: color-mix(in srgb, currentColor 82%, transparent);
  font-size: 1.05rem;
  line-height: 1.75;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.channel-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 11px 16px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.channel-links a:hover,
.jic-followup-grid a:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

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

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

.proof div {
  min-height: 132px;
  padding: 30px max(22px, calc((100vw - 1180px) / 2)) 28px;
  border-right: 1px solid var(--line);
}

.proof strong {
  display: block;
  color: var(--green);
  font-size: 2.2rem;
  line-height: 1;
}

.proof span {
  display: block;
  max-width: 260px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.path-section,
.channel-section,
.apply-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 82px 0;
}

.path-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

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

.path-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.path-list span {
  color: var(--red);
  font-weight: 900;
}

.path-list strong {
  display: block;
  font-size: 1.2rem;
}

.path-list p {
  grid-column: 2;
  color: var(--muted);
}

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

.channel-links {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.channel-links a {
  background: var(--white);
  color: var(--green);
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  font-weight: 800;
  line-height: 1.55;
}

.consent input {
  margin-top: 4px;
}

.lead-form .button.primary {
  background: var(--green);
  color: var(--white);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(22px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer nav {
  gap: 14px;
  font-weight: 800;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.03);
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 62px;
  }

  .site-header nav a:not(.nav-action) {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .proof,
  .path-section,
  .apply-section,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .proof div {
    padding: 24px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .path-section,
  .channel-section,
  .apply-section {
    padding: 62px 0;
  }

  .path-list li {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .hero-copy {
    width: min(100% - 32px, 690px);
    margin-left: 16px;
  }

  .path-section,
  .channel-section,
  .apply-section {
    width: min(100% - 32px, 1180px);
  }

  .button,
  .channel-links a {
    width: 100%;
  }

  footer nav {
    flex-wrap: wrap;
  }
}
