:root {
  --ink: #1b1d1c;
  --muted: #5c615e;
  --paper: #f6f3ec;
  --lime: #d6f25c;
  --violet: #5b4bff;
  --line: #e4dfd4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #2a2e2c;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.shell { width: min(1080px, calc(100% - 28px)); margin: 18px auto 40px; background: var(--paper); border-radius: 28px; padding: 22px 28px 36px; position: relative; overflow: hidden; }
.shell:before, .shell:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  z-index: 0;
}
.shell:before { width: 280px; height: 280px; right: -80px; top: -90px; }
.shell:after { width: 220px; height: 220px; left: -70px; bottom: 80px; }
.bar, .hero, .classes, .quote, .prose, .foot { position: relative; z-index: 1; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.links { display: flex; gap: 16px; flex-wrap: wrap; }
.links a { text-decoration: none; font-size: 0.82rem; letter-spacing: 0.08em; color: #3d433f; }
.links a[aria-current="page"] { font-weight: 800; }
.pill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  background: #fff;
}
.hero { padding: 42px 0 10px; text-align: center; }
.star { color: var(--violet); font-size: 1.6rem; }
h1, h2, h3 { font-family: Archivo, sans-serif; letter-spacing: -0.04em; line-height: 0.95; margin: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; line-height: 1.2; }
.mark {
  display: inline-block;
  background: var(--lime);
  border-radius: 999px;
  padding: 0 14px 6px;
  line-height: 0.8;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  text-align: left;
  margin-top: 28px;
}
.stat { font-weight: 800; }
.stat span { display: block; color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.btn, button.btn {
  border: 0;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.tiles { display: flex; justify-content: center; align-items: end; gap: 12px; margin: 28px 0 10px; flex-wrap: wrap; }
.tile {
  width: 110px;
  height: 150px;
  border-radius: 22px;
  background: var(--violet);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 12px 24px rgba(27, 29, 28, 0.08);
}
.tile.dark { background: #24262b; height: 180px; }
.tile.tall { height: 230px; width: 150px; background: #6a5cff; }
.classes { border: 1px solid var(--line); border-radius: 24px; padding: 22px; margin-top: 12px; background: rgba(255,255,255,0.45); }
.intro { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 16px; }
.intro p { margin: 0; max-width: 32ch; color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.class {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}
.class header { display: flex; justify-content: space-between; align-items: center; }
.arrow {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--violet); color: #fff; text-decoration: none;
}
.class p { color: var(--muted); font-size: 0.92rem; }
.panel { height: 110px; border-radius: 14px; background: #ece8ff; display: grid; place-items: center; font-size: 1.8rem; }
.panel.b { background: #e7fb63; }
.panel.c { background: #d9e4ff; }
.quote { text-align: center; padding: 36px 10px 10px; }
.quote h2 { max-width: 16ch; margin: 0 auto 12px; }
.by { color: var(--muted); }
.prose { padding-top: 28px; }
.prose p { color: #3e4441; }
.lesson { border-top: 1px solid var(--line); padding: 16px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: block; margin: 12px 0 6px; font-size: 0.9rem; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; background: #fff; }
.note { color: var(--muted); font-size: 0.9rem; }
.ok { font-weight: 800; }
.foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; color: var(--muted); font-size: 0.88rem; }
.cookie {
  position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px;
  background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px;
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.cookie p { margin: 0; }
.cookie a { color: #3a2fe0; }
.cookie .actions { display: flex; gap: 8px; }
.cookie .ghost { background: #efeee8; }
@media (max-width: 800px) {
  .grid3, .split, .row, .intro, .bar, .cookie { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .bar, .row, .intro, .cookie { display: flex; }
  .hero { text-align: left; }
}

.photos { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 14px; padding: 18px 12px 0; }
.photos img, .figure img { width: 100%; display: block; object-fit: cover; border-radius: 22px; }
.photos img { height: 280px; }
.figure img { height: 320px; margin: 8px 0 14px; }
.photos figcaption, .figure figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.story p { max-width: 68ch; }
.faq details { background: rgba(255,255,255,.88); border: 1px solid var(--line, #e4dfd4); border-radius: 16px; padding: 12px 14px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 800; }
.legal { display: flex; gap: 14px; flex-wrap: wrap; }
.legal a { color: inherit; }
.cover { overflow: hidden; padding: 0; }
.cover img { width: 100%; height: 148px; object-fit: cover; display: block; }
@media (max-width: 800px) {
  .photos { grid-template-columns: 1fr; }
  .photos img, .figure img { height: 210px; }
}

.stats, .slider, .table-wrap, .rich, .hours, .story, .faq { position: relative; z-index: 1; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px 0 18px;
}
.stats div {
  background: #fff;
  border: 1px solid var(--line, #e4dfd4);
  border-radius: 18px;
  padding: 14px 16px;
}
.stats strong { display: block; font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.2; }
.stats span { color: var(--muted, #5c615e); font-size: 0.85rem; }
.table-wrap { overflow-x: auto; margin: 12px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line, #e4dfd4); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted, #5c615e); }
.ticks, .plain { margin: 8px 0 16px; padding: 0; list-style: none; }
.ticks li, .plain li { position: relative; padding: 8px 0 8px 28px; }
.ticks li { border-bottom: 1px solid var(--line, #e4dfd4); }
.ticks li:before, .plain li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime, #d6ff4a);
}
.plain { counter-reset: step; }
.plain li { counter-increment: step; padding-left: 36px; }
.plain li:before {
  content: counter(step);
  width: 22px;
  height: 22px;
  top: 8px;
  border-radius: 50%;
  background: var(--ink, #17181c);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.slider { margin: 18px 0; }
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.slider-nav { display: flex; gap: 8px; flex-shrink: 0; }
.slider-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line, #e4dfd4);
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.slider-window { overflow: hidden; margin-top: 12px; border-radius: 22px; }
.slider-track { display: flex; transition: transform 0.35s ease; }
.slide {
  flex: 0 0 100%;
  background: #fff;
  border: 1px solid var(--line, #e4dfd4);
  border-radius: 22px;
  padding: 22px;
  min-height: 190px;
}
.slide .kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #5c615e);
}
.dots { display: flex; gap: 8px; margin-top: 12px; }
.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #c9d0d8;
  padding: 0;
  cursor: pointer;
}
.dots button[aria-current="true"] { background: var(--ink, #17181c); width: 22px; border-radius: 999px; }
.rich h3 { margin-top: 18px; }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .slider-head { align-items: flex-start; flex-direction: column; }
}
