:root {
  --bg: #f4f1e7;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: #fffaf0;
  --surface-dark: #0d3226;
  --surface-dark-2: #154835;
  --text: #17352a;
  --muted: #587060;
  --line: rgba(23, 53, 42, 0.14);
  --brand: #0c4a35;
  --brand-strong: #0a3b2a;
  --brand-soft: #dfe8d8;
  --gold: #b88c46;
  --gold-soft: rgba(184, 140, 70, 0.16);
  --shadow-lg: 0 26px 70px rgba(14, 43, 31, 0.14);
  --shadow-md: 0 18px 36px rgba(14, 43, 31, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1200px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(12, 74, 53, 0.11), transparent 28%),
    radial-gradient(circle at right 15% top 10%, rgba(184, 140, 70, 0.12), transparent 25%),
    linear-gradient(180deg, #faf7f1 0%, #f5f1e6 100%);
}

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

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 42px 0;
  scroll-margin-top: 110px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(250, 247, 241, 0.78);
  backdrop-filter: blur(18px);
}

.header-row {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 76px;
  height: 76px;
  padding: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 53, 42, 0.08);
  box-shadow: var(--shadow-md);
}

.brand strong,
.brand small,
.hero h1,
.hero-panel h2,
.section-heading h2,
.feature-card h3,
.platform-card h3,
.timeline h3,
.contact-card h3,
.faq-item h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 0.18s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--brand);
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  padding-top: 52px;
}

.hero-grid,
.split-grid,
.membership-grid,
.contact-grid,
.form-grid-wrap,
.benefit-layout {
  display: grid;
  gap: 24px;
}

.hero-grid,
.split-grid,
.membership-grid,
.contact-grid,
.form-grid-wrap {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow.light {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d8ecd9;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.hero-panel p,
.platform-card p,
.feature-card p,
.timeline p,
.contact-card p,
.faq-item p,
.form-note,
.benefit-list p {
  color: var(--muted);
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
  margin: 22px 0 0;
}

.hero-actions,
.form-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: #fff;
  box-shadow: 0 16px 32px rgba(12, 74, 53, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  color: var(--brand);
}

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

.hero-metrics li,
.feature-card,
.platform-card,
.form-card,
.faq-item,
.contact-card,
.benefit-list article {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.hero-metrics li {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  letter-spacing: 0.16em;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 36px;
  color: #eef8f1;
  background:
    linear-gradient(145deg, rgba(12, 74, 53, 0.94), rgba(13, 50, 38, 0.96)),
    radial-gradient(circle at top right, rgba(184, 140, 70, 0.4), transparent 30%);
  box-shadow: 0 28px 72px rgba(8, 40, 29, 0.32);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 140, 70, 0.26), transparent 70%);
}

.panel-topline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.panel-logo-wrap {
  width: 180px;
  padding: 12px;
  margin: 18px 0 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.hero-panel p {
  color: rgba(238, 248, 241, 0.82);
}

.panel-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.panel-grid article {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.panel-grid span,
.card-index,
.timeline span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
}

.section-heading {
  max-width: 50rem;
}

.section-heading.narrow {
  max-width: 44rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}

.card-grid,
.platform-grid,
.faq-list,
.contact-cards,
.benefit-list {
  display: grid;
  gap: 18px;
}

.card-grid,
.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.platform-card,
.contact-card,
.faq-item,
.benefit-list article {
  padding: 24px;
}

.feature-card h3,
.platform-card h3,
.contact-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.section-accent {
  position: relative;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 28px auto auto 0;
  width: 100%;
  height: calc(100% - 56px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(223, 232, 216, 0.34));
  border-top: 1px solid rgba(23, 53, 42, 0.06);
  border-bottom: 1px solid rgba(23, 53, 42, 0.06);
  z-index: -1;
}

.benefit-layout {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

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

.section-dark {
  color: #eef8f1;
}

.section-dark .membership-grid {
  padding: 34px;
  border-radius: 36px;
  background: linear-gradient(140deg, #0c3527, #124936 45%, #19583f 100%);
  box-shadow: 0 28px 72px rgba(8, 40, 29, 0.22);
}

.section-dark .section-heading p,
.section-dark .timeline p {
  color: rgba(238, 248, 241, 0.84);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.form-card {
  padding: 28px;
}

.application-form {
  display: grid;
  gap: 16px;
}

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

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

label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(23, 53, 42, 0.16);
  background: #fffdf7;
  padding: 14px 16px;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(12, 74, 53, 0.45);
  box-shadow: 0 0 0 4px rgba(12, 74, 53, 0.09);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.5em;
  color: var(--brand);
  font-weight: 800;
}

.form-status.error {
  color: #8c2e2e;
}

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

.site-footer {
  padding: 20px 0 34px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .membership-grid,
  .contact-grid,
  .form-grid-wrap,
  .benefit-layout,
  .card-grid,
  .platform-grid,
  .hero-metrics,
  .contact-cards,
  .benefit-list,
  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .site-header {
    position: sticky;
  }

  .header-row {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 6px;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
  }

  .hero {
    padding-top: 24px;
  }

  .hero-panel,
  .section-dark .membership-grid,
  .form-card {
    padding: 22px;
  }

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

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

  .reveal,
  .reveal.is-visible,
  .button {
    transition: none;
    transform: none;
  }
}
