:root {
  --ink: #171614;
  --muted: #69645d;
  --line: #e5e0d8;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --gold: #b88918;
}

* {
  box-sizing: border-box;
}

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

nav,
.hero-grid,
.section,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

nav a,
footer {
  color: var(--muted);
}

a {
  color: inherit;
}

.hero {
  background: linear-gradient(135deg, #f7f1e6 0%, #ffffff 48%, #eaf6f4 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 80px 0 96px;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.course-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 80px rgba(42, 35, 24, 0.11);
}

.course-panel span {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

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

.features article,
.price-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.features p,
.faq p,
.checkout-status {
  color: var(--muted);
}

.price-card {
  display: grid;
  gap: 18px;
}

.price {
  margin-bottom: 0;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.trust-line {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq {
  padding-top: 24px;
}

details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.narrow {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.success {
  text-align: center;
}

footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .hero-grid,
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 48px 0 64px;
  }

  .section {
    padding: 48px 0;
  }

  .button,
  .price-card .button {
    width: 100%;
  }
}
