:root {
  --bg: #f4f1ec;
  --paper: #fffefb;
  --ink: #1a1916;
  --muted: #5f5c55;
  --line: #d8d2c6;
  --accent: #3d4a3e;
  --accent-hover: #2a332b;
  --sage: #c5cbb8;
  --warn: #8a3b2a;
  --ok: #2f5d3a;
  --shadow: 0 18px 40px rgba(26, 25, 22, 0.07);
  --radius: 14px;
  --header-h: 4.5rem;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: inset 0 -8px 0 var(--sage);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.05rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.wrap {
  padding: 3.2rem 0 4.5rem;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 42rem;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.25rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn {
  background: var(--accent);
  color: #f7f4ee;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-editorial {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: end;
  padding: 4.2rem 0 3.4rem;
  animation: rise 0.7s ease both;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-caption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.4rem 0 3.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 520;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 3.4rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.card-body h3 {
  margin-bottom: 0.4rem;
}

.card-body p {
  color: var(--muted);
  font-size: 0.97rem;
}

.muted { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: start;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.quote-block {
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 1.4rem 1.5rem;
  margin: 0 0 1.2rem;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}

.quote-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-band {
  background: var(--accent);
  color: #f4f1ec;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.4rem 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: inherit;
}

.cta-band .btn {
  background: #f4f1ec;
  color: var(--accent);
}

.cta-band .btn:hover {
  background: #fff;
  color: var(--accent-hover);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.9fr 0.9fr;
  gap: 1.6rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.footer-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-address,
.footer-blurb {
  color: var(--muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin: 0.3rem 0; }

.footer-copy {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 60;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  display: none;
  max-width: 720px;
  margin-inline: auto;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
}

.banner.is-visible { display: block; }

.banner-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 34rem;
}

label span {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.28rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

textarea { min-height: 8rem; resize: vertical; }

.field-error,
.form-status,
.inline-error {
  color: var(--warn);
  font-size: 0.9rem;
}

.form-status.is-ok { color: var(--ok); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price {
  font-family: var(--font-display);
  font-size: 2.1rem;
}

.price small {
  font-size: 0.95rem;
  color: var(--muted);
}

.module {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 560;
}

.review-grid {
  display: grid;
  gap: 1.2rem;
}

.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.stars { letter-spacing: 0.08em; color: var(--accent); font-size: 0.9rem; }

.article {
  max-width: 42rem;
}

.article img.cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.2rem 0 1.6rem;
}

.legal {
  max-width: 46rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.2rem 0;
}

th, td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

th { background: #ece7dc; }

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  align-items: center;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

.error-page {
  min-height: 55vh;
  display: grid;
  place-content: center;
  text-align: center;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-editorial,
  .split,
  .cards,
  .proof-strip,
  .price-grid,
  .footer-grid,
  .instructor {
    grid-template-columns: 1fr;
  }

  .hero-figure img { height: 260px; }

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

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1.2rem;
    flex-direction: column;
  }

  .site-nav.is-open { display: flex; }

  .cta-band,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .proof-strip {
    grid-template-columns: 1fr 1fr;
  }
}
