/* ==========================================================================
   AI SMM marketing theme
   Tokens → base → layout → components → sections → motion
   Radius system: cards 20px, media 16px, inputs 12px, buttons and chips pill.
   ========================================================================== */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/onest-latin-ext.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; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/onest-latin.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; }

/* Palette and shapes follow the "AI SMM Home v2" design: warm off-white,
   near-black ink, one blue accent, oklch pastels, 28/28/28/8 signature corner. */
:root {
  --bg: #f6f6f3;
  --surface: #fdfdfb;
  --sunken: #f1f1ec;
  --ink: #15161a;
  --ink-2: #3a3c42;
  --muted: #5e6068;
  --faint: #8a8c92;
  --line: #e4e4df;
  --accent: #2453e6;
  --accent-hover: #1c45c9;
  --accent-ink: #ffffff;
  --accent-soft: #e6ecfd;
  --accent-line: #c9d4f7;
  --on-dark-link: #9db4ff;
  --dark: #15161a;
  --dark-2: #26282d;
  --on-dark: #f6f6f3;
  --on-dark-muted: #b9bbc2;
  --tint-blue: oklch(0.94 0.035 255);
  --tint-rose: oklch(0.94 0.035 355);
  --tint-mint: oklch(0.94 0.04 165);
  --tint-sand: oklch(0.94 0.04 80);
  --tint-lilac: oklch(0.94 0.035 300);
  --tint-sky: oklch(0.94 0.035 200);
  --pastel-blue: oklch(0.92 0.06 255);
  --pastel-rose: oklch(0.86 0.07 355);
  --pastel-mint: oklch(0.92 0.06 165);
  --pastel-sand: oklch(0.92 0.06 80);
  --pastel-lilac: oklch(0.9 0.06 300);
  --pastel-sky: oklch(0.92 0.06 200);
  --good: #11875d;
  --shadow: 0 12px 30px rgb(21 22 26 / .12);
  --shadow-lg: 0 60px 120px rgb(21 22 26 / .28);

  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-card: 28px 28px 28px 8px;
  --r-tile: 24px 24px 24px 6px;
  --r-bubble: 18px 18px 18px 5px;
  --r-media: 18px;
  --r-input: 12px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1013; --surface: #17181c; --sunken: #1d1f24; --ink: #f6f6f3; --ink-2: #c9cbd1;
    --muted: #9a9ca3; --faint: #74767d; --line: #2a2c32; --accent: #5b82ff; --accent-hover: #7797ff;
    --accent-ink: #0f1013; --accent-soft: #1a2242; --accent-line: #2f3d6e; --dark: #1d1f24; --dark-2: #2a2c32;
    --tint-blue: oklch(0.26 0.04 255); --tint-rose: oklch(0.26 0.04 355); --tint-mint: oklch(0.26 0.04 165);
    --tint-sand: oklch(0.26 0.04 80); --tint-lilac: oklch(0.26 0.04 300); --tint-sky: oklch(0.26 0.04 200);
    --pastel-blue: oklch(0.32 0.07 255); --pastel-rose: oklch(0.34 0.07 355); --pastel-mint: oklch(0.32 0.06 165);
    --pastel-sand: oklch(0.34 0.06 80); --pastel-lilac: oklch(0.32 0.07 300); --pastel-sky: oklch(0.32 0.06 200);
    --good: #3ccf91; --shadow: 0 12px 30px rgb(0 0 0 / .45); --shadow-lg: 0 60px 120px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1013; --surface: #17181c; --sunken: #1d1f24; --ink: #f6f6f3; --ink-2: #c9cbd1;
  --muted: #9a9ca3; --faint: #74767d; --line: #2a2c32; --accent: #5b82ff; --accent-hover: #7797ff;
  --accent-ink: #0f1013; --accent-soft: #1a2242; --accent-line: #2f3d6e; --dark: #1d1f24; --dark-2: #2a2c32;
  --tint-blue: oklch(0.26 0.04 255); --tint-rose: oklch(0.26 0.04 355); --tint-mint: oklch(0.26 0.04 165);
  --tint-sand: oklch(0.26 0.04 80); --tint-lilac: oklch(0.26 0.04 300); --tint-sky: oklch(0.26 0.04 200);
  --pastel-blue: oklch(0.32 0.07 255); --pastel-rose: oklch(0.34 0.07 355); --pastel-mint: oklch(0.32 0.06 165);
  --pastel-sand: oklch(0.34 0.06 80); --pastel-lilac: oklch(0.32 0.07 300); --pastel-sky: oklch(0.32 0.06 200);
  --good: #3ccf91; --shadow: 0 12px 30px rgb(0 0 0 / .45); --shadow-lg: 0 60px 120px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 650; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.015em; line-height: 1.25; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }
.icon--sm { width: 1em; height: 1em; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons, chips ---------- */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px;
  padding: 0 1.25em; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: .95rem;
  font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active, .wp-block-button__link:active { transform: translateY(1px) scale(.985); }
.btn--primary, .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--primary:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--accent-hover); }
.btn--ghost, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--ink); }
.btn--lg, .is-style-large .wp-block-button__link { min-height: 52px; padding: 0 1.6em; font-size: 1rem; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 550; text-decoration: none; transition: border-color .2s; }
.chip:hover { border-color: var(--accent); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink-2); }
.icon--sun { display: none; }
:root[data-theme="dark"] .icon--sun { display: block; }
:root[data-theme="dark"] .icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon--sun { display: block; }
  :root:not([data-theme="light"]) .icon--moon { display: none; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; font-size: 1.08rem; }
.brand__logo { display: block; height: 36px; width: auto; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--light { display: none; }
  :root:not([data-theme="light"]) .brand__logo--dark { display: block; }
}
.nav { flex: 1; }
.nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: inherit; font-size: .95rem; font-weight: 550; text-decoration: none; cursor: pointer; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--sunken); color: var(--ink); }
.nav__link .icon { transition: transform .2s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgb(21 22 26 / .06); }
:root[data-theme="dark"] .lang { background: rgb(246 246 243 / .08); }
.lang__item { padding: 5px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); }
.lang__item.is-current { background: var(--surface); color: var(--ink); }

/* Page content is its own stacking layer, so floating cards never cover the open menu. */
.site-main { position: relative; z-index: 0; }

/* Wide menus are centred on the header bar (not on their button), so they never leave the viewport. */
.site-header__bar { position: relative; }
.nav__item:has(> .mega:not(.mega--small)) { position: static; }
.mega { position: absolute; top: calc(100% - 4px); left: 50%; width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-lg); translate: -50% 0; }
.mega[hidden] { display: none; }
.mega:not([hidden]) { animation: mega-in .22s var(--ease); }
.mega--narrow { width: min(680px, calc(100vw - 32px)); }
.mega--solutions { width: min(900px, calc(100vw - 32px)); }
.mega--solutions .mega__grid--two { grid-template-columns: 1.4fr 1fr; }
.mega__niches { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
@media (max-width: 720px) { .mega__niches { grid-template-columns: 1fr; } }
.mega--small { top: calc(100% + 10px); width: 300px; padding: 10px; }
.mega__grid { display: grid; gap: 8px 20px; }
.mega__grid--product { grid-template-columns: repeat(4, 1fr); }
.mega__grid--two { grid-template-columns: 1fr 1.2fr; }
.mega__title { margin: 4px 10px 8px; font-size: .78rem; font-weight: 650; color: var(--muted); }
.mega__link { display: flex; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; line-height: 1.3; }
.mega__link:hover { background: var(--sunken); }
.mega__link b { display: block; font-size: .93rem; font-weight: 600; }
.mega__link small { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; }
.mega__link--row { align-items: center; }
.mega__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.mega__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px; }
.mega__more { display: inline-flex; align-items: center; gap: 6px; margin: 14px 10px 0; color: var(--accent); font-weight: 600; font-size: .9rem; text-decoration: none; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--sunken); color: var(--muted); font-size: .9rem; text-decoration: none; }
.mega__foot b { color: var(--ink); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }

.show-sm { display: none; }
@media (max-width: 1080px) {
  .nav, .hide-sm { display: none; }
  .show-sm { display: inline-grid; }
  .site-header__bar { justify-content: space-between; }
}

.drawer { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer:not([hidden]) { animation: drawer-in .28s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 16px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; padding: 8px 16px; }
.drawer__body details { border-bottom: 1px solid var(--line); }
.drawer__body summary, .drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; font-weight: 600; list-style: none; cursor: pointer; text-decoration: none; }
.drawer__top { border-bottom: 1px solid var(--line); }
.drawer__body summary::-webkit-details-marker { display: none; }
.drawer__body details[open] summary .icon { transform: rotate(180deg); }
.drawer__body details a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; text-decoration: none; color: var(--ink-2); }
.drawer__body details a .icon { color: var(--accent); }
.drawer__body details > :last-child { margin-bottom: 12px; }
.drawer__title { margin: 12px 4px 2px; font-size: .78rem; font-weight: 650; color: var(--muted); }
.drawer__foot { display: grid; gap: 10px; padding: 16px; border-top: 1px solid var(--line); }
.drawer__theme { gap: 8px; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- footer ---------- */
.site-footer { margin-top: clamp(64px, 10vw, 120px); border-top: 1px solid var(--line); background: var(--surface); font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(6, 1fr); gap: 32px 24px; padding-block: 56px 32px; }
.site-footer__brand p { max-width: 26ch; margin: 14px 0 18px; color: var(--muted); }
.site-footer__title { margin-bottom: 12px; font-weight: 650; }
.site-footer__col a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__networks { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 8px 24px; }
.site-footer__networks a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; color: var(--muted); }
.site-footer__networks a:hover { background: var(--sunken); color: var(--ink); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal p { margin: 0; }
@media (max-width: 1080px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Page content (block editor output). Sections are core/group blocks with
   one of the .s-* classes; everything inside stays editable in wp-admin.
   ========================================================================== */
.entry > * { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.entry > .s { padding-block: clamp(56px, 8vw, 104px); }
.entry > .s + .s { padding-top: 0; }
.entry > .s.s--band + .s, .entry > .s + .s.s--band { padding-top: clamp(56px, 8vw, 104px); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .85rem; font-weight: 600; }
.s-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head--center .lead { margin-inline: auto; }
.s-head p:last-child { margin-bottom: 0; }

/* media frame for product screenshots */
.shot, .wp-block-image.shot { position: relative; margin: 0; border-radius: var(--r-media); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.shot img { width: 100%; }
.shot--missing { aspect-ratio: 16 / 10; background: repeating-linear-gradient(-45deg, var(--sunken) 0 12px, var(--surface) 12px 24px); }
.wp-block-image.shot img { border-radius: 0; }
.wp-block-image figcaption { margin-top: 10px; color: var(--muted); font-size: .85rem; text-align: center; }

/* hero: split, screenshot bleeds to the right on wide screens */
.s-hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 96px); }
.s-hero > .wp-block-columns { align-items: center; gap: clamp(32px, 5vw, 64px); }
.s-hero h1 { margin-bottom: 20px; }
.s-hero .lead { margin-bottom: 28px; }
.s-hero .shot { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
@media (max-width: 781px) { .s-hero .shot { transform: none; } }

/* network strip */
.s-networks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; color: var(--muted); }
.s-networks .icon { width: 28px; height: 28px; }
.s-networks p { width: 100%; margin: 0 0 6px; text-align: center; font-size: .92rem; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > .wp-block-group, .bento > .cell { position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 28px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.bento .cell--wide { grid-column: span 4; }
.bento .cell--half { grid-column: span 3; }
.bento .cell--third { grid-column: span 2; }
.bento .cell--tall { grid-row: span 2; }
.bento .tint-blue { background: var(--tint-blue); border-color: transparent; }
.bento .tint-rose { background: var(--tint-rose); border-color: transparent; }
.bento .tint-mint { background: var(--tint-mint); border-color: transparent; }
.bento .tint-sand { background: var(--tint-sand); border-color: transparent; }
.bento .tint-lilac { background: var(--tint-lilac); border-color: transparent; }
.bento .tint-ink { background: var(--ink); color: var(--bg); border-color: transparent; }
.bento .tint-ink h3, .bento .tint-ink a { color: var(--bg); }
.bento h3 { margin-bottom: 8px; }
.bento p { color: var(--muted); font-size: .96rem; }
.bento .tint-ink p { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.bento .shot, .bento .wp-block-image { margin-top: auto; margin-bottom: -28px; margin-right: -28px; border-bottom-right-radius: 0; border-bottom-left-radius: var(--r-media); box-shadow: var(--shadow); }
.bento .cell-link { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--accent); text-decoration: none; }
@media (max-width: 1080px) { .bento .cell--wide, .bento .cell--half, .bento .cell--third { grid-column: span 3; } }
@media (max-width: 700px) { .bento { grid-template-columns: 1fr; } .bento .cell--wide, .bento .cell--half, .bento .cell--third { grid-column: auto; } .bento .cell--tall { grid-row: auto; } }

/* showcase: sticky screenshot that swaps while the text steps scroll by */
.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); }
.showcase__steps { display: grid; gap: 0; }
.showcase__step { display: flex; flex-direction: column; justify-content: center; min-height: 62vh; padding-block: 24px; opacity: .38; transition: opacity .4s var(--ease); }
.showcase__step.is-active { opacity: 1; }
.showcase__step .step-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.showcase__stage { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.showcase__stage .stage-frame { position: relative; aspect-ratio: 16 / 10; }
.showcase__stage .shot { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.showcase__stage .shot.is-active { opacity: 1; transform: none; }
.showcase__stage .shot img { height: 100%; object-fit: cover; object-position: top left; }
.showcase__step .shot-inline { display: none; }
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase__stage { display: none; }
  .showcase__step { min-height: 0; opacity: 1; padding-block: 20px 36px; }
  .showcase__step .shot-inline { display: block; margin-top: 20px; }
}

/* feature split */
.split { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.split--flip > :first-child { order: 2; }
.checks { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 999px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232453e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

/* niche tabs: horizontal scroll-snap cards */
.niches { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.niche { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 340px; padding: 26px; border-radius: var(--r-card); text-decoration: none; transition: transform .3s var(--ease); }
.niche:hover { transform: translateY(-4px); }
.niche h3 { margin-top: auto; }
.niche p { color: var(--muted); font-size: .95rem; margin: 0; }
.niche .niche__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.niche.tint-blue { background: var(--tint-blue); } .niche.tint-rose { background: var(--tint-rose); }
.niche.tint-mint { background: var(--tint-mint); } .niche.tint-sand { background: var(--tint-sand); }
.niche.tint-lilac { background: var(--tint-lilac); } .niche.tint-sunken { background: var(--sunken); }

/* numbered flow (no "Step 1" labels, the verb is the label) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow > * { position: relative; padding: 24px; border-top: 2px solid var(--line); counter-increment: flow; }
.flow > *::before { content: counter(flow); display: block; margin-bottom: 14px; color: var(--accent); font-weight: 700; font-size: 1.4rem; }
.flow > * p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }

/* network grid */
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.net-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.net-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.net-card .icon { width: 28px; height: 28px; }
.net-card b { display: block; font-weight: 600; }
.net-card small { color: var(--muted); font-size: .82rem; }

/* capability table for network pages */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.caps > * { padding: 24px; border-radius: var(--r-card); background: var(--sunken); }
.caps h3 { display: flex; align-items: center; gap: 10px; }
.caps ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.caps li::before { content: "+ "; color: var(--accent); font-weight: 700; }
@media (max-width: 900px) { .caps { grid-template-columns: 1fr; } }

/* quote */
.quote { max-width: 860px; margin-inline: auto; text-align: center; }
.quote p { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 550; letter-spacing: -.02em; line-height: 1.35; }
.quote cite { color: var(--muted); font-style: normal; font-size: .95rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg); }
.plan__price { margin: 8px 0 4px; font-size: 2.6rem; font-weight: 650; letter-spacing: -.04em; }
.plan__price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .checks { margin: 20px 0 28px; }
.plan .wp-block-buttons, .plan .btn { margin-top: auto; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* FAQ (core/details) */
.faq { max-width: 860px; margin-inline: auto; }
.faq details, .wp-block-details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary, .wp-block-details summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 1.08rem; font-weight: 600; cursor: pointer; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .25s var(--ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--muted); padding-bottom: 12px; }

/* CTA band */
.s--band .band, .band { position: relative; padding: clamp(40px, 6vw, 72px); border-radius: 28px; background: var(--ink); color: var(--bg); overflow: hidden; isolation: isolate; }
.band h2 { color: var(--bg); max-width: 22ch; }
.band p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 52ch; }
.band::after { content: ""; position: absolute; right: -10%; top: -40%; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%); }
.band .wp-block-button.is-style-outline .wp-block-button__link { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- blog ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) 24px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; padding-bottom: 40px; }
.post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-media); background: var(--sunken); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover img { transform: scale(1.03); }
.post-card h3 { margin: 0; }
.post-card .meta { color: var(--muted); font-size: .85rem; }
.posts .post-card:first-child { grid-column: span 2; grid-row: span 2; }
.posts .post-card:first-child h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } .posts .post-card:first-child { grid-column: auto; grid-row: auto; } }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 32px; }
.cats a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pagination { display: flex; gap: 8px; justify-content: center; padding-bottom: 40px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.article { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.article__head { padding-block: clamp(40px, 6vw, 72px) 24px; }
.article__cover { max-width: 1080px; margin: 0 auto 40px; padding-inline: var(--gutter); }
.article__cover img { width: 100%; border-radius: var(--r-media); }
.article__body { font-size: 1.08rem; line-height: 1.75; }
.article__body h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.article__body h3 { margin-top: 1.5em; }
.article__body img { border-radius: var(--r-media); }
.article__body a { color: var(--accent); }
.article__body blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.article__body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article__body th, .article__body td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.article__cta { margin: 48px 0; }

.empty { max-width: 560px; margin: 0 auto; padding-block: 80px; text-align: center; }
.empty .icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--accent); }

/* ==========================================================================
   Motion. Everything is opt-in via prefers-reduced-motion: no-preference.
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--ease); }
.site-header { view-transition-name: header; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .s-hero .shot { animation: hero-shot 1.2s var(--ease) both .15s; }
  @keyframes hero-shot { from { opacity: 0; transform: perspective(1600px) rotateY(-18deg) rotateX(6deg) translateX(40px); } }
  @supports (animation-timeline: view()) {
    .parallax { animation: parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes parallax { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *:not(.marquee), *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
