:root {
  --black: #000;
  --white: #fff;
  --graphite: #2f2f2f;
  --slot: #e4e4e4;
  --red: #ff1f1f;
  --lime: #e8fb5a;
  --mint: #3ff0c8;
  --muted: #6b6b6b;
  --r-card: 22px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: env(safe-area-inset-top, 0px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--white); font: 17px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; text-transform: uppercase; }
p { margin: 0 0 1em; }

.wrap { width: min(1370px, 100% - 32px); margin-inline: auto; }
.section { margin-top: clamp(64px, 10vw, 140px); }
.card { background: var(--white); color: var(--black); border-radius: var(--r-card); padding: clamp(22px, 3vw, 40px); }
.card-dark { background: var(--graphite); color: var(--white); }
.h-xl { font-size: clamp(44px, 6vw, 84px); }
.h-l { font-size: clamp(36px, 4.6vw, 64px); }
.h-m { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }

/* Шапка */
.top { text-align: center; padding: 18px 0 26px; }
.wordmark { text-decoration: none; font-size: 22px; line-height: 1; letter-spacing: -0.01em; display: inline-block; }
.wordmark span { font-family: "Times New Roman", Times, serif; font-size: 21px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 0 30px;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-black { background: var(--black); color: var(--white); }
.btn-lime { background: var(--lime); color: var(--black); }
.btn-line { background: transparent; color: var(--black); border-color: var(--black); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.pill-mint { background: var(--mint); color: var(--black); }

/* Слоти зображень: показують підпис, поки файл не додано */
.slot { margin: 0; background: var(--slot); border-radius: 6px; overflow: hidden; position: relative; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot.empty img { display: none; }
.slot.empty::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 12px;
  text-align: center; font-size: 14px; color: #8a8a8a; }
.slot figcaption, .credit { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; min-height: min(78vh, 720px); }
.hero-art { background: none; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.hero-art.empty { background: #161616; border-radius: 50%; }
.hero-card { display: flex; flex-direction: column; min-height: 420px; }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 14px; float: right; }
.hero-card h1 { font-size: clamp(56px, 7vw, 92px); margin: 6px 0 auto; }
.hero-card .lede { max-width: 30em; margin-top: 32px; font-size: 16px; }
.status { color: var(--black); font-size: 15px; margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: #f1f1f1; }
.status strong { font-weight: 700; }
.status.is-season { background: var(--lime); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Що дізнаєтесь */
.learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; list-style: none; padding: 0; margin: 40px 0 0;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; }
.learn li { padding-left: 1em; text-indent: -1em; max-width: 17em; }
.learn li::before { content: "• "; }

/* Автор */
.author { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.author .slot { border-radius: var(--r-card); min-height: 420px; }
.author .card p { max-width: 34em; }
.author .card .h-l { margin: 6px 0 22px; }
.awards { list-style: none; padding: 0; margin: 0; }
.awards li::before { content: "• "; }

/* Бренди */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 24px; margin-top: 56px; align-items: center; }
.logos .slot { background: none; aspect-ratio: 2.2; }
.logos .slot img { object-fit: contain; }
.logos .slot.empty::after { color: var(--black); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }

/* Приклади */
.examples-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.examples-head p { max-width: 42em; margin-top: 22px; }
.collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.collage .slot { aspect-ratio: 4/3; border-radius: 10px; background: #3a3a3a; }
.collage .slot:nth-child(3n+1) { transform: translateY(24px); }

/* Програма */
.lessons { display: grid; gap: 20px; margin-top: 36px; }
.lesson { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.lesson .slot { aspect-ratio: 3/2; }
.lesson-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.lesson-num { font-size: clamp(64px, 6vw, 88px); line-height: .8; letter-spacing: -0.04em; }
.lesson h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.02em; margin-bottom: 26px; }
.lesson-body { max-width: 34em; font-size: 16px; }
.lesson-body ul { list-style: none; padding: 0; margin: 0 0 1em; }
.pro-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--lime); padding: 12px 18px; border-radius: 14px; font-size: 15px; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.case { display: grid; grid-template-columns: 120px 1fr; gap: 14px; font-size: 14px; }
.case .slot { aspect-ratio: 3/4; border-radius: 8px; }
.case b { display: block; font-size: 15px; margin-bottom: 2px; }
.case span { color: var(--muted); display: block; }

.center-cta { display: flex; justify-content: center; margin-top: clamp(56px, 8vw, 110px); }
.center-cta .btn { min-height: 96px; padding: 0 clamp(60px, 10vw, 150px); font-size: 24px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 64px; margin-top: 40px; }
.faq h3 { font-size: 24px; letter-spacing: -0.02em; text-transform: none; line-height: 1.1; margin-bottom: 10px; }
.faq p { max-width: 32em; }
.faq > div { margin-bottom: 26px; }

/* Відгуки */
.reviews { columns: 4 300px; column-gap: 16px; margin-top: 40px; }
.review { break-inside: avoid; margin-bottom: 16px; }
.review-head { display: grid; grid-template-columns: 112px 1fr; gap: 16px; margin-bottom: 22px; align-items: start; }
.review-head .slot { aspect-ratio: 1; border-radius: 8px; }
.review h3 { font-size: 20px; font-weight: 400; letter-spacing: 0; line-height: 1.05; }
.review small { display: block; font-size: 12px; margin-top: 6px; line-height: 1.25; }
.review p { font-size: 15px; line-height: 1.4; }
.review .round { aspect-ratio: 1; border-radius: 50%; margin-top: 14px; }

/* Ціни */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 10px; }
.prices > div > h3 { font-size: 24px; font-weight: 400; text-transform: none; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 24px; }
.plan { display: flex; flex-direction: column; min-height: 520px; }
.plan-pro { background: var(--lime); }
.plan h4 { margin: 0; font-size: 38px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.plan .sub { font-size: 13px; margin: 6px 0 22px; }
.plan ol { list-style: none; padding: 0; margin: 0 0 auto; font-size: 19px; line-height: 1.75; counter-reset: l; }
.plan ol li { counter-increment: l; }
.plan ol li::before { content: counter(l) "  "; font-weight: 700; }
.plan .extra { background: var(--white); border-radius: 8px; padding: 10px 16px; margin: 8px -16px 0; }
.compare { text-decoration: line-through; text-align: center; font-size: 22px; font-weight: 700; margin: 28px 0 14px; min-height: 1.2em; }
.plan .btn { width: 100%; }
.singles { display: grid; gap: 10px; }
.single { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #3d3d3d; border-radius: 12px; padding: 8px 8px 8px 20px; }
.single .btn { min-height: 52px; min-width: 116px; }
.promo-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.promo-row input { min-height: 48px; border-radius: 999px; border: 1px solid #555; background: transparent; color: var(--white);
  padding: 0 20px; font: inherit; font-size: 16px; width: min(260px, 100%); text-transform: uppercase; }
.offer-note { font-size: 15px; color: #cfcfcf; }

/* Набір закрито */
.closed-box { display: none; }
body.is-closed .closed-box { display: block; }
body.is-closed .prices .btn, body.is-closed .lesson .btn-line, body.is-closed .promo-row { display: none; }
.waitlist { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.waitlist input { flex: 1 1 260px; min-height: 54px; border-radius: 999px; border: 1px solid var(--black); padding: 0 22px; font: inherit; }

.footer { margin-top: clamp(80px, 10vw, 140px); margin-bottom: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 15px; color: #a5a5a5; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--white);
  color: var(--black); padding: 14px 22px; border-radius: 14px; max-width: calc(100% - 32px); box-shadow: 0 6px 30px rgba(0,0,0,.4); z-index: 10; }

@media (max-width: 960px) {
  .hero, .author, .lesson, .prices, .faq { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-art { max-width: 360px; }
  .learn { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .collage { grid-template-columns: repeat(2, 1fr); }
  .plan { min-height: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .learn, .cases { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .hero-card { min-height: 0; }
  .hero-meta { float: none; align-items: flex-start; flex-direction: row; flex-wrap: wrap; margin-bottom: 18px; }
  .lesson-head { flex-direction: column-reverse; }
  .center-cta .btn { min-height: 72px; font-size: 20px; width: 100%; }
  .review-head { grid-template-columns: 88px 1fr; }
}
