:root {
  --bg: #f4f1ec;
  --surface: #fffcf8;
  --ink: #1a1916;
  --muted: #5c5852;
  --line: #ddd6cb;
  --accent: #3d4f3a;
  --accent-soft: #7a8b6e;
  --warn: #8a3b2b;
  --ok: #2f5d3a;
  --shadow: 0 18px 40px rgba(26, 25, 22, 0.06);
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Outfit", system-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(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

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

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

h1,
h2,
h3,
.logo,
.footer-brand {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 0.55em;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

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

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

.header-inner {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

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

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

.hero-editorial {
  padding: 3.2rem 0 2.4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: end;
}

.hero-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.2rem;
  max-width: 38rem;
}

.hero-meta {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-meta strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--serif);
}

.hero-photo {
  margin: 0 0 3.5rem;
}

.hero-photo img {
  width: 100%;
  height: min(62vh, 560px);
  object-fit: cover;
  animation: rise 0.9s ease both;
}

.caption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.section {
  padding: 3.2rem 0;
}

.section-muted {
  background: #efeae2;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

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

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

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

.card-body,
.pad {
  padding: 1.2rem 1.3rem 1.4rem;
}

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

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #f4f1ec;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

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

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

.btn-ghost:hover {
  background: var(--ink);
  color: #f4f1ec;
}

.quote {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
}

.quote-list {
  display: grid;
  gap: 1.2rem;
}

.quote-card {
  padding: 1.4rem;
  border-top: 2px solid var(--accent-soft);
  background: var(--surface);
}

.limit-box {
  border: 1px solid var(--line);
  padding: 1.6rem;
  background: var(--surface);
}

.person {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

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

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

.tier {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.price {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin: 0.4rem 0 1rem;
}

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

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}

input,
textarea,
select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.field-error {
  color: var(--warn);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.6rem;
}

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

.form-status.is-error,
.runtime-error {
  color: var(--warn);
}

.runtime-error {
  background: #f6e4de;
  padding: 0.7rem 1rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: min(420px, calc(100% - 2rem));
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.6rem 0 1.4rem;
  margin-top: 2rem;
}

.footer-grid {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto 1.6rem;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.9fr 0.8fr;
  gap: 1.4rem;
}

.footer-brand {
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

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

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

.footer-copy {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 1.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--surface);
}

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

.modules {
  display: grid;
  gap: 0.8rem;
}

.module {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}

.article-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

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

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

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

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

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