:root {
  --bg: #08110d;
  --paper: #f3efe4;
  --ink: #14221c;
  --muted: #5c675f;
  --gold: #e4c16a;
  --gold-deep: #b8892d;
  --line: rgba(20, 34, 28, 0.12);
  --green: #1f8f4e;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

body {
  min-height: 100vh;
}

a { color: inherit; }

.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 8px;
  text-align: center;
}

.brand img {
  display: block;
  width: min(240px, 70vw);
  height: auto;
}

.tagline {
  margin: 4px 0 16px;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(243, 239, 228, 0.9);
}

.top-cta {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #14221c;
  background: var(--gold);
  border-radius: 999px;
  padding: 10px 16px;
}

main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 28px;
}

.hero {
  text-align: center;
  padding: 18px 0 8px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  font-weight: 600;
}

.lead {
  margin: 16px auto 0;
  max-width: 38rem;
  font-family: system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(243, 239, 228, 0.86);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.btn-gold {
  margin-top: 22px;
  background: linear-gradient(#f0d48a, var(--gold-deep));
  color: #1a1408;
}

.btn-line {
  margin-top: 8px;
  width: 100%;
  border: 1px solid rgba(31, 143, 78, 0.45);
  background: rgba(31, 143, 78, 0.1);
  color: #146b38;
}

.fine {
  margin: 12px auto 0;
  max-width: 28rem;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(243, 239, 228, 0.62);
}

.courses {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

h2 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 600;
}

.card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 20px 18px 18px;
}

.level {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.card h3 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.card p,
.card li,
.steps li span {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

.card p { margin: 0 0 12px; color: var(--muted); }

.card ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.card li + li { margin-top: 6px; }

.steps {
  margin-top: 28px;
  padding: 8px 0 12px;
}

.steps ol {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  background: rgba(243, 239, 228, 0.06);
  border: 1px solid rgba(228, 193, 106, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
}

.steps strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.steps span {
  color: rgba(243, 239, 228, 0.78);
}

footer {
  text-align: center;
  padding: 8px 20px 40px;
}

footer .btn { margin-top: 0; }

footer p {
  margin: 14px 0 0;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: rgba(243, 239, 228, 0.55);
}

@media (min-width: 860px) {
  .courses {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .courses h2,
  .steps h2 { grid-column: 1 / -1; }

  .card { display: flex; flex-direction: column; }
  .card .btn { margin-top: auto; }

  .steps ol { grid-template-columns: repeat(3, 1fr); }
}
