:root {
  --cream: #f8f1e6;
  --beige: #ecdfcf;
  --beige-deep: #dcc7af;
  --card: rgba(255, 250, 245, 0.82);
  --espresso: #3b261a;
  --espresso-soft: #6b4e3d;
  --bronze: #b48a57;
  --bronze-deep: #8d6840;
  --white: #fffdf8;
  --line: rgba(86, 58, 41, 0.14);
  --shadow: 0 20px 45px rgba(76, 51, 33, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--espresso);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 32%),
    linear-gradient(180deg, #fbf6ef 0%, #f3e7d8 52%, #f8f1e6 100%);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 241, 230, 0.8);
  border-bottom: 1px solid rgba(86, 58, 41, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand,
.footer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-link {
  color: var(--espresso-soft);
  font-size: 0.95rem;
}

.hero,
.section {
  padding: 5.5rem 0;
}

.hero {
  padding-top: 4.5rem;
}

.hero-grid,
.two-column,
.cta-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--bronze-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
summary {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 0.7rem;
}

.hero-subheading {
  margin: 1.2rem 0 0.8rem;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--espresso-soft);
  max-width: 38rem;
}

.hero-text,
.section-text,
.footer-note,
.cover-caption p,
.callout p,
.audience-card p,
.faq-item p,
.learn-card p {
  margin: 0;
  font-size: 1rem;
  color: rgba(59, 38, 26, 0.9);
}

.hero-text {
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--espresso) 0%, #5b3b28 100%);
  box-shadow: 0 16px 30px rgba(59, 38, 26, 0.22);
}

.button-secondary {
  background: rgba(255, 253, 248, 0.72);
  border-color: rgba(86, 58, 41, 0.18);
  color: var(--espresso);
}

.hero-note {
  margin: 0;
  color: var(--espresso-soft);
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.cover-shell,
.benefit-panel,
.cta-panel {
  position: relative;
  padding: 2rem;
  background: rgba(255, 250, 245, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.cover-shell::after,
.benefit-panel::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(180, 138, 87, 0.18);
  pointer-events: none;
}

.cover-badge,
.callout-label {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(180, 138, 87, 0.14);
  color: var(--bronze-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-cover {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  padding: 1.6rem;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #4f3526 0%, #301d14 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 26px 46px rgba(40, 23, 15, 0.28);
  overflow: hidden;
}

.cover-ring {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(230, 200, 162, 0.38);
  border-radius: 22px;
}

.cover-lines {
  position: relative;
  z-index: 1;
  display: grid;
  place-content: center;
  height: 100%;
  text-align: center;
  color: #f7e4c9;
}

.cover-lines span,
.cover-lines strong {
  display: block;
}

.cover-lines span {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cover-lines strong {
  margin: 0.6rem 0;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.08em;
}

.cover-caption {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(236, 223, 207, 0.7), rgba(248, 241, 230, 0.2));
}

.section-warm {
  background: linear-gradient(180deg, rgba(220, 199, 175, 0.3), rgba(248, 241, 230, 0));
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.align-left {
  text-align: left;
}

.narrow {
  max-width: 42rem;
  margin-inline: auto;
}

.learn-grid,
.audience-grid,
.preview-grid {
  display: grid;
  gap: 1.25rem;
}

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

.audience-grid,
.preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.learn-card,
.audience-card,
.preview-card,
.callout,
.faq-item {
  padding: 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(76, 51, 33, 0.08);
}

.learn-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(180, 138, 87, 0.18), rgba(107, 78, 61, 0.1));
  color: var(--bronze-deep);
  font-weight: 700;
  font-size: 0.85rem;
}

.two-column {
  grid-template-columns: 1.1fr 0.9fr;
}

.callout {
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(244, 231, 214, 0.92));
}

.preview-card h3 {
  margin-top: 1rem;
}

.preview-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.preview-button:focus-visible {
  outline: 2px solid var(--bronze-deep);
  outline-offset: 6px;
  border-radius: 22px;
}

.preview-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid rgba(86, 58, 41, 0.12);
  background-color: #f7ede0;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(76, 51, 33, 0.14);
}

.preview-card:hover .preview-art,
.preview-button:focus-visible .preview-art {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(76, 51, 33, 0.18);
}

.preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-label {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(59, 38, 26, 0.8);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-modal[hidden] {
  display: none;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.preview-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 20, 14, 0.72);
}

.preview-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: calc(100vh - 2rem);
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff9f2 0%, #f2e5d7 100%);
  border: 1px solid rgba(86, 58, 41, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(20, 12, 8, 0.28);
  overflow: auto;
}

.preview-modal-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(86, 58, 41, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--espresso);
  font-weight: 700;
  cursor: pointer;
}

.preview-modal-kicker {
  margin: 0 0 0.35rem;
  color: var(--bronze-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-modal-title {
  margin-bottom: 1rem;
}

.preview-modal-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(86, 58, 41, 0.1);
}

.benefit-panel {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding-right: 2rem;
  font-size: 1.45rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.1rem;
  font-size: 1.6rem;
  color: var(--bronze-deep);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(86, 58, 41, 0.1);
}

.final-cta {
  padding-top: 2rem;
}

.cta-panel {
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
}

.site-footer {
  padding: 1.25rem 0 2rem;
}

.footer-inner {
  border-top: 1px solid rgba(86, 58, 41, 0.08);
  padding-top: 1.4rem;
}

.footer-note {
  max-width: 38rem;
  text-align: right;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-column,
  .cta-panel,
  .learn-grid,
  .audience-grid,
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .two-column,
  .cta-panel {
    align-items: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .footer-inner,
  .hero-grid,
  .two-column,
  .cta-panel,
  .learn-grid,
  .audience-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section {
    padding: 4rem 0;
  }

  .cover-shell,
  .benefit-panel,
  .cta-panel {
    padding: 1.35rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .faq-item summary {
    font-size: 1.3rem;
  }

  .footer-note {
    text-align: left;
  }
}
