:root {
  --bg: #fbf8f2;
  --panel: #ffffff;
  --ink: #172019;
  --muted: #657066;
  --line: #e9e2d7;
  --accent: #1f7a4d;
  --accent-dark: #145a38;
  --accent-soft: #e7f4ed;
  --gold: #f0b429;
  --shadow: 0 24px 70px rgba(23, 32, 25, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(233, 226, 215, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.1rem;
}

.brand.small {
  font-size: 1rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
}

.section-padding {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-padding.compact {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 48px;
  min-height: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  font-size: clamp(2.7rem, 6.3vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-subtitle,
.section-heading p,
.split p,
.signup-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-subtitle {
  max-width: 650px;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 14px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 14px 30px rgba(31, 122, 77, 0.22);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.full-width {
  width: 100%;
}

.microcopy {
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.card-topline {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-card h2 {
  font-size: 2.2rem;
}

.hero-card ul {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-card li {
  padding: 14px 16px;
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.problem-grid > div,
.lesson-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}

.problem-grid p,
.lesson-card p,
.step p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon-circle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 900;
  margin-bottom: 18px;
}

.light-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1120px) / 2));
  padding-right: max(16px, calc((100% - 1120px) / 2));
  background: #fffdf8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.lesson-card {
  min-height: 170px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

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

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.step span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.signup-section {
  padding-top: 40px;
}

.signup-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: 34px;
  background: var(--ink);
  color: white;
  border-radius: 34px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.signup-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.signup-copy .eyebrow {
  color: #90ddb6;
}

.trust-note {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

.lead-form {
  background: white;
  color: var(--ink);
  border-radius: 26px;
  padding: 24px;
}

.form-row {
  margin-bottom: 16px;
}

label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  background: #fffdf8;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 122, 77, 0.16);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-message {
  margin: 14px 0 0;
  font-weight: 700;
  min-height: 24px;
}

.form-message.success {
  color: var(--accent-dark);
}

.form-message.error {
  color: #b42318;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header {
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .signup-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .problem-grid,
  .lesson-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .section-padding,
  .section-padding.compact {
    padding: 56px 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card,
  .lead-form {
    padding: 20px;
  }
}
