@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

:root {
  --linen: #f5ede0;
  --paper: #fffaf2;
  --plum: #4c1830;
  --plum-dark: #2d0f1e;
  --copper: #c75a2a;
  --copper-dark: #98401c;
  --ink: #261d20;
  --muted: #665c5f;
  --sage: #64705a;
  --line: #d8c9bb;
  --white: #ffffff;
  --success: #255b3c;
  --danger: #9a2e2e;
  --shadow: 0 12px 34px rgba(62, 31, 36, 0.12);
  --radius: 18px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--linen);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--plum);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--copper-dark);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 4px solid #ed9b54;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.narrow {
  width: min(820px, calc(100% - 32px));
  margin-inline: auto;
}
.section {
  padding: 64px 0;
}
.section-paper {
  background: var(--paper);
}
.section-plum {
  background: var(--plum);
  color: var(--white);
}
.section-sage {
  background: #dfe3d9;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}
.utility-bar {
  background: var(--plum-dark);
  color: #f8e9dd;
  font-size: 14px;
}
.utility-bar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.utility-bar span {
  display: none;
}
.utility-bar a {
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--plum);
  text-decoration: none;
  line-height: 1.1;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 44% 56%;
  color: #fff;
  background: var(--copper);
  font: 700 29px/1 var(--serif);
  transform: rotate(-4deg);
}
.brand strong {
  display: block;
  font: 700 20px/1.1 var(--serif);
}
.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.menu-toggle {
  min-height: 50px;
  min-width: 68px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  color: var(--plum);
  padding: 7px 12px;
  display: grid;
  grid-template-columns: 22px auto;
  align-content: center;
  gap: 4px 7px;
}
.menu-toggle span {
  grid-column: 1;
  height: 2px;
  background: currentColor;
}
.menu-toggle b {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  font-size: 14px;
}
.site-nav {
  position: absolute;
  top: 82px;
  left: 0;
  right: 0;
  display: none;
  background: var(--paper);
  padding: 10px 16px 22px;
  border-bottom: 2px solid var(--plum);
  box-shadow: var(--shadow);
}
.site-nav.open {
  display: grid;
}
.site-nav a {
  padding: 13px 10px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"] {
  color: var(--copper-dark);
}
h1,
h2,
h3 {
  color: var(--plum);
  font-family: var(--serif);
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 9vw, 76px);
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 6vw, 49px);
}
h3 {
  margin: 0 0 12px;
  font-size: 26px;
}
p {
  margin: 0 0 18px;
}
.lead {
  max-width: 720px;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.55;
  color: #493f42;
}
.eyebrow {
  margin-bottom: 10px;
  color: var(--copper-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-plum h2,
.section-plum h3,
.section-plum a {
  color: #fff;
}
.section-plum .eyebrow {
  color: #ffc49d;
}
.section-heading {
  max-width: 770px;
  margin-bottom: 34px;
}
.section-heading p:last-child {
  margin-bottom: 0;
}
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 2px solid var(--copper);
  border-radius: 9px;
  background: var(--copper);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: #fff;
}
.button-secondary {
  background: var(--plum);
  border-color: var(--plum);
}
.button-secondary:hover {
  background: var(--plum-dark);
  border-color: var(--plum-dark);
}
.button-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--plum);
}
.button-small {
  min-height: 44px;
  padding: 8px 17px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.text-link {
  font-weight: 700;
}
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero-grid {
  display: grid;
}
.hero-copy {
  padding: 58px 0 46px;
}
.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hero-copy .eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--copper);
}
.hero-visual {
  position: relative;
  min-height: 390px;
  margin-inline: -16px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.hero-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  background: rgba(255, 250, 242, 0.94);
  border-left: 5px solid var(--copper);
  box-shadow: var(--shadow);
}
.hero-note strong {
  display: block;
  color: var(--plum);
  font-family: var(--serif);
  font-size: 21px;
}
.trust-strip {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eadfd2;
}
.trust-grid {
  display: grid;
  gap: 16px;
}
.trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}
.trust-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper-dark);
  font: 700 20px/1 var(--serif);
}
.trust-item strong {
  display: block;
  color: var(--plum);
}
.card-grid {
  display: grid;
  gap: 24px;
}
.card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 5px 0 rgba(76, 24, 48, 0.05);
}
.card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dfd2c3;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card:hover .card-image img {
  transform: scale(1.025);
}
.card-body {
  padding: 24px;
}
.card h3 a {
  color: inherit;
  text-decoration: none;
}
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price {
  color: var(--plum);
  font-size: 22px;
}
.lesson-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 99px;
  color: #fff;
  background: var(--plum);
  font-size: 13px;
  font-weight: 700;
}
.access-line {
  color: var(--sage);
  font-weight: 700;
}
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.split-media {
  position: relative;
}
.split-media img {
  width: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: 28% 8% 24% 8%;
  box-shadow: var(--shadow);
}
.quote-card {
  padding: 27px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-card blockquote {
  margin: 0 0 18px;
  color: var(--plum);
  font: 600 23px/1.4 var(--serif);
}
.quote-card cite {
  color: var(--muted);
  font-style: normal;
}
.feature-grid,
.steps-grid,
.review-grid {
  display: grid;
  gap: 20px;
}
.feature,
.step {
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.7);
  border-radius: var(--radius);
}
.feature h3,
.step h3 {
  font-size: 24px;
}
.step-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--copper);
  font-weight: 700;
}
.page-hero {
  padding: 46px 0 52px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(40px, 8vw, 66px);
}
.breadcrumbs {
  padding: 18px 0;
  font-size: 14px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 7px;
  color: var(--muted);
}
.catalog-layout {
  display: grid;
  gap: 30px;
}
.filter-panel {
  padding: 22px;
  align-self: start;
  background: #eadfd2;
  border-radius: var(--radius);
}
.filter-panel h2 {
  font-size: 27px;
}
.filter-list {
  display: grid;
  gap: 8px;
}
.filter-list button {
  min-height: 46px;
  padding: 9px 13px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--plum);
  background: transparent;
  cursor: pointer;
}
.filter-list button:hover,
.filter-list button.active {
  background: var(--white);
  border-color: var(--line);
}
.notice {
  padding: 20px;
  margin: 0 0 26px;
  background: #fff0d7;
  border: 2px solid #d68a42;
  border-radius: 12px;
  color: #5b321c;
  font-weight: 700;
}
.product-layout {
  display: grid;
  gap: 34px;
  align-items: start;
}
.product-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-info h1 {
  font-size: clamp(40px, 7vw, 62px);
}
.product-price {
  display: block;
  margin: 24px 0;
  color: var(--plum);
  font: 700 34px/1 var(--serif);
}
.detail-list {
  padding: 0;
  list-style: none;
}
.detail-list li {
  position: relative;
  padding: 10px 0 10px 31px;
  border-bottom: 1px solid var(--line);
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--copper);
  border-bottom: 3px solid var(--copper);
  transform: rotate(-45deg);
}
.form-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 32px;
}
.form-grid {
  display: grid;
  gap: 19px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--plum);
  font-weight: 700;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  border: 2px solid #a99c9e;
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.check-field {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}
.check-field input {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  accent-color: var(--plum);
}
.field-error {
  margin: 7px 0 0;
  color: var(--danger);
  font-weight: 700;
  font-size: 14px;
}
.alert {
  padding: 18px;
  margin-bottom: 22px;
  border-radius: 10px;
}
.alert-success {
  background: #dcecdf;
  border: 1px solid #7da78a;
  color: var(--success);
}
.alert-error {
  background: #f5dddd;
  border: 1px solid #c88383;
  color: var(--danger);
}
.preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--plum-dark);
  color: #fff;
}
.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}
.preview-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 25px;
  text-align: center;
}
.preview-play {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin: 0 auto 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 25px;
}
.preview-overlay strong {
  font: 700 26px/1.2 var(--serif);
}
.program-list {
  counter-reset: lesson;
  padding: 0;
  list-style: none;
}
.program-list li {
  counter-increment: lesson;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.program-list li::before {
  content: counter(lesson);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--plum);
  background: #eadfd2;
  font-weight: 700;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.faq-item h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 19px;
}
.faq-item button {
  width: 100%;
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--plum);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 0.8;
}
.faq-item button[aria-expanded="true"]::after {
  content: "−";
}
.faq-answer {
  padding: 0 20px 20px;
}
.legal {
  background: var(--paper);
}
.legal h2 {
  margin-top: 42px;
  font-size: 32px;
}
.legal h3 {
  margin-top: 28px;
  font-size: 24px;
}
.legal li {
  margin-bottom: 10px;
}
.contact-cards {
  display: grid;
  gap: 18px;
}
.contact-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-card h2 {
  font-size: 26px;
}
.empty-state {
  padding: 70px 0;
  text-align: center;
}
.cta-band {
  padding: 38px 0;
  color: #fff;
  background: var(--plum);
}
.cta-band .container {
  display: grid;
  gap: 24px;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
}
.site-footer {
  padding: 55px 0 24px;
  color: #e9dfe2;
  background: var(--plum-dark);
}
.site-footer .brand {
  margin-bottom: 20px;
}
.site-footer .brand strong,
.site-footer h2 {
  color: #fff;
}
.site-footer .brand small {
  color: #d6c6cb;
}
.site-footer .brand-mark {
  background: var(--copper);
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 17px;
}
.site-footer a {
  color: #fff;
}
.footer-grid {
  display: grid;
  gap: 34px;
}
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-grid li {
  margin: 9px 0;
}
.footer-bottom {
  display: grid;
  gap: 22px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid #684455;
  font-size: 14px;
}
.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 970px;
  margin-inline: auto;
  padding: 20px;
  background: var(--white);
  border: 2px solid var(--plum);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(26, 8, 16, 0.32);
}
.cookie-banner p {
  margin: 5px 0;
  font-size: 14px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

@media (min-width: 680px) {
  .utility-bar .container {
    justify-content: space-between;
  }
  .utility-bar span {
    display: inline;
  }
  .card-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid.two .field-full {
    grid-column: 1 / -1;
  }
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
  .footer-bottom {
    grid-template-columns: 1fr auto;
  }
  .cookie-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: center;
  }
  .cookie-actions {
    margin-top: 0;
  }
}

@media (min-width: 940px) {
  body {
    font-size: 18px;
  }
  .section {
    padding: 88px 0;
  }
  .menu-toggle {
    display: none;
  }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .site-nav a {
    padding: 12px 13px;
    border: 0;
    border-radius: 7px;
    font-size: 15px;
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: #eadfd2;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
    min-height: 650px;
  }
  .hero-copy {
    align-self: center;
    padding: 80px 70px 80px max(0px, calc((100vw - 1180px) / 2));
  }
  .hero-visual {
    min-height: 650px;
    margin: 0;
  }
  .hero-note {
    left: 35px;
    right: auto;
    bottom: 35px;
    max-width: 380px;
  }
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .split {
    grid-template-columns: repeat(2, 1fr);
    gap: 70px;
  }
  .split.reverse .split-media {
    order: 2;
  }
  .catalog-layout {
    grid-template-columns: 245px 1fr;
  }
  .filter-panel {
    position: sticky;
    top: 110px;
  }
  .catalog-layout .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-layout {
    grid-template-columns: 1.03fr 0.97fr;
    gap: 65px;
  }
  .product-layout.course {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-band .container {
    grid-template-columns: 1fr auto;
  }
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (min-width: 1180px) {
  .catalog-layout .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
