/* ==========================================================================
   BulbaSoft ecosystem site. Design system v2.
   Primary #811678. Plugin characters from /logo. Moves into a WordPress theme as-is.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* brand */
  --p-900: #2b0a2a;
  --p-800: #4a0f4a;
  --p-700: #5e1058;
  --p-600: #811678;          /* primary */
  --p-500: #a11f93;
  --p-400: #c23aae;
  --p-300: #dc6fca;
  --p-200: #efb9e5;
  --p-100: #f8e3f4;
  --p-50:  #fcf3fa;

  /* mascot accents */
  --gold: #f5b642;
  --gold-600: #d9951c;
  --teal: #2aa39a;
  --coral: #e0523f;
  --cream: #fff7ea;

  --ink: #1d1026;
  --ink-2: #5a4b63;
  --ink-3: #8d8194;
  --line: #ebe2ea;
  --line-2: #d9cbd8;
  --bg: #ffffff;
  --bg-soft: #fbf6fb;

  --grad-brand: linear-gradient(135deg, #5e1058 0%, #811678 45%, #b0257f 100%);
  --grad-brand-soft: linear-gradient(135deg, #811678 0%, #c23aae 100%);
  --grad-warm: linear-gradient(135deg, #f5b642 0%, #e0523f 100%);
  --grad-hero: radial-gradient(1200px 600px at 85% 10%, rgba(194,58,174,.45), transparent 60%),
               radial-gradient(800px 500px at 10% 90%, rgba(245,182,66,.28), transparent 60%),
               linear-gradient(160deg, #3a0c3a 0%, #5e1058 40%, #811678 100%);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(43,10,42,.06);
  --shadow-md: 0 12px 32px -12px rgba(43,10,42,.25);
  --shadow-lg: 0 30px 60px -24px rgba(129,22,120,.45);

  --container: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 16px/1.6 var(--font-body);
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--font-mono); font-size: .82em; background: var(--p-50); color: var(--p-700); padding: 2px 6px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.015em; line-height: 1.12; }
h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.grad-text { background: var(--grad-brand-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-brand-soft); color: #fff; box-shadow: 0 10px 24px -10px rgba(129,22,120,.6); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(129,22,120,.7); }
.btn--secondary { background: #fff; color: var(--p-700); border-color: var(--p-200); }
.btn--secondary:hover { border-color: var(--p-600); }
.btn--ghost { color: var(--ink-2); padding-inline: 14px; }
.btn--ghost:hover { color: var(--p-600); background: var(--p-50); }
.btn--light { background: #fff; color: var(--p-700); }
.btn--light:hover { background: var(--p-100); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--gold { background: var(--grad-warm); color: #fff; box-shadow: 0 10px 24px -10px rgba(224,82,63,.55); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(129,22,120,.08);
}
.site-header--dark { background: rgba(43,10,42,.75); border-bottom-color: rgba(255,255,255,.08); color: #fff; }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo img { width: 42px; height: 42px; object-fit: contain; }
.logo__text b { color: var(--p-600); }
.site-header--dark .logo__text b { color: var(--p-300); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__list { display: flex; gap: 26px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.site-header--dark .nav__list { color: rgba(255,255,255,.8); }
.nav__list a { position: relative; padding: 6px 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad-brand-soft); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav__list a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-hero); color: #fff; overflow: hidden; }
.hero::after { /* soft fade into white */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.0) 40%, #fff);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: clamp(56px, 7vw, 96px) 0 clamp(96px, 10vw, 140px); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  font-size: 13px; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.9);
}
.hero__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(245,182,66,.25); }
.hero__title { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin: 26px 0 20px; max-width: 15ch; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; color: rgba(255,255,255,.82); max-width: 54ch; }

/* Actions: price lives in the primary button — the only accent; one terms line below */
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero__actions .btn--gold { height: 56px; padding: 0 30px; font-size: 17px; box-shadow: 0 18px 36px -16px rgba(0,0,0,.6); }
.hero__note { margin-top: 14px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.62); max-width: 52ch; }

/* Three icon facts — exactly three columns, icon above text so nothing wraps */
.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14); max-width: 600px;
}
.hero__facts li { display: flex; flex-direction: column; gap: 12px; }
.hero__facts svg {
  flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px;
  background: rgba(255,255,255,.1); color: var(--gold);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.hero__facts span { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.62); }
.hero__facts b { font-size: 15px; font-weight: 700; line-height: 1.25; color: #fff; }

/* ---------- Orbit slider (hero) ----------
   Center (large PNG, no backdrop) + 8 plugin "planets" on one orbit. Planet set is random on load.
   Click a planet: it moves to center; its slot gets a plugin not yet on the orbit.
   Name is large above the orbit, description below. Static layout; swap is a crossfade (main.js). */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; }
.orbit__glow { position: absolute; inset: 16%; border-radius: 50%; background: radial-gradient(circle, rgba(245,182,66,.5), rgba(245,182,66,0) 68%); filter: blur(8px); pointer-events: none; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.22); pointer-events: none; }
.orbit__ring--1 { inset: 8%; }    /* planets orbit */
.orbit__ring--2 { inset: 22%; border-style: dotted; border-color: rgba(255,255,255,.16); }

.orbit__center {
  position: absolute; left: 50%; top: 50%; width: 54%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center;
}
.orbit__center img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.4));
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.orbit__center.is-swap img { opacity: 0; transform: scale(.7); }

.orbit__planets { position: absolute; inset: 0; }
.planet {
  --sz: 72px;
  position: absolute; left: var(--x); top: var(--y); width: var(--sz); height: var(--sz);
  transform: translate(-50%, -50%); padding: 0; border: 3px solid rgba(255,255,255,.9); border-radius: 50%;
  background: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.planet:hover, .planet:focus-visible { transform: translate(-50%, -50%) scale(1.15); border-color: var(--gold); box-shadow: 0 16px 30px -10px rgba(0,0,0,.6), 0 0 0 4px rgba(245,182,66,.35); outline: none; z-index: 2; }
.planet img {
  width: 100%; height: 100%; object-fit: contain; border-radius: 50%; padding: 7%;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.planet.is-swap img { opacity: 0; transform: scale(.5); }

.orbit__name { display: block; min-height: 1.2em; text-align: center; font: 800 clamp(24px, 2.4vw, 32px)/1.2 var(--font-head); letter-spacing: -.02em; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.orbit__name small { display: inline-block; margin-left: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font: 700 11px/1.5 var(--font-body); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.orbit__caption { text-align: center; max-width: 440px; min-height: 84px; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.orbit__name.is-swap, .orbit__caption.is-swap { opacity: 0; transform: translateY(6px); }
.orbit__desc { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.8); }
.orbit__link { font-size: 14px; font-weight: 700; color: var(--gold); }
.orbit__link:hover { color: #fff; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Proof strip ---------- */
.proof { position: relative; z-index: 2; margin-top: -56px; }
.proof__card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--font-head); font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat span { font-size: 14px; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 8vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--p-900); color: #fff; }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .section__lead { color: rgba(255,255,255,.72); }
.section__head { max-width: 780px; margin-bottom: 48px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-warm); }
.section__head--center .eyebrow::before { display: none; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border-radius: var(--r-lg); padding: 30px; }
.compare__col--pain { background: #f6f2f6; border: 1px solid var(--line); }
.compare__col--fix { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.compare__col--fix::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.compare__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 22px; }
.compare__title img { width: 40px; height: 40px; object-fit: contain; }
.compare__col--pain .compare__title { color: var(--ink-2); }
.compare__list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,.06); font-size: 15.5px; }
.compare__col--fix .compare__list li { border-top-color: rgba(255,255,255,.14); }
.compare__list li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 1px; }
.compare__col--pain .compare__list li::before { background: #e9dfe8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d8194' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat; }
.compare__col--fix .compare__list li::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a1d05' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 28px; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__ghost { /* large step number — the only marker, no duplicate chips */
  display: block; font-family: var(--font-head); font-size: 96px; font-weight: 800; line-height: .9; letter-spacing: -.04em;
  margin: -6px 0 -14px -4px; color: var(--p-100);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Modules ---------- */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.filter__btn { height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .15s var(--ease); }
.filter__btn:hover { border-color: var(--p-400); color: var(--p-600); }
.filter__btn.is-active { background: var(--grad-brand-soft); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px rgba(129,22,120,.6); }
.filter__count { margin-left: auto; font-size: 13px; color: var(--ink-3); }

.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.module::before { /* gradient border on hover */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: var(--grad-brand-soft); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .2s;
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.module:hover::before { opacity: 1; }
.module.is-hidden { display: none; }
.module__avatar { position: relative; width: 84px; height: 84px; border-radius: 22px; background: var(--p-50); overflow: hidden; display: grid; place-items: center; }
.module__avatar img, .module__avatar video { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.module__avatar video { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.module:hover .module__avatar video.is-ready { opacity: 1; }
.module__avatar--empty { background: linear-gradient(135deg, var(--p-100), var(--p-50)); color: var(--p-600); font-family: var(--font-head); font-weight: 800; font-size: 28px; }
.module__avatar--empty::after { content: "soon"; position: absolute; bottom: 6px; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p-400); }
.module__cat { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-600); background: var(--p-50); padding: 4px 9px; border-radius: 999px; }
/* AI badge on plugins with generation — inside the category pill */
.module--ai .module__cat { display: inline-flex; align-items: center; gap: 6px; padding-left: 3px; }
.module__ai { display: inline-grid; place-items: center; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--grad-warm); color: #fff; font-size: 10px; letter-spacing: .04em; }
.module h3 { font-size: 17px; }
.module h3 a::after { content: ""; position: absolute; inset: 0; }
.module code { font-size: 11px; }
.module p { color: var(--ink-2); font-size: 14px; flex: 1; }
.module__pairs { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.module__pairs span { display: flex; }
.module__pairs img { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--line); margin-left: -6px; object-fit: contain; }
.module__pairs img:first-child { margin-left: 0; }
.module__pairs i { width: 22px; height: 22px; border-radius: 50%; margin-left: -6px; background: var(--p-100); color: var(--p-600); font: 700 10px/22px var(--font-head); text-align: center; font-style: normal; box-shadow: 0 0 0 1px var(--line); }

.notice { margin-top: 28px; padding: 22px 26px; display: flex; align-items: center; gap: 20px; background: linear-gradient(135deg, var(--p-50), #fff); border: 1px solid var(--p-100); border-radius: var(--r-lg); }
.notice img { width: 64px; height: 64px; object-fit: contain; }
.notice p { flex: 1; color: var(--ink-2); font-size: 15px; }

/* ---------- Scenarios ---------- */
.scenarios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.scenario { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .2s var(--ease), box-shadow .25s var(--ease); }
.scenario:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scenario__head { padding: 26px 28px 22px; color: #fff; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.scenario--b2b .scenario__head { background: var(--grad-brand); }
.scenario--catalog .scenario__head { background: linear-gradient(135deg, #1c6b66, var(--teal)); }
.scenario--content .scenario__head { background: linear-gradient(135deg, #c0392b, var(--coral) 60%, #f28b5b); }
.scenario--speed .scenario__head { background: linear-gradient(135deg, #b8791a, var(--gold)); color: #3a1d05; }
.scenario__head h3 { font-size: 24px; font-weight: 800; }
.scenario__who { font-size: 13px; opacity: .85; margin-top: 4px; display: block; }
.scenario__team { display: flex; }
.scenario__team img { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid #fff; margin-left: -10px; object-fit: contain; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.scenario__team img:first-child { margin-left: 0; }
.scenario__body { padding: 22px 28px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--p-50); color: var(--p-700); }
.scenario__body p { color: var(--ink-2); flex: 1; }
.scenario__body .btn { align-self: flex-start; }

/* ---------- AI (bulk generation, credits billed separately) ---------- */
.ai { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: stretch; }
.ai__cases { display: grid; gap: 14px; align-content: start; }
.ai-case { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s; }
.ai-case:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: #fff; }
.ai-case__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--p-100), var(--p-50)); border: 1px solid var(--p-100); }
.ai-case__icon svg { width: 24px; height: 24px; stroke: var(--p-600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-case h3 { font-size: 18px; margin-bottom: 6px; }
.ai-case p { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }
.ai-case .chips li { background: #fff; border: 1px solid var(--line); }
.ai-credits { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-xl); background: var(--grad-brand); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.ai-credits::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(245,182,66,.35), transparent 70%); pointer-events: none; }
.ai-credits img { width: 84px; height: 84px; object-fit: contain; align-self: flex-start; position: relative; }
.ai-credits h3 { font-size: 22px; }
.ai-credits ul { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.8); }
.ai-credits li { position: relative; padding-left: 26px; }
.ai-credits li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a1d05' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.ai-credits b { color: #fff; }
.ai-credits .btn { margin-top: auto; }
.ai-credits small { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.62); }

/* ---------- Features (why core) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background .2s; }
.feature:hover { background: rgba(255,255,255,.09); }
.feature__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(255,255,255,.1); }
.feature__icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: rgba(255,255,255,.72); font-size: 15px; }
.core-band { margin-top: 44px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 24px 30px; border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.12); }
.core-band img { width: 88px; height: 88px; object-fit: contain; }
.core-band h3 { font-size: 20px; margin-bottom: 4px; }
.core-band p { color: rgba(255,255,255,.72); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-bottom: 36px; }
.seg { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.seg__label { font-size: 13px; color: var(--ink-3); padding: 0 10px 0 12px; }
.seg__btn { height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .15s; }
.seg__btn.is-active { background: var(--grad-brand-soft); color: #fff; box-shadow: 0 6px 14px -6px rgba(129,22,120,.6); }

.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tier--featured { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.tier__badge { position: absolute; top: -13px; left: 32px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--grad-warm); color: #3a1d05; }
.tier__name { font-size: 22px; font-weight: 800; }
.tier__desc { font-size: 15px; color: var(--ink-2); }
.tier--featured .tier__desc { color: rgba(255,255,255,.78); }
.tier__price { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.tier__price strong { font-family: var(--font-head); font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tier__price span { font-size: 15px; color: var(--ink-3); padding-bottom: 8px; }
.tier--featured .tier__price span { color: rgba(255,255,255,.7); }
.tier__alt { font-size: 14px; color: var(--ink-2); padding: 10px 14px; border-radius: 12px; background: var(--p-50); }
.tier--featured .tier__alt { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.tier__alt b { font-weight: 700; }
.tier__list { display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 15px; padding-top: 6px; border-top: 1px solid var(--line); }
.tier--featured .tier__list { border-top-color: rgba(255,255,255,.18); }
.tier__list li { position: relative; padding-left: 28px; padding-top: 4px; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--p-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23811678' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.tier--featured .tier__list li::before { background-color: rgba(255,255,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b642' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.tier__list li.is-plus { font-weight: 600; }
.tier__list small { display: block; font-size: 12.5px; color: var(--ink-3); }
.tier--featured .tier__list small { color: rgba(255,255,255,.62); }
.tier__note { font-size: 13px; color: var(--ink-3); }
.tier--featured .tier__note { color: rgba(255,255,255,.65); }

.pricing-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; margin: 28px auto 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.fact img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.fact b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.fineprint { margin-top: 20px; text-align: center; font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--p-200); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--p-50); color: var(--p-600); font-size: 20px; font-weight: 500; transition: transform .2s var(--ease), background .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--grad-brand-soft); color: #fff; }
.faq__item p { padding: 0 22px 20px; color: var(--ink-2); max-width: 74ch; }

/* ---------- CTA ---------- */
.cta { padding: clamp(24px, 4vw, 40px) 0 clamp(72px, 8vw, 112px); }
.cta__card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: clamp(32px, 4vw, 52px); border-radius: var(--r-xl); background: var(--grad-hero); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta__card h2 { max-width: 20ch; }
.cta__card p { margin-top: 14px; color: rgba(255,255,255,.78); max-width: 54ch; font-size: 17px; }
.cta__mascot { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.cta__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Contacts + form ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contacts__info { position: relative; }
.contacts__info .section__lead { margin-top: 16px; }
.contacts__mail { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease), box-shadow .25s var(--ease); }
.contacts__mail:hover { border-color: var(--p-200); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contacts__mail svg { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--grad-brand-soft); color: #fff; flex: 0 0 auto; }
.contacts__mail span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--ink-3); }
.contacts__mail b { font-family: var(--font-head); font-size: 19px; color: var(--p-700); letter-spacing: -.01em; }
.contacts__facts { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.contacts__facts li { position: relative; padding-left: 30px; font-size: 14px; color: var(--ink-2); display: flex; flex-direction: column; }
.contacts__facts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-warm) padding-box; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--gold); }
.contacts__facts b { color: var(--ink); font-weight: 700; }
.contacts__mascot { width: 150px; height: 150px; object-fit: contain; margin-top: 28px; filter: drop-shadow(0 16px 24px rgba(129,22,120,.22)); }

.form { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form__title { font-size: 22px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field i { color: var(--coral); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--font-body); color: var(--ink);
  padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line-2); background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a4b63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--p-600); background: #fff; box-shadow: 0 0 0 4px var(--p-100); }
.form.was-validated :invalid { border-color: var(--coral); }
.form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { margin: 3px 0 0; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--p-600); }
.check i { color: var(--coral); font-style: normal; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form__foot small { font-size: 13px; color: var(--ink-3); }
.form__foot small a { color: var(--p-600); font-weight: 600; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
.form__status { padding: 14px 16px; border-radius: var(--r-md); font-size: 14.5px; font-weight: 500; }
.form__status--ok { background: #e8f7f4; color: #176b64; border: 1px solid #bfe6df; }
.form__status--err { background: #fdeceb; color: #a83526; border: 1px solid #f5c9c3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--p-900); color: rgba(255,255,255,.72); padding: 60px 0 28px; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: #fff; }
.site-footer__brand p { margin-top: 16px; max-width: 34ch; }
.site-footer h4 { color: rgba(255,255,255,.45); margin-bottom: 14px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }

/* ==========================================================================
   PLUGIN PAGE
   ========================================================================== */
.p-hero { background: var(--grad-hero); color: #fff; position: relative; overflow: hidden; }
.p-hero__inner { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; padding: 36px 0 64px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.p-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.p-tag { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.p-tag--gold { background: var(--gold); color: #3a1d05; border-color: transparent; }
.p-tag--ai { background: var(--grad-warm); color: #fff; border-color: transparent; }
.p-hero h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; max-width: 18ch; }
.p-hero__lead { margin-top: 18px; font-size: 17.5px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 60ch; }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.p-hero__meta { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 30px; }
.p-hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.p-hero__meta small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.p-hero__meta b { font-size: 15px; font-weight: 600; }
.p-hero__art { position: relative; display: grid; place-items: center; }
.p-hero__art::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(245,182,66,.5), transparent 65%); filter: blur(8px); }
.p-hero__art > img { position: relative; width: 320px; height: 320px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); animation: bob 5s ease-in-out infinite; }
/* Plugin video: clip has a white background, so it sits in a white circle with radiating orbits */
.p-orb { position: relative; width: 360px; height: 360px; display: grid; place-items: center; animation: bob 5s ease-in-out infinite; }
.p-orb i { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.42); pointer-events: none; }
.p-orb i:nth-child(1) { inset: -18px; }
.p-orb i:nth-child(2) { inset: -52px; border-style: dotted; opacity: .75; }
.p-orb i:nth-child(3) { inset: -90px; opacity: .45; }
.p-orb video {
  position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff;
  box-shadow: 0 0 0 8px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6);
}

/* tabs bar */
.p-tabs { position: sticky; top: 72px; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.p-tabs__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.p-tabs__list::-webkit-scrollbar { display: none; }
.p-tab { position: relative; flex: 0 0 auto; height: 56px; padding: 0 18px; font-weight: 600; font-size: 15px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.p-tab small { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--p-50); color: var(--p-600); }
.p-tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad-brand-soft); transform: scaleX(0); transition: transform .2s var(--ease); }
.p-tab.is-active { color: var(--p-700); }
.p-tab.is-active::after { transform: scaleX(1); }
.p-panel { display: none; }
.p-panel.is-active { display: block; }

.p-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; padding: 48px 0 80px; }
.p-main > * + * { margin-top: 44px; }
.p-side { position: sticky; top: 144px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.side-card--brand { background: var(--grad-brand); color: #fff; border-color: transparent; }
.side-card h4 { margin-bottom: 12px; }
.side-card--brand h4 { color: rgba(255,255,255,.6); }
.side-card__price { font-family: var(--font-head); font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.side-card__price span { font-size: 14px; font-weight: 500; opacity: .75; margin-left: 6px; letter-spacing: 0; }
.side-card--brand p { font-size: 14px; color: rgba(255,255,255,.8); margin: 10px 0 16px; }
.side-card--ai { background: linear-gradient(135deg, var(--cream), #fff); border-color: #f3dfb0; }
.side-card--ai h4 { color: var(--gold-600); }
.side-card--ai p { font-size: 14px; color: var(--ink-2); }
.side-card--ai p + p { margin-top: 8px; }
.side-kv { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.side-kv li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.side-kv li:last-child { border: 0; padding-bottom: 0; }
.side-kv span { color: var(--ink-3); }
.side-kv b { font-weight: 600; text-align: right; }
.rel-mini { display: flex; flex-direction: column; gap: 10px; }
.rel-mini a, .rel-mini .is-ext { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.rel-mini a:hover { color: var(--p-600); }
.rel-mini img, .rel-mini i { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: var(--p-50); flex: 0 0 auto; }
.rel-mini i { display: grid; place-items: center; font: 700 12px var(--font-head); color: var(--p-600); font-style: normal; }

.p-block h2 { font-size: 28px; margin-bottom: 18px; }
.p-block__lead { color: var(--ink-2); font-size: 16.5px; max-width: 70ch; margin-bottom: 22px; }
.tasks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.task { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); font-size: 15px; }
.task i { flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--grad-brand-soft); color: #fff; font: 700 13px/30px var(--font-head); text-align: center; font-style: normal; }

/* features = admin tabs */
.fx { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.fx__nav { position: sticky; top: 144px; display: flex; flex-direction: column; gap: 4px; }
.fx__nav button { text-align: left; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; transition: background .15s, color .15s; }
.fx__nav button i { flex: 0 0 26px; height: 26px; border-radius: 8px; background: var(--p-50); color: var(--p-600); font: 700 12px/26px var(--font-head); text-align: center; font-style: normal; }
.fx__nav button:hover { background: var(--p-50); color: var(--p-700); }
.fx__nav button.is-active { background: var(--grad-brand-soft); color: #fff; box-shadow: 0 8px 18px -8px rgba(129,22,120,.6); }
.fx__nav button.is-active i { background: rgba(255,255,255,.2); color: #fff; }
.fx__panel { display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fx__panel.is-active { display: block; }
.fx__head { padding: 26px 28px; background: linear-gradient(135deg, var(--p-50), #fff); border-bottom: 1px solid var(--line); }
.fx__head .tabname { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p-600); background: #fff; border: 1px solid var(--p-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.fx__head h3 { font-size: 22px; margin-bottom: 10px; }
.fx__head p { color: var(--ink-2); font-size: 15px; }
.fx__groups { padding: 8px 12px 12px; }
.fx__group { border-bottom: 1px solid var(--line); }
.fx__group:last-child { border: 0; }
.fx__group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px; font-weight: 700; font-size: 15px; }
.fx__group summary::-webkit-details-marker { display: none; }
.fx__group summary small { font-weight: 500; font-size: 12px; color: var(--ink-3); margin-left: auto; margin-right: 10px; }
.fx__group summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--p-600); border-bottom: 2px solid var(--p-600); transform: rotate(45deg); transition: transform .2s; flex: 0 0 auto; margin-right: 4px; }
.fx__group[open] summary::after { transform: rotate(-135deg); }
.settings { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0 16px 14px; }
.setting { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.setting:first-child { border-top: 0; }
.setting b { font-weight: 600; color: var(--ink); }
.setting p { color: var(--ink-2); }
.setting p em { font-style: normal; background: var(--cream); color: #7a4a06; padding: 1px 5px; border-radius: 4px; }

/* relations */
.rels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rel { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.rel:hover { border-color: var(--p-200); transform: translateY(-2px); }
.rel img, .rel i { width: 52px; height: 52px; border-radius: 16px; object-fit: contain; background: var(--p-50); flex: 0 0 auto; }
.rel i { display: grid; place-items: center; font: 700 16px var(--font-head); color: var(--p-600); font-style: normal; }
.rel b { display: block; font-weight: 700; margin-bottom: 3px; }
.rel b small { font-weight: 500; color: var(--ink-3); margin-left: 6px; font-size: 12px; }
.rel p { color: var(--ink-2); font-size: 14px; }
.rel--core { grid-column: 1 / -1; background: linear-gradient(135deg, var(--p-50), #fff); border-color: var(--p-100); }
.rel--ext { background: var(--bg-soft, #faf7fb); }
.rel--ext:hover { transform: none; border-color: var(--line); }
.rel--ext i, .rel-mini .is-ext i { background: #eef0f4; color: var(--ink-3); }
.rel-mini .is-ext { color: var(--ink-2); cursor: default; }

/* faq levels */
.faq-level { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 26px 0 12px; }
.faq-level::after { content: ""; flex: 1; height: 1px; background: var(--line); min-width: 60px; }
.faq-level:first-of-type { margin-top: 0; }
.faq__also { display: block; padding: 0 22px 18px; font-size: 12px; color: var(--ink-3); }

/* install steps */
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.install li { padding: 20px; border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; }
.install li b { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 6px; }
.install li span { display: inline-block; font-size: 12px; font-weight: 700; color: var(--p-600); margin-bottom: 8px; }

/* more modules */
.more { padding: 56px 0 88px; background: var(--bg-soft); }
.more__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.more__item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-align: center; transition: transform .2s, box-shadow .2s; }
.more__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.more__item img, .more__item i { width: 56px; height: 56px; border-radius: 16px; object-fit: contain; background: var(--p-50); }
.more__item i { display: grid; place-items: center; font: 700 18px var(--font-head); color: var(--p-600); font-style: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .modules { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 120px; }
  .hero__visual { margin-top: 12px; }   /* on narrow screens: offer first, then orbit slider */
  .orbit { width: min(100%, 420px); }
  .planet { --sz: 60px; }
  .proof__card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .features, .modules { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .core-band { grid-template-columns: auto 1fr; }
  .core-band .btn { grid-column: 2; justify-self: start; }
  .p-hero__inner { grid-template-columns: 1fr; }
  .p-hero__art { order: -1; }
  .p-hero__art > img { width: 220px; height: 220px; }
  .p-orb { width: 250px; height: 250px; }
  .p-orb i:nth-child(3) { display: none; }
  .p-layout { grid-template-columns: 1fr; }
  .p-side { position: static; }
  .fx { grid-template-columns: 1fr; }
  .fx__nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .more__grid { grid-template-columns: repeat(4, 1fr); }
  .pricing-facts { grid-template-columns: 1fr; }
  .ai { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; gap: 32px; }
  .contacts__mascot { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; z-index: 55; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gutter) 28px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .2s var(--ease), opacity .2s var(--ease); }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 14px; font-size: 17px; color: var(--ink-2); }
  .hero__title { max-width: none; }
  .orbit { width: min(100%, 330px); }
  .planet { --sz: 50px; }
  .orbit__caption { min-height: 0; }
  .hero__actions .btn { width: 100%; }
  /* mobile: same three columns in one row, centered, tighter type */
  .hero__facts { gap: 8px; margin-top: 28px; padding-top: 22px; max-width: none; }
  .hero__facts li { align-items: center; text-align: center; gap: 10px; }
  .hero__facts svg { width: 36px; height: 36px; padding: 8px; }
  .hero__facts span { align-items: center; font-size: 11.5px; line-height: 1.3; }
  .hero__facts b { font-size: 13px; line-height: 1.2; }
  .compare, .scenarios, .tiers, .tasks, .rels, .install, .steps, .features, .modules { grid-template-columns: 1fr; }
  .cta__card { grid-template-columns: 1fr; }
  .cta__mascot { width: 140px; height: 140px; }
  .filter__count { width: 100%; margin-left: 0; }
  .notice { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .setting { grid-template-columns: 1fr; gap: 4px; }
  .more__grid { grid-template-columns: repeat(2, 1fr); }
  .core-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .core-band .btn { grid-column: auto; }
  .ai-case { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .ai-credits { padding: 24px 20px; }
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .contacts__mail b { font-size: 17px; word-break: break-all; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .p-hero__art > img, .p-orb { animation: none; }
  * { transition: none !important; }
}
