/* =========================================================
   Creative Studio Pro — Inbox Engine
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --ink: #120F2E;
  --ink-2: #3B3858;
  --muted: #676484;
  --faint: #9794B2;
  --line: #E7E4F3;
  --line-2: #F0EEF8;
  --bg: #F7F6FB;
  --card: #FFFFFF;
  --violet: #6C4DFF;
  --violet-600: #5638E8;
  --indigo: #4338CA;
  --lav: #F1EDFF;
  --lav-2: #E4DCFF;
  --deep: #1A1150;
  --deep-2: #2A1C78;
  --grad: linear-gradient(92deg, #7B5CFF 0%, #5B45F0 48%, #3D38CC 100%);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(18, 15, 46, .05), 0 1px 1px rgba(18, 15, 46, .03);
  --shadow: 0 1px 2px rgba(18, 15, 46, .05), 0 10px 28px -10px rgba(40, 26, 120, .18);
  --shadow-lg: 0 2px 6px rgba(18, 15, 46, .04), 0 28px 64px -20px rgba(40, 26, 120, .30);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
p, li, summary { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: #DCD3FF; color: var(--ink); }

.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: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--deep); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section[id] { scroll-margin-top: 96px; }

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

.section { padding: 112px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2 { font-size: clamp(32px, 4.3vw, 48px); line-height: 1.1; }
.section-head p { margin-top: 18px; max-width: 620px; font-size: 18px; color: var(--muted); text-wrap: balance; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 13px; margin-bottom: 18px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--violet-600);
  box-shadow: var(--shadow-sm);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px;
  border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--deep); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -10px rgba(26, 17, 80, .7); }
.btn-dark:hover { background: var(--deep-2); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { border-color: #D3CCEE; box-shadow: var(--shadow); }
.btn-outline { background: #fff; color: var(--ink); border-color: #D8D3EC; }
.btn-outline:hover { border-color: var(--violet); color: var(--violet-600); }
.btn-white { background: #fff; color: var(--deep); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.btn-white:hover { background: #F3F0FF; }
.btn[disabled] { cursor: default; }
.btn.is-loading { opacity: .8; }
.btn.is-loading .btn-label::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0 0; }
.nav {
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 10px 0 16px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border: 1px solid rgba(231, 228, 243, .95);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.scrolled .nav { background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -.02em; flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { display: inline-flex; align-items: center; white-space: nowrap; }
.brand-pro {
  margin-left: 7px; padding: 3px 7px 2px; border-radius: 6px;
  background: var(--lav); color: var(--violet-600);
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
}
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; margin-right: 6px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--violet-600); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-left: auto;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }
.mobile-menu {
  display: flex; flex-direction: column; margin-top: 8px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px; border-radius: 10px; font-weight: 600; color: var(--ink); }
.mobile-menu a:not(.btn):hover { background: var(--bg); }
.mobile-menu .btn { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 72px 0 0; overflow: hidden; margin-top: -92px; padding-top: 164px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.b1 { width: 640px; height: 640px; left: -200px; top: 20px; background: radial-gradient(circle at 45% 45%, rgba(176, 157, 255, .75), rgba(176, 157, 255, 0) 68%); }
.b2 { width: 600px; height: 600px; right: -180px; top: 110px; background: radial-gradient(circle, rgba(255, 234, 170, .85), rgba(255, 234, 170, 0) 68%); }
.b3 { width: 820px; height: 520px; left: 50%; top: 520px; transform: translateX(-50%); background: radial-gradient(circle, rgba(170, 196, 255, .6), rgba(170, 196, 255, 0) 70%); }
.hero-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(180deg, rgba(247, 246, 251, 0), var(--bg)); }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(108, 77, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 77, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 28%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 50% at 50% 28%, #000 25%, transparent 75%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; max-width: 100%;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: border-color .2s, box-shadow .2s;
}
.eyebrow:hover { border-color: #D3CCEE; box-shadow: var(--shadow); }
.eyebrow-tag { padding: 4px 10px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; }
.eyebrow-arrow { width: 15px; height: 15px; color: var(--violet-600); }
.hero-title { margin-top: 26px; font-size: clamp(38px, 6.4vw, 78px); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; }
.hero-lead { margin-top: 24px; max-width: 660px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-points { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.tick { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lav); color: var(--violet-600); }
.tick svg { width: 12px; height: 12px; }

/* Hero visual */
.hero-visual-wrap { margin-top: 68px; padding-bottom: 100px; }
.hero-visual { position: relative; max-width: 1020px; margin: 0 auto; }
.window { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.window-bar { position: relative; display: flex; align-items: center; height: 44px; padding: 0 16px; background: #FCFBFF; border-bottom: 1px solid var(--line-2); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #E6E3F0; }
.dots i:nth-child(1) { background: #FF8F85; }
.dots i:nth-child(2) { background: #FFD36B; }
.dots i:nth-child(3) { background: #7DDDA6; }
.window-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 500; color: var(--faint); white-space: nowrap; }
.window-body { display: grid; grid-template-columns: 236px 1fr; text-align: left; }
.win-side { padding: 18px 14px; border-right: 1px solid var(--line-2); background: linear-gradient(180deg, #FDFCFF, #FAF8FF); }
.side-course { display: flex; align-items: center; gap: 10px; padding: 2px 6px 16px; }
.side-mark { width: 32px; height: 32px; flex: none; }
.side-course b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.25; }
.side-course small { display: block; font-size: 11.5px; color: var(--muted); }
.side-progress { margin: 0 4px 14px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line-2); }
.side-progress-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.side-progress-top b { color: var(--ink); }
.bar { margin-top: 8px; height: 6px; border-radius: 99px; background: #EEEBF8; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.side-modules { display: flex; flex-direction: column; gap: 2px; }
.side-modules li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.side-modules .mi { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #F1EFF8; color: var(--faint); font-size: 11px; font-weight: 700; }
.side-modules .mi svg { width: 12px; height: 12px; }
.side-modules .done .mi { background: #E3F6EA; color: #16A34A; }
.side-modules .current { background: var(--lav); color: var(--ink); font-weight: 600; }
.side-modules .current .mi { background: var(--violet); color: #fff; }
.side-modules .current .mi svg { width: 10px; height: 10px; margin-left: 1px; }
.win-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px 22px 22px; }
.lesson-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.chip-lav { background: var(--lav); color: var(--violet-600); }
.lesson-meta { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.lesson-meta svg { width: 15px; height: 15px; }
.player { position: relative; height: 252px; border-radius: 14px; overflow: hidden; background: radial-gradient(90% 130% at 10% 0%, #8468FF 0%, #4C37D8 45%, #1E1268 100%); }
.player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 70, 0) 55%, rgba(20, 10, 70, .55)); }
.player-art { position: absolute; inset: 0; }
.pa-card { position: absolute; width: 150px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 16px 34px -12px rgba(10, 5, 50, .55); display: flex; flex-direction: column; gap: 6px; }
.pa-card span { display: block; height: 46px; border-radius: 8px; background: linear-gradient(135deg, #FFD7C4, #FFB39A); }
.pa-card i { display: block; height: 5px; border-radius: 3px; background: #E8E4F6; }
.pa-card i.s { width: 58%; }
.pa-1 { left: 9%; top: 20%; transform: rotate(-8deg); }
.pa-2 { left: 50%; top: 11%; transform: translateX(-50%) rotate(2deg); }
.pa-2 span { background: linear-gradient(135deg, #CFC2FF, #9B84FF); }
.pa-3 { right: 9%; top: 23%; transform: rotate(9deg); }
.pa-3 span { background: linear-gradient(135deg, #C3EBD6, #85D5AB); }
.play-btn { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--violet-600); box-shadow: 0 0 0 10px rgba(255, 255, 255, .2), 0 14px 30px -8px rgba(10, 5, 50, .6); }
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.player-ui { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 11px; font-weight: 600; }
.pu-bar { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.pu-bar i { display: block; width: 34%; height: 100%; border-radius: inherit; background: #fff; }
.lesson-body h3 { font-size: 17px; letter-spacing: -.015em; }
.lesson-body p { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.resources { display: flex; flex-wrap: wrap; gap: 8px; }
.res { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.res svg { width: 15px; height: 15px; color: var(--violet-600); }

/* Floating cards */
.float { position: absolute; z-index: 3; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.f-email { left: -72px; bottom: -64px; width: 206px; padding: 12px; animation-delay: -2s; }
.fe-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 700; flex: none; }
.av-peach { background: #FFE3D6; color: #C2410C; }
.fe-top b { display: block; font-size: 12px; color: var(--ink); line-height: 1.25; }
.fe-top small { display: block; font-size: 10.5px; color: var(--muted); }
.fe-hero { padding: 12px; border-radius: 10px; background: linear-gradient(135deg, #FFD7C4, #FFB39A); color: #6F2A14; }
.fe-hero small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .14em; }
.fe-hero b { display: block; margin-top: 3px; font-size: 16px; line-height: 1.12; letter-spacing: -.02em; color: #5A200D; }
.fe-lines { display: flex; flex-direction: column; gap: 5px; margin: 10px 0 11px; }
.fe-lines i { display: block; height: 5px; border-radius: 3px; background: #ECEAF4; }
.fe-lines i.s { width: 60%; }
.fe-btn { display: inline-block; padding: 7px 12px; border-radius: 8px; background: #F26B4F; color: #fff; font-size: 10.5px; font-weight: 700; }

.f-flow { right: -74px; top: 44px; width: 236px; padding: 14px; animation-delay: -4.5s; }
.ff-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ff-title { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink); }
.ff-title svg { width: 16px; height: 16px; color: var(--violet-600); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.pill-green { background: #E3F6EA; color: #15803D; }
.pill-green::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.pill-lav { background: var(--lav); color: var(--violet-600); }
.ff-steps { position: relative; display: flex; flex-direction: column; gap: 10px; }
.ff-steps::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 2px; background: repeating-linear-gradient(180deg, #D9D3F2 0 4px, transparent 4px 8px); }
.ff-steps li { position: relative; display: flex; align-items: center; gap: 10px; }
.ff-steps b { display: block; font-size: 12.5px; color: var(--ink); line-height: 1.25; }
.ff-steps small { display: block; font-size: 11px; color: var(--muted); }
.fnode-ic { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.fnode-ic svg { width: 16px; height: 16px; }
.ic-violet { background: var(--lav); color: var(--violet-600); }
.ic-blue { background: #E5EEFF; color: #2563EB; }
.ic-amber { background: #FFF1D6; color: #B45309; }
.ic-green { background: #E3F6EA; color: #15803D; }

.f-check { right: -36px; bottom: -34px; width: 248px; padding: 14px; animation-delay: -1s; }
.fc-head { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.fc-head svg { width: 15px; height: 15px; color: var(--violet); }
.fc-subject { margin: 9px 0 10px; padding: 9px 10px; border-radius: 10px; background: var(--lav); color: #3F2DB5; font-size: 12px; font-weight: 600; line-height: 1.4; }
.fc-list { display: flex; flex-direction: column; gap: 6px; }
.fc-list li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.fc-list svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #E3F6EA; color: #16A34A; }

/* ---------- Platforms ---------- */
.platforms { padding: 0 0 8px; }
.platforms-title { text-align: center; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--faint); }
.platforms-list { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 38px; }
.platforms-list li { font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: #ABA7C6; }

/* ---------- Why / compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.compare-card { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.compare-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 19px; }
.compare-before { background: #FBFBFD; }
.compare-before h3 { color: var(--muted); }
.compare-after { background: linear-gradient(180deg, #FFFFFF, #F6F2FF); border-color: #DDD4FF; box-shadow: var(--shadow); }
.compare-mark { width: 28px; height: 28px; }
.compare-card ul { display: flex; flex-direction: column; gap: 15px; }
.compare-card li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.compare-before li { color: var(--muted); }
.ci { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 0; border-radius: 50%; }
.ci svg { width: 13px; height: 13px; }
.ci-x { background: #F0EFF5; color: #9E9BB8; }
.ci-ok { background: var(--violet); color: #fff; }

/* ---------- Features ---------- */
.why { padding-bottom: 56px; }
.features { padding-top: 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature:hover { transform: translateY(-3px); border-color: #DDD4FF; box-shadow: var(--shadow); }
.f-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(180deg, #FFFFFF, #F3F0FF); border: 1px solid var(--line); color: var(--violet-600); box-shadow: var(--shadow-sm); }
.f-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; letter-spacing: -.015em; }
.feature p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Templates ---------- */
.templates { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.split-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: end; margin-bottom: 52px; }
.split-head h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; }
.split-head-side p { font-size: 17px; color: var(--muted); }
.mini-checks { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mini-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.mini-checks svg { width: 16px; height: 16px; color: var(--violet-600); }

.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tpl { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.tpl:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tpl-canvas { position: relative; display: flex; justify-content: center; height: 280px; padding: 28px 28px 0; overflow: hidden; }
.c-peach { background: linear-gradient(180deg, #FFF4EE, #FFE6DB); }
.c-sky { background: linear-gradient(180deg, #F0F5FF, #DFEAFF); }
.c-lav { background: linear-gradient(180deg, #F4F0FF, #E6DEFF); }
.c-mint { background: linear-gradient(180deg, #EEF9F3, #DAF2E4); }
.c-sun { background: linear-gradient(180deg, #FFF9E3, #FFEEBF); }
.c-rose { background: linear-gradient(180deg, #FEF0F6, #F9DCEA); }
.tpl-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line-2); }
.tpl-meta h3 { font-size: 15.5px; letter-spacing: -.01em; }
.tpl-meta small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Mini emails */
.me { width: 100%; max-width: 252px; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 22px; background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 14px 34px -14px rgba(30, 20, 80, .3), 0 1px 2px rgba(30, 20, 80, .06); transition: transform .4s ease; }
.tpl:hover .me { transform: translateY(-6px); }
.me-top { display: flex; align-items: center; justify-content: space-between; }
.me-logo { font-size: 11px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.me-menu { width: 16px; height: 8px; border-top: 2px solid #D9D6E7; border-bottom: 2px solid #D9D6E7; }
.me-issue { font-size: 9.5px; font-weight: 700; color: var(--faint); }
.me-hero { display: flex; flex-direction: column; gap: 3px; padding: 16px 14px; border-radius: 10px; }
.me-hero small { font-size: 8.5px; font-weight: 800; letter-spacing: .14em; }
.me-hero b { font-size: 20px; line-height: 1.08; letter-spacing: -.03em; }
.me-hero span { font-size: 10px; line-height: 1.35; }
.h-peach { background: linear-gradient(135deg, #FFD7C4, #FFB39A); color: #6F2A14; }
.h-peach b { color: #561C0B; }
.h-dark { background: radial-gradient(130% 120% at 0% 0%, #4630B8 0%, #1A1150 62%); color: #D9D1FF; }
.h-dark small { color: #BBA9FF; }
.h-dark b { color: #fff; }
.me-body { display: flex; flex-direction: column; gap: 6px; }
.me-body i { display: block; height: 6px; border-radius: 3px; background: #ECEAF4; }
.me-body i.w70 { width: 70%; }
.me-btn { align-self: flex-start; padding: 7px 12px; border-radius: 8px; color: #fff; font-size: 10px; font-weight: 700; }
.b-coral { background: #F26B4F; }
.b-violet { background: var(--violet); }
.b-green { background: #16A34A; }
.b-dark { background: var(--deep); }
.b-pink { background: #DB2777; }
.me-title { font-size: 14.5px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.me-row { display: flex; align-items: center; gap: 10px; padding-top: 9px; border-top: 1px solid #F1EFF7; }
.me-thumb { flex: none; width: 36px; height: 36px; border-radius: 8px; }
.th-sky { background: linear-gradient(135deg, #C7DBFF, #8EB3FF); }
.th-lav { background: linear-gradient(135deg, #DCD2FF, #A792FF); }
.th-mint { background: linear-gradient(135deg, #C9F0DB, #7FD3A6); }
.me-row b { display: block; font-size: 10.5px; line-height: 1.3; color: var(--ink); }
.me-row i { display: block; width: 78%; height: 5px; margin-top: 5px; border-radius: 3px; background: #ECEAF4; }
.me-product { display: flex; align-items: center; gap: 10px; padding: 9px; border: 1px solid #EEECF5; border-radius: 10px; }
.me-pimg { position: relative; flex: none; width: 42px; height: 42px; border-radius: 8px; background: linear-gradient(135deg, #EFE3CF, #CFB78F); overflow: hidden; }
.me-pimg::before { content: ""; position: absolute; left: 11px; right: 11px; top: 9px; height: 10px; border: 2px solid rgba(90, 64, 30, .45); border-bottom: none; border-radius: 8px 8px 0 0; }
.me-pimg::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 7px; height: 18px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.me-product b { display: block; font-size: 10.5px; color: var(--ink); }
.me-product small { display: block; font-size: 9px; color: var(--faint); }
.me-product em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; color: var(--ink); }
.me-sale { padding: 15px 14px; border-radius: 10px; background: var(--deep); color: #fff; text-align: center; }
.me-sale small { display: block; font-size: 8.5px; font-weight: 800; letter-spacing: .16em; color: #FFE08A; }
.me-sale b { display: block; margin-top: 5px; font-size: 23px; line-height: 1.02; letter-spacing: -.035em; }
.me-code { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border: 1.5px dashed #E6C35C; border-radius: 8px; background: #FFFCF0; font-size: 9.5px; color: var(--muted); }
.me-code b { font-size: 11px; letter-spacing: .1em; color: var(--ink); }
.me-ticket { position: relative; display: flex; flex-direction: column; padding: 12px 14px; border-radius: 10px; background: linear-gradient(135deg, #FFE2EE, #FFC4DA); color: #86183F; }
.me-ticket b { font-size: 19px; letter-spacing: -.03em; line-height: 1.1; }
.me-ticket span { font-size: 9.5px; }
.me-ticket::before, .me-ticket::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateY(-50%); }
.me-ticket::before { left: -6px; }
.me-ticket::after { right: -6px; }

/* Tier tags */
.tier-tag { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.t-starter { background: #E7F7EE; color: #15803D; }
.t-pro { background: var(--lav); color: var(--violet-600); }
.t-expert { background: #FFF0D9; color: #B45309; }

/* ---------- Flows ---------- */
.flows { background: linear-gradient(180deg, var(--bg) 0%, #EFEBFB 50%, var(--bg) 100%); }
.flows-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.flow-board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.fb-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.fb-canvas { display: flex; flex-direction: column; align-items: center; padding: 30px 20px 32px; background-color: #FCFBFF; background-image: radial-gradient(#E2DEF2 1px, transparent 1px); background-size: 18px 18px; }
.fnode { display: flex; align-items: center; gap: 12px; min-width: 260px; padding: 10px 16px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.fnode small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.fnode b { display: block; font-size: 13.5px; line-height: 1.25; color: var(--ink); }
.fline { position: relative; display: block; width: 2px; height: 26px; background: #D5CFEA; }
.fline::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 7px; height: 7px; border-right: 2px solid #D5CFEA; border-bottom: 2px solid #D5CFEA; transform: translateX(-50%) rotate(45deg); }
.fline-sm { height: 16px; }
.fsplit { position: relative; padding: 8px 16px; border-radius: 999px; background: var(--deep); color: #fff; font-size: 12.5px; font-weight: 600; }
.fsplit::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 12px; margin-left: -1px; background: #D5CFEA; }
.fbranches { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 24px; }
.fbranches::before { content: ""; position: absolute; top: -12px; left: 25%; right: 25%; height: 12px; border: 2px solid #D5CFEA; border-bottom: none; border-radius: 12px 12px 0 0; }
.fbranch { display: flex; flex-direction: column; align-items: center; padding: 0 6px; }
.fb-label { padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.fb-label.yes { background: #E3F6EA; color: #15803D; }
.fb-label.no { background: #FFEAE3; color: #C2410C; }
.fnode-sm { min-width: 0; width: 100%; max-width: 230px; padding: 8px 12px 8px 8px; }
.fnode-sm .fnode-ic { width: 28px; height: 28px; border-radius: 9px; }
.fnode-sm .fnode-ic svg { width: 14px; height: 14px; }
.fnode-sm b { font-size: 12.5px; }

.flows-copy h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; }
.flows-copy > p:not(.flows-note) { margin-top: 18px; font-size: 17px; color: var(--muted); }
.flow-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.flow-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.fl-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--lav); color: var(--violet-600); }
.fl-ic svg { width: 19px; height: 19px; }
.flow-list b { display: block; font-size: 15px; color: var(--ink); }
.flow-list small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.flows-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--violet-600); }
.flows-note svg { width: 16px; height: 16px; }

/* ---------- Curriculum ---------- */
.legend { display: flex; justify-content: center; gap: 24px; margin: -24px 0 30px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.d-starter { background: #22C55E; }
.d-pro { background: var(--violet); }
.d-expert { background: #F59E0B; }
.modules { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.module { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.module[open] { border-color: #DDD4FF; box-shadow: var(--shadow); }
.module summary { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; border-radius: 18px; }
.module summary::-webkit-details-marker { display: none; }
.m-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--lav); color: var(--violet-600); font-size: 14px; font-weight: 700; }
.m-title b { display: block; font-size: 16.5px; letter-spacing: -.01em; color: var(--ink); }
.m-title small { display: block; margin-top: 1px; font-size: 13px; color: var(--muted); }
.m-chev { width: 20px; height: 20px; color: var(--faint); transition: transform .25s ease; }
.module[open] .m-chev { transform: rotate(180deg); }
.m-lessons { display: flex; flex-direction: column; padding: 0 22px 18px 80px; }
.m-lessons li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14.5px; color: var(--ink-2); border-top: 1px dashed var(--line); }
.m-lessons li:first-child { border-top: none; }
.m-lessons svg { flex: none; width: 17px; height: 17px; color: var(--violet); }

/* ---------- Steps ---------- */
.steps { padding-top: 40px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step-num { position: absolute; top: 20px; right: 24px; font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: #EEEAFD; }
.step-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; background: var(--deep); color: #fff; box-shadow: 0 12px 22px -12px rgba(26, 17, 80, .8); }
.step-ic svg { width: 22px; height: 22px; }
.step h3 { font-size: 18px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Author ---------- */
.author { padding-top: 48px; }
.author-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.author-visual { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.author-card { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: radial-gradient(120% 90% at 12% 0%, #8468FF 0%, #4C37D8 46%, #1E1268 100%); box-shadow: var(--shadow-lg); }
.author-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.author-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 36px 36px; }
.author-placeholder span { font-size: 190px; font-weight: 800; line-height: 1; letter-spacing: -.06em; color: rgba(255, 255, 255, .94); text-shadow: 0 24px 60px rgba(10, 5, 50, .4); margin-top: -40px; }
.author-tag { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.author-tag-mark { flex: none; width: 38px; height: 38px; }
.author-tag b { display: block; font-size: 16px; line-height: 1.25; color: var(--ink); }
.author-tag small { display: block; font-size: 12.5px; color: var(--muted); }
.author-float { position: absolute; right: -44px; top: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; }
.af-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lav); color: var(--violet-600); }
.af-ic svg { width: 17px; height: 17px; }
.author-float b { display: block; font-size: 13px; line-height: 1.3; color: var(--ink); }
.author-float small { display: block; font-size: 11.5px; color: var(--muted); }
.author-copy h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; }
.author-copy p { margin-top: 18px; font-size: 17px; color: var(--muted); }
.author-facts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.author-facts li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.f-ic-sm { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--lav); color: var(--violet-600); }
.f-ic-sm svg { width: 16px; height: 16px; }

/* ---------- Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg) 0, rgba(247, 246, 251, 0) 220px), radial-gradient(62% 42% at 50% 16%, #ECE6FF 0%, rgba(236, 230, 255, 0) 72%), var(--bg); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); }
.plan-featured { border: 2px solid var(--deep); box-shadow: 0 34px 70px -28px rgba(26, 17, 80, .5); }
.plan-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 99px; background: var(--deep); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(26, 17, 80, .7); }
.plan-ribbon svg { width: 13px; height: 13px; color: #FFE08A; }
.plan-name { display: flex; align-items: center; gap: 10px; }
.plan-name h3 { font-size: 21px; }
.plan-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.plan-ic svg { width: 18px; height: 18px; }
.pi-starter { background: #E7F7EE; color: #15803D; }
.pi-pro { background: var(--lav); color: var(--violet-600); }
.pi-expert { background: #FFF0D9; color: #B45309; }
.plan-for { margin-top: 12px; min-height: 46px; font-size: 14.5px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; margin-top: 16px; color: var(--ink); }
.plan-price .cur { align-self: flex-start; margin-top: 7px; margin-right: 2px; font-size: 24px; font-weight: 700; }
.plan-price .amt { font-size: 58px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.plan-price .per { margin-left: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-label { margin: 24px 0 14px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.plan-features li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan-features svg { flex: none; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--lav); color: var(--violet-600); }
.plan-features li.hl { color: var(--ink); }
.plan-features li.hl svg { background: #FFF0D9; color: #B45309; padding: 3.5px; }
.interest-form { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #D8D3EC; background: #FCFBFF; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s, background-color .15s; }
.input::placeholder { color: #A7A4C0; }
.input:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(108, 77, 255, .16); }
.input[aria-invalid="true"] { border-color: #E11D48; box-shadow: 0 0 0 4px rgba(225, 29, 72, .12); }
.form-note { font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--faint); }
.form-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form-status { font-size: 13px; font-weight: 500; text-align: center; }
.form-status:empty { display: none; }
.form-status.error { color: #E11D48; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-success { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 18px; border-radius: 16px; background: linear-gradient(180deg, #F6F3FF, #EEE9FF); border: 1px solid #DDD4FF; text-align: center; animation: pop .45s cubic-bezier(.2, .9, .3, 1.2); }
.form-success:focus { outline: none; }
.form-success .ok { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--violet); color: #fff; box-shadow: 0 0 0 8px rgba(108, 77, 255, .14); margin-bottom: 4px; }
.form-success .ok svg { width: 22px; height: 22px; }
.form-success b { font-size: 16.5px; color: var(--ink); }
.form-success p { font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.plans-foot { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.plans-foot svg { flex: none; width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-intro { position: sticky; top: 112px; }
.faq-intro h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; }
.faq-intro p { margin-top: 16px; font-size: 16px; color: var(--muted); }
.faq-intro a { color: var(--violet-600); font-weight: 600; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: #DDD4FF; box-shadow: var(--shadow-sm); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); border-radius: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex: none; width: 20px; height: 20px; color: var(--faint); transition: transform .25s ease; }
.qa[open] summary svg { transform: rotate(180deg); }
.qa p { padding: 0 22px 20px; font-size: 15px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta-section { padding: 8px 0 112px; }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 32px;
  padding: 60px 64px; border-radius: 32px; color: #fff;
  background:
    radial-gradient(80% 130% at 0% 0%, rgba(124, 92, 255, .95) 0%, rgba(124, 92, 255, 0) 55%),
    radial-gradient(70% 120% at 100% 100%, rgba(61, 56, 204, .9) 0%, rgba(61, 56, 204, 0) 60%),
    var(--deep);
  box-shadow: 0 40px 80px -34px rgba(26, 17, 80, .6);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at 75% 50%, #000 15%, transparent 70%);
}
.cta-copy h2 { max-width: 15ch; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; color: #fff; }
.cta-copy p { margin-top: 16px; max-width: 44ch; font-size: 17px; color: #D2CBF6; }
.cta-copy .btn { margin-top: 30px; }
.cta-art { display: flex; justify-content: center; }
.envelope { width: 100%; max-width: 320px; height: auto; overflow: visible; }
.envelope .letter { animation: letter 4.5s ease-in-out infinite; }
@keyframes letter { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.envelope .spark { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.envelope .s2 { animation-delay: -1s; }
.envelope .s3 { animation-delay: -2.1s; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 60px 0 30px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 34ch; font-size: 14.5px; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { margin-bottom: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.footer-col a { font-size: 14.5px; color: var(--ink-2); transition: color .15s; }
.footer-col a:hover { color: var(--violet-600); }
.footer-bottom { margin-top: 44px; padding-top: 22px; background: linear-gradient(var(--line-2), var(--line-2)) center top / calc(100% - 48px) 1px no-repeat; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--faint); }

/* ---------- Simple pages (privacy, thanks, 404) ---------- */
.page { padding: 150px 0 96px; margin-top: -92px; background: radial-gradient(60% 40% at 50% 0%, #ECE6FF 0%, rgba(236, 230, 255, 0) 70%), var(--bg); }
.page-narrow { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -.035em; }
.prose .updated { margin-top: 12px; font-size: 14px; color: var(--faint); }
.prose .intro { margin-top: 22px; font-size: 18px; color: var(--muted); }
.prose h2 { margin-top: 44px; font-size: 22px; letter-spacing: -.02em; }
.prose p, .prose li { font-size: 16px; color: var(--ink-2); }
.prose p { margin-top: 12px; }
.prose ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.prose a { color: var(--violet-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose .card-note { margin-top: 44px; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.center-card { max-width: 560px; margin: 0 auto; padding: 48px 40px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); }
.center-card .ok { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--violet); color: #fff; box-shadow: 0 0 0 10px rgba(108, 77, 255, .14); }
.center-card .ok svg { width: 30px; height: 30px; }
.center-card .code { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 14px; }
.center-card h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; }
.center-card p { margin-top: 12px; font-size: 16.5px; color: var(--muted); }
.center-card .btn { margin-top: 28px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .author-float, .envelope .letter, .envelope .spark { animation: none; }
  .tpl, .feature, .me, .btn, .btn svg { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .f-email { left: -20px; }
  .f-flow { right: -20px; }
  .f-check { right: 16px; }
}
@media (max-width: 1024px) {
  .feature-grid, .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .compare, .flows-grid, .faq-grid, .split-head { grid-template-columns: 1fr; }
  .split-head { gap: 18px; align-items: start; }
  .flows-grid { gap: 44px; }
  .flows-copy { order: -1; }
  .faq-grid { gap: 32px; }
  .faq-intro { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; gap: 30px; }
  .plan-for { min-height: 0; }
  .step-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .cta-card { grid-template-columns: 1fr; padding: 48px 36px; text-align: center; }
  .cta-copy h2, .cta-copy p { margin-left: auto; margin-right: auto; }
  .cta-art { max-width: 260px; margin: 0 auto; }
  .window-body { grid-template-columns: 204px 1fr; }
  .f-check { display: none; }
  .author-grid { grid-template-columns: 1fr; gap: 48px; }
  .author-float { right: -12px; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .features, .steps { padding-top: 24px; }
  .float { display: none; }
  .window-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .window-title { font-size: 11.5px; }
  .player { height: 210px; }
  .pa-card { width: 120px; }
  .res-hide-sm { display: none; }
  .hero-visual-wrap { margin-top: 48px; padding-bottom: 72px; }
  .section-head { margin-bottom: 40px; }
  .cta-section { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 140px; }
  .hero-title { font-size: clamp(31px, 9.3vw, 44px); letter-spacing: -.035em; }
  .hide-sm { display: none; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-points { flex-direction: column; align-items: center; gap: 10px; }
  .window-bar { justify-content: flex-start; }
  .window-title { position: static; transform: none; margin-left: 14px; overflow: hidden; text-overflow: ellipsis; }
  .win-main { padding: 16px; }
  .player { height: 190px; }
  .pa-card { width: 96px; padding: 8px; }
  .pa-card span { height: 32px; }
  .lesson-head .chip { font-size: 11.5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .tpl-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .tpl-grid::-webkit-scrollbar { display: none; }
  .tpl { scroll-snap-align: center; }
  .tpl:hover { transform: none; }
  .compare-card { padding: 24px 22px; }
  .module summary { grid-template-columns: auto 1fr auto; grid-template-areas: "num title chev" "num tag chev"; row-gap: 6px; column-gap: 14px; padding: 16px; }
  .m-num { grid-area: num; width: 40px; height: 40px; }
  .m-title { grid-area: title; }
  .module summary .tier-tag { grid-area: tag; justify-self: start; }
  .m-chev { grid-area: chev; }
  .m-lessons { padding: 0 16px 14px; }
  .fnode { min-width: 0; width: 100%; max-width: 300px; }
  .fb-canvas { padding: 24px 12px 26px; }
  .fnode-sm b { font-size: 11.5px; }
  .plan { padding: 28px 22px 22px; }
  .qa summary { padding: 17px 18px; font-size: 15.5px; }
  .qa p { padding: 0 18px 18px; }
  .cta-card { padding: 40px 22px; border-radius: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; background-size: calc(100% - 32px) 1px; }
  .platforms-list { gap: 10px 24px; }
  .platforms-list li { font-size: 16px; }
  .page { padding-top: 130px; }
  .author-facts { grid-template-columns: 1fr; }
  .author-float { display: none; }
  .author-placeholder span { font-size: 150px; }
  .center-card { padding: 40px 22px; }
}
