/* =====================================================================
   AI INTERIOR BUNDLE — styles.css
   ===================================================================== */

/* ============================== TOKENS ============================== */
:root {
  --paper: #ffffff;
  --paper-2: #fcfcfb;
  --ivory: #faf8f4;
  --mist: #f5f5f7;
  --mist-2: #efeff4;

  --line: #e7e7ee;
  --line-soft: #f0f0f4;

  --ink: #15151c;
  --ink-2: #383844;
  --ink-3: #6f6f7d;
  --ink-4: #9a9aa8;

  --accent: #635bf0;
  --accent-2: #7f6cf7;
  --accent-deep: #4c43d6;
  --accent-soft: #f1efff;
  --accent-line: #dcd8ff;

  --sage: #ebf4ee;
  --sage-ink: #2f6b47;
  --sage-line: #d3e7da;
  --sand: #f6f0e7;
  --blue-soft: #eef4fd;

  --graphite: #1b1b23;
  --graphite-2: #26262f;

  --grad-cta: linear-gradient(135deg, #6a5ff3 0%, #5a55ea 45%, #4f6ef0 100%);
  --grad-text: linear-gradient(100deg, #5a4ff0 0%, #8a6cf7 48%, #5b86f2 100%);
  --grad-soft: radial-gradient(60% 60% at 70% 30%, rgba(122, 108, 247, .14), transparent 70%);

  --f-display: "Instrument Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(20, 20, 40, .04), 0 2px 8px rgba(20, 20, 40, .04);
  --sh-2: 0 2px 6px rgba(20, 20, 40, .04), 0 12px 32px -8px rgba(30, 28, 70, .10);
  --sh-3: 0 4px 12px rgba(20, 20, 40, .05), 0 32px 64px -20px rgba(40, 34, 110, .20);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 136px);
  --header-h: 108px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ============================== RESET ============================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) - 20px);
}
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
s { text-decoration-thickness: 1.5px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--accent-line); color: var(--ink); }

/* ============================== LAYOUT ============================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }

.section-head {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-head--left { justify-items: start; text-align: left; margin-inline: 0; }
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.section-head p { color: var(--ink-3); font-size: clamp(16px, 1.4vw, 18px); max-width: 56ch; }
.section-head a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-2);
  line-height: 1;
}
.badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.badge--accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-deep); }

.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.discount-tag {
  display: inline-flex; align-items: center;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.annotation {
  font-family: var(--f-hand);
  font-weight: 500;
  color: var(--accent-deep);
  line-height: 1.05;
}

/* TODO placeholder look — visible while data is missing */
.todo {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  background: repeating-linear-gradient(-45deg, var(--mist) 0 8px, var(--paper) 8px 16px);
  border: 1px dashed var(--line);
  border-radius: var(--r-xs);
  padding: 4px 8px;
}

/* ============================== BUTTONS ============================== */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  color: #fff;
  background: var(--grad-cta);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 22px -8px rgba(83, 74, 230, .65), 0 2px 4px rgba(40, 30, 120, .12);
}
.btn--primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 30px -10px rgba(83, 74, 230, .7), 0 2px 4px rgba(40, 30, 120, .12); transform: translateY(-1px); }
.btn--ghost { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent-line); }
.btn--sm { --btn-h: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { --btn-h: 58px; padding: 0 30px; font-size: 16.5px; }
.btn--block { width: 100%; }

.arrow-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.arrow-btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }

/* ============================== HEADER ============================== */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.salebar {
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  overflow: hidden;
  max-height: 44px;
  transition: max-height .35s var(--ease), opacity .3s var(--ease);
}
.salebar__inner {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 38px;
}
.salebar__main { font-weight: 600; }
.salebar__sub { color: #c9c6ff; }
.salebar__timer { font-family: var(--f-mono); font-size: 12.5px; color: #fff; background: rgba(255,255,255,.08); padding: 3px 8px; border-radius: 6px; }
.salebar__cta { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); font-weight: 500; }
.salebar__cta:hover { text-decoration-color: #fff; }
.site-header.is-scrolled .salebar { max-height: 0; opacity: 0; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(252, 252, 251, .78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(20, 20, 40, .25);
}
.site-header.is-scrolled .nav { height: 62px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
}
.logo--light .logo__mark { background: #fff; color: var(--ink); }
.logo--light .logo__text { color: #fff; }

.nav__menu { display: flex; align-items: center; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__list a:hover { color: var(--ink); background: rgba(20, 20, 40, .045); }
.nav__menu-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 1.8px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(48px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 85% 20%, rgba(120, 108, 247, .12), transparent 70%),
    radial-gradient(35% 40% at 8% 55%, rgba(120, 170, 240, .09), transparent 70%),
    var(--paper-2);
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 20%, transparent 75%);
  opacity: .9;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__badge { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__badge-text { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); }

.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 5.1vw, 74px);
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--ink);
}
.hero__title .text-grad { padding-right: .04em; }
.hero__lead {
  max-width: 50ch;
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
}
.hero__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 28px;
}
.hero__perks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.hero__perks svg {
  width: 32px; height: 32px; padding: 7px; flex: none;
  border-radius: 10px;
  color: var(--accent);
  background: var(--paper);
  border: 1px solid var(--line);
}
.hero__buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }

.price-inline { display: inline-flex; align-items: baseline; gap: 12px; }
.price-inline__now {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -.03em;
  line-height: 1;
}
.price-inline__old { color: var(--ink-4); font-size: 20px; font-weight: 500; }
.price-inline .discount-tag { align-self: center; }
.price-inline--lg .price-inline__now { font-size: clamp(44px, 5vw, 56px); }

.hero__note { font-size: 13.5px; color: var(--ink-3); }

.social-proof {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .7);
}
.social-proof__avatars { display: flex; }
.social-proof__avatars > * {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(135deg, var(--mist-2), var(--accent-soft));
  object-fit: cover;
}
.social-proof__avatars > :first-child { margin-left: 0; }
.social-proof__rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.social-proof__rating svg { width: 15px; height: 15px; color: #f2b01e; }
.social-proof__text { font-size: 13.5px; color: var(--ink-3); }

/* ---- hero visual ---- */
.hero__visual { position: relative; }
.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
}
.hero-card__lines {
  position: absolute; inset: -28px;
  width: calc(100% + 56px); height: calc(100% + 56px);
  color: var(--accent-line);
  pointer-events: none;
  z-index: -1;
}
.ai-node {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px rgba(99, 91, 240, .12);
  z-index: -1;
}
.ai-node--1 { top: -34px; left: 18%; }
.ai-node--2 { bottom: -34px; right: 30%; }

/* Before / After */
.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden;
  background: var(--mist);
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.compare__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__img--after { transition: opacity .35s var(--ease); }
.compare__img--after.is-swapping { opacity: .2; }
.compare__before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__label {
  position: absolute; top: 16px; z-index: 2;
  padding: 7px 11px;
  border-radius: var(--r-pill);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.compare__label--before { left: 16px; background: rgba(20, 20, 28, .55); color: #fff; }
.compare__label--after { right: 16px; background: rgba(255, 255, 255, .8); color: var(--accent-deep); }
.compare__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 20, 40, .06), 0 0 18px rgba(20, 20, 40, .25);
  z-index: 2;
  pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 6px 20px rgba(20, 20, 40, .22);
  transition: transform .2s var(--ease);
}
.compare__knob svg { width: 22px; height: 22px; }
.compare__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none; /* dragging handled by pointer events on .compare; range = keyboard */
}
.compare:has(.compare__range:focus-visible) .compare__knob { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare:hover .compare__knob { transform: scale(1.06); }

/* Variants strip */
.variants { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.variant {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--mist);
  box-shadow: var(--sh-1);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.variant img { width: 100%; height: 100%; object-fit: cover; }
.variant:hover { transform: translateY(-2px); }
.variant[aria-pressed="true"] { border-color: var(--accent); }
.variant__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 4px 3px; font-size: 9.5px; font-weight: 600; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.45)); line-height: 1.1; }
.variants__caption { font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; color: var(--ink-3); text-align: center; line-height: 1.3; }

.annotation--hero {
  position: absolute;
  left: -34px; bottom: -58px;
  display: flex; align-items: flex-start; gap: 4px;
  font-size: 25px;
  transform: rotate(-4deg);
  max-width: 260px;
}
.annotation--hero svg { width: 56px; height: 30px; flex: none; transform: rotate(-120deg) scaleX(-1); margin-top: -18px; color: var(--accent); }

/* ============================== METRICS ============================== */
.metrics { padding-block: clamp(24px, 4vw, 48px) 0; }
.metrics__card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 26px 24px;
  border-left: 1px solid var(--line-soft);
}
.metric:first-child { border-left: 0; }
.metric svg { grid-row: 1 / 3; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.metric strong { font-family: var(--f-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.metric span { font-size: 13.5px; color: var(--ink-3); line-height: 1.3; }

/* ============================== TOOLS ============================== */
.tools { padding-block: clamp(40px, 5vw, 64px) 0; }
.tools__inner {
  display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; justify-content: center;
}
.tools__title { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--ink-3); }
.tools__list { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; }
.tools__list li {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
}
.tools__list li.tools__more { border: 0; background: none; padding-inline: 6px; font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--ink-4); }

/* ============================== COURSES ============================== */
.courses { position: relative; }
.courses__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.course-card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--accent-line); }
.course-card:hover .course-card__media img { transform: scale(1.03); }
.course-card:hover .arrow-btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.course-card:hover .arrow-btn svg { transform: translateX(2px); }

.course-card__media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mist), var(--sand));
  margin: 8px 8px 0;
  border-radius: calc(var(--r-lg) - 8px);
}
.course-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.course-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.course-card__num { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; }
.course-card__num--bonus { letter-spacing: .12em; }
.course-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.22; letter-spacing: -.015em; }
.course-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.course-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.lesson-chip {
  font-family: var(--f-mono);
  font-size: 11.5px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: var(--mist);
  color: var(--ink-2);
  line-height: 1.2;
}
.lesson-chip.is-todo { background: repeating-linear-gradient(-45deg, var(--mist) 0 6px, var(--paper) 6px 12px); border: 1px dashed var(--line); color: var(--ink-3); }
.lesson-chip--accent { background: var(--accent-soft); color: var(--accent-deep); }

.course-card--bonus {
  background: linear-gradient(160deg, #f6f4ff 0%, #ffffff 60%);
  border-color: var(--accent-line);
}

/* ---- media engine: slider ---- */
.slider { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; }
.slider__track { display: flex; height: 100%; transition: transform .7s var(--ease-out); will-change: transform; }
.slider__slide { flex: 0 0 100%; height: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__btn {
  position: absolute; top: 50%; z-index: 2;
  width: 34px; height: 34px; margin-top: -17px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  box-shadow: var(--sh-1);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.slider__btn svg { width: 16px; height: 16px; }
.slider__btn--prev { left: 10px; } .slider__btn--prev svg { transform: rotate(180deg); }
.slider__btn--next { right: 10px; }
.slider:hover .slider__btn, .slider:focus-within .slider__btn { opacity: 1; }
@media (hover: none) { .slider__btn { opacity: 1; } }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 4px; }
.slider__dot {
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.slider__dot::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: width .3s var(--ease), background-color .3s var(--ease); }
.slider__dot[aria-current="true"]::before { width: 18px; background: #fff; }

/* ---- media engine: video ---- */
.video-frame { position: absolute; inset: 0; background: var(--graphite); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-facade {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  width: 100%;
  background: linear-gradient(135deg, var(--mist), var(--accent-soft));
}
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: relative; z-index: 1;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--accent-deep);
  box-shadow: 0 10px 30px rgba(20, 20, 40, .2);
  transition: transform .25s var(--ease);
}
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }
.video-facade:hover .play-btn { transform: scale(1.06); }

/* ============================== FOR WHOM ============================== */
.for-whom { background: var(--paper); border-block: 1px solid var(--line-soft); }
.whom__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.whom-card {
  grid-column: span 2;
  position: relative;
  display: grid; align-content: start; gap: 10px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.whom-card:nth-child(4), .whom-card:nth-child(5) { grid-column: span 3; }
.whom-card:nth-child(1) { background: linear-gradient(160deg, var(--accent-soft), var(--paper) 70%); }
.whom-card:nth-child(3) { background: linear-gradient(160deg, var(--sand), var(--paper) 70%); }
.whom-card:nth-child(5) { background: linear-gradient(160deg, var(--sage), var(--paper) 70%); }
.whom-card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 14px;
}
.whom-card__icon svg { width: 24px; height: 24px; }
.whom-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: -.015em; line-height: 1.2; }
.whom-card p { color: var(--ink-3); font-size: 15.5px; max-width: 40ch; }
.whom-card::after {
  content: ""; position: absolute; right: -30px; bottom: -30px;
  width: 120px; height: 120px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: .8;
}

/* ============================== REVIEWS ============================== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.review-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 8px 8px 16px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.review-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--r-lg) - 8px);
  overflow: hidden;
  background: var(--mist);
}
.review-card__media > img { width: 100%; height: 100%; object-fit: cover; }
.review-card__meta { padding: 0 10px; display: grid; gap: 2px; }
.review-card__title { font-weight: 600; font-size: 15px; }
.review-card__caption { font-size: 14px; color: var(--ink-3); }
.review-card__kind { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-4); }

.review-card.is-placeholder .review-card__media {
  display: grid; place-items: center; align-content: center; gap: 12px;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper-2);
  border: 1px dashed var(--line);
}
.review-card.is-placeholder .review-card__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--accent);
}
.review-card.is-placeholder .review-card__icon svg { width: 22px; height: 22px; }
.review-card.is-placeholder .review-card__todo { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }

/* ============================== GUARANTEE ============================== */
.guarantee { padding-block: 0; }
.guarantee__card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(255, 255, 255, .8), transparent 60%),
    var(--sage);
  border: 1px solid var(--sage-line);
}
.guarantee__main { display: flex; gap: 24px; align-items: flex-start; }
.guarantee__shield {
  display: grid; place-items: center; flex: none;
  width: 72px; height: 72px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--sage-ink);
  box-shadow: var(--sh-1);
}
.guarantee__shield svg { width: 36px; height: 36px; }
.guarantee h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 12px; text-wrap: balance; }
.guarantee p { color: var(--ink-2); max-width: 52ch; }
.guarantee a { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }
.guarantee__items { display: grid; gap: 10px; }
.guarantee__items li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .9);
}
.guarantee__items svg { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--sage-ink); }
.guarantee__items strong { font-weight: 600; font-size: 15.5px; }
.guarantee__items span { font-size: 13.5px; color: var(--ink-3); }

/* ============================== BONUSES ============================== */
.bonus__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bonus-card {
  display: grid; align-content: start; gap: 8px;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.bonus-card svg { width: 44px; height: 44px; padding: 10px; margin-bottom: 14px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.bonus-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.bonus-card p { color: var(--ink-3); font-size: 15px; }

/* ============================== PRICING ============================== */
.pricing {
  position: relative;
  background:
    radial-gradient(50% 60% at 25% 50%, rgba(122, 108, 247, .10), transparent 70%),
    var(--paper);
  border-block: 1px solid var(--line-soft);
}
.pricing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* mockup composition */
.mockup { position: relative; aspect-ratio: 1 / .86; }
.mockup__glow { position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(122, 108, 247, .22), transparent); filter: blur(10px); }
.mockup__laptop { position: absolute; left: 16%; top: 4%; width: 78%; z-index: 1; }
.mockup__screen {
  aspect-ratio: 16 / 10.4;
  border-radius: 14px 14px 4px 4px;
  background: var(--graphite);
  padding: 2.4% 2.4% 0;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.mockup__ui-bar { height: 7%; display: flex; gap: 5px; align-items: center; padding-left: 8px; background: #fff; border-radius: 6px 6px 0 0; }
.mockup__ui-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--mist-2); }
.mockup__ui { display: grid; grid-template-columns: 1fr 24%; gap: 3%; height: 93%; padding: 3%; background: #fff; }
.mockup__ui { min-height: 0; }
.mockup__ui img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 6px; }
.mockup__ui-side { display: grid; gap: 7%; align-content: start; }
.mockup__ui-side span { height: 16px; border-radius: 4px; background: var(--mist); }
.mockup__ui-side span:first-child { background: var(--accent-soft); height: 22px; }
.mockup__base { height: 12px; margin: 0 -6%; border-radius: 2px 2px 14px 14px; background: linear-gradient(#e6e6ec, #c9c9d2); box-shadow: 0 10px 20px -8px rgba(20,20,40,.35); }

.mockup__box { position: absolute; left: 0; top: 34%; width: 32%; aspect-ratio: 3 / 3.9; z-index: 2; }
.mockup__box::before, .mockup__box::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.mockup__box::before { transform: translate(9px, -9px); background: #3b3a52; }
.mockup__box::after { transform: translate(18px, -18px); background: #51507a; z-index: -1; }
.mockup__box::before { z-index: -1; }
.mockup__box-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14%;
  border-radius: 10px;
  color: #fff;
  background:
    radial-gradient(80% 60% at 80% 10%, rgba(165, 157, 255, .45), transparent 70%),
    linear-gradient(160deg, #2b2a3a, #16161e);
  box-shadow: var(--sh-3);
}
.mockup__box-logo svg { width: clamp(24px, 3vw, 36px); height: clamp(24px, 3vw, 36px); }
.mockup__box-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(15px, 2vw, 26px); line-height: 1.02; letter-spacing: -.02em; }
.mockup__box-meta { font-family: var(--f-mono); font-size: clamp(8px, .8vw, 10.5px); opacity: .75; letter-spacing: .03em; }

.mockup__tablet {
  position: absolute; right: 0; bottom: 3%; width: 38%; aspect-ratio: 4 / 3; z-index: 2;
  padding: 3.4%;
  border-radius: 16px;
  background: #22222b;
  box-shadow: var(--sh-3);
}
.mockup__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4%; height: 100%; padding: 4%; border-radius: 8px; background: #fff; }
.mockup__gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 4px; }

.mockup__phone {
  position: absolute; left: 36%; bottom: 0; width: 16%; aspect-ratio: 9 / 18.5; z-index: 3;
  padding: 3px;
  border-radius: 18px;
  background: #1e1e26;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.mockup__phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.mockup__phone-chip { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); padding: 3px 8px; border-radius: 99px; background: #fff; color: var(--accent-deep); font-family: var(--f-mono); font-size: 9px; }

/* price card */
.price-card {
  position: relative;
  display: grid; gap: 18px; justify-items: start;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
}
.price-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, var(--accent-line), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.price-card__title { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.015em; }
.price-card__price { display: flex; align-items: flex-end; gap: 16px; }
.price-card__now { font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 7vw, 88px); line-height: .9; letter-spacing: -.05em; }
.price-card__was { display: grid; gap: 6px; justify-items: start; padding-bottom: 6px; }
.price-card__was s { color: var(--ink-4); font-size: 20px; font-weight: 500; }
.price-card__sub { color: var(--ink-3); font-size: 14.5px; margin-top: -6px; }
.checklist { display: grid; gap: 11px; width: 100%; padding: 20px 0; border-block: 1px solid var(--line-soft); }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.checklist svg { width: 22px; height: 22px; padding: 4px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.price-card__trust { display: flex; align-items: center; gap: 8px; justify-content: center; width: 100%; font-size: 13px; color: var(--ink-3); }
.price-card__trust svg { width: 15px; height: 15px; }

/* ============================== FAQ ============================== */
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq .section-head { position: sticky; top: calc(var(--header-h) + 16px); margin-bottom: 0; }
.accordion { display: grid; gap: 10px; }
.acc-item {
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.acc-item.is-open { border-color: var(--accent-line); box-shadow: var(--sh-1); }
.acc-item h3 { font: inherit; }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
  border-radius: var(--r-md);
}
.acc-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--mist); transition: background-color .25s var(--ease), transform .35s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.8px; margin: -.9px 0 0 -5.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), background-color .25s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--accent); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-icon::before, .acc-btn[aria-expanded="true"] .acc-icon::after { background: #fff; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s;
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
.acc-panel__inner { overflow: hidden; min-height: 0; }
.acc-panel p { padding: 0 22px 22px; color: var(--ink-2); max-width: 64ch; }
.acc-panel a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================== FINAL CTA ============================== */
.final-cta { padding-bottom: var(--section-y); }
.final-cta__card {
  position: relative;
  display: grid; align-items: center;
  min-height: 560px;
  padding: clamp(32px, 6vw, 80px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background: #fbf8f3;
  box-shadow: var(--sh-3);
}
.final-cta__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 66%; height: 100%; object-fit: cover; object-position: 60% 60%; z-index: -2; }
.final-cta__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #fbf8f3 0%, #fbf8f3 34%, rgba(251, 248, 243, .75) 46%, rgba(251, 248, 243, 0) 64%);
}
.final-cta__content { display: grid; gap: 22px; justify-items: start; max-width: 560px; }
.final-cta h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.final-cta p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.annotation--final {
  position: absolute; right: clamp(24px, 5vw, 64px); bottom: clamp(24px, 4vw, 48px);
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 24px;
  transform: rotate(-3deg);
  box-shadow: var(--sh-1);
}

/* ============================== FOOTER ============================== */
.site-footer {
  background: var(--graphite);
  color: #b6b6c3;
  padding-top: clamp(56px, 7vw, 88px);
  font-size: 15px;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand { display: grid; gap: 16px; align-content: start; max-width: 340px; }
.footer__support a { color: #fff; }
.footer__h { font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; color: #7f7f8e; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer nav a { transition: color .2s var(--ease); }
.site-footer nav a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: #80808f;
}
.site-footer :focus-visible { outline-color: #a59dff; }

/* ============================== STICKY CTA ============================== */
.sticky-cta {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px -12px rgba(20, 20, 60, .35);
  transform: translateY(calc(100% + 40px));
  transition: transform .45s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__price { display: flex; align-items: baseline; gap: 8px; }
.sticky-cta__price strong { font-family: var(--f-display); font-size: 24px; letter-spacing: -.03em; }
.sticky-cta__price s { font-size: 14px; color: var(--ink-4); }

/* ============================== REVEAL ============================== */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================== THANK YOU ============================== */
.page-simple { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper-2); }
.page-simple main { flex: 1; }
.page-simple .site-header { position: sticky; background: rgba(252, 252, 251, .85); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ty {
  position: relative;
  padding-block: clamp(56px, 9vw, 120px);
  background: radial-gradient(50% 50% at 50% 0%, rgba(122, 108, 247, .12), transparent 70%);
}
.ty__card {
  max-width: 680px; margin-inline: auto;
  display: grid; gap: 22px; justify-items: center; text-align: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
}
.ty__check {
  display: grid; place-items: center;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--sage-ink);
  box-shadow: 0 0 0 10px rgba(235, 244, 238, .6);
}
.ty__check svg { width: 36px; height: 36px; }
.ty h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -.04em; }
.ty__lead { font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.ty__box { width: 100%; text-align: left; padding: 22px 24px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); }
.ty__box h2 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.ty__box ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.ty__box li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; }
.ty__box li svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.ty__meta { display: grid; gap: 6px; width: 100%; font-size: 15px; color: var(--ink-3); }
.ty__meta a { color: var(--accent); }
.ty__meta strong { color: var(--ink); font-weight: 600; }

/* ============================== LEGAL ============================== */
.legal { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.legal__doc {
  max-width: 780px; margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--line);
}
.legal__crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.legal__crumbs a { color: var(--accent); }
.legal h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 6vw, 46px); overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; line-height: 1.06; letter-spacing: -.03em; margin-bottom: 10px; }
.legal__updated { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 32px; }
.legal h2 { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.015em; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; margin: 10px 0; padding-left: 20px; list-style: disc; }
.legal ul li::marker { color: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__note { margin-top: 32px; padding: 16px 20px; border-radius: var(--r-md); background: var(--mist); font-size: 14px; color: var(--ink-3); }

/* ============================== MOBILE ============================== */
@media (max-width: 1200px) {
  .courses__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .course-card--bonus { grid-column: span 2; }
  .course-card--bonus .course-card__media { aspect-ratio: auto; height: 220px; }
  .metric { padding: 22px 18px; column-gap: 12px; }
  .metric strong { font-size: 22px; }
  .annotation--hero { left: 0; }
}

@media (max-width: 1024px) {
  .nav__list a { padding: 8px 10px; font-size: 14px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 720px; }
  .hero__visual { max-width: 680px; width: 100%; margin: 12px auto 56px; }
  .metrics__card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric { border-top: 1px solid var(--line-soft); }
  .metric:nth-child(-n+3) { border-top: 0; }
  .metric:nth-child(4) { border-left: 0; }
  .metric:nth-child(4), .metric:nth-child(5) { grid-column: span 1; }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonus__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing__inner { grid-template-columns: 1fr; }
  .mockup { max-width: 640px; width: 100%; margin-inline: auto; }
  .price-card { max-width: 560px; width: 100%; margin-inline: auto; }
  .guarantee__card { grid-template-columns: 1fr; }
  .guarantee__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guarantee__items li { grid-template-columns: 1fr; row-gap: 6px; }
  .guarantee__items svg { grid-row: auto; }
  .faq__inner { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 900px) {
  .nav__list { display: none; }
  .burger { display: block; }
  .nav__menu {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 72px);
    display: grid; gap: 20px; align-content: start;
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(20, 20, 40, .3);
    max-height: calc(100dvh - var(--menu-top, 72px));
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s; }
  .nav__menu .nav__list { display: grid; gap: 2px; }
  .nav__menu .nav__list a { padding: 14px 12px; font-size: 18px; font-weight: 500; color: var(--ink); border-radius: var(--r-sm); }
  .nav__menu-cta { display: inline-flex; }
  .whom__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whom-card, .whom-card:nth-child(4) { grid-column: span 1; }
  .whom-card:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 96px; }
  .salebar { font-size: 12.5px; }
  .salebar__inner { gap: 10px; min-height: 34px; }
  .salebar__sub { display: none; }
  .nav { height: 62px; }
  .nav__cta { display: none; }

  .hero__title { font-size: clamp(40px, 11vw, 60px); }
  .hero__perks { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .hero__perks li { font-size: 14px; }
  .hero__buy { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; }
  .hero__buy .btn { width: 100%; }
  .hero__buy .price-inline { justify-content: center; }
  .hero__note { width: 100%; text-align: center; }

  .hero-card { grid-template-columns: 1fr; padding: 8px; border-radius: var(--r-lg); }
  .compare { border-radius: calc(var(--r-lg) - 6px); aspect-ratio: 1 / 1.05; }
  .variants { flex-direction: row; }
  .variant { flex: 1; aspect-ratio: 1.3; border-radius: 12px; }
  .variant__label { font-size: 10px; }
  .variants__caption { display: none; }
  .annotation--hero { position: relative; left: auto; bottom: auto; margin: 18px 0 0 8px; font-size: 22px; }
  .annotation--hero svg { display: none; }
  .hero__visual { margin-bottom: 8px; }
  .hero-card__lines, .ai-node { display: none; }

  .metrics__card { grid-template-columns: 1fr 1fr; }
  .metric { border-left: 0; border-top: 1px solid var(--line-soft); padding: 18px 16px; }
  .metric:nth-child(-n+3) { border-top: 1px solid var(--line-soft); }
  .metric:nth-child(-n+2) { border-top: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .metric:last-child { grid-column: 1 / -1; }
  .metric svg { width: 34px; height: 34px; padding: 8px; }

  /* Courses: horizontal touch gallery */
  .courses__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 80%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .courses__grid::-webkit-scrollbar { display: none; }
  .course-card { scroll-snap-align: start; }
  .course-card--bonus { grid-column: auto; }
  .course-card--bonus .course-card__media { aspect-ratio: 4 / 3.2; height: auto; }
  .course-card:hover { transform: none; }

  .whom__grid { grid-template-columns: 1fr; gap: 14px; }
  .whom-card, .whom-card:nth-child(n) { grid-column: auto; padding: 24px; }
  .reviews__grid { gap: 14px; }
  .bonus__grid { gap: 14px; }
  .guarantee__main { flex-direction: column; gap: 18px; }
  .guarantee__items { grid-template-columns: 1fr; }
  .guarantee__items li { grid-template-columns: auto 1fr; }
  .guarantee__items svg { grid-row: 1 / 3; }

  .final-cta__card { min-height: 0; padding: 0; align-items: end; grid-template-columns: minmax(0, 1fr); }
  .final-cta h2 { font-size: clamp(29px, 8.4vw, 40px); }
  .final-cta__bg { position: relative; width: 100%; height: 260px; z-index: 0; }
  .final-cta__card::before { display: none; }
  .final-cta__content { padding: 28px 22px 32px; max-width: none; background: var(--paper); }
  .final-cta__content .btn { width: 100%; }
  .annotation--final { top: 18px; bottom: auto; right: 16px; font-size: 20px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  .sticky-cta { display: flex; }
  body.has-sticky-cta .site-footer { padding-bottom: 76px; }

  .ty__box ul { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  .btn--lg { --btn-h: 56px; padding: 0 20px; font-size: 16px; white-space: normal; text-align: center; line-height: 1.2; }
  .price-card { padding: 24px 20px; }
  .legal__doc { padding: 24px 20px; }
  .mockup__base { margin: 0 -3%; }
  .salebar__main { display: none; }
  .hero__perks { grid-template-columns: 1fr; }
  .reviews__grid, .bonus__grid { grid-template-columns: 1fr; }
  .review-card__media { aspect-ratio: 4 / 4.2; }
  .price-card__price { flex-wrap: wrap; }
  .checklist li { font-size: 15px; }
  .acc-btn { padding: 18px; font-size: 15.5px; }
  .acc-panel p { padding: 0 18px 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .mockup__phone { border-radius: 12px; }
  .mockup__phone img { border-radius: 10px; }
  .mockup__screen { border-radius: 8px 8px 3px 3px; }
  .mockup__tablet { border-radius: 10px; }
}

@media (max-width: 390px) {
  .hero__title { font-size: 38px; }
  .price-inline__now { font-size: 34px; }
  .logo__text { font-size: 13.5px; }
  .sticky-cta__price s { display: none; }
}

/* ============================== PERFORMANCE ============================== */
.section.courses, .section.for-whom, .section.reviews, .section.bonuses, .section.faq, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .course-card:hover, .course-card:hover .course-card__media img { transform: none; }
}

@media print {
  .site-header, .sticky-cta, .salebar { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
