/* ===== EXPERIMENT: "light through a prism" — dark, grainy, spectral =====
   Hero only for now. Loaded after styles.css, so everything here overrides it.
   Tokens are --x-* so the rest of the site can adopt them later without a rewrite. */

:root {
  /* surfaces + text */
  --x-bg: #09070a;
  --x-text: #f6f3ee;
  --x-text-dim: rgba(246, 243, 238, 0.64);
  --x-text-faint: rgba(246, 243, 238, 0.46);
  --x-line: rgba(246, 243, 238, 0.2);
  /* spectrum (brand five + teal/violet that only exist as glow on dark) */
  --x-red: #f82f1b;
  --x-orange: #fe7e11;
  --x-yellow: #fdda2a;
  --x-green: #6dc82d;
  --x-teal: #2fc4b2;
  --x-blue: #2285da;
  --x-violet: #6a3df0;
  /* type */
  --x-font: "IBM Plex Sans", system-ui, sans-serif;
  /* film grain (monochrome noise tile) */
  --x-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.5 0 0 0 -.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --x-grain-gray: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch' seed='4'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- light fan (shared desktop + mobile) ----------
   One conic gradient pinned to the prism: red on top -> violet at the bottom.
   --fan-from / --fan-span set where the wedge points and how wide it is. */
.fx-fan, .fx-wash, .fx-rays { position: absolute; display: block; }
.fx-fan {
  --fan-from: 62deg; --fan-span: 56deg;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle at var(--px) var(--py), #000 0, #000 62%, transparent 100%);
          mask-image: radial-gradient(circle at var(--px) var(--py), #000 0, #000 62%, transparent 100%);
}
.fx-wash, .fx-rays {
  inset: 0;
  background: conic-gradient(from var(--fan-from) at var(--px) var(--py),
    transparent 0deg,
    var(--x-red) 7deg, var(--x-orange) 17deg, var(--x-yellow) 27deg,
    var(--x-green) 36deg, var(--x-teal) 41deg, var(--x-blue) 47deg,
    var(--x-violet) 53deg, transparent var(--fan-span));
}
.fx-wash { filter: blur(38px) saturate(1.1); opacity: 1; }
/* hot core: light is whitest right where it leaves the prism */
.fx-fan::before {
  content: ""; position: absolute; inset: 0; mix-blend-mode: screen; filter: blur(10px);
  background: radial-gradient(circle at var(--px) var(--py), rgba(255, 244, 230, 0.9) 0, rgba(255, 225, 190, 0.4) 110px, transparent 380px);
  /* only inside the wedge — nothing leaks to the left of the prism */
  -webkit-mask-image: conic-gradient(from var(--fan-from) at var(--px) var(--py), transparent 0, #000 12deg, #000 calc(var(--fan-span) - 12deg), transparent var(--fan-span), transparent 360deg);
          mask-image: conic-gradient(from var(--fan-from) at var(--px) var(--py), transparent 0, #000 12deg, #000 calc(var(--fan-span) - 12deg), transparent var(--fan-span), transparent 360deg);
}
/* the same wedge cut into thin radial ribs, like light split by ribbed glass */
.fx-rays {
  filter: blur(5px) brightness(1.35);
  opacity: 0.32;
  -webkit-mask-image: repeating-conic-gradient(from var(--fan-from) at var(--px) var(--py), #000 0 1deg, transparent 1deg 3.4deg),
                      radial-gradient(circle at var(--px) var(--py), transparent 0, transparent 150px, #000 420px);
  -webkit-mask-composite: source-in;
          mask-image: repeating-conic-gradient(from var(--fan-from) at var(--px) var(--py), #000 0 1deg, transparent 1deg 3.4deg),
                      radial-gradient(circle at var(--px) var(--py), transparent 0, transparent 150px, #000 420px);
          mask-composite: intersect;
}
.fx-grain {
  position: absolute; inset: 0; display: block; pointer-events: none;
  background: var(--x-grain); background-size: 240px 240px;
  opacity: 0.2;
}
.fx-grain::after {
  content: ""; position: absolute; inset: 0; background: var(--x-grain-gray); background-size: 240px 240px;
  mix-blend-mode: overlay; opacity: 0.75;
}

/* ---------- desktop hero (1920px canvas) ---------- */
.band-hero { background: var(--x-bg); overflow: hidden; color: var(--x-text); }
.hero-fx { background: var(--x-bg); left: 0; top: 0; width: 1920px; height: 1033px; overflow: hidden; pointer-events: none; z-index: 1;
  --px: 1161px; --py: 562px; }     /* = centre of the white prism star */
.hero-fx .fx-fan { animation: x-drift 14s ease-in-out infinite alternate; transform-origin: var(--px) var(--py); }
@keyframes x-drift {
  from { transform: rotate(-1.6deg); opacity: 0.92; }
  to   { transform: rotate(1.6deg);  opacity: 1; }
}
/* wide screens: the canvas is centred, so extend the dark under the hero strip */
body { background: linear-gradient(var(--x-bg) 0 1033px, var(--bg) 1033px); }
.hero-glow, .hero-star { z-index: 2; }
.hero-glow { display: none; }   /* no halo around the prism star */
.m-hero-art .m-prism g:first-of-type { display: none; }

/* header */
.band-hero .header { z-index: 10; font-family: var(--x-font); }
.band-hero .logo { filter: brightness(0) invert(1); }
.band-hero .nav-item { color: var(--x-text); font-size: 21px; letter-spacing: -0.02em; font-weight: 400; }
.band-hero .btn-red {
  background: var(--x-text); color: var(--x-bg); font-family: var(--x-font);
  font-size: 21px; letter-spacing: -0.01em; font-weight: 500; padding: 13px 26px;
}
.band-hero .btn-red:hover { background: #fff; transform: translateY(-2px); }

/* copy */
.hero-copy { top: 236px; width: 860px; font-family: var(--x-font); letter-spacing: -0.03em; color: var(--x-text); }
.hero-title { font-size: 64px; line-height: 1.04; gap: 14px 10px; font-weight: 300; letter-spacing: -0.05em; }
h1.hero-lead { font-weight: 300; letter-spacing: -0.05em; }
.hero-pw { margin-right: 0; }
.hero-copy .pill {
  gap: 16px; border-width: 1px; border-color: var(--x-line); color: var(--x-text);
  padding: 6px 28px 12px 22px; font-weight: 300; letter-spacing: -0.045em;
  background: rgba(246, 243, 238, 0.03);
}
.hero-sub { margin-top: 56px; max-width: 700px; font-size: 28px; line-height: 1.28; font-weight: 300;
  letter-spacing: -0.02em; color: var(--x-text-dim); }
.hero-start { margin-top: 52px; font-size: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--x-text); gap: 12px; }
.hero-start-dot { width: 9px; height: 9px; }
.hero-copy .hero-btn {
  margin-top: 22px; gap: 18px; padding: 21px 34px 21px 44px;
  background: var(--x-text); color: var(--x-bg);
  font-size: 24px; font-weight: 500; letter-spacing: -0.01em;
}
.hero-copy .hero-btn::after {
  content: ""; width: 38px; height: 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 12' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M0 6h36M31 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 12' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M0 6h36M31 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.hero-copy .hero-btn:hover { background: #fff; }
.hero-copy .hero-btn:hover::after { transform: translateX(5px); }
.hero-copy .hero-price { margin-top: 18px; font-size: 18px; font-weight: 400; letter-spacing: -0.01em; color: var(--x-text-faint); }

/* ---------- mobile / tablet hero (<=1024px) ---------- */
.m-page .m-header { background: var(--x-bg); color: var(--x-text); font-family: var(--x-font); }
.m-header .m-logo { filter: brightness(0) invert(1); }
.m-header .m-cta { background: var(--x-text); color: var(--x-bg); font-weight: 500; }
.m-header .m-cta:hover { background: #fff; }
.m-nav a { color: var(--x-text); }

.m-hero { animation: none; background: var(--x-bg); color: var(--x-text); font-family: var(--x-font); overflow: hidden; }
.m-hero-title { font-weight: 300; letter-spacing: -0.045em; }
h1.m-hero-lead { font-weight: 300; }
.m-hero .pill {
  gap: 6px; border-width: 1px; border-color: var(--x-line); color: var(--x-text);
  padding: 1px 12px 6px 10px; font-weight: 300;
  background: rgba(246, 243, 238, 0.03);
}
.m-hero-sub { font-weight: 300; letter-spacing: -0.02em; color: var(--x-text-dim); }
.m-hero-start { color: var(--x-text); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.m-hero .hero-start-dot { }
.m-hero .m-hero-btn { background: var(--x-text); color: var(--x-bg); font-weight: 500; }
.m-hero .m-hero-btn:hover { background: #fff; }
.m-hero-price { color: var(--x-text-faint); }

/* mobile light: the art box is 280px tall (360px from 768px); prism sits at 18% / 25% of its width.
   The fan may bleed past the box (the hero clips it); grain lives on the whole hero instead. */
.m-hero { isolation: isolate; }
.m-hero > *:not(.m-hero-art) { position: relative; z-index: 1; }
.m-hero::before, .m-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: var(--x-grain); background-size: 240px 240px; opacity: 0.2;
}
.m-hero::after { background-image: var(--x-grain-gray); mix-blend-mode: overlay; opacity: 0.75; }
.m-fx { position: absolute; inset: -60px -20px -60px -20px; pointer-events: none; z-index: 0;
  --px: calc(18% + 20px); --py: 50%; }
.m-fx .fx-fan { --fan-from: 64deg; --fan-span: 52deg;
  -webkit-mask-image: radial-gradient(circle 560px at var(--px) var(--py), #000 0, #000 70%, transparent 100%);
          mask-image: radial-gradient(circle 560px at var(--px) var(--py), #000 0, #000 70%, transparent 100%); }
.m-fx .fx-wash { filter: blur(20px) saturate(1.15); }
.m-hero-art .m-prism { z-index: 2; }
@media (min-width: 768px) {
  .m-fx { --px: calc(25% + 32px); inset: -80px -32px -80px -32px; }
}

/* screens wider than the 1920px canvas: feather the hero's side edges into the dark body so there is no seam */
@media (min-width: 1921px) {
  .hero-fx {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }
}

/* pills: quiet white outline, the colour lives only in a small prism star (same star as the menu) */
.hero-copy .pill::before, .m-hero .pill::before {
  content: ""; flex: 0 0 auto; width: 0.4em; height: 0.4em; margin-top: 0.08em;
  background: var(--pc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12 0 12.66 6.18 15.24 8.76C17.82 11.34 24 12 24 12C24 12 17.82 12.66 15.24 15.24C12.66 17.82 12 24 12 24C12 24 11.34 17.82 8.76 15.24C6.18 12.66 0 12 0 12C0 12 6.18 11.34 8.76 8.76C11.34 6.18 12 0 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12 0 12.66 6.18 15.24 8.76C17.82 11.34 24 12 24 12C24 12 17.82 12.66 15.24 15.24C12.66 17.82 12 24 12 24C12 24 11.34 17.82 8.76 15.24C6.18 12.66 0 12 0 12C0 12 6.18 11.34 8.76 8.76C11.34 6.18 12 0 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hero-copy .pill-red, .m-hero .pill-red       { --pc: var(--x-red); }
.hero-copy .pill-orange, .m-hero .pill-orange { --pc: var(--x-orange); }
.hero-copy .pill-green, .m-hero .pill-green   { --pc: var(--x-green); }
.hero-copy .pill-blue, .m-hero .pill-blue     { --pc: #3b9bf0; } /* a touch lighter than brand blue so the star reads on black */

.m-hero .pill::before { width: 0.36em; height: 0.36em; }
.m-hero-title .hero-pw { margin-right: 0; } /* the pill row gap does the spacing; this lets "стейкхолдери + команда" share a line at 390px */


/* =====================================================================
   SITE-WIDE: the same look on every section (dark, flat, no glow)
   ===================================================================== */

/* ---------- 1. Base: remap the old light tokens so everything flips at once ---------- */
:root {
  --bg: var(--x-bg);
  --ink: var(--x-text);
  --black60: var(--x-text-dim);
  --orange-text: #ff9d4a;   /* numerals / marks on dark */
  --green-text: #8be04a;
  --x-surface: #100c12;     /* opaque card colour (needed where a gradient border wraps it) */
  --x-flat: #0b090d;   /* flat black surface for text-heavy blocks (no glass) */
  --x-glass: var(--x-flat);
  --x-edge: rgba(246, 243, 238, 0.13);
  --x-spectrum: linear-gradient(120deg, var(--x-red), var(--x-orange), var(--x-yellow), var(--x-green), var(--x-teal), var(--x-blue), var(--x-violet));
  --x-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12 0 12.66 6.18 15.24 8.76C17.82 11.34 24 12 24 12C24 12 17.82 12.66 15.24 15.24C12.66 17.82 12 24 12 24C12 24 11.34 17.82 8.76 15.24C6.18 12.66 0 12 0 12C0 12 6.18 11.34 8.76 8.76C11.34 6.18 12 0 12 0Z'/%3E%3C/svg%3E");
}
html { background: var(--x-bg); color-scheme: dark; }
body { background: var(--x-bg); color: var(--x-text); font-family: var(--x-font); -webkit-font-smoothing: antialiased; }
.canvas { letter-spacing: -0.03em; font-family: var(--x-font); }
.m-page { font-family: var(--x-font); letter-spacing: -0.02em; }
/* headings: light, tight Grotesk instead of the old italic serif */
.serif, .m-page .serif { font-family: var(--x-font); font-style: normal; font-weight: 300; letter-spacing: -0.045em; }
h2.serif, h3.serif { line-height: 1.02; }
.btn { letter-spacing: -0.01em; font-family: var(--x-font); }
/* film grain over the whole page, like the posters */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 10000; pointer-events: none;
  background: var(--x-grain); background-size: 240px 240px; opacity: 0.11;
}

/* headings that were hard-coded black */
.why h2, .program-copy h2, .pain-lead, .results-lead, .final-cta h2, .social h2, .faq-q,
.m-pain-lead, .m-results-lead, .feat-strong strong, .pay-col strong, .m-pay-col strong, .m-feat-strong strong { color: var(--x-text); }
.pain-lead, .results-lead, .m-pain-lead, .m-results-lead, .final-cta h2, .social h2 { font-weight: 300; letter-spacing: -0.045em; }

/* ---------- 2. Backgrounds: flat black, no ambient glows ---------- */
/* old pastel blobs / backgrounds are gone */
.program-blob, .about-blue, .aud-bg { display: none; }
.m-aud, .m-about { background: none; }

/* hero: fade the light into the dark below instead of a hard cut */
.hero-fx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(transparent, var(--x-bg)); }
.m-hero { -webkit-mask-image: linear-gradient(#000 calc(100% - 110px), transparent); mask-image: linear-gradient(#000 calc(100% - 110px), transparent); }
.scroll-cue { color: var(--x-text); }

/* ---------- 3. Cards ----------
   Headline cards = "ticket" tiles: black top fading into a saturated colour, a white starburst,
   notched sides and a dashed perforation. Text-heavy blocks stay flat black with a hairline. */
:root {
  /* 8-point starburst: four long spikes + four short diagonal ones */
  --x-burst: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0Q51.3 48.7 100 50Q51.3 51.3 50 100Q48.7 51.3 0 50Q48.7 48.7 50 0Z'/%3E%3Cpath transform='translate(15 15) scale(.7) rotate(45 50 50)' d='M50 0Q51.6 48.4 100 50Q51.6 51.6 50 100Q48.4 51.6 0 50Q48.4 48.4 50 0Z'/%3E%3Ccircle cx='50' cy='50' r='5'/%3E%3C/svg%3E");
}
/* palettes: --t1 deep colour, --t2 bright corner, --tl label colour */
.res-red, .m-res-red, .note-pm, .m-note:nth-child(4n+1), .pain-before, .m-pain-before { --t1: #b0262e; --t2: #d8562c; --tl: #ffb347; }
.res-orange, .m-res-orange, .note-it, .m-note:nth-child(4n+2), .card-3, .m-card.featured { --t1: #a5430a; --t2: #c9681a; --tl: #ffa94d; }
.res-green, .m-res-green, .note-neit, .m-note:nth-child(4n+3), .pain-after, .m-pain-after { --t1: #0a6e50; --t2: #1c9a76; --tl: #3df5a0; }
.res-blue, .m-res-blue, .note-beginner, .m-note:nth-child(4n+4), .card-1, .m-card:nth-child(1) { --t1: #1a48b6; --t2: #2c7ad4; --tl: #58c0ff; }
.card-2, .m-card:nth-child(2) { --t1: #086c72; --t2: #1c9c90; --tl: #3df0d0; }
.note.note-not, .m-note.m-note-not { --t1: #2b2b31; --t2: #45454f; --tl: #b8b8c2; }

/* the tile itself */
.res-card, .note:not(.role-note), .card, .pain-col, .m-res, .m-note, .m-card, .m-pain-col {
  --nr: 15px;                         /* notch radius */
  position: relative; border: 0; border-radius: 28px; box-shadow: none;
  /* black top melting into the colour, a brighter corner bottom-left, film grain over it (like the reference tiles) */
  background:
    var(--x-grain-gray) 0 0 / 240px 240px,
    radial-gradient(85% 42% at 0% 100%, var(--t2, var(--t1)) 0, transparent 78%),
    linear-gradient(180deg, var(--x-bg) calc(var(--ny) * 0.42), color-mix(in srgb, var(--t1) 46%, var(--x-bg)) calc(var(--ny) + 24px), var(--t1) 100%);
  background-blend-mode: overlay, normal, normal;
  -webkit-mask: radial-gradient(circle var(--nr) at 0 var(--ny), #0000 96%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--nr) at 100% var(--ny), #0000 96%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle var(--nr) at 0 var(--ny), #0000 96%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle var(--nr) at 100% var(--ny), #0000 96%, #000) right / 51% 100% no-repeat;
}
.res-card::before, .note:not(.role-note)::before, .card::before, .pain-col::before,
.m-res::before, .m-note::before, .m-card::before, .m-pain-col::before {
  content: ""; position: absolute; left: 50%; top: var(--sy); width: var(--ss); height: var(--ss); translate: -50% 0;
  background: #fff;
  -webkit-mask: var(--x-burst) center / contain no-repeat; mask: var(--x-burst) center / contain no-repeat;
  pointer-events: none;
}
.res-card::after, .note:not(.role-note)::after, .card::after, .pain-col::after,
.m-res::after, .m-note::after, .m-card::after, .m-pain-col::after {
  content: ""; position: absolute; left: calc(var(--nr) + 10px); right: calc(var(--nr) + 10px); top: var(--ny); height: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.32); pointer-events: none;
}
/* the recommended tariff used to be a white card with a rainbow border (styles.css, higher specificity): give it the same tile */
.m-card.featured, .card.card-3 {
  border: 0;
  background:
    var(--x-grain-gray) 0 0 / 240px 240px,
    radial-gradient(85% 42% at 0% 100%, var(--t2) 0, transparent 78%),
    linear-gradient(180deg, var(--x-bg) calc(var(--ny) * 0.42), color-mix(in srgb, var(--t1) 46%, var(--x-bg)) calc(var(--ny) + 24px), var(--t1) 100%);
  background-blend-mode: overlay, normal, normal;
}
/* where the star / notch / text start, per card type (px of the 1920 canvas on desktop) */
.res-card  { --ny: 170px; --sy: 34px; --ss: 124px; padding: 208px 36px 40px; }
.aud-flow .note:not(.role-note) { --ny: 160px; --sy: 32px; --ss: 112px; padding: 198px 44px 42px; }
.pain-col  { --ny: 198px; --sy: 36px; --ss: 132px; padding: 236px 56px 52px; }
.card, .card-3 { --off: 0px; --ny: calc(178px + var(--off)); --sy: calc(30px + var(--off)); --ss: 108px; padding: calc(200px + var(--off)) 44px 44px; }
.card.has-bf { --off: 76px; padding-top: calc(200px + var(--off)); }
.m-res  { --ny: 104px; --sy: 20px; --ss: 76px; padding: 126px 16px 18px; }
.m-note { --ny: 100px; --sy: 20px; --ss: 68px; padding: 120px 22px 22px; }
.m-pain-col { --ny: 106px; --sy: 22px; --ss: 74px; padding: 128px 22px 26px; }
.m-card, .m-card.featured { --off: 0px; --ny: calc(116px + var(--off)); --sy: calc(22px + var(--off)); --ss: 76px; padding: calc(138px + var(--off)) 24px 28px; }
.m-card.has-bf { --off: 46px; padding-top: calc(138px + var(--off)); }

/* text on the tiles: white, uppercase titles (the reference's label + title rhythm) */
.res-note, .note p, .m-note p, .m-res-note, .card-tag, .m-card-tag, .price-week, .m-price-week, .card-pay, .m-card-pay { color: rgba(255, 255, 255, 0.86); }
.note h3, .m-note h3 { text-transform: uppercase; font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
.note h3 { font-size: 32px; }
.m-note h3 { font-size: 19px; }
.card-name, .m-card-name { text-transform: uppercase; font-weight: 500; letter-spacing: -0.02em; }
.card-name { font-size: 40px; }
.m-card-name { font-size: 20px; }
.res-card .res-num, .m-res .m-res-num { background: none; color: #fff; font-weight: 300; }
.res-card .res-label, .m-res .m-res-label { font-weight: 500; }
.note:hover, .card:hover, .res-card:hover { box-shadow: none; }
.note-pm, .note-it, .note-neit, .note-beginner, .note-not-1, .note-not-2 { transform: none; }
.m-note:nth-child(odd), .m-note:nth-child(even) { rotate: none; }

/* flat black surfaces for the text-heavy blocks */
.why-card, .results-cert, .lead, .rv-card, .waves-details, .role-note, .countdown,
.m-why-card, .m-results-cert, .m-lead-card, .m-rv-card, .m-role, .m-rev-slide {
  background: var(--x-flat); border: 1px solid var(--x-edge); box-shadow: none;
}
.results-cert, .role-note, .m-results-cert, .m-role { transform: none; rotate: none; border-radius: 16px; }
.role-note { padding: 26px 44px; }
.role-note::before { display: none; }
.results-cert { padding: 24px 48px 26px; }
.role-note h3, .m-role h3 { font-weight: 400; line-height: 1.2; }
.m-role { padding: 14px 24px; margin-top: -26px; }
.m-results-cert { padding: 14px 20px 15px; }
/* paperclips are gone */
.clip, .m-clip, svg.m-clip { display: none; }
.pain-before, .pain-after, .m-pain-before, .m-pain-after { box-shadow: none; }

/* ---------- 4. Type details ---------- */
.pull-mark, .m-pull-mark { color: var(--x-orange); }
.pull blockquote, .m-pull blockquote { font-weight: 300; letter-spacing: -0.05em; }
.price-now, .m-price-now { font-weight: 300; letter-spacing: -0.05em; }
.price-old, .m-price-old { color: rgba(246, 243, 238, 0.42); }
.faq-q { font-weight: 400; }

/* dashed hairlines */
.dash, .faq-item::after, .sched-row { background-image: repeating-linear-gradient(90deg, rgba(246, 243, 238, 0.22) 0 16px, transparent 16px 32px); }
.m-why-card .m-dash { background-image: repeating-linear-gradient(90deg, rgba(246, 243, 238, 0.22) 0 10px, transparent 10px 20px); }
.m-sched-title, .m-sched-row { border-bottom-color: rgba(246, 243, 238, 0.2); }

/* ---------- 5. Buttons: white pill + arrow; secondary = thin outline ---------- */
.hero-btn, .m-hero-btn {
  background: var(--x-text); color: var(--x-bg); border: 0; font-weight: 500; letter-spacing: -0.01em;
}
.hero-btn:hover, .m-hero-btn:hover { background: #fff; }
.hero-btn::after {
  content: ""; width: 38px; height: 12px; margin-left: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 12' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M0 6h36M31 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 12' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M0 6h36M31 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.hero-copy .hero-btn::after { margin-left: 0; }
.hero-btn:hover::after { transform: translateX(5px); }
.card-btn, .m-card .m-btn { background: #000; border: 0; color: #fff; font-weight: 500; }
.card-btn:hover, .m-card .m-btn:hover { background: #fff; color: #000; }
.card-3 .card-btn, .m-card.featured .m-btn { background: #fff; color: #000; }
.card-3 .card-btn:hover, .m-card.featured .m-btn:hover { background: #000; color: #fff; }
.lead-btn, .m-lead-btn { color: var(--x-text); border: 1px solid var(--x-line); font-weight: 500; }
.lead-btn:hover, .m-lead-btn:hover { background: var(--x-text); color: var(--x-bg); }
.contact-btn, .m-contact-btn { background: transparent; border: 1px solid var(--x-line); color: var(--x-text); font-weight: 500; }
.contact-btn:hover, .m-contact-btn:hover { background: var(--x-text); border-color: var(--x-text); color: var(--x-bg); transform: none; box-shadow: none; }
.modal-submit { background: var(--x-text); border: 0; color: var(--x-bg); font-weight: 500; }
.modal-submit:hover { background: #fff; transform: none; box-shadow: none; }
.sticky-cta { background: var(--x-text); color: var(--x-bg); font-weight: 500; box-shadow: none; }
.sticky-cta:hover { background: #fff; }
.to-top { background: rgba(16, 12, 18, 0.85); color: var(--x-text); border: 1px solid var(--x-line); box-shadow: none; }
.to-top:hover { background: var(--x-text); color: var(--x-bg); }

/* ---------- 6. Pricing extras (the tiles themselves live in section 3) ---------- */
.card-label, .m-card-label { background: #e0391f; font-weight: 500; }
.card-seats, .m-card-seats { background: rgba(246, 243, 238, 0.12); color: var(--x-text); }
.m-card-label { margin-bottom: 0; }
.feat-strong, .m-feat-strong { background: rgba(109, 200, 45, 0.16); }
.countdown { border-color: var(--x-edge); box-shadow: none; }
.countdown .cd-time { color: #ff6a4d; }
.countdown.is-bf { background: var(--x-surface); border-color: var(--x-edge); box-shadow: none; }
.bf-strip { background: #e0391f; }
.bf-strip::after { background: var(--x-bg); }
.bf-strip i { color: #fff; }

/* comparison tables */
.cmp-table, .m-cmp-table tbody { background: var(--x-glass); border: 1px solid var(--x-edge); box-shadow: none; }
.cmp-table th, .cmp-table td, .m-cmp-row { border-bottom-color: rgba(246, 243, 238, 0.1); }
.cmp-table .col-3, .m-cmp-row td:nth-of-type(3) { background: rgba(254, 126, 17, 0.08); }
.cmp-table thead .col-3 { background: #e0391f; }
.cmp-yes { color: #8be04a; }
.cmp-strong .col-3 strong, .m-cmp-strong td strong { color: #09070a; }
/* guarantee */
.guarantee, .m-guarantee { border: 1px solid var(--x-edge); background: var(--x-flat); box-shadow: none; }
.guarantee h3, .m-guarantee h3 { font-weight: 300; letter-spacing: -0.05em; }
.guarantee a:hover { color: var(--x-orange); }
.waves-table { border-top-color: rgba(246, 243, 238, 0.1); }
.waves-table th, .waves-table td { border-bottom-color: rgba(246, 243, 238, 0.08); }
.waves-table .is-past th, .waves-table .is-past td { color: rgba(246, 243, 238, 0.3); }
.waves-table .is-now th, .waves-table .is-now td { background: rgba(109, 200, 45, 0.14); }
.waves-sum:hover .waves-sum-btn { color: var(--x-orange); }

/* ---------- 7. Reviews, lead magnet, video ---------- */
.rv-chip, .m-rv-chip { background: none; border: 0; padding: 0; color: var(--tl, var(--x-orange)); font-size: 15px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.rv-card:nth-child(3n+1), .m-rv-card:nth-child(3n+1) { --tl: #ffa94d; }
.rv-card:nth-child(3n+2), .m-rv-card:nth-child(3n+2) { --tl: #3df0d0; }
.rv-card:nth-child(3n+3), .m-rv-card:nth-child(3n+3) { --tl: #c4a4ff; }
.rv-orig, .m-rv-orig { background: transparent; border: 1px solid var(--x-line); color: var(--x-text); }
.rv-orig:hover { background: var(--x-text); color: var(--x-bg); }
.m-rv-toggle { border-color: var(--x-line); }
.m-rev-slide-chart { border: 1px solid var(--x-edge); background: var(--x-flat); }
.m-rev-arrow { background: var(--x-surface); border-color: var(--x-edge); box-shadow: none; }
.m-rev-dot { background: rgba(246, 243, 238, 0.2); }
.lead-thumb { background: #1a141c; box-shadow: none; border: 1px solid var(--x-edge); }
.video-facade { border: 1px solid var(--x-edge); }
.video-play { background: rgba(246, 243, 238, 0.14); border: 1px solid rgba(246, 243, 238, 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
.video-facade:hover .video-play { background: rgba(246, 243, 238, 0.26); }

/* ---------- 8. Schedule + Gantt ---------- */
.schedule, .m-sched-card { background: var(--x-surface); border: 1px solid var(--x-edge); box-shadow: none; }
.gantt-ready .sched-tabs { background: rgba(246, 243, 238, 0.07); }
.sched-tabs button[aria-selected="true"] { background: var(--x-text); color: var(--x-bg); }
.g-track { background-image: linear-gradient(90deg, rgba(246, 243, 238, 0.08) 1px, transparent 1px); border-right-color: rgba(246, 243, 238, 0.08); }
.g-body .g-row { border-top-color: rgba(246, 243, 238, 0.16); }
.g-body .g-row:last-child { border-bottom-color: rgba(246, 243, 238, 0.16); }
.g-mo { border-left-color: rgba(246, 243, 238, 0.18); }
.gantt--sc .g-lab { background: var(--x-surface); box-shadow: none; border-right: 1px solid var(--x-edge); }
.g-ev { color: var(--x-text); background: rgba(246, 243, 238, 0.08); border-color: rgba(246, 243, 238, 0.4); }
.g-ev--red { background: rgba(248, 47, 27, 0.24); border-color: #ff5a43; }
.g-ev--orange { background: rgba(254, 126, 17, 0.24); border-color: var(--x-orange); }
.g-ev--green { background: rgba(109, 200, 45, 0.2); border-color: var(--x-green); }
.g-ev--blue { background: rgba(34, 133, 218, 0.26); border-color: #3b9bf0; }
.g-ev--ink { background: rgba(246, 243, 238, 0.1); border-color: rgba(246, 243, 238, 0.45); }
.g-ev--yellow, .g-ev--yellow.g-ev--qa { background: rgba(253, 218, 42, 0.16); border: 2px dashed var(--x-yellow); }
.g-ev--qa { background: var(--x-surface); border-color: var(--x-text); }
.gantt--d .g-ev:hover { box-shadow: none; }

/* ---------- 9. Footer ---------- */
.faq .footer, .m-footer { background: #050304; border-top: 1px solid var(--x-edge); }
.f-links a:hover { color: var(--x-orange); }

/* ---------- 10. Overlays: modal, lightbox, details dialog, cookie banner ---------- */
.modal-overlay, .rv-lightbox, .cal-pop { background: rgba(5, 3, 6, 0.76); }
.modal, .cal-pop-dlg, .rv-lb-dialog {
  background: #120e14; border: 1px solid var(--x-edge); color: var(--x-text);
}
.cal-pop-dlg { font-family: var(--x-font); }
.cal-pop h3 { font-family: var(--x-font); font-style: normal; font-weight: 300; letter-spacing: -0.045em; }
.modal-close, .rv-lb-close, .cal-pop-close { background: rgba(246, 243, 238, 0.08); color: var(--x-text); }
.modal-close:hover, .rv-lb-close:hover, .cal-pop-close:hover { background: var(--x-text); color: var(--x-bg); }
.modal-title { font-weight: 300; letter-spacing: -0.045em; }
.rv-lb-img { background: #1a141c; }
.cal-pop-tag { background: rgba(246, 243, 238, 0.08); border-color: rgba(246, 243, 238, 0.4); }
.cal-pop-tag.red { background: rgba(248, 47, 27, 0.24); border-color: #ff5a43; }
.cal-pop-tag.orange { background: rgba(254, 126, 17, 0.24); border-color: var(--x-orange); }
.cal-pop-tag.green { background: rgba(109, 200, 45, 0.2); border-color: var(--x-green); }
.cal-pop-tag.blue { background: rgba(34, 133, 218, 0.26); border-color: #3b9bf0; }
.cal-pop-tag.yellow { background: rgba(253, 218, 42, 0.16); border: 2px dashed var(--x-yellow); }
/* form fields */
.enroll-form input[type="text"], .enroll-form input[type="tel"], .enroll-form input[type="email"], .enroll-form textarea {
  background: rgba(246, 243, 238, 0.04); border-color: rgba(246, 243, 238, 0.2); color: var(--x-text);
}
.enroll-form input::placeholder, .enroll-form textarea::placeholder { color: rgba(246, 243, 238, 0.34); }
.star { color: rgba(246, 243, 238, 0.18); }
.radio { border-color: rgba(246, 243, 238, 0.2); }
.modal-secondary { background: transparent; border-color: rgba(246, 243, 238, 0.2); }
.modal-secondary:hover { background: rgba(246, 243, 238, 0.08); color: var(--x-text); border-color: var(--x-text); }
/* cookie banner (its styles are injected by analytics.js) */
body .ga-consent { background: #15101a; color: var(--x-text); border: 1px solid var(--x-edge); box-shadow: none; font-family: var(--x-font); }
body .ga-consent__text a { color: #7fb8f0; }
body .ga-consent__accept { background: var(--x-text); color: var(--x-bg); font-weight: 500; }
body .ga-consent__decline { color: var(--x-text-dim); }
.note h3.serif, .m-page .m-note h3.serif { font-weight: 500; }

/* ---------- no glows, anywhere: neutralise the old coloured hover/rest shadows from styles.css ---------- */
.hero-btn:hover, .m-hero-btn:hover, .btn-red:hover, .lead-btn:hover, .m-lead-btn:hover,
.contact-btn:hover, .m-contact-btn:hover, .m-card.featured, .card-3, .modal, .cal-pop-dlg, .rv-lb-dialog,
.lead-card:hover .lead-thumb, .lead-card:focus-visible .lead-thumb, .why-video .video-facade, .m-why-video .video-facade { box-shadow: none; }
.pain-arrow svg path, .m-pain-arrow svg path { stroke: var(--x-text); }
/* bullets on coloured tiles are white (a red star on a red tile disappears) */
.pain-star, .pain-star-red, .pain-star-green, .m-pain-col .m-star, .m-features .m-star { background: #fff; }
.features svg path { fill: #fff; }
.feat-strong, .m-feat-strong { background: rgba(0, 0, 0, 0.22); }

/* ---------- WebGL light (prism-fx.js). When it runs, it replaces the CSS fan above; the fan stays as the no-WebGL fallback ---------- */
.fx-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fx-gl-on > .fx-fan, .fx-gl-on > .fx-grain { display: none; }
/* mobile: give the light more room above/below the art box and feather the canvas edges so there is no seam */
.m-fx.fx-gl-on { inset: -120px -20px; }
.m-fx .fx-gl {
  -webkit-mask-image: linear-gradient(transparent, #000 90px, #000 calc(100% - 90px), transparent);
          mask-image: linear-gradient(transparent, #000 90px, #000 calc(100% - 90px), transparent);
}
@media (min-width: 768px) { .m-fx.fx-gl-on { inset: -140px -32px; } }

/* ---------- final call to action: a spectral arc behind fluted glass, rising from the footer edge ---------- */
.final-cta { position: relative; padding-bottom: 130px; isolation: isolate; }
.faq .footer { margin-top: 140px; position: relative; z-index: 1; }
.final-fx { position: absolute; left: -260px; width: 1920px; top: -60px; bottom: -140px; z-index: -1; pointer-events: none; }
.m-final { position: relative; padding-bottom: 190px; overflow: hidden; isolation: isolate; }
.m-final-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final-fx .fx-gl, .m-final-fx .fx-gl {
  -webkit-mask-image: linear-gradient(transparent, #000 35%);
          mask-image: linear-gradient(transparent, #000 35%);
}
/* no WebGL: a soft static spectrum glow instead */
.final-fx:not(.fx-gl-on), .m-final-fx:not(.fx-gl-on) {
  background: radial-gradient(60% 90% at 50% 118%, var(--x-red) 0, var(--x-orange) 22%, var(--x-green) 44%, var(--x-blue) 62%, var(--x-violet) 76%, transparent 92%);
  opacity: 0.55; filter: blur(30px);
}

/* ---------- "Програма курсу" (desktop): the site's dim, grainy rainbow, curving in from the left edge beside the heading ---------- */
.band-program { isolation: isolate; }
.band-program::before, .band-program::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 0; top: -160px; bottom: 260px; width: 1000px;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 74%, transparent), linear-gradient(90deg, #000 45%, transparent 92%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(transparent, #000 22%, #000 74%, transparent), linear-gradient(90deg, #000 45%, transparent 92%);
          mask-composite: intersect;
}
.band-program::before {
  background: radial-gradient(ellipse 78% 62% at -6% 58%,
    transparent 50%, var(--x-violet) 57%, var(--x-blue) 62%, var(--x-teal) 66%, var(--x-green) 70%,
    var(--x-yellow) 75%, var(--x-orange) 80%, var(--x-red) 85%, transparent 96%);
  filter: blur(46px) saturate(1.05); opacity: 0.5;
}
.band-program::after { background: var(--x-grain) 0 0 / 240px 240px; opacity: 0.34; mix-blend-mode: overlay; }


/* one light grain for the whole page (body::after): the mobile hero no longer adds its own heavier layer on top */
.m-hero::before, .m-hero::after { display: none; }

/* prism star: always fully opaque, it only "breathes" in size */
@keyframes x-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.13; } }
.hero-star, .m-hero-art .m-prism { opacity: 1; animation: x-breathe 5s ease-in-out infinite; }

/* certificate line under the result tiles: a plain caption with a small star, not a box (the box read as a button) */
.results-cert, .m-results-cert {
  background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none;
  display: flex; width: fit-content; align-items: center; gap: 0.5em; margin-inline: auto;
  color: var(--x-text-dim); font-weight: 400; letter-spacing: -0.02em;
}
.results-cert { font-size: 28px; margin-top: 72px; }
.results-cert::before, .m-results-cert::before {
  content: ""; flex: 0 0 auto; width: 0.62em; height: 0.62em; background: var(--x-orange);
  -webkit-mask: var(--x-star) center / contain no-repeat; mask: var(--x-star) center / contain no-repeat;
}

/* ---------- reviews block: a dim, grainy rainbow arc on the page behind the review cards (the cards stay black) ----------
   The block is very tall, so the arc lives in a fixed-height area at its top instead of stretching with it. */
.band-social { isolation: isolate; }
.band-social::before, .m-students::before, .band-social::after, .m-students::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 0; right: 0; top: -60px; height: 1500px;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.band-social::before, .m-students::before {
  background: radial-gradient(ellipse 125% 150% at 82% 128%,
    transparent 50%, var(--x-violet) 57%, var(--x-blue) 62%, var(--x-teal) 66%, var(--x-green) 70%,
    var(--x-yellow) 75%, var(--x-orange) 80%, var(--x-red) 85%, transparent 96%);
  filter: blur(46px) saturate(1.05); opacity: 0.5;
}
/* extra grain only where the rainbow is, so it reads like print on the light and stays quiet on the black */
.band-social::after, .m-students::after {
  background: var(--x-grain) 0 0 / 240px 240px; opacity: 0.34; mix-blend-mode: overlay;
}
.m-students::before, .m-students::after { top: -80px; height: 900px; }
.m-students::before { filter: blur(30px) saturate(1.05); }
.m-students { overflow-x: clip; }

/* ---------- the same dim, grainy rainbow behind three more dark blocks: the intro video, the schedule card, the guarantee ----------
   Each block sets where the arc's centre sits (--rb-at), how big it is (--rb-size) and how far it spills past the block (--rb-inset). */
.why-video, .m-why-video, .band-sched, .m-sched { position: relative; isolation: isolate; }
.guarantee, .m-guarantee { position: relative; }
.why-video::before, .m-why-video::before, .band-sched::before, .m-sched::before, .guarantee::before, .m-guarantee::before,
.why-video::after, .m-why-video::after, .band-sched::after, .m-sched::after, .guarantee::after, .m-guarantee::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: var(--rb-inset);
  -webkit-mask-image: var(--rb-mask); mask-image: var(--rb-mask);
}
.why-video::before, .m-why-video::before, .band-sched::before, .m-sched::before, .guarantee::before, .m-guarantee::before {
  background: radial-gradient(ellipse var(--rb-size) at var(--rb-at),
    transparent 50%, var(--x-violet) 57%, var(--x-blue) 62%, var(--x-teal) 66%, var(--x-green) 70%,
    var(--x-yellow) 75%, var(--x-orange) 80%, var(--x-red) 85%, transparent 96%);
  filter: blur(var(--rb-blur, 46px)) saturate(1.05); opacity: var(--rb-o, 0.5);
}
.why-video::after, .m-why-video::after, .band-sched::after, .m-sched::after, .guarantee::after, .m-guarantee::after {
  background: var(--x-grain) 0 0 / 240px 240px; opacity: 0.34; mix-blend-mode: overlay;
}
/* video: a rainbow rising behind the frame */
.why-video, .m-why-video {
  --rb-at: 50% 132%; --rb-size: 62% 125%; --rb-inset: -200px -420px -120px;
  --rb-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 45%, transparent 100%);
}
.m-why-video { --rb-inset: -90px -20px -60px; --rb-blur: 28px; --rb-size: 80% 125%; }
/* schedule: mirrored against the lectures block (arc climbs from the right) */
.band-sched, .m-sched {
  --rb-at: 16% 128%; --rb-size: 125% 150%; --rb-inset: -220px 0 -40px;
  --rb-mask: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.m-sched { --rb-inset: -120px 0 -20px; --rb-blur: 30px; overflow-x: clip; }
/* guarantee: a quieter, smaller arc */
.guarantee, .m-guarantee {
  --rb-at: 50% 140%; --rb-size: 58% 135%; --rb-inset: -150px -300px -110px; --rb-o: 0.42;
  --rb-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 40%, transparent 100%);
}
.m-guarantee { --rb-inset: -80px -20px -60px; --rb-blur: 28px; --rb-size: 85% 135%; }

/* ---------- mobile / tablet: room for the hero light, and more air between blocks ---------- */
/* the light now flares tall, so the art box is taller and starts lower: nothing sits under the price line,
   and the hero's bottom fade begins below the light instead of cutting it */
.m-hero-art { height: 400px; margin-top: 40px; }
.m-hero { padding-bottom: 150px; }
.m-pain { padding-top: 96px; }       /* before "Що зміниться після курсу" */
.m-why { padding-top: 112px; }       /* before "Чому саме цей курс?" */
.m-program { padding-top: 56px; padding-bottom: 120px; }   /* before "Програма курсу", and after it */
@media (min-width: 768px) {
  .m-hero-art { height: 500px; margin-top: 48px; }
}


/* =====================================================================
   CONSISTENCY PASS (mobile / tablet / desktop)
   One gutter, one vertical rhythm, three heading tiers, one panel radius, one button height.
   ===================================================================== */

/* ---------- mobile + tablet: gutters and the gap between blocks ---------- */
:root { --m-gut: 20px; --m-sec: 112px; }
@media (min-width: 768px) { :root { --m-gut: 32px; --m-sec: 128px; } }

/* the same side margin for the header, hero, every block and the footer (the schedule used 14px, the tablet blocks 20px next to a 32px header) */
.m-page > .m-header, .m-page > .m-hero, .m-page > .m-footer, .m-page > section { padding-left: var(--m-gut); padding-right: var(--m-gut); }

/* the gap between two blocks is always --m-sec: the next block owns it (padding-top), the previous one adds nothing */
.m-results, .m-pain, .m-why, .m-aud, .m-program, .m-lead, .m-about, .m-students, .m-sched, .m-pricing, .m-pay, .m-faq { padding-bottom: 0; }
.m-pain, .m-why, .m-aud, .m-program, .m-lead, .m-about, .m-students, .m-sched, .m-pricing, .m-pay, .m-faq, .m-final { padding-top: var(--m-sec); }

/* ---------- mobile + tablet: heading tiers ----------
   main      30 -> 48   section titles, "про мене"
   secondary 26 -> 34   lead lines of a block, comparison, guarantee, lead magnet
   tertiary  23 -> 30   sub-heads inside a block (not for you, schedule, now/after) */
.m-about-title { font-size: clamp(30px, 6.5vw, 48px); line-height: 1.1; }
.m-results-lead, .m-pain-lead, .m-lead-title, .m-cmp h3, .m-guarantee h3 { font-size: clamp(26px, 6.4vw, 34px); line-height: 1.1; }
.m-not-title, .m-sched-title { font-size: clamp(23px, 5.4vw, 30px); line-height: 1.1; }

/* ---------- radii ----------
   tiles 28 · panels 16 (mobile/tablet) / 24 (desktop) · pills 999 */
.m-sched-card, .m-guarantee { border-radius: 16px; }
.guarantee { border-radius: 24px; }

/* ---------- buttons ---------- */
.m-btn:not(.m-cta), .m-contact-btn { min-height: 48px; }
.m-contact-btn { font-size: 16px; padding: 12px 28px; }
/* desktop: section-level CTAs share one size (the lead-magnet button was 26px, the rest 28px) */
.lead-btn { font-size: 28px; padding: 20px 40px; }
.final-cta h2 { font-size: 80px; line-height: 1; }

/* tablet: every block sits in the same column (was 640 / 720 / 796 / 936 / 960 wide at 1024px) */
.m-pricing, .m-pay, .m-faq { max-width: none; }
.m-lead-card, .m-sched-card { max-width: none; }
.m-hero-btn { padding-block: 13px; }

/* phone: less black between the end of the hero light and "Що є в цьому курсі" */
@media (max-width: 767px) {
  .m-hero { padding-bottom: 50px; -webkit-mask-image: linear-gradient(#000 calc(100% - 60px), transparent); mask-image: linear-gradient(#000 calc(100% - 60px), transparent); }
  .m-results { padding-top: 40px; }
}
