/* ============================================================
   AI-Интенсив · ТЕСТОВЫЙ дизайн в стиле PATTERN BREAK
   Источник дизайн-системы: inbox/patternbreak/design.json
   Шрифты: Hanken Grotesk (display) + IBM Plex Mono (labels)
   ============================================================ */

:root {
  /* core */
  --black: #0A0A0A;
  --paper: #F5F4EF;
  --white: #FFFFFF;
  /* toxic accents */
  --yellow: #E9FB4F;
  --lilac: #C6A0FF;
  --purple-deep: #A87BF0;
  --mint: #3DEBA4;
  --ghost: #4A4A4A;
  --hairline: rgba(255,255,255,0.10);

  /* type */
  --font-display: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --text-label: clamp(0.7rem, 0.66rem + 0.2vw, 0.82rem);
  --text-hero: clamp(3.2rem, 1rem + 13vw, 11rem);
  --text-stat: clamp(4rem, 2rem + 14vw, 15rem);
  --text-lead: clamp(1.6rem, 1rem + 3.4vw, 4rem);
  --text-title: clamp(2rem, 1.3rem + 3vw, 3.6rem);

  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-btn: 9px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 320ms;

  --maxw: 1280px;
  --pad: clamp(18px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-display);
  background: var(--black);
  color: var(--white);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- TEST FLAG ---------- */
.test-flag {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: repeating-linear-gradient(45deg,#0A0A0A,#0A0A0A 12px,#1a1a1a 12px,#1a1a1a 24px);
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 6px 10px;
  border-bottom: 1px solid var(--yellow);
}

/* ---------- TOP MICRO-HEADER ---------- */
.topbar {
  position: fixed; top: 31px; left: 0; right: 0; z-index: 150;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--pad);
  pointer-events: none;
  mix-blend-mode: difference;
}
.topbar__logo {
  pointer-events: auto;
  font-weight: 800; font-size: 15px; letter-spacing: -.02em; color: #fff;
  display: flex; gap: 6px; align-items: baseline;
}
.topbar__logo span { font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .12em; opacity: .85; }
.topbar__speaker {
  pointer-events: auto;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em;
  color: #fff; background: rgba(0,0,0,.4); padding: 6px 12px; border-radius: 8px;
}
@media (max-width: 640px){ .topbar__speaker { display: none; } }

/* ---------- CHAPTERS (full-bleed colour fields) ---------- */
.chapter {
  position: relative;
  padding: clamp(72px, 9vw, 150px) var(--pad);
  overflow: hidden;
}
.chapter--black  { background: var(--black);  color: var(--white); }
.chapter--paper  { background: var(--paper);  color: var(--black); }
.chapter--yellow { background: var(--yellow); color: var(--black); }
.chapter--lilac  { background: var(--lilac);  color: var(--black); }
.chapter--split  { background: var(--paper);  color: var(--black); }

/* faint blueprint vertical guides on dark sections */
.grid-lines { position: absolute; inset: 0; display: flex; justify-content: space-between; padding: 0 8%; pointer-events: none; opacity: .5; }
.grid-lines i { width: 1px; background: var(--hairline); }

/* ---------- TYPO PRIMITIVES ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-weight: 500;
  font-size: var(--text-label); letter-spacing: .12em; text-transform: uppercase;
  opacity: .7; margin-bottom: 20px;
}
.eyebrow--dark { color: var(--black); opacity: .65; }
.section-title { font-size: var(--text-title); font-weight: 800; line-height: .96; letter-spacing: -.025em; }
.section-title--light { color: var(--white); }
.section-sub { font-size: clamp(1rem,.95rem + .4vw,1.25rem); font-weight: 500; max-width: 56ch; margin-top: 16px; opacity: .8; }
.section-sub--light { color: var(--white); }
.under { text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .08em; }
.strike { text-decoration: line-through; text-decoration-thickness: .06em; opacity: .55; }
.hl-yellow { color: var(--yellow); }
.hl-lilac { color: var(--lilac); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border: 2px solid transparent; border-radius: var(--radius-btn);
  cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 18px 36px; font-size: 1.08rem; }
.btn--black  { background: var(--black); color: var(--white); }
.btn--black:hover { background: #1c1c1c; }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: #f2ff7a; }
.btn--white  { background: var(--white); color: var(--black); }
.btn--white:hover { background: #eee; }

/* ---------- PILLS (signature) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: clamp(.95rem,.9rem + .3vw,1.15rem);
  padding: 11px 22px; border-radius: var(--radius-pill);
  color: var(--black); white-space: nowrap;
}
.pill--sm { font-size: .92rem; padding: 8px 16px; }
.pill--yellow { background: var(--yellow); }
.pill--lilac  { background: var(--lilac); }
.pill--white  { background: var(--white); color: var(--black); }
.pill--ghost  { background: transparent; border: 1.5px solid rgba(10,10,10,.25); color: var(--black); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.pill--outline{ background: transparent; border: 1.5px solid var(--hairline); color: #fff; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; transition: border-color var(--dur), background var(--dur); }
.pill--outline:hover { border-color: var(--yellow); background: rgba(233,251,79,.08); }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 120px; padding-bottom: 120px; }
.hero__word {
  font-weight: 800; font-size: var(--text-hero); line-height: .82;
  letter-spacing: -.03em; color: var(--white);
  width: 100%; pointer-events: none;
}
.hero__word--top { text-align: left; opacity: .96; }
.hero__word--bottom { text-align: right; color: var(--yellow); }
.hero__eyebrows { position: absolute; inset: 120px var(--pad) auto; display: flex; justify-content: space-between; pointer-events: none; }
.hero__eyebrows .pill { pointer-events: auto; }

.hero__exhibit { position: relative; margin: clamp(8px,2vw,24px) 0; width: 100%; max-width: 520px; display: flex; justify-content: center; }

/* swing-tag (price tag motif) */
.swing-tag {
  position: relative; z-index: 2;
  width: min(360px, 86vw);
  padding: 54px 36px 32px;
  border-radius: 0 0 22px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  color: var(--black);
  clip-path: polygon(0 14%, 50% 0, 100% 14%, 100% 100%, 0 100%);
}
.swing-tag--lilac { background: var(--lilac); }
.swing-tag__hole { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--black); }
.swing-tag__eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.swing-tag__big { font-size: clamp(2.6rem,2rem + 4vw,3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.swing-tag__note { font-size: .92rem; font-weight: 500; opacity: .8; }

/* countdown inside tag */
.countdown { margin: 6px 0 4px; }
.countdown__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.countdown__boxes { display: flex; gap: 8px; justify-content: center; }
.countdown__box { background: var(--black); color: var(--yellow); border-radius: 8px; padding: 7px 10px; min-width: 46px; display: flex; flex-direction: column; align-items: center; }
.countdown__box b { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown__box i { font-family: var(--font-mono); font-size: .62rem; font-style: normal; opacity: .7; margin-top: 3px; }

/* floating exhibit pills */
.float { position: absolute; z-index: 3; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: .92rem; padding: 9px 16px; animation: drift 7s var(--ease) infinite alternate; }
.float--1 { top: 4%;  left: -8%;  --tx: 6px;  animation-delay: 0s; }
.float--2 { top: 28%; right: -14%; --tx: -8px; animation-delay: .8s; }
.float--3 { bottom: 24%; left: -14%; --tx: 7px; animation-delay: 1.4s; }
.float--4 { bottom: 2%; right: -6%; --tx: -6px; animation-delay: 2s; }
@keyframes drift { to { transform: translate(var(--tx), -8px) rotate(-1.5deg); } }
@media (max-width: 820px){ .float { display: none; } }

.hero__sub { max-width: 52ch; margin: 20px auto 0; font-size: clamp(1rem,.95rem + .4vw,1.2rem); font-weight: 500; opacity: .82; }

@media (max-width: 720px){
  .hero__word--top, .hero__word--bottom { text-align: center; }
  .hero__eyebrows { position: static; justify-content: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
}

/* ============================================================
   EDITORIAL MANIFESTO
   ============================================================ */
.editorial { display: flex; flex-direction: column; }
.editorial__lead { font-size: var(--text-lead); font-weight: 500; line-height: 1.06; letter-spacing: -.02em; max-width: 22ch; }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.creds { text-align: left; }
.creds__row { display: flex; flex-wrap: wrap; gap: 12px; }
.creds__row .pill { padding: 12px 20px; }

/* ============================================================
   PROGRAM (num cards on yellow)
   ============================================================ */
.program__head { max-width: var(--maxw); margin: 0 auto 48px; }
.program__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 18px; }
.num-card { background: var(--black); color: var(--white); border-radius: var(--radius-card); padding: 28px 26px; display: flex; flex-direction: column; }
.num-card__n { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 600; color: var(--yellow); line-height: 1; margin-bottom: 14px; }
.num-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 14px; }
.num-card ul { display: flex; flex-direction: column; gap: 9px; }
.num-card li { font-size: .98rem; font-weight: 500; opacity: .85; padding-left: 18px; position: relative; }
.num-card li::before { content: "→"; position: absolute; left: 0; color: var(--yellow); }
.num-card b { color: var(--yellow); font-weight: 700; }

/* ============================================================
   DAYS
   ============================================================ */
.days__head { max-width: var(--maxw); margin: 0 auto 44px; }
.days__grid { max-width: var(--maxw); margin: 0 auto 28px; display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 16px; }
.day-card { border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 26px; background: #111; }
.day-card--main { background: var(--paper); color: var(--black); }
.day-card__num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.day-card__date { display: block; font-size: 1.3rem; font-weight: 800; margin: 6px 0 12px; letter-spacing: -.02em; }
.day-card p { font-size: .96rem; font-weight: 500; opacity: .85; }
.days__guarantee { max-width: var(--maxw); margin: 0 auto 28px; display: flex; gap: 16px; align-items: flex-start; background: var(--yellow); color: var(--black); border-radius: var(--radius-card); padding: 22px 26px; }
.days__guarantee span { font-size: 1.8rem; line-height: 1; }
.days__guarantee p { font-size: 1.02rem; font-weight: 500; }

/* ============================================================
   TRUST
   ============================================================ */
.trust { text-align: center; }
.trust__logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 28px; }
.trust__milestone { font-size: clamp(1.1rem,1rem + .8vw,1.6rem); font-weight: 600; max-width: 40ch; margin: 0 auto; letter-spacing: -.01em; }
.trust__milestone b { background: var(--yellow); padding: 0 6px; }

/* ============================================================
   PRICING (split: giant stat | panel)
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; align-items: stretch; }
.pricing__stat { background: var(--yellow); color: var(--black); padding: clamp(56px,7vw,120px) var(--pad); display: flex; flex-direction: column; justify-content: center; position: sticky; top: 0; height: 100vh; }
.giant-stat { font-size: var(--text-stat); font-weight: 800; line-height: .82; letter-spacing: -.04em; }
.giant-stat small { display: block; font-size: .26em; font-weight: 700; letter-spacing: -.01em; margin-top: .1em; }
.pricing__stat p { font-size: clamp(1.1rem,1rem + .6vw,1.5rem); font-weight: 600; margin-top: 18px; max-width: 18ch; }
.pricing__panel { background: var(--paper); color: var(--black); padding: clamp(48px,6vw,96px) var(--pad); }
.pricing__h { font-size: 1.3rem; font-weight: 800; margin: 26px 0 12px; }
.pricing__h:first-child { margin-top: 0; }
.checklist { display: flex; flex-direction: column; gap: 9px; }
.checklist li { font-size: .98rem; font-weight: 500; padding-left: 26px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--purple-deep); font-weight: 800; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare td { padding: 11px 8px; border-bottom: 1px solid rgba(10,10,10,.12); }
.compare td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.compare__hl td { background: var(--lilac); border-bottom: none; }
.compare__hl td:first-child { border-radius: 8px 0 0 8px; }
.compare__hl td:last-child { border-radius: 0 8px 8px 0; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.guarantee-box { background: var(--black); color: var(--white); border-radius: var(--radius-card); padding: 18px 22px; font-size: .98rem; font-weight: 500; margin-bottom: 16px; }
.guarantee-box b { color: var(--yellow); }
.pricing__notincl { font-size: .9rem; opacity: .7; margin-bottom: 22px; line-height: 1.5; }
.pricing__seats { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; opacity: .65; margin-top: 12px; }
.pricing__panel .btn { width: 100%; }
@media (max-width: 880px){
  .pricing { grid-template-columns: 1fr; }
  .pricing__stat { position: static; height: auto; }
}

/* ============================================================
   ROI (giant numbers on black)
   ============================================================ */
.roi__head { max-width: var(--maxw); margin: 0 auto 40px; }
.roi__rows { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.roi__row { display: grid; grid-template-columns: clamp(110px,16vw,220px) 1fr; gap: clamp(20px,4vw,56px); align-items: center; padding: clamp(22px,3vw,42px) 0; border-top: 1px solid var(--hairline); }
.roi__row:last-child { border-bottom: 1px solid var(--hairline); }
.roi__big { font-size: clamp(3.4rem,2rem + 9vw,8rem); font-weight: 800; line-height: .8; letter-spacing: -.04em; color: var(--white); }
.roi__row h3 { font-size: clamp(1.2rem,1rem + 1vw,1.7rem); font-weight: 800; margin-bottom: 6px; }
.roi__row p { font-size: 1rem; font-weight: 500; opacity: .8; }
.roi__caption { max-width: var(--maxw); margin: 36px auto 0; font-size: 1rem; opacity: .65; max-width: 64ch; }

/* ============================================================
   RESULTS / AUDIENCE flat cards
   ============================================================ */
.results__head, .audience__head { max-width: var(--maxw); margin: 0 auto 40px; }
.results__grid, .audience__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 16px; }
.flat-card { border: 1.5px solid rgba(10,10,10,.2); border-radius: var(--radius-card); padding: 26px; }
.flat-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.flat-card p { font-size: .98rem; font-weight: 500; opacity: .82; }
.flat-card--dark { border-color: rgba(10,10,10,.2); background: transparent; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__head { max-width: var(--maxw); margin: 0 auto 28px; }
.testimonials__nav { max-width: var(--maxw); margin: 0 auto 18px; display: flex; gap: 10px; }
.t-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hairline); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background var(--dur), border-color var(--dur); }
.t-arrow:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.testimonials__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; cursor: grab; scrollbar-width: thin; }
.testimonials__track::-webkit-scrollbar { height: 6px; }
.testimonials__track::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 99px; }
.t-card { flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.t-video { position: relative; aspect-ratio: 9/12; border-radius: 14px; overflow: hidden; background: #111; }
.t-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity var(--dur); }
.t-video:hover img { opacity: 1; }
.t-video iframe { width: 100%; height: 100%; border: 0; }
.t-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--black); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* ============================================================
   SPEAKER
   ============================================================ */
.speaker { display: grid; grid-template-columns: minmax(240px,420px) 1fr; gap: clamp(28px,5vw,72px); align-items: center; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.speaker__photo { border-radius: var(--radius-card); overflow: hidden; filter: grayscale(1) contrast(1.05); }
.speaker__photo img { width: 100%; }
.speaker__role { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .04em; opacity: .7; margin: 10px 0 18px; }
.speaker__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.speaker p { font-size: 1rem; font-weight: 500; opacity: .85; margin-bottom: 12px; }
.speaker a { color: var(--yellow); text-decoration: underline; }
.speaker__team { border-left: 3px solid var(--lilac); padding-left: 16px; opacity: .95; }
@media (max-width: 760px){ .speaker { grid-template-columns: 1fr; } .speaker__photo { max-width: 320px; } }

/* ============================================================
   INITIATION (до/после)
   ============================================================ */
.initiation__head { max-width: var(--maxw); margin: 0 auto 44px; text-align: center; }
.initiation__head .section-sub { margin-left: auto; margin-right: auto; }
.initiation__split { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.init-side { border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 28px; }
.init-side--after { background: var(--lilac); color: var(--black); border-color: transparent; }
.init-mark { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; opacity: .6; }
.init-mark--glow { color: var(--black); opacity: .8; font-weight: 600; }
.init-side ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.init-side li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; border-bottom: 1px dashed currentColor; padding-bottom: 10px; }
.init-side li span { font-weight: 700; }
.init-side li em { font-style: normal; font-size: .88rem; opacity: .7; text-align: right; }
.initiation__manifest { max-width: 50ch; margin: 40px auto 28px; text-align: center; font-size: clamp(1.3rem,1rem + 1.6vw,2.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.initiation .btn { display: flex; width: max-content; margin: 0 auto; }
@media (max-width: 720px){ .initiation__split { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq__head { max-width: 880px; margin: 0 auto 36px; }
.faq__list { max-width: 880px; margin: 0 auto; }
.faq__item { border-top: 1px solid rgba(10,10,10,.18); }
.faq__item:last-child { border-bottom: 1px solid rgba(10,10,10,.18); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 4px; font-size: 1.1rem; font-weight: 700; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { font-family: var(--font-mono); font-style: normal; font-size: 1.4rem; transition: transform var(--dur) var(--ease); }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { padding: 0 4px 22px; font-size: 1rem; font-weight: 500; opacity: .82; max-width: 70ch; }
.faq__item a { text-decoration: underline; }

/* ============================================================
   VENUE
   ============================================================ */
.venue__head { max-width: var(--maxw); margin: 0 auto 36px; }
.venue__card { max-width: var(--maxw); margin: 0 auto; background: var(--black); color: var(--white); border-radius: var(--radius-card); padding: clamp(28px,4vw,48px); }
.venue__card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }
.venue__list { display: flex; flex-direction: column; gap: 12px; }
.venue__list li { font-size: 1rem; font-weight: 500; opacity: .9; padding-left: 22px; position: relative; }
.venue__list li::before { content: "▸"; position: absolute; left: 0; color: var(--yellow); }

/* ============================================================
   UPSELL
   ============================================================ */
.upsell__head { max-width: var(--maxw); margin: 0 auto 40px; }
.upsell__steps { max-width: var(--maxw); margin: 0 auto 28px; display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 12px; }
.upsell__step { border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 22px; }
.upsell__step b { font-family: var(--font-mono); font-size: 1.4rem; color: var(--lilac); display: block; margin-bottom: 8px; }
.upsell__step span { font-size: 1rem; font-weight: 600; }
.upsell__meta { max-width: var(--maxw); margin: 0 auto 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.upsell .btn { display: flex; width: max-content; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.community__head { max-width: var(--maxw); margin: 0 auto 36px; }
.community__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 16px; }
.link-card { border: 1.5px solid rgba(10,10,10,.25); border-radius: var(--radius-card); padding: 28px; background: var(--paper); transition: transform var(--dur) var(--ease); display: block; }
.link-card:hover { transform: translateY(-3px); }
.link-card h3 { font-size: 1.4rem; font-weight: 800; }
.link-card__meta { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; opacity: .65; display: block; margin: 6px 0 12px; }
.link-card p { font-size: .98rem; font-weight: 500; opacity: .82; margin-bottom: 16px; }
.link-card__go { font-weight: 700; }

/* ============================================================
   FINALE
   ============================================================ */
.finale { text-align: center; }
.finale__title { font-size: var(--text-lead); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; max-width: 18ch; margin: 0 auto 36px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--white); padding: 48px var(--pad) 120px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer__brand { font-weight: 800; letter-spacing: -.02em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; opacity: .7; transition: opacity var(--dur); }
.footer__links a:hover { opacity: 1; color: var(--yellow); }
.footer__copy { font-family: var(--font-mono); font-size: .72rem; opacity: .5; }

/* ============================================================
   FIXED FOOTER-NAV PILL (Pattern Break signature)
   ============================================================ */
.navpill {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 140;
  display: flex; align-items: center; gap: 22px;
  background: var(--white); color: var(--black);
  padding: 12px 26px; border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.navpill__side { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; opacity: .7; transition: opacity var(--dur); }
.navpill__side:hover { opacity: 1; }
.navpill__logo { font-weight: 800; font-size: .82rem; line-height: .95; text-align: center; letter-spacing: -.01em; }
@media (max-width: 520px){ .navpill { gap: 14px; padding: 10px 18px; } .navpill__side { font-size: .65rem; } }

/* ============================================================
   FAB (mint — single purpose)
   ============================================================ */
.fab {
  position: fixed; bottom: 20px; left: 20px; z-index: 145;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--black); color: var(--mint);
  border: 1px solid rgba(61,235,164,.5);
  font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease);
}
.fab:hover { transform: scale(1.08) rotate(-8deg); }
@media (max-width: 520px){ .fab { width: 46px; height: 46px; bottom: 16px; } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,10,10,.75); backdrop-filter: blur(4px); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal { background: var(--paper); color: var(--black); border-radius: 20px; width: min(560px,100%); max-height: 90vh; overflow-y: auto; position: relative; padding: 48px 28px 28px; }
.modal__close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--black); }
.modal__widget { min-height: 200px; }

/* ============================================================
   FADE-UP (scroll reveal)
   ============================================================ */
.chapter > *:not(.grid-lines):not(.hero__word) { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.chapter.in > *:not(.grid-lines):not(.hero__word) { opacity: 1; transform: none; }
.hero__word { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero.in .hero__word { opacity: 1; transform: none; }
.hero.in .hero__word--bottom { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .chapter > *, .hero__word { opacity: 1 !important; transform: none !important; }
}
