:root {
  color-scheme: light;
  --ink: #172523;
  --muted: #65736f;
  --line: #dce5e1;
  --paper: #ffffff;
  --canvas: #f3f6f4;
  --canvas-warm: #f8f8f4;
  --brand: #123d37;
  --brand-2: #1d665b;
  --accent: #d9ff78;
  --accent-dark: #b8e24f;
  --danger-bg: #fff0ed;
  --danger: #8e2f25;
  --success-bg: #e8f7ef;
  --success: #176b4d;
  --shadow: 0 18px 48px rgba(19, 53, 48, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 11%, rgba(217, 255, 120, 0.14), transparent 27rem),
    linear-gradient(180deg, var(--canvas-warm) 0%, var(--canvas) 100%);
}

a { color: inherit; }

button,
input,
textarea { font: inherit; }

.page-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 72px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 9px 22px rgba(29, 102, 91, 0.13);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--brand);
}

.brand-mark::before {
  width: 23px;
  height: 10px;
  border-radius: 8px 8px 3px 3px;
  transform: translateY(5px) skewX(-18deg);
}

.brand-mark::after {
  width: 6px;
  height: 6px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 13px 0 0 -3px var(--brand), 13px 0 0 0 var(--accent);
  transform: translate(-7px, 10px);
}

.brand-road {
  position: absolute;
  top: 7px;
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: var(--brand);
  transform: rotate(45deg);
}

.brand-name {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 450;
  letter-spacing: -0.04em;
}

.brand-name strong { font-weight: 850; }
.brand-name span { color: var(--brand-2); }

.status {
  display: inline-flex;
  gap: 9px;
  padding: 8px 12px;
  align-items: center;
  color: var(--brand);
  background: #eff8e3;
  border: 1px solid #d4e9b1;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(29, 102, 91, 0.09);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
  padding: clamp(44px, 5vw, 66px) 0 clamp(58px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--brand-2);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(3.35rem, 6vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

.intro {
  max-width: 650px;
  margin: 23px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.68;
}

.return-message {
  display: flex;
  gap: 15px;
  max-width: 540px;
  padding: 14px 17px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(19, 53, 48, 0.05);
}

.return-message p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.return-message strong { color: var(--ink); }

.return-icon {
  display: grid;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 900;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  position: relative;
  padding: 18px 0 22px 18px;
}

.hero-visual::before {
  position: absolute;
  inset: 0 32px 0 0;
  z-index: -1;
  content: "";
  background: var(--brand);
  border-radius: 30px;
  transform: rotate(-2deg);
}

.hero-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--paper);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: rotate(1.7deg);
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-photo::after {
  position: absolute;
  inset: 42% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(8, 28, 24, 0.86));
}

.hero-photo figcaption {
  position: absolute;
  right: 28px;
  bottom: 25px;
  left: 28px;
  z-index: 1;
  display: grid;
  color: #d1e0dc;
  font-size: 1rem;
}

.hero-photo figcaption strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hero-badge {
  position: absolute;
  right: 0;
  bottom: 4px;
  z-index: 2;
  display: inline-flex;
  gap: 9px;
  padding: 11px 16px;
  align-items: center;
  color: #fff;
  background: var(--brand);
  border: 4px solid var(--canvas);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(18, 61, 55, 0.18);
}

.hero-badge span {
  display: grid;
  width: 25px;
  height: 25px;
  color: var(--brand);
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.compact { max-width: 660px; }

.section-heading h2,
.join-copy h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.join-copy > p {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.path-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(19, 53, 48, 0.07);
}

.path-image {
  overflow: hidden;
  aspect-ratio: 16 / 7.8;
  background: #dfe7e3;
}

.path-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.path-card:hover .path-image img { transform: scale(1.025); }

.path-body {
  position: relative;
  display: flex;
  min-height: 205px;
  padding: clamp(22px, 3vw, 30px);
  flex-direction: column;
}

.card-status {
  position: absolute;
  top: -21px;
  left: 28px;
  padding: 7px 11px;
  color: var(--brand);
  background: var(--accent);
  border: 4px solid var(--paper);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-number {
  margin-top: auto;
  color: var(--brand-2);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.path-card h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.path-card p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.benefits-section {
  position: relative;
  width: calc(100% + 64px);
  margin-left: -32px;
  padding: 50px 32px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.benefits-section .eyebrow { color: var(--accent); }
.benefits-section .section-heading { margin-bottom: 25px; }

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

.benefit-grid article {
  min-height: 168px;
  padding: 23px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
}

.benefit-grid article > span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 900;
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
}

.benefit-grid h3 {
  margin: 0 0 9px;
  font-size: 1.2rem;
}

.benefit-grid p {
  margin: 0;
  color: #bfd1cc;
  line-height: 1.6;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
}

.join-copy {
  position: sticky;
  top: 32px;
}

.join-copy > p + p { margin-top: 10px; }

.contact-card {
  padding: clamp(22px, 3vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-card form {
  display: grid;
  gap: 15px;
}

.contact-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-card legend,
.contact-card label {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
}

.contact-card small {
  color: var(--muted);
  font-weight: 500;
}

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

.interest-grid { margin-top: 10px; }

.interest-option { position: relative; }

.interest-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.interest-option span {
  display: flex;
  min-height: 52px;
  padding: 11px;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: #f5f7f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: 160ms ease;
}

.interest-option input:checked + span {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.interest-option input:focus-visible + span {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

.form-grid label,
.contact-card form > label:not(.privacy-check) {
  display: grid;
  gap: 8px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cdd9d5;
  border-radius: 11px;
  outline: none;
}

.contact-card input {
  min-height: 44px;
  padding: 8px 12px;
}

.contact-card textarea {
  min-height: 104px;
  padding: 11px 12px;
  resize: vertical;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(29, 102, 91, 0.1);
}

.contact-card textarea::placeholder { color: #8a9693; }

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.5;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.contact-card button {
  display: inline-flex;
  min-height: 47px;
  padding: 10px 18px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 11px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(18, 61, 55, 0.14);
  transition: transform 160ms ease, background 160ms ease;
}

.contact-card button:hover,
.contact-card button:focus-visible {
  background: var(--brand-2);
  transform: translateY(-1px);
}

.form-footnote {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
}

.form-notice {
  display: grid;
  gap: 5px;
  margin-bottom: 20px;
  padding: 15px 17px;
  border-radius: 12px;
  line-height: 1.45;
}

.form-success {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid #bfe4cf;
}

.form-error {
  color: var(--danger);
  background: var(--danger-bg);
  border: 1px solid #f0c8c1;
}

.form-error ul {
  margin: 5px 0 0;
  padding-left: 20px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.site-footer {
  gap: 24px;
  padding: 20px 0 23px;
  color: #73817d;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

.site-footer p { margin: 0; }

.site-footer a {
  color: var(--brand);
  font-weight: 700;
  text-decoration-color: var(--accent-dark);
  text-underline-offset: 4px;
}

@keyframes pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 900px) {
  .page-shell { width: min(100% - 34px, 700px); }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 42px 0 58px;
  }

  .hero-visual { max-width: 620px; }

  .join-section { grid-template-columns: 1fr; }
  .join-copy { position: static; }

  .benefits-section {
    width: 100%;
    margin-left: 0;
  }
}

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

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .brand-name { font-size: 1.12rem; }

  .status {
    gap: 6px;
    padding: 7px 9px;
    font-size: 0.58rem;
  }

  h1 { font-size: clamp(2.85rem, 13.4vw, 4.1rem); }

  .intro {
    margin-top: 24px;
    font-size: 1rem;
  }

  .return-message {
    align-items: flex-start;
    text-align: left;
  }

  .hero-visual { padding: 15px 0 22px 10px; }
  .hero-visual::before { right: 17px; border-radius: 22px; }
  .hero-photo { border-width: 5px; border-radius: 19px; }
  .hero-photo figcaption { right: 18px; bottom: 16px; left: 18px; }

  .hero-badge {
    right: -4px;
    bottom: 0;
    padding: 8px 11px;
    font-size: 0.7rem;
  }

  .content-section { padding: 48px 0; }

  .path-grid,
  .benefit-grid,
  .interest-grid,
  .form-grid { grid-template-columns: 1fr; }

  .path-body { min-height: 190px; }

  .benefits-section { padding: 40px 22px; }

  .benefit-grid article { min-height: 0; }
  .benefit-grid article > span { margin-bottom: 22px; }

  .section-heading h2,
  .join-copy h2 { font-size: 2.45rem; }

  .site-footer {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
