/* ============================================================
   НЕЙРОСЕТИ ПРО · Полярная звезда
   3D pastel style
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-top: #d9ecff;
  --bg-mid: #ecf4fd;
  --bg-bottom: #fdf0e0;
  --ink: #24314f;
  --ink-soft: #5d6d8f;
  --card: #ffffff;
  --radius: 26px;
  --shadow: 0 12px 34px rgba(70, 110, 180, .14);
  --shadow-sm: 0 6px 18px rgba(70, 110, 180, .10);
  --blue: #4a9fe8;
  --blue-deep: #2e6fb2;
  --purple: #a678f0;
  --purple-deep: #7448c9;
  --gold: #f2b53c;
  --gold-deep: #b97f10;
  --green: #2fbf83;
  --green-deep: #17845a;
  --red: #e05570;
  --anna: #b79bf2;
  --anna-deep: #7c5cd6;
  --nyur: #43c6b8;
  --nyur-deep: #148076;
  --font-round: 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 88% -6%, rgba(167, 139, 250, .20), transparent 60%),
    radial-gradient(820px 420px at 6% 10%, rgba(74, 159, 232, .20), transparent 60%),
    radial-gradient(700px 380px at 95% 55%, rgba(242, 181, 60, .12), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; }
a { color: var(--blue-deep); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.hidden, [hidden] { display: none !important; }

/* ============ 3D titles ============ */
/* Единый стиль надписей: как на плакате — глянцевый градиент + мягкое свечение (без жёсткого 3D) */
.t3d {
  font-family: var(--font-round);
  font-weight: 1000;
  line-height: 1.04;
  letter-spacing: .01em;
}
.t3d-blue {
  background: linear-gradient(180deg, #d8f0ff 0%, #6fb1f2 42%, #3d7fd4 72%, #7db4f0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(25, 80, 145, .45)) drop-shadow(0 0 14px rgba(120, 180, 255, .5));
}
.t3d-purple {
  background: linear-gradient(180deg, #efe2ff 0%, #b48cf2 42%, #7c4fd0 72%, #b48cf2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(85, 45, 145, .45)) drop-shadow(0 0 14px rgba(178, 140, 255, .5));
}
.t3d-gold {
  background: linear-gradient(180deg, #fff4c8 0%, #f8c74e 45%, #d78f16 75%, #f6c14e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(150, 95, 15, .45)) drop-shadow(0 0 14px rgba(255, 205, 100, .5));
}

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120, 150, 200, .18);
}
.nav-inner { display: flex; align-items: center; gap: 18px; padding: 12px 20px; }
.nav-logo {
  font-family: var(--font-round);
  font-weight: 1000;
  font-size: 1.3rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.nav-logo .t3d-blue { font-size: 1.28rem; }
.nav-logo em {
  font-style: normal;
  display: inline-block;
  transform: translateY(-2px) rotate(-3deg);
  margin-left: 6px;
  background: linear-gradient(180deg, #ffe9a8, #f2b53c 55%, #d98f16);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(150, 95, 15, .45)) drop-shadow(0 0 10px rgba(255, 205, 100, .45));
}
.nav-links {
  margin-left: auto;
  display: flex; gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: .95rem;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(74, 159, 232, .12); color: var(--blue-deep); }
.nav-links a.active {
  background: linear-gradient(135deg, #dceeff, #eadffc);
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(74, 159, 232, .25);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, #6db6f5, #3f8fe0);
  color: #fff;
  box-shadow: 0 10px 22px rgba(63, 143, 224, .35), inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.btn-primary:hover { box-shadow: 0 14px 28px rgba(63, 143, 224, .45), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn-gold {
  background: linear-gradient(135deg, #ffdf8a, #f0ae2c);
  color: #5c3c00;
  box-shadow: 0 10px 22px rgba(240, 174, 44, .35), inset 0 -3px 0 rgba(0, 0, 0, .10);
}
.btn-ghost {
  background: #ffffff;
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm), inset 0 0 0 2px rgba(74, 159, 232, .30);
}
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-back {
  background: rgba(255, 255, 255, .7);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  padding: 10px 18px;
  font-size: .9rem;
}

/* ============ Hero ============ */
.hero { padding: 46px 0 30px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: #ffffff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .85rem;
  font-weight: 800;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.7rem, 6.5vw, 4.7rem); margin-bottom: 16px; }
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 24px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-days { display: flex; flex-wrap: wrap; gap: 10px; }
.day-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.day-pill .js-status {
  font-size: .78rem;
  padding: 3px 10px;
  border-radius: 999px;
}
.js-status.open { background: #dcf5e9; color: var(--green-deep); }
.js-status.locked { background: #fde8ec; color: #c73b58; }
.day-pill.is-locked { opacity: .85; background: #fbfcfe; }

.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 24px 50px rgba(70, 110, 180, .25);
}
.float-emoji {
  position: absolute;
  font-size: 2.2rem;
  opacity: .85;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(70, 110, 180, .25));
}
.fe1 { top: -14px; left: 6%; }
.fe2 { top: 22%; right: -10px; animation-delay: 1.2s; }
.fe3 { bottom: 8%; left: -12px; animation-delay: 2s; }
.fe4 { bottom: -12px; right: 18%; animation-delay: .6s; }

/* ============ Sections ============ */
.section { padding: 44px 0; }
.section-head { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.eyebrow {
  display: inline-block;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--purple-deep);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-round);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-sub { color: var(--ink-soft); font-size: 1.02rem; }

/* ============ Dialogue (intro) ============ */
.dialogue { display: grid; gap: 18px; max-width: 860px; margin: 0 auto; }
.bubble {
  display: flex; gap: 16px;
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
  animation: fadeUp .6s ease both;
}
.bubble:nth-child(2) { animation-delay: .12s; }
.bubble:nth-child(3) { animation-delay: .24s; }
.bubble.anna { border-left: 7px solid var(--anna); }
.bubble.nyur { border-left: 7px solid var(--nyur); }
.bubble .avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #e8effc;
  box-shadow: var(--shadow-sm);
}
.bubble.anna .avatar { border-color: var(--anna); }
.bubble.nyur .avatar { border-color: var(--nyur); }
.bubble-body { flex: 1; min-width: 0; }
.who {
  display: inline-block;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.anna-name { color: var(--anna-deep); }
.nyur-name { color: var(--nyur-deep); }
.bubble-body p { margin-bottom: 12px; }

.audio-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #e9f3ff, #efe8ff);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm), inset 0 -2px 0 rgba(70, 110, 180, .10);
  transition: transform .15s, box-shadow .2s;
}
.audio-btn:hover { transform: translateY(-1px); }
.audio-btn.playing {
  background: linear-gradient(135deg, #ffe9c9, #ffd9e2);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ============ Team ============ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  width: 128px; height: 128px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e8effc;
  box-shadow: var(--shadow-sm);
}
.team-role {
  font-family: var(--font-round);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.team-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.team-tag.anna { background: #efe8ff; color: var(--anna-deep); }
.team-tag.nyur { background: #e0f6f3; color: var(--nyur-deep); }
.team-tag.bot { background: #e2effd; color: var(--blue-deep); }
.team-desc { color: var(--ink-soft); font-size: .95rem; }

/* ============ Modules ============ */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.module-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.module-card:hover { transform: translateY(-4px); }
.m-num { color: var(--ink-soft); font-weight: 900; font-size: .9rem; }
.m-title {
  font-family: var(--font-round);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 4px 0 12px;
}
.m-emojis { font-size: 2.1rem; display: flex; gap: 10px; margin-bottom: 14px; }
.m-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .85rem; font-weight: 800; color: var(--ink-soft); }
.m-tags span::before { content: '• '; color: var(--blue); }

/* ============ Day cards (program) ============ */
.day-cards { display: grid; gap: 20px; }
.day-card {
  display: flex; gap: 20px;
  background: #ffffff;
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  align-items: flex-start;
  transition: transform .2s;
}
.day-card:hover { transform: translateY(-3px); }
.day-card.is-locked { background: #fbfcfe; border: 2px dashed #cdd8ea; box-shadow: none; }
.day-num {
  width: 58px; height: 58px;
  border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #7fc3ff, #4a9fe8);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 8px 16px rgba(74, 159, 232, .3);
  flex-shrink: 0;
}
.day-card:nth-child(2) .day-num { background: linear-gradient(135deg, #c9a8ff, #a678f0); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 8px 16px rgba(166, 120, 240, .3); }
.day-card:nth-child(3) .day-num { background: linear-gradient(135deg, #ffd98a, #f0ae2c); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12), 0 8px 16px rgba(240, 174, 44, .3); }
.day-info { flex: 1; }
.day-tag { font-size: .78rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--purple-deep); }
.day-title { font-family: var(--font-round); font-size: 1.45rem; font-weight: 800; margin: 4px 0 8px; }
.day-desc { color: var(--ink-soft); margin-bottom: 12px; }
.day-steps { list-style: none; display: grid; gap: 4px; margin-bottom: 14px; font-size: .92rem; color: var(--ink-soft); }
.day-steps li::before { content: '✔ '; color: var(--green); font-weight: 900; }
.day-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.status-pill {
  font-size: .8rem;
  font-weight: 900;
  border-radius: 999px;
  padding: 5px 14px;
}
.status-pill.open { background: #dcf5e9; color: var(--green-deep); }
.status-pill.locked { background: #fde8ec; color: #c73b58; }
.lock-note {
  font-size: .88rem;
  font-weight: 700;
  color: #c73b58;
  background: #fff4f6;
  border-radius: 14px;
  padding: 8px 14px;
  margin-top: 10px;
}

/* ============ Ambient sounds ============ */
.ambient-card {
  background: linear-gradient(135deg, #f3f0ff, #eaf4ff);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.ambient-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.ambient-robot { width: 110px; flex-shrink: 0; }
.ambient-head h3 { font-family: var(--font-round); font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.ambient-head p { color: var(--ink-soft); }
.ambient-status {
  display: inline-block;
  margin-top: 8px;
  font-size: .85rem;
  font-weight: 800;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
}
.ambient-options { display: flex; flex-wrap: wrap; gap: 12px; }
.ambient-btn {
  background: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm), inset 0 -2px 0 rgba(70, 110, 180, .08);
  transition: transform .15s;
}
.ambient-btn small { display: block; font-weight: 700; color: var(--ink-soft); font-size: .78rem; margin-top: 2px; }
.ambient-btn:hover { transform: translateY(-2px); }
.ambient-btn.playing { box-shadow: 0 0 0 3px var(--gold), var(--shadow-sm); }

/* ============ Page hero (lessons) ============ */
.page-hero { padding: 44px 0 10px; }
.page-badge {
  display: inline-block;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 900;
  color: var(--purple-deep);
  margin-bottom: 14px;
}
.page-title { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 12px; }
.page-sub { color: var(--ink-soft); max-width: 40em; margin-bottom: 18px; }

/* ============ Start banner (Anna greeting) ============ */
.start-banner {
  display: flex; gap: 20px;
  background: linear-gradient(135deg, #f1ebff, #e7f2ff);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin: 26px 0;
  align-items: center;
}
.sb-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.sb-body { flex: 1; min-width: 0; }
.sb-who {
  display: inline-block;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--anna-deep);
  margin-bottom: 6px;
}
.sb-body p { font-size: 1.02rem; margin-bottom: 14px; }
.sb-audio { display: flex; flex-wrap: wrap; gap: 10px; }

.note-bar {
  background: #fff8e8;
  border: 2px dashed #f0cf7a;
  border-radius: 18px;
  padding: 14px 18px;
  font-size: .95rem;
  font-weight: 700;
  color: #7a5a10;
  margin: 0 0 26px;
}

/* ============ Stages ============ */
.stage {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  animation: fadeUp .5s ease both;
}
.stage-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.stage-num {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 1.35rem;
  color: #7a4c00;
  background: linear-gradient(135deg, #ffe9a8, #f2b53c);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .10), 0 6px 12px rgba(240, 174, 44, .3);
  flex-shrink: 0;
}
.stage-kicker { font-size: .78rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--purple-deep); }
.stage h3 { font-family: var(--font-round); font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.stage-lead { color: var(--ink-soft); margin-bottom: 16px; max-width: 60em; }
.stage-lead strong { color: var(--ink); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 16px; }
.shots img {
  width: 100%;
  border-radius: 18px;
  border: 6px solid #eef3fb;
  box-shadow: var(--shadow-sm);
}
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.checks li {
  background: #eef7f2;
  color: var(--green-deep);
  font-weight: 800;
  font-size: .88rem;
  border-radius: 999px;
  padding: 7px 14px;
}
.checks li::before { content: '✅ '; }
.hint {
  background: linear-gradient(135deg, #f4f0ff, #eaf4ff);
  border-radius: 18px;
  padding: 14px 18px;
  font-size: .95rem;
  margin-bottom: 16px;
}

.link-box {
  background: #f6f9ff;
  border: 2px dashed #bcd4f2;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.link-box code {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue-deep);
  word-break: break-all;
  margin-bottom: 12px;
}
.link-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.template-box {
  background: #f6f9ff;
  border: 2px dashed #bcd4f2;
  border-radius: 18px;
  padding: 18px;
  font-size: .95rem;
  margin-bottom: 12px;
}
.template-box + .copy-btn { margin-bottom: 16px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff;
  border: 2px solid #cfe0f5;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .88rem;
  color: var(--blue-deep);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s;
}
.copy-btn:hover { transform: translateY(-1px); }

.formula-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.f-card {
  background: linear-gradient(160deg, #f0f6ff, #f4efff);
  border-radius: 18px;
  padding: 16px;
}
.f-card b {
  display: block;
  font-family: var(--font-round);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.f-card .f-step { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--purple-deep); }
.formula-line {
  font-family: var(--font-round);
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, var(--blue-deep), var(--purple-deep), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}
.quotes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.quotes span {
  background: #f1f5fd;
  border-radius: 14px;
  padding: 10px 16px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.field-list { display: grid; gap: 10px; margin-bottom: 16px; }
.field-list div {
  background: #f6f9ff;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: .95rem;
}
.field-list b { color: var(--blue-deep); }

/* ============ Forms ============ */
.form-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
  max-width: 760px;
  margin: 0 auto;
}
.form-card label {
  display: block;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 16px;
}
.form-card input[type="text"],
.form-card select,
.form-card textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fbfdff;
  border: 2px solid #e0e9f6;
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 159, 232, .15);
}
.form-card textarea { resize: vertical; }
.check-line { display: flex !important; align-items: center; gap: 10px; font-weight: 700 !important; }
.check-line input { width: 20px; height: 20px; margin: 0 !important; accent-color: var(--green); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-result {
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 20px;
  font-size: .95rem;
}
.form-result h4 { font-family: var(--font-round); font-size: 1.2rem; margin-bottom: 8px; }
.form-result ul { margin: 10px 0 14px 20px; }
.form-result.success { background: #e2f7ec; border: 2px solid #b8e6cf; color: var(--green-deep); }
.form-result.error { background: #fdeef1; border: 2px solid #f3c2cd; color: #a63149; }
.form-result .btn { margin-top: 10px; }
.info-card {
  background: rgba(255, 255, 255, .8);
  border-radius: 22px;
  padding: 22px 26px;
  max-width: 760px;
  margin: 22px auto 0;
  box-shadow: var(--shadow-sm);
}
.info-card h4 { font-family: var(--font-round); font-size: 1.2rem; margin-bottom: 10px; }
.info-card ul { margin-left: 20px; color: var(--ink-soft); font-size: .95rem; display: grid; gap: 6px; }

/* ============ Lock screen ============ */
.lock-card {
  max-width: 560px;
  margin: 60px auto;
  text-align: center;
  background: #ffffff;
  border-radius: 30px;
  padding: 44px 34px;
  box-shadow: var(--shadow);
  animation: popIn .4s ease both;
}
.lock-emoji { font-size: 4rem; display: block; margin-bottom: 14px; animation: float 3.5s ease-in-out infinite; }
.lock-card h2 { font-family: var(--font-round); font-size: 1.8rem; margin-bottom: 10px; }
.lock-card p { color: var(--ink-soft); margin-bottom: 22px; }

/* ============ Bonus & finish ============ */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 20px; }
.bonus-card {
  background: linear-gradient(160deg, #fff7e6, #f3efff);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.bonus-card h4 { font-family: var(--font-round); font-size: 1.25rem; margin-bottom: 8px; }
.bonus-card > p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.bonus-card .template-box { border-color: #ecd9a8; background: #fffdf6; }
.bonus-final {
  background: #ffffff;
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 24px;
  align-items: center;
}
.bonus-final img { border-radius: 20px; box-shadow: var(--shadow-sm); }
.revealed { animation: popIn .5s ease both; }

.finish-card {
  text-align: center;
  background: #ffffff;
  border-radius: 30px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto 22px;
}
.finish-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.finish-card > p { color: var(--ink-soft); margin-bottom: 20px; }
.finish-card h4 { font-family: var(--font-round); font-size: 1.3rem; margin-bottom: 6px; }
.finish-card > div + p, .finish-card h4 + p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 14px; }
.survey { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.survey-btn {
  background: linear-gradient(135deg, #eef4ff, #f2ecff);
  border: 2px solid #d8e3f7;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
  transition: transform .15s;
}
.survey-btn:hover { transform: translateY(-2px); }
.survey-thanks { font-weight: 800; color: var(--green-deep); background: #e2f7ec; border-radius: 18px; padding: 14px 18px; }
.next-card {
  background: linear-gradient(135deg, #eaf3ff, #f3efff);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.next-card h4 { font-family: var(--font-round); font-size: 1.4rem; margin-bottom: 10px; }
.next-card p { color: var(--ink-soft); margin-bottom: 10px; }
.next-card .btn { margin-top: 12px; }

/* ============ Footer ============ */
.footer { padding: 40px 0 50px; text-align: center; }
.footer-logo { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.footer-logo .t3d { font-size: 1.5rem; }
.footer-logo em { font-style: normal; font-family: var(--font-round); font-weight: 1000; font-size: 1.05rem; transform: translateY(-2px) rotate(-3deg); background: linear-gradient(180deg, #ffe9a8, #f2b53c 55%, #d98f16); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(150, 95, 15, .45)) drop-shadow(0 0 10px rgba(255, 205, 100, .45)); }
.footer p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 6px; }
.footer-reset { margin-top: 14px; font-size: .8rem; }
.footer-reset a { color: #9aa8c4; text-decoration: none; }
.footer-reset a:hover { text-decoration: underline; }

/* ============ Animations ============ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { opacity: 0; transform: scale(.94); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 181, 60, .45), var(--shadow-sm); }
  50% { box-shadow: 0 0 0 9px rgba(242, 181, 60, 0), var(--shadow-sm); }
}

/* ============ Story (как всё начинается) ============ */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.story-card:hover { transform: translateY(-4px); }
.story-card img { width: 100%; }
.story-caption { padding: 18px 22px 24px; position: relative; }
.story-num {
  position: absolute;
  top: -24px; left: 22px;
  width: 46px; height: 46px;
  border-radius: 15px;
  display: grid; place-items: center;
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, #7fc3ff, #4a9fe8);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 8px 16px rgba(74, 159, 232, .3);
}
.story-card:nth-child(2) .story-num { background: linear-gradient(135deg, #c9a8ff, #a678f0); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 8px 16px rgba(166, 120, 240, .3); }
.story-card:nth-child(3) .story-num { background: linear-gradient(135deg, #ffd98a, #f0ae2c); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12), 0 8px 16px rgba(240, 174, 44, .3); }
.story-caption b {
  display: block;
  font-family: var(--font-round);
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.story-caption p { color: var(--ink-soft); font-size: .93rem; }

/* ============ Before / After ============ */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.compare-card { background: #ffffff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.compare-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 25%; }
.compare-caption { padding: 18px 22px 24px; }
.compare-pill { display: inline-block; font-weight: 900; font-size: .9rem; border-radius: 999px; padding: 7px 16px; margin-bottom: 10px; }
.compare-pill.before { background: #e8edf5; color: #5d6d8f; }
.compare-pill.after { background: #dcf5e9; color: var(--green-deep); }
.compare-caption p { color: var(--ink-soft); font-size: .93rem; }

/* ============ Module photos ============ */
.module-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 18px;
  margin: 6px 0 14px;
  box-shadow: var(--shadow-sm);
}

.hero-subword {
  font-size: .5em;
  letter-spacing: .08em;
  display: inline-block;
  transform: rotate(-2deg) translateY(6px);
}

/* ============ Authors ============ */
.authors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: 0 auto; }
.author-card { display: flex; gap: 20px; align-items: center; background: #ffffff; border-radius: 26px; padding: 24px; box-shadow: var(--shadow); }
.author-card.anna { border-top: 6px solid var(--anna); }
.author-card.nyur { border-top: 6px solid var(--nyur); }
.author-photo { width: 150px; height: 150px; border-radius: 26px; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.author-body { flex: 1; }
.author-body .team-role { margin-top: 6px; }
.author-robot { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: 24px; color: var(--ink-soft); font-size: .95rem; }
.author-robot img { width: 86px; }

/* ============ Intro from Anna ============ */
.intro-anna { background: linear-gradient(135deg, #f1ebff, #e7f2ff); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); margin-bottom: 26px; }
.intro-anna-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.intro-anna-head img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 3px solid #ffffff; box-shadow: var(--shadow-sm); }
.intro-anna-head h3 { font-family: var(--font-round); font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.intro-anna p { margin-bottom: 14px; }

/* ============ PRO upsell ============ */
.pro-teaser { background: linear-gradient(135deg, #33235f, #5b34b0); color: #fff; border-radius: 30px; padding: 42px 34px; text-align: center; box-shadow: 0 20px 44px rgba(60, 40, 120, .35); max-width: 860px; margin: 0 auto; }
.pro-lock { font-size: 3rem; display: inline-block; animation: float 3.5s ease-in-out infinite; margin-bottom: 10px; }
.pro-teaser h2 { font-family: var(--font-round); font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: #ffd98a; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); }
.pro-teaser > p { color: #e6defc; max-width: 58em; margin: 0 auto 18px; }
.pro-list { list-style: none; display: grid; gap: 8px; justify-content: center; margin-bottom: 24px; }
.pro-list li { background: rgba(255, 255, 255, .13); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: .92rem; }
.pro-form-wrap { max-width: 640px; margin: 26px auto 0; }
.pro-form-wrap .form-card h4 { font-family: var(--font-round); font-size: 1.3rem; margin-bottom: 6px; }
.pro-form-sub { color: var(--ink-soft); margin-bottom: 18px; font-size: .95rem; }

/* ============ Legal pages ============ */
.legal-page { max-width: 860px; }
.legal-card { background: #ffffff; border-radius: 26px; padding: 34px 36px; box-shadow: var(--shadow); }
.legal-card .legal-date { color: var(--ink-soft); font-size: .88rem; margin-bottom: 18px; }
.legal-card h3 { font-family: var(--font-round); font-size: 1.15rem; margin: 22px 0 8px; }
.legal-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 8px; }
.legal-card ul { margin: 8px 0 8px 20px; color: var(--ink-soft); font-size: .95rem; display: grid; gap: 4px; }

@media (max-width: 940px) {
  .authors-grid { grid-template-columns: 1fr; max-width: 520px; }
  .author-card { flex-direction: column; text-align: center; }
  .author-photo { width: 132px; height: 132px; }
  .author-robot { flex-direction: column; text-align: center; }
  .pro-teaser { padding: 34px 22px; }
}

/* ============ Responsive ============ */
@media (max-width: 940px) {
  .hero { padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
  .team-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .compare-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .formula-grid { grid-template-columns: 1fr; }
  .bonus-final { grid-template-columns: 1fr; }
  .start-banner { flex-direction: column; text-align: center; }
  .sb-audio { justify-content: center; }
  .ambient-head { flex-direction: column; }
  .ambient-robot { width: 84px; }
}
@media (max-width: 560px) {
  .stage { padding: 20px 18px; }
  .day-card { flex-direction: column; }
  .nav-logo { font-size: 1.05rem; }
  .float-emoji { font-size: 1.6rem; }
}

/* ============ sr-only ============ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============ Sparkles & hero life ============ */
.sparkle { position: absolute; font-size: 1.6rem; z-index: 3; animation: twinkle 2.8s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(255, 214, 120, .9)); pointer-events: none; }
.sparkle.s1 { top: 4%; left: -2%; }
.sparkle.s2 { top: 40%; right: -3%; animation-delay: .9s; }
.sparkle.s3 { bottom: 6%; left: 4%; animation-delay: 1.7s; font-size: 1.3rem; }
@keyframes twinkle {
  0%, 100% { opacity: .35; transform: scale(.8) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(8deg); }
}
.hero-art img { animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-cta .btn-primary { animation: ctaPulse 2.8s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 22px rgba(63, 143, 224, .35), inset 0 -3px 0 rgba(0, 0, 0, .12); }
  50% { box-shadow: 0 12px 30px rgba(63, 143, 224, .55), 0 0 0 6px rgba(109, 182, 245, .18), inset 0 -3px 0 rgba(0, 0, 0, .12); }
}

/* ============ Authors banner (без возраста) ============ */
.authors-banner { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 26px; align-items: center; background: linear-gradient(135deg, #fff8e8, #f1ebff); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); margin-top: 22px; }
.authors-banner img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-sm); }
.banner-copy .eyebrow { margin-bottom: 0; }
.banner-copy h3 { font-family: var(--font-round); font-size: 1.5rem; font-weight: 800; margin: 10px 0 8px; }
.banner-copy p { color: var(--ink-soft); }

/* ============ Showcase / Reels ============ */
.showcase-wrap { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 22px; align-items: stretch; }
.showcase-photo { background: #ffffff; border-radius: 26px; padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.showcase-photo img { border-radius: 18px; width: 100%; flex: 1; object-fit: cover; }
.showcase-photo p { font-weight: 800; color: var(--ink-soft); text-align: center; font-size: .95rem; }
.reels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.reel-embed { background: #ffffff; border-radius: 24px; padding: 14px 14px 16px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s; }
.reel-embed:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px rgba(242, 181, 60, .5), var(--shadow); }
.reel-frame { border-radius: 16px; overflow: hidden; background: #f2f5fb; aspect-ratio: 1 / 1.6; }
.reel-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.reel-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.reel-title { font-family: var(--font-round); font-weight: 900; font-size: .98rem; }
.reel-open { font-size: .8rem; font-weight: 800; text-decoration: none; color: var(--purple-deep); white-space: nowrap; }
.reel-open:hover { text-decoration: underline; }
.showcase-foot { text-align: center; margin-top: 20px; color: var(--ink-soft); font-weight: 700; }

/* ============ Scroll reveal (оживление страницы) ============ */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal:nth-child(2) { transition-delay: .07s; }
html.js .reveal:nth-child(3) { transition-delay: .14s; }
html.js .reveal:nth-child(4) { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img, .sparkle, .pro-lock, .lock-emoji { animation: none !important; }
}
@media (max-width: 940px) {
  .authors-banner { grid-template-columns: 1fr; }
  .showcase-wrap { grid-template-columns: 1fr; }
  .showcase-photo img { max-height: 420px; }
}
