/* Slide decks in the style of mapp.bz: Montserrat, warm sand palette, arches, breathing rings.
   Canvas is a fixed 1920x1080 stage scaled to the window, so layouts look the same on any screen
   and in print (one slide per PDF page). */

:root {
  --bg: #f6f6f4;
  --bg1: #fafafa;
  --bg2: #f0efeb;
  --alt: #eeedea;
  --ink: #3e3f41;
  --navy: #0b0f2f;
  --arch: #b1a394;
  --taupe: #8c725b;
  --sand: #c5b8a9;
  --brown: #6b5d50;
  --line: #a9a9a3;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #2b2a28;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

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

/* ---------- Stage ---------- */
.stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  overflow: hidden;
  background: var(--bg);
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
  background: var(--bg);
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s var(--ease), visibility 0s;
  z-index: 2;
}

/* Paper grain, as on the site */
.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Items appear one after another when the slide opens */
[data-a] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 140ms + 150ms);
}
.is-active [data-a] { opacity: 1; transform: none; }
[data-a='fade'] { transform: none; }
[data-a='zoom'] { transform: scale(1.06); }
.is-active [data-a='zoom'] { transform: none; transition-duration: 1.6s; }

/* ---------- Themes ---------- */
.t-light { background: var(--bg1); }
.t-alt { background: var(--alt); }
.t-paper { background: var(--bg); }
.t-dark { background: var(--ink); color: var(--bg1); }
.t-navy { background: var(--navy); color: var(--bg1); }
.t-sand { background: var(--sand); color: var(--ink); }

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 680px at 80% 42%, rgba(197, 184, 169, 0.45), rgba(197, 184, 169, 0) 70%);
}
.t-dark .glow, .t-navy .glow {
  background: radial-gradient(900px 680px at 80% 42%, rgba(197, 184, 169, 0.16), rgba(197, 184, 169, 0) 70%);
}

/* ---------- Layout helpers ---------- */
.pad { position: absolute; inset: 0; padding: 112px 140px; }
.col { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.center { justify-content: center; }
.end { justify-content: flex-end; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.mt-s { margin-top: 24px; }
.mt-m { margin-top: 48px; }
.mt-l { margin-top: 72px; }
.mt-xl { margin-top: 104px; }
.gap-s { gap: 24px; }
.gap-m { gap: 40px; }
.gap-l { gap: 72px; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 96px; align-items: center; height: 100%; }
.split-r { grid-template-columns: 0.9fr 1.1fr; }
.split-even { grid-template-columns: 1fr 1fr; }
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .steps > *, .facts > * { min-width: 0; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
}
.eyebrow::before { content: ''; width: 64px; height: 1.5px; background: var(--arch); }
.t-dark .eyebrow, .t-navy .eyebrow, .on-photo .eyebrow { color: var(--sand); }
.t-dark .eyebrow::before, .t-navy .eyebrow::before, .on-photo .eyebrow::before { background: var(--sand); }

.h1 { font-size: 132px; font-weight: 700; letter-spacing: -0.035em; line-height: 0.96; text-wrap: balance; }
.h2 { font-size: 92px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.0; text-wrap: balance; }
.h3 { font-size: 60px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
.h4 { font-size: 40px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.light { font-weight: 300; color: var(--taupe); }
.t-dark .light, .t-navy .light, .on-photo .light { color: var(--sand); }
.lead { font-size: 40px; line-height: 1.38; color: var(--brown); text-wrap: pretty; }
.t-dark .lead, .t-navy .lead, .on-photo .lead { color: rgba(250, 250, 250, 0.78); }
.body { font-size: 32px; line-height: 1.5; color: var(--brown); text-wrap: pretty; }
.t-dark .body, .t-navy .body, .on-photo .body { color: rgba(250, 250, 250, 0.75); }
.small { font-size: 22px; line-height: 1.5; color: var(--line); }
.t-dark .small, .t-navy .small, .on-photo .small { color: rgba(250, 250, 250, 0.5); }
.accent { color: var(--taupe); }
.t-dark .accent, .t-navy .accent { color: var(--sand); }
.strong { font-weight: 700; color: var(--ink); }
.t-dark .strong, .t-navy .strong { color: var(--bg1); }
.upper { text-transform: uppercase; letter-spacing: 0.18em; font-size: 20px; font-weight: 600; }

.outline-num { color: transparent; -webkit-text-stroke: 2px var(--sand); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; }

/* ---------- Photos ---------- */
.photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade-b::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,42,40,0.15) 0%, rgba(43,42,40,0.5) 45%, rgba(43,42,40,0.94) 100%); }
.shade-l::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,42,40,0.92) 0%, rgba(43,42,40,0.72) 42%, rgba(43,42,40,0.15) 100%); }
.shade-all::after { content: ''; position: absolute; inset: 0; background: rgba(43,42,40,0.55); }
.on-photo { color: var(--bg1); }
.on-photo .pad { z-index: 3; }

.arch {
  position: relative;
  border-radius: 9999px 9999px 0 0;
  overflow: hidden;
  box-shadow: 0 50px 110px -40px rgba(107, 93, 80, 0.65);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-wrap { position: relative; }
.arch-wrap::before {
  content: '';
  position: absolute;
  inset: -26px -26px 34px 26px;
  border: 1.5px solid var(--arch);
  border-radius: 9999px 9999px 0 0;
  opacity: 0.7;
}
.t-dark .arch-wrap::before { border-color: rgba(197, 184, 169, 0.45); }

.frame { position: relative; border-radius: 40px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(107, 93, 80, 0.6); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.circle { border-radius: 50%; }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(3deg); }
.ring-ink { box-shadow: 0 0 0 8px var(--ink), 0 40px 80px -30px rgba(0,0,0,0.6); }

/* ---------- Rings (breathing, a quiet nod to trance) ---------- */
.rings { position: absolute; pointer-events: none; }
.rings circle { transform-origin: 200px 200px; animation: breathe 7.2s ease-in-out infinite; opacity: 0.45; }
.rings circle:nth-child(2) { animation-delay: 1.2s; }
.rings circle:nth-child(3) { animation-delay: 2.4s; }
.rings circle:nth-child(4) { animation-delay: 3.6s; }
.rings circle:nth-child(5) { animation-delay: 4.8s; }
@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.15; } 50% { transform: scale(1.02); opacity: 0.6; } }

.badge {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.92);
  box-shadow: 0 30px 60px -25px rgba(62, 63, 65, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge svg { position: absolute; inset: 0; animation: spin 28s linear infinite; }
.badge text { fill: var(--taupe); font-size: 15px; font-weight: 600; letter-spacing: 3.6px; }
.badge b { position: relative; text-align: center; line-height: 1; }
.badge b span { display: block; }
.badge .big { font-size: 56px; font-weight: 700; color: var(--ink); }
.badge .cap { font-size: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); margin-top: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pills, chips, cards ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 9999px;
  padding: 18px 34px;
  font-size: 24px;
  font-weight: 600;
  background: var(--ink);
  color: var(--bg1);
}
.pill-light { background: var(--bg1); color: var(--ink); }
.pill-sand { background: var(--sand); color: var(--ink); }
.pill-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-radius: 9999px;
  padding: 30px 56px;
  font-size: 30px;
  font-weight: 600;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 24px 50px -24px rgba(62, 63, 65, 0.6);
  white-space: nowrap;
}
.t-dark .btn, .on-photo .btn { background: var(--bg1); color: var(--ink); }
.btn svg { width: 26px; height: 26px; }

.card {
  border-radius: 40px;
  background: var(--bg2);
  padding: 52px 56px;
}
.t-alt .card, .t-light .card.on-alt { background: var(--bg1); }
.t-dark .card, .t-navy .card { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1); }
.card-ink { background: var(--ink) !important; color: var(--bg1); box-shadow: none !important; }
.card-ink .body { color: rgba(250, 250, 250, 0.75); }
.card-sand { background: var(--sand) !important; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(197, 184, 169, 0.9) !important; }
.card .k { font-size: 20px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 18px; display: block; }
.t-dark .card .k, .card-ink .k { color: var(--sand); }
.card-sand .k, .t-dark .card-sand .k { color: var(--brown); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* Facts strip, like the hero facts on the site */
.facts { display: grid; gap: 2px; border-radius: 36px; overflow: hidden; background: rgba(169, 169, 163, 0.28); box-shadow: inset 0 0 0 1.5px rgba(169, 169, 163, 0.25); }
.facts > div { background: rgba(250, 250, 250, 0.92); padding: 40px 44px; }
.facts dt { font-size: 18px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); margin-bottom: 12px; }
.facts dd { font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.facts.sm > div { padding: 34px 36px; }
.facts.sm dd { font-size: 28px; line-height: 1.2; }
.t-dark .facts { background: rgba(255,255,255,0.1); }
.t-dark .facts > div { background: var(--ink); }
.t-dark .facts dt { color: var(--sand); }
.t-dark .facts dd { color: var(--bg1); }

/* List with the small arch marker used on the site */
.marks { list-style: none; display: flex; flex-direction: column; gap: 26px; }
.marks li { display: flex; gap: 24px; align-items: flex-start; font-size: 34px; line-height: 1.4; color: var(--brown); }
.marks li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 24px;
  margin-top: 12px;
  background: var(--arch);
  border-radius: 9px 9px 0 0;
}
.t-dark .marks li, .on-photo .marks li { color: rgba(250, 250, 250, 0.85); }
.t-dark .marks li::before, .on-photo .marks li::before { background: var(--sand); }
.marks.tight { gap: 16px; }
.marks.tight li { font-size: 30px; }

/* Big quote */
.quote { position: relative; font-size: 76px; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.quote::before {
  content: '«';
  position: absolute;
  left: -0.62em;
  top: -0.12em;
  font-size: 1.9em;
  font-weight: 300;
  color: var(--sand);
}
.quote-by { font-size: 26px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); }
.t-dark .quote-by, .on-photo .quote-by { color: var(--sand); }

/* Numbered steps */
.steps { display: grid; gap: 32px; counter-reset: step; }
.step { position: relative; border-radius: 36px; background: var(--bg2); padding: 48px 48px 52px; }
.t-alt .step { background: var(--bg1); }
.t-dark .step { background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.1); }
.step .n { font-size: 96px; display: block; margin-bottom: 24px; }
.step h4 { font-size: 38px; font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.step p { font-size: 28px; line-height: 1.45; color: var(--brown); }
.t-dark .step p { color: rgba(250,250,250,0.72); }
.step-arrow { position: absolute; right: -30px; top: 50%; width: 28px; height: 28px; color: var(--arch); z-index: 2; }

/* Before -> after rows */
.pairs { display: flex; flex-direction: column; gap: 18px; }
.pair { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; gap: 24px; }
.pair .was { border-radius: 30px; padding: 26px 36px; font-size: 28px; line-height: 1.38; color: var(--brown); background: var(--bg2); }
.pair .now { border-radius: 30px; padding: 26px 36px; font-size: 28px; line-height: 1.38; font-weight: 600; color: var(--ink); background: var(--sand); }
.t-alt .pair .was { background: var(--bg1); }
.pair svg { width: 56px; height: 56px; color: var(--arch); justify-self: center; }
.pairs-head { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 24px; margin-bottom: 4px; }

/* Client case card (photo with "запрос" and "стало" badges and the dashed arrow from the site) */
.case { position: relative; height: 100%; border-radius: 44px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.55); }
.case img { width: 100%; height: 100%; object-fit: cover; }
.case::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(62,63,65,0.45), rgba(62,63,65,0) 40%, rgba(62,63,65,0.6)); }
.case .req, .case .res { position: absolute; z-index: 2; border-radius: 28px; padding: 24px 30px; max-width: 74%; }
.case .req { top: 34px; left: 34px; background: rgba(62, 63, 65, 0.8); color: var(--bg1); backdrop-filter: blur(8px); }
.case .res { bottom: 34px; right: 34px; background: var(--sand); color: var(--ink); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5); }
.case .req i, .case .res i { display: block; font-style: normal; font-size: 16px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; margin-bottom: 6px; }
.case .req b { font-size: 32px; font-weight: 600; line-height: 1.25; }
.case .res b { font-size: 38px; font-weight: 700; line-height: 1.2; }
.case .arrow { position: absolute; z-index: 2; left: 16%; top: 28%; width: 62%; height: 40%; }
.case .arrow .dash { stroke-dasharray: 8 12; }

/* Compact case cards, several in a row */
.case.sm { border-radius: 36px; }
.case.sm .req, .case.sm .res { padding: 18px 22px; border-radius: 22px; max-width: 84%; }
.case.sm .req { top: 24px; left: 24px; }
.case.sm .res { bottom: 24px; right: 24px; }
.case.sm .req b { font-size: 24px; }
.case.sm .res b { font-size: 28px; }
.case.sm .req i, .case.sm .res i { font-size: 14px; }
.case-who { margin-top: 18px; font-size: 18px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); }
.t-dark .case-who { color: var(--sand); }

.disclaimer { font-size: 22px; line-height: 1.5; color: var(--line); }
.t-dark .disclaimer { color: rgba(250,250,250,0.5); }

/* Chat bubbles for the "psyche on Monday" sketch */
.chat { display: flex; flex-direction: column; gap: 22px; }
.bubble { max-width: 78%; border-radius: 36px; padding: 28px 38px; font-size: 32px; line-height: 1.38; }
.bubble i { display: block; font-style: normal; font-size: 17px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 6px; opacity: 0.65; }
.bubble.you { align-self: flex-end; background: var(--ink); color: var(--bg1); border-bottom-right-radius: 10px; }
.bubble.psy { align-self: flex-start; background: var(--bg1); color: var(--ink); border-bottom-left-radius: 10px; box-shadow: 0 20px 40px -30px rgba(107,93,80,0.6); }

/* Mirror phrases */
.phrases { display: flex; flex-wrap: wrap; gap: 22px; }
.phrase { white-space: nowrap; border-radius: 9999px; padding: calc(var(--ph, 32px) * 0.75) 40px; font-size: var(--ph, 32px); font-weight: 500; background: var(--bg1); color: var(--ink); box-shadow: 0 18px 40px -30px rgba(107,93,80,0.7); }
.t-light .phrase { background: var(--bg2); box-shadow: none; }
.t-dark .phrase { background: rgba(255,255,255,0.06); color: var(--bg1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.12); }
.phrase.hl { background: var(--sand); color: var(--ink); }

/* Two-level diagram: conscious vs unconscious */
.levels { display: flex; flex-direction: column; gap: 0; border-radius: 44px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(107,93,80,0.6); }
.level { padding: 52px 60px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.level h4 { font-size: 22px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.level p { font-size: 34px; line-height: 1.4; }
.level.top { background: var(--bg1); }
.level.top h4 { color: var(--taupe); }
.level.top p { color: var(--brown); }
.level.bottom { background: var(--ink); color: var(--bg1); }
.level.bottom h4 { color: var(--sand); }
.level.bottom p { color: rgba(250,250,250,0.85); }
.level.door { background: var(--sand); padding: 30px 60px; }
.level.door h4 { color: var(--brown); }
.level.door p { font-weight: 600; color: var(--ink); }

/* Eight modules */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.module { border-radius: 32px; background: var(--bg1); padding: 28px 32px 30px; min-height: 0; display: flex; flex-direction: column; }
.module .n { font-size: 52px; margin-bottom: auto; }
.module h4 { font-size: 27px; font-weight: 700; line-height: 1.2; margin-top: 18px; }
.module p { font-size: 20px; line-height: 1.4; color: var(--brown); margin-top: 8px; }
.module.hl { background: var(--ink); color: var(--bg1); }
.module.hl p { color: rgba(250,250,250,0.7); }

/* Price and other cards that still wait for real numbers */
.ph {
  display: inline-block;
  border-radius: 18px;
  border: 2px dashed var(--taupe);
  color: var(--taupe);
  padding: 4px 18px;
  font-weight: 600;
  background: rgba(197, 184, 169, 0.14);
}
.t-dark .ph, .card-ink .ph, .on-photo .ph { border-color: var(--sand); color: var(--sand); background: rgba(197,184,169,0.08); }

/* Footer line on content slides */
.foot {
  position: absolute;
  left: 140px;
  right: 140px;
  bottom: 52px;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--line);
  z-index: 4;
}
.t-dark .foot, .t-navy .foot, .on-photo .foot { color: rgba(250, 250, 250, 0.4); }

/* Section divider: big outline number */
.section-num { font-size: 360px; position: absolute; right: 120px; bottom: 40px; }

/* Lesson plan: outline number and a thin rule between items */
.plan { list-style: none; display: flex; flex-direction: column; }
.plan li { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 24px; padding: 24px 0; border-top: 1.5px solid rgba(169, 169, 163, 0.35); font-size: 34px; line-height: 1.3; font-weight: 500; color: var(--ink); }
.plan li:last-child { border-bottom: 1.5px solid rgba(169, 169, 163, 0.35); }
.plan .n { font-size: 76px; }

/* Photo collage, as in the story block on the site */
.collage { position: relative; }
.collage figure { position: absolute; border-radius: 36px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; border-radius: 9999px; background: rgba(62, 63, 65, 0.82); color: var(--bg1); font-size: 20px; font-weight: 600; text-align: center; padding: 12px 18px; }

/* Big numbers */
.stat .v { font-size: 150px; font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; color: var(--sand); }
.stat .l { font-size: 28px; line-height: 1.35; margin-top: 18px; color: rgba(250, 250, 250, 0.75); }
.t-light .stat .v, .t-paper .stat .v { color: var(--taupe); }
.t-light .stat .l, .t-paper .stat .l { color: var(--brown); }

/* Methods she studied */
.chips { display: flex; flex-wrap: wrap; gap: 16px; }
.chip { border-radius: 9999px; padding: 16px 28px; font-size: 26px; font-weight: 600; background: var(--bg2); color: var(--ink); }
.chip.hl { background: var(--ink); color: var(--bg1); }

/* Academy students */
.student { border-radius: 40px; background: var(--bg1); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px -40px rgba(107, 93, 80, 0.7); }
.student .pic { height: 250px; position: relative; }
.student .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.student .initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 130px; font-weight: 300; letter-spacing: -0.04em; color: var(--bg1); background: linear-gradient(160deg, var(--sand), var(--taupe)); }
.student .who { padding: 24px 32px 0; font-size: 28px; font-weight: 700; }
.student dl { padding: 12px 32px 28px; display: grid; gap: 8px; }
.student dt { font-size: 16px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--taupe); }
.student dd { font-size: 21px; line-height: 1.4; color: var(--brown); }
.student dd.after { color: var(--ink); font-weight: 600; }

/* Fit / doesn't fit */
.marks.plus li::before, .marks.minus li::before { width: 36px; height: auto; margin-top: -2px; background: none; border-radius: 0; font-size: 44px; font-weight: 600; line-height: 1; text-align: center; }
.marks.plus li::before { content: '+'; color: var(--sand); }
.marks.minus li::before { content: '−'; color: var(--line); }

/* Price card waiting for real numbers */
.price { display: grid; grid-template-columns: 1.15fr 0.85fr; border-radius: 48px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(107, 93, 80, 0.7); }
.price .l { background: var(--bg1); padding: 64px 70px; }
.price .r { background: var(--ink); color: var(--bg1); padding: 64px 70px; display: flex; flex-direction: column; justify-content: center; }
.price .amount { font-size: 96px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.price .r .lead { color: rgba(250, 250, 250, 0.78); }
.price .r .ph { border-color: var(--sand); color: var(--sand); background: rgba(197, 184, 169, 0.08); }

/* Two branches: the future image at the start of the offer */
.branch { border-radius: 40px; padding: 48px 52px; }
.branch h4 { font-size: 22px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 26px; }
.branch.old { background: var(--bg2); }
.branch.old h4 { color: var(--line); }
.branch.old .marks li { color: var(--brown); }
.branch.new { background: var(--ink); color: var(--bg1); box-shadow: 0 50px 100px -50px rgba(43, 42, 40, 0.8); }
.branch.new h4 { color: var(--sand); }
.branch.new .marks li { color: rgba(250, 250, 250, 0.9); }

/* Review cards */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { position: relative; border-radius: 32px; background: var(--bg1); padding: 30px 34px 26px; display: flex; flex-direction: column; box-shadow: 0 24px 50px -36px rgba(107, 93, 80, 0.7); }
.review::before { content: '«'; display: block; font-size: 64px; font-weight: 300; line-height: 0.7; margin-bottom: 10px; color: var(--sand); }
.review p { position: relative; font-size: 23px; line-height: 1.42; color: var(--ink); }
.review .by { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 14px; }
.review .ava { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--sand); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.review .ava.ph-img { overflow: hidden; }
.review .ava img { width: 100%; height: 100%; object-fit: cover; }
.review .by b { display: block; font-size: 20px; font-weight: 700; }
.review .by div > span { display: block; font-size: 16px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); margin-top: 2px; }
.review.hl { background: var(--ink); }
.review.hl p { color: var(--bg1); }
.review.hl .by b { color: var(--bg1); }
.review.hl .by div > span { color: var(--sand); }

/* Tariff ladder */
.tariffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.tariff { position: relative; border-radius: 40px; background: var(--bg1); padding: 38px 40px 32px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -40px rgba(107, 93, 80, 0.7); }
.tariff .name { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.tariff .sub { font-size: 20px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); margin-top: 12px; }
.tariff .idea { font-size: 22px; line-height: 1.4; color: var(--brown); margin-top: 12px; min-height: 62px; }
.tariff .prices { display: flex; align-items: baseline; gap: 18px; margin-top: 18px; padding-top: 20px; border-top: 1.5px solid rgba(169, 169, 163, 0.35); }
.tariff .now { font-size: 60px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tariff .was { font-size: 28px; color: var(--line); text-decoration: line-through; text-decoration-thickness: 2px; }
.tariff .save { display: inline-block; align-self: flex-start; margin-top: 14px; border-radius: 9999px; padding: 8px 18px; font-size: 18px; font-weight: 700; background: var(--sand); color: var(--ink); }
.tariff .marks { margin-top: 20px; gap: 10px; }
.tariff .marks li { font-size: 22px; line-height: 1.35; }
.tariff .marks li::before { width: 14px; height: 18px; margin-top: 7px; }
.tariff .marks li.plus { font-weight: 700; color: var(--ink); }
.tariff.hl { background: var(--ink); color: var(--bg1); box-shadow: 0 50px 100px -50px rgba(43, 42, 40, 0.85); }
.tariff.hl .sub { color: var(--sand); }
.tariff.hl .idea { color: rgba(250, 250, 250, 0.72); }
.tariff.hl .prices { border-top-color: rgba(255, 255, 255, 0.15); }
.tariff.hl .was { color: rgba(250, 250, 250, 0.45); }
.tariff.hl .marks li { color: rgba(250, 250, 250, 0.85); }
.tariff.hl .marks li.plus { color: var(--bg1); }
.tariff.hl .marks li::before { background: var(--sand); }
.tariff .flag { position: absolute; top: -18px; left: 44px; border-radius: 9999px; padding: 8px 20px; font-size: 16px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--sand); color: var(--ink); }

/* Doubts: question and answer */
.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }
.qa > div { border-radius: 30px; background: var(--bg1); padding: 32px 38px; }
.qa h4 { font-size: 30px; font-weight: 700; line-height: 1.2; }
.qa p { font-size: 23px; line-height: 1.45; color: var(--brown); margin-top: 10px; }
.qa > div.wide { grid-column: 1 / -1; }

/* Telegram contact */
.tg { display: inline-flex; align-items: center; gap: 22px; border-radius: 9999px; padding: 22px 40px 22px 22px; background: var(--ink); color: var(--bg1); box-shadow: 0 30px 60px -30px rgba(43, 42, 40, 0.7); }
.tg i { width: 72px; height: 72px; border-radius: 50%; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.tg i svg { width: 36px; height: 36px; }
.tg b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -0.01em; }
.tg span span { display: block; font-size: 18px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); margin-bottom: 4px; }
.on-photo .tg { background: var(--bg1); color: var(--ink); }
.on-photo .tg span span { color: var(--taupe); }

/* Speaker notes live in the markup, the panel shows them on N */
.notes { display: none; }

/* ---------- UI (never printed) ---------- */
.ui {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 9999px;
  background: rgba(43, 42, 40, 0.72);
  backdrop-filter: blur(10px);
  color: #fafafa;
  font: 600 13px/1 'Montserrat', sans-serif;
  letter-spacing: 0.06em;
  transition: opacity 0.4s ease;
}
.ui.is-idle { opacity: 0; }
.ui button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border-radius: 9999px;
  cursor: pointer;
}
.ui button:hover { background: rgba(255, 255, 255, 0.12); }
.ui .count { padding: 0 8px; font-variant-numeric: tabular-nums; }

.progress { position: fixed; left: 0; bottom: 0; width: 100%; height: 3px; background: #c5b8a9; z-index: 99; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }

.notes-panel {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;
  width: min(560px, calc(100vw - 48px));
  max-height: 46vh;
  overflow: auto;
  padding: 22px 26px;
  border-radius: 22px;
  background: rgba(250, 250, 250, 0.96);
  color: #3e3f41;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  font: 400 15px/1.55 'Montserrat', sans-serif;
  display: none;
}
.notes-panel.is-open { display: block; }
.notes-panel h6 { font: 600 11px/1 'Montserrat', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #8c725b; margin-bottom: 12px; }
.notes-panel p + p { margin-top: 8px; }
.notes-panel .src { color: #a9a9a3; font-size: 13px; }

.help {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 18, 0.6);
}
.help.is-open { display: flex; }
.help div { background: #fafafa; color: #3e3f41; border-radius: 24px; padding: 32px 40px; font: 400 16px/1.9 'Montserrat', sans-serif; }
.help b { display: inline-block; min-width: 140px; font-weight: 700; }

/* ?static in the URL: no transitions, handy for checks and exports */
.static .slide, .static [data-a] { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-a] { transition: none; opacity: 1; transform: none; }
  .rings circle, .badge svg { animation: none; }
}

/* ---------- Print: one slide per page ---------- */
@page { size: 1920px 1080px; margin: 0; }
@media print {
  html, body { overflow: visible; height: auto; background: none; }
  .stage { position: static; transform: none !important; overflow: visible; background: none; }
  .stage::after { display: none; }
  .slide { position: relative; opacity: 1; visibility: visible; width: 1920px; height: 1080px; break-after: page; page-break-after: always; transition: none; }
  .case .req { backdrop-filter: none; background: rgba(62, 63, 65, 0.88); }
  [data-a] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rings circle { animation: none; opacity: 0.4; }
  .badge svg { animation: none; }
  .ui, .progress, .notes-panel, .help { display: none !important; }
}
