/* Section kit from the "AI SMM Home v2" design: home, product, network and niche pages. */

.h-h2 { margin: 0; font-size: clamp(38px, 5.6vw, 76px); line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.faint { color: var(--faint); }
.accent { color: var(--accent); }
.on-dark-link { color: var(--on-dark-link); }
.h-sec { padding-top: clamp(80px, 11vw, 150px); }
.h-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.btn--xl { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn--xl .icon { width: 20px; height: 20px; }
.btn--primary { box-shadow: 0 10px 30px rgb(36 83 230 / .35); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--ink-2); }
.btn--white { background: #fff; color: #2453e6; }
.btn--light-accent { background: #5b82ff; color: #0f1013; font-weight: 700; }
.btn--light-accent:hover { background: #7797ff; }
.btn--outline-dark { border-color: #3a3c42; color: var(--on-dark); }
.btn--outline-dark:hover { border-color: var(--on-dark); }
.tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: rgb(21 22 26 / .08); font-size: 13px; font-weight: 600; }
.tag--on-accent { background: rgb(255 255 255 / .16); color: #fff; }
.tag--rose { background: oklch(0.86 0.07 355); color: #15161a; }
.h-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.h-link .icon { transition: transform .25s var(--ease); }
.h-link:hover .icon { transform: translateX(3px); }
.h-link--ink { color: var(--ink); }
.h-link--on-dark { color: var(--on-dark-link); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--ink); }
.pill .icon { width: 20px; height: 20px; }
.pill.tint-blue, .pill.tint-rose, .pill.tint-mint, .pill.tint-sand { border-color: transparent; }
.tint-blue { background: var(--tint-blue); } .tint-rose { background: var(--tint-rose); } .tint-mint { background: var(--tint-mint); }
.tint-sand { background: var(--tint-sand); } .tint-lilac { background: var(--tint-lilac); } .tint-sky { background: var(--tint-sky); }
.pill--hover { background: var(--sunken); border-color: transparent; transition: background .2s, color .2s; }
.pill--hover:hover { background: var(--accent); color: #fff; }
.shot--flat { border: 0; box-shadow: none; border-radius: 12px; height: 100%; background: var(--sunken); }
.shot--flat img { height: 100%; object-fit: cover; object-position: top left; }
.shot--flat.shot--missing { aspect-ratio: auto; }

/* ---------- hero ---------- */
.h-hero { position: relative; overflow: hidden; padding-top: clamp(48px, 8vw, 96px); }
.h-hero__shapes { position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; opacity: .55; transform: rotate(12deg); pointer-events: none; }
.h-hero__shapes i { border-radius: 64px; }
.h-hero__shapes i:nth-child(1) { background: var(--tint-blue); } .h-hero__shapes i:nth-child(2) { background: var(--tint-rose); }
.h-hero__shapes i:nth-child(3) { background: var(--tint-mint); } .h-hero__shapes i:nth-child(4) { background: var(--tint-sand); border-radius: 64px 64px 64px 14px; }
.h-hero__top { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(24px, 4vw, 56px); }
.h-hero__title { flex: 1 1 560px; margin: 0; font-size: clamp(46px, 8.2vw, 112px); line-height: .96; letter-spacing: -.045em; font-weight: 700; perspective: 600px; }
.h-word { display: inline-block; color: var(--accent); transform-origin: 50% 100%; padding-bottom: .06em; }
.h-hero__side { flex: 1 1 320px; max-width: 440px; display: flex; flex-direction: column; gap: 24px; padding-bottom: 10px; }
.h-hero__lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.h-hero__stage { position: relative; margin-top: clamp(40px, 6vw, 72px); perspective: 1800px; }
.h-hero__frame { height: clamp(360px, 44vw, 640px); border-radius: 20px; background: #15161a; padding: 10px; box-shadow: var(--shadow-lg); transform-origin: center top; }
.h-hero__phone { display: none; }
.phone { aspect-ratio: 9 / 19; border-radius: 44px; background: #15161a; padding: 9px; box-shadow: 0 40px 80px rgb(21 22 26 / .28); }
.phone .shot--flat { border-radius: 36px; }
.toast { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: var(--r-bubble); background: var(--surface); box-shadow: 0 20px 50px rgb(21 22 26 / .16); z-index: 2; }
.toast b { display: block; font-size: 15px; font-weight: 600; }
.toast small { display: block; font-size: 13px; color: var(--muted); }
.toast__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #15161a; }
.toast__icon--accent { background: var(--accent); color: #fff; }
.toast__icon--mint { background: oklch(0.86 0.08 165); }
.toast__icon--lilac { background: oklch(0.86 0.08 300); }
.toast--0 { left: 0; top: 18%; } .toast--1 { right: 0; top: 34%; } .toast--2 { left: 8%; bottom: 10%; }
.marquees { display: flex; flex-direction: column; gap: 14px; margin-top: clamp(56px, 8vw, 96px); padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee { display: flex; gap: 12px; width: max-content; }

@media (max-width: 1099px) {
  .h-hero__screen { display: none; }
  .h-hero__phone { display: block; position: relative; width: min(300px, 78vw); margin: 0 auto; }
  .h-hero__stage { perspective: none; }
  .toast { padding: 10px 14px 10px 10px; }
  .toast small { display: none; }
  .toast--0 { left: calc(50% - min(300px, 78vw) / 2 - 18%); top: 16%; }
  .toast--1 { right: calc(50% - min(300px, 78vw) / 2 - 16%); top: 52%; }
  .toast--2 { display: none; }
}
@media (max-width: 520px) { .toast--0 { left: 0; } .toast--1 { right: 0; } }

/* ---------- section heads ---------- */
.h-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 56px; margin-bottom: clamp(32px, 5vw, 56px); }
.h-head .h-h2 { flex: 1 1 480px; }
.h-head__lead { flex: 1 1 300px; max-width: 400px; margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* ---------- bento ---------- */
.h-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.h-cell { position: relative; display: flex; flex-direction: column; gap: 14px; overflow: hidden; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0; border-radius: var(--r-card); }
.h-cell h3 { margin: 0; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; max-width: 560px; }
.h-cell--create { grid-column: span 4; background: #2453e6; color: #fff; }
.h-cell--create h3, .h-cell--create .h-link { color: #fff; }
.h-cell--create h3 { font-size: clamp(26px, 2.8vw, 36px); }
.h-cell--video { grid-column: span 2; background: var(--pastel-lilac); }
.h-cell--talk { grid-column: span 3; background: #15161a; color: #f6f6f3; }
.h-cell--talk h3 { color: #f6f6f3; }
.h-cell--sell { grid-column: span 3; background: var(--pastel-mint); }
.h-cell--grow { grid-column: span 2; background: var(--pastel-sand); padding-bottom: clamp(24px, 3vw, 32px); }
.h-cell--stack { grid-column: span 4; flex-flow: row wrap; align-items: center; gap: 24px 40px; padding-bottom: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); }
.h-cell__media { height: clamp(220px, 26vw, 340px); margin-top: 10px; padding: 8px 8px 0; border-radius: 18px 18px 0 0; background: rgb(255 255 255 / .14); }
.h-cell__media--dark { height: clamp(220px, 24vw, 300px); background: #26282d; }
.h-cell__media--card { flex: 1; min-height: 150px; height: auto; margin-top: 0; padding: 6px; border-radius: 16px; background: var(--surface); }
.h-cell__media .shot--flat { border-radius: 12px 12px 0 0; }
.h-float { position: absolute; right: 24px; top: 24px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px rgb(0 0 0 / .2); }
.h-float .icon { color: var(--accent); }
.h-links { display: flex; flex-wrap: wrap; gap: 16px; }
.h-links a { color: var(--on-dark-link); font-weight: 600; font-size: 15px; text-decoration: none; }
.h-links--ink a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.h-typing { position: absolute; right: 24px; bottom: 28px; display: flex; gap: 5px; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: #5b82ff; box-shadow: 0 12px 30px rgb(0 0 0 / .35); }
.h-typing i, .chat__typing i { width: 7px; height: 7px; border-radius: 9px; background: #fff; }
.h-clips { flex: 1; min-height: 260px; display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.h-clip { width: 46%; padding: 6px 6px 0; border-radius: 20px 20px 0 0; background: #15161a; }
.h-clip .shot--flat { border-radius: 15px 15px 0 0; }
.h-clip--l { transform: translateY(24px) rotate(-4deg); }
.h-clip--r { transform: rotate(3deg); }
.h-duo { height: clamp(220px, 24vw, 300px); margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
/* Sell cell: full store settings, the phone storefront overlaps the bottom-right corner. */
.h-cell--sell .h-duo { position: relative; display: block; height: auto; margin-top: 10px; padding-bottom: clamp(60px, 7vw, 90px); }
.h-duo__a { width: 84%; padding: 8px; border-radius: 18px; background: var(--surface); box-shadow: 0 20px 50px rgb(21 22 26 / .12); }
.h-duo__b { position: absolute; right: 0; bottom: -70px; width: 32%; }
.shot--contain img { height: auto; object-fit: contain; }
.phone--mini { aspect-ratio: 9 / 17; padding: 6px; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgb(21 22 26 / .3); }
.phone--mini .shot--flat { border-radius: 24px; }
.phone--mini .shot--flat img { object-position: top center; }
.h-tip { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px; border-radius: 16px 16px 16px 4px; background: var(--surface); font-size: 14px; line-height: 1.45; }
.h-tip .icon { width: 20px; height: 20px; color: var(--accent); }
.h-stack__head { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; }
.h-stack__pills { flex: 2 1 320px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1039px) {
  .h-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-cell--create, .h-cell--talk, .h-cell--sell, .h-cell--stack { grid-column: span 2; }
  .h-cell--video, .h-cell--grow { grid-column: span 1; }
}
@media (max-width: 639px) {
  .h-bento { grid-template-columns: 1fr; }
  .h-bento > .h-cell { grid-column: auto; }
  .h-float { display: none; }
}

/* ---------- story: five steps with a pinned screen ---------- */
.h-story__title { max-width: 820px; margin-bottom: clamp(24px, 4vw, 40px); }
.h-story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.h-story__steps { position: relative; padding-left: 28px; }
.h-story__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 9px; background: var(--line); }
.h-story__rail i { display: block; width: 100%; height: 20%; border-radius: 9px; background: var(--accent); transition: height .5s var(--ease); }
.h-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .28; transition: opacity .5s; }
.h-step.is-active { opacity: 1; }
.h-step__n { font-size: 15px; font-weight: 700; color: var(--faint); font-variant-numeric: tabular-nums; }
.h-step.is-active .h-step__n { color: var(--accent); }
.h-step__title { margin: 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.h-step__text { margin: 0; max-width: 420px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.h-step__crop { display: none; }
.h-story__stage { position: sticky; top: 12vh; height: 76vh; padding: 32px; border-radius: var(--r-card); transition: background-color .6s; }
.h-story__screens { position: relative; height: 100%; }
.h-screen { position: absolute; inset: 0; padding: 6px; border-radius: 18px; background: var(--surface); box-shadow: 0 30px 70px rgb(21 22 26 / .16); opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .6s, transform .7s var(--ease); }
.h-screen.is-before { transform: translateY(-40px) scale(.96); }
.h-screen.is-active { opacity: 1; transform: none; }
@media (max-width: 1099px) {
  .h-story__grid { grid-template-columns: 1fr; }
  .h-story__stage, .h-story__rail { display: none; }
  .h-story__steps { padding-left: 0; display: flex; flex-direction: column; gap: 48px; }
  .h-step { min-height: 0; opacity: 1; }
  .h-step__n { color: var(--accent); }
  .h-step__title { font-size: 28px; }
  .h-step__text { font-size: 17px; }
  .h-step__crop { display: block; height: 220px; padding: 14px 0 0 14px; overflow: hidden; border-radius: 20px 20px 20px 6px; }
  .h-step__crop .shot--flat { border-radius: 12px 0 0 0; }
}

/* ---------- niches: vertical scroll drives a horizontal track ---------- */
.h-niches { margin-top: clamp(80px, 10vw, 140px); }
.h-niches__sticky { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px); }
.h-niches__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.h-niches__hint { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.h-niches__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.h-niche { flex: none; scroll-snap-align: start; width: min(380px, 82vw); display: flex; flex-direction: column; gap: 16px; padding: 12px; border-radius: var(--r-card); background: var(--niche); text-decoration: none; color: var(--ink); }
.h-niche__art { height: min(240px, 32vh); border-radius: 18px; background: rgb(255 255 255 / .38); overflow: hidden; display: grid; place-items: center; }
.niche-art { width: 100%; height: 100%; }
.na-h { font: 700 17px var(--font); fill: var(--ink); }
.na-b { font: 600 12.5px var(--font); fill: var(--ink); }
.na-s { font: 500 11px var(--font); fill: var(--muted); }
.na-inv { fill: #fff; } .na-inv-m { fill: #b9bbc2; }
.h-niche__body { display: flex; flex-direction: column; gap: 10px; padding: 0 12px 14px; }
.h-niche__body b { font-size: 26px; font-weight: 700; letter-spacing: -.025em; }
.h-niche__body > span { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.h-niche__apps { display: flex; flex-wrap: wrap; gap: 6px; }
.h-niche__apps i { font-style: normal; font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: 999px; background: var(--surface); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .h-niches { height: 300vh; view-timeline-name: --niche; }
    .h-niches__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; justify-content: center; }
    .h-niches__hint { display: flex; }
    .h-niches__track { width: max-content; overflow: visible; animation: slideX linear both; animation-timeline: --niche; animation-range: contain 0% contain 100%; }
    @media (max-width: 1099px) { .h-niches { height: 420vh; } }
  }
}
@keyframes slideX { from { transform: translateX(0); } to { transform: translateX(calc(-100% + 100vw)); } }

/* ---------- chats (dark) ---------- */
.h-chat { position: relative; overflow: hidden; margin-top: clamp(80px, 10vw, 140px); padding: clamp(80px, 10vw, 140px) 0; background: #15161a; color: #f6f6f3; }
.h-chat .h-h2 { color: #f6f6f3; }
.h-chat__orbit { position: absolute; left: 50%; top: -240px; width: 620px; height: 620px; margin-left: -310px; border-radius: 50%; border: 1px dashed rgb(246 246 243 / .12); pointer-events: none; }
.h-chat__grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(40px, 6vw, 80px); }
.h-chat__copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 28px; }
.h-chat__lead { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: #b9bbc2; }
.h-stages { display: flex; flex-direction: column; gap: 6px; max-width: 480px; margin: 0; padding: 0; list-style: none; }
.h-stage { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; transition: background-color .4s; }
.h-stage__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgb(246 246 243 / .08); color: #f6f6f3; transition: background-color .4s, color .4s; }
.h-stage b { font-size: 16px; font-weight: 600; }
.h-stage small { margin-left: auto; font-size: 14px; color: #8a8c92; }
.h-stage.is-active { background: rgb(246 246 243 / .08); }
.h-stage.is-active .h-stage__icon { background: #5b82ff; color: #0f1013; }
.h-chat__phone { flex: 0 1 auto; width: min(330px, 86vw); margin: 0 auto; }
.phone--dark { aspect-ratio: 9 / 18.5; border-radius: 48px; background: #26282d; box-shadow: 0 50px 100px rgb(0 0 0 / .5), inset 0 0 0 1px rgb(255 255 255 / .08); }
.chat { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 40px; background: #f1f1ec; color: #15161a; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 20px 18px 12px; border-bottom: 1px solid #e4e4df; background: #fdfdfb; }
.chat__head b { display: block; font-size: 14px; }
.chat__head small { display: block; font-size: 11px; color: #5e6068; }
.chat__head .icon { margin-left: auto; color: #5e6068; }
.chat__avatar { width: 32px; height: 32px; border-radius: 999px; background: oklch(0.86 0.07 355); }
.chat__log { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; font-size: 13px; line-height: 1.4; }
.msg { animation: pop .4s both; }
.msg--comment { display: flex; gap: 8px; padding: 10px; border-radius: 14px; background: #fdfdfb; border: 1px solid #e4e4df; }
.msg--comment::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 999px; background: oklch(0.86 0.07 80); }
.msg--out { align-self: flex-start; max-width: 84%; display: flex; flex-direction: column; gap: 6px; }
.msg--out > span { padding: 9px 12px; border-radius: 18px 18px 18px 5px; background: #fdfdfb; border: 1px solid #e4e4df; }
.msg__btns { display: flex; flex-wrap: wrap; gap: 5px; }
.msg__btns i { font-style: normal; font-size: 12px; font-weight: 600; color: #2453e6; padding: 5px 10px; border-radius: 999px; border: 1px solid #c9d4f7; background: #fdfdfb; }
.msg--in { align-self: flex-end; max-width: 80%; padding: 9px 12px; border-radius: 18px 18px 5px 18px; background: #2453e6; color: #fff; }
.msg--sys { align-self: center; padding: 6px 11px; border-radius: 999px; background: oklch(0.92 0.06 80); font-size: 11.5px; font-weight: 600; }
.chat__typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: #fdfdfb; border: 1px solid #e4e4df; }
.chat__typing i { width: 6px; height: 6px; background: #5e6068; }

/* ---------- facts (blue) ---------- */
.h-facts { padding: clamp(64px, 8vw, 110px) 0; background: #2453e6; color: #fff; }
.h-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 36px 24px; }
.h-fact { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .3); }
.h-fact b { font-size: clamp(56px, 7vw, 96px); line-height: .9; font-weight: 700; letter-spacing: -.05em; }
.h-fact span { font-size: 16px; line-height: 1.4; color: #dce4ff; }

/* ---------- pricing rows ---------- */
.h-pricing { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.h-pricing__head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.h-pricing__head p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.h-plans { flex: 2 1 520px; display: flex; flex-direction: column; gap: 10px; }
.h-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 24px 26px; border-radius: var(--r-tile); background: var(--surface); }
.h-plan.is-hot { background: #2453e6; color: #fff; }
.h-plan__name { flex: 1 1 150px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.h-plan__desc { flex: 2 1 220px; font-size: 15px; opacity: .8; }
.h-plan__price { font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.h-plan__price small { font-size: 15px; font-weight: 500; opacity: .7; }

/* ---------- FAQ ---------- */
.h-faq { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.h-faq .h-h2 { flex: 1 1 280px; }
.h-faq__list { flex: 2 1 520px; border-top: 1px solid var(--line); }
.h-q { border-bottom: 1px solid var(--line); }
.h-q summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; cursor: pointer; list-style: none; }
.h-q summary::-webkit-details-marker { display: none; }
.h-q__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 999px; background: rgb(21 22 26 / .06); transition: background-color .3s; }
.h-q__icon::before, .h-q__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.h-q__icon::after { transform: rotate(90deg); }
.h-q[open] .h-q__icon { background: var(--accent); color: #fff; }
.h-q[open] .h-q__icon::after { transform: rotate(0); }
.h-q p { margin: 0 0 24px; max-width: 680px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ---------- final CTA ---------- */
.h-final { padding-bottom: clamp(40px, 6vw, 72px); }
.h-final__card { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(40px, 7vw, 88px); border-radius: 36px 36px 36px 10px; background: #15161a; color: #f6f6f3; }
.h-final__card .h-h2 { color: #f6f6f3; font-size: clamp(38px, 5.4vw, 76px); }
.h-final__copy { position: relative; z-index: 1; flex: 1 1 420px; display: flex; flex-direction: column; gap: 28px; }
.h-final__tiles { display: grid; grid-template-columns: repeat(2, clamp(72px, 9vw, 120px)); gap: 12px; transform: rotate(-8deg); }
.h-final__tiles i { aspect-ratio: 1; border-radius: 30%; }
.h-final__tiles i:nth-child(1) { background: oklch(0.86 0.07 255); } .h-final__tiles i:nth-child(2) { background: oklch(0.86 0.07 355); }
.h-final__tiles i:nth-child(3) { background: oklch(0.86 0.07 165); } .h-final__tiles i:nth-child(4) { background: #5b82ff; border-radius: 30% 30% 30% 8%; }

/* ---------- mobile sticky CTA ---------- */
.m-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #15161a; color: #f6f6f3; box-shadow: 0 20px 50px rgb(21 22 26 / .35); animation: pop .35s both; }
.m-cta[hidden] { display: none; }
.m-cta span { flex: 1; font-size: 14px; font-weight: 500; }
/* Desktop: a compact pill bottom-left, clear of the chat launcher on the right. */
@media (min-width: 1100px) { .m-cta { left: 24px; right: auto; bottom: 24px; max-width: 470px; } }
/* Phones and tablets: the chat launcher sits in this corner, so the sticky CTA is not shown there. */
@media (max-width: 1099px) { .m-cta { display: none !important; } }

/* ---------- motion ---------- */
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes rise { from { opacity: 0; transform: translateY(48px); } }
@keyframes riseScale { from { opacity: 0; transform: translateY(60px) scale(.94); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(80px); } }
@keyframes flatten { from { transform: rotateX(24deg) scale(.9); } to { transform: none; } }
@keyframes parallax { from { transform: translateY(48px); } to { transform: translateY(-48px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
/* The two chip rows drift in opposite directions. Slow and decorative, so it runs even with reduced motion
   (Windows remote sessions report it by default); hover pauses it. */
.marquee { animation: marquee 45s linear infinite; }
.marquee--reverse { animation: marqueeR 50s linear infinite; }
.marquees:hover .marquee { animation-play-state: paused; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.45em) rotateX(-60deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  .h-hero__top { animation: heroIn 1s var(--ease) both; }
  .h-hero__stage > * { animation: heroIn 1.3s .15s var(--ease) both; }
  .h-hero__stage > .toast { animation: float 5s ease-in-out infinite; }
  .toast--1 { animation-duration: 6s !important; animation-delay: 1s !important; }
  .toast--2 { animation-duration: 5.5s !important; animation-delay: .5s !important; }
  .h-float { animation: float 5s ease-in-out infinite; }
  .h-word.is-in { animation: wordIn .7s var(--ease) both; }
  .h-typing i, .chat__typing i { animation: dot 1.2s infinite; }
  .h-typing i:nth-child(2), .chat__typing i:nth-child(2) { animation-delay: .2s; }
  .h-typing i:nth-child(3), .chat__typing i:nth-child(3) { animation-delay: .4s; }
  .h-chat__orbit { animation: spinSlow 80s linear infinite; }
  .h-final__tiles i { animation: float 6s ease-in-out infinite; }
  .h-final__tiles i:nth-child(2) { animation-delay: .6s; } .h-final__tiles i:nth-child(3) { animation-delay: 1.2s; } .h-final__tiles i:nth-child(4) { animation-delay: 1.8s; }

  @supports (animation-timeline: view()) {
    .h-hero__frame { animation: flatten linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .rise-scale { animation: riseScale linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .parallax { animation: parallax linear both; animation-timeline: view(); }
  }
}

/* ==========================================================================
   Inner pages: product features, networks, niches
   ========================================================================== */
.tag { display: inline-flex; align-items: center; gap: 6px; }
.tag .icon { width: 15px; height: 15px; }
.tag--blue { background: var(--pastel-blue); color: #15161a; }
.tag--mint { background: var(--pastel-mint); color: #15161a; }
.tag--sand { background: var(--pastel-sand); color: #15161a; }
.f-hero { position: relative; padding-top: clamp(24px, 4vw, 48px); overflow: hidden; }
.f-hero::before { content: ""; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; border-radius: 120px; transform: rotate(14deg); opacity: .6; pointer-events: none; }
.f-hero--blue::before { background: var(--tint-blue); } .f-hero--rose::before { background: var(--tint-rose); }
.f-hero--mint::before { background: var(--tint-mint); } .f-hero--sand::before { background: var(--tint-sand); }
.f-hero .wrap { position: relative; }
.f-hero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 56px; }
.f-hero__copy { flex: 1 1 560px; max-width: 820px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.f-title { margin: 0; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.f-lead { margin: 0; max-width: 620px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); }
.f-points { flex: 0 1 300px; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.f-points li { display: flex; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.f-points b { min-width: 92px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.f-points span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.f-hero__stage { margin-top: clamp(40px, 6vw, 72px); }
.f-frame { height: clamp(320px, 42vw, 600px); }
.f-h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.f-text { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }
.f-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-top: clamp(72px, 10vw, 130px); }
.f-block--flip .f-block__copy { order: 2; }
.f-block__copy { display: flex; flex-direction: column; gap: 18px; }
.f-block .checks { margin: 4px 0 0; }
.f-block__media { height: clamp(300px, 34vw, 480px); padding: clamp(18px, 2.5vw, 32px) clamp(18px, 2.5vw, 32px) 0; border-radius: var(--r-card); overflow: hidden; }
.f-block__media > .shot { border-radius: 14px 14px 0 0; box-shadow: 0 30px 70px rgb(21 22 26 / .16); }
.f-block__media--contain { display: flex; align-items: center; padding-bottom: clamp(18px, 2.5vw, 32px); }
.f-block__media--contain > .shot { height: auto; border-radius: 14px; }
.f-block__media--phone { display: flex; justify-content: center; padding-top: clamp(24px, 3vw, 40px); }
.phone--block { width: min(280px, 70%); height: 118%; aspect-ratio: auto; padding: 8px 8px 0; border-radius: 40px 40px 0 0; }
.phone--block .shot--flat { border-radius: 32px 32px 0 0; }
.phone--block .shot--flat img { object-position: top center; }
.f-block--wide { grid-template-columns: 1fr; }
.f-block--wide .f-block__copy { max-width: 760px; }
.f-block--wide .f-block__media { height: clamp(320px, 44vw, 620px); }
.f-media--blue { background: var(--tint-blue); } .f-media--rose { background: var(--tint-rose); } .f-media--mint { background: var(--tint-mint); }
.f-media--sand { background: var(--tint-sand); } .f-media--lilac { background: var(--tint-lilac); } .f-media--sky { background: var(--tint-sky); }
.f-for__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.f-for__card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), border-color .2s; }
.f-for__card:hover { transform: translateY(-3px); border-color: var(--accent); }
.f-for__card b { font-size: 20px; letter-spacing: -.02em; }
.f-for__card > span:last-child { color: var(--muted); font-size: 15px; line-height: 1.45; }
.f-related .h-stack__pills { margin-top: 24px; }
.entry-seo { max-width: 760px; }
/* Legal documents (page.php, pages without a registry key). */
.legal { max-width: 860px; padding-block: 16px clamp(56px, 8vw, 96px); }
.legal__title { margin: 8px 0 20px; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.legal .legal-meta { color: var(--muted); font-size: .95em; }
.legal .legal-box { margin: 1.2em 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.legal .legal-box > :first-child { margin-top: 0; }
.legal .legal-toc a { text-decoration: underline; }
.legal .legal-table-wrap { overflow-x: auto; margin: 1em 0; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95em; }
.legal th, .legal td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { font-weight: 600; background: var(--sunken); }
.legal code { padding: 1px 5px; border-radius: 4px; background: var(--sunken); font-size: .88em; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .f-block { grid-template-columns: 1fr; }
  .f-block--flip .f-block__copy { order: 0; }
  .f-points { flex-basis: 100%; grid-template-columns: repeat(3, 1fr); }
  .f-points li { flex-direction: column; gap: 4px; }
  .f-points b { min-width: 0; font-size: 22px; }
}
@media (max-width: 520px) { .f-points { grid-template-columns: 1fr; } .f-points li { flex-direction: row; } }
/* Hero and "contain" screens keep their full height: nothing of the real screen is cropped. */
.f-frame { height: auto; }
.f-frame .shot--flat { height: auto; }
.f-frame .shot--flat img { height: auto; object-fit: initial; }
.f-block__media--contain { height: auto; min-height: clamp(300px, 34vw, 480px); }
.f-block__media--contain > .shot { width: 100%; }

/* ---------- network pages ---------- */
.n-hero::before { background: color-mix(in srgb, var(--net) 12%, var(--bg)); }
.n-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5vw, 64px); padding-bottom: 8px; }
.n-logo { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px 22px 22px 6px; background: var(--net); color: #fff; box-shadow: 0 16px 40px color-mix(in srgb, var(--net) 35%, transparent); }
.n-logo .icon { width: 38px; height: 38px; }
.n-frame { transform: rotate(-1.5deg); }
.n-cols { display: grid; gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.n-cols--3 { grid-template-columns: repeat(3, 1fr); } .n-cols--2 { grid-template-columns: repeat(2, 1fr); } .n-cols--1 { grid-template-columns: 1fr; }
.n-col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.n-col h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.n-col .checks { margin: 0 0 6px; }
.n-col .h-link { margin-top: auto; }
.n-ext { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 22px 26px; border-radius: var(--r-tile); background: var(--dark); color: #f6f6f3; text-decoration: none; }
.n-ext b { display: block; font-size: 18px; }
.n-ext small { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: 14px; }
.n-ext > .icon { margin-left: auto; }
.n-others { margin-top: clamp(24px, 4vw, 40px); }
@media (max-width: 900px) { .n-hero__grid, .n-cols--3, .n-cols--2 { grid-template-columns: 1fr; } .n-frame { transform: none; } }

/* ---------- niche pages ---------- */
.s-hero::before { background: var(--niche); }
.s-quote { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); }
.s-art { border-radius: var(--r-card); background: var(--niche); padding: clamp(16px, 3vw, 32px); }
.s-art .niche-art { height: auto; }
.s-day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; list-style: none; }
.s-day li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); }
.s-day b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); }
.s-day span { color: var(--ink-2); line-height: 1.5; }
.s-shots { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.s-shot { margin: 0; }
.s-shot figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; font-weight: 500; }
@media (max-width: 900px) { .s-day { grid-template-columns: 1fr 1fr; } .s-shots { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .s-day { grid-template-columns: 1fr; } }

/* ---------- hub pages: overview, networks, solutions, pricing, partner ---------- */
.o-group > .tag { margin-bottom: 18px; font-size: 15px; padding: 7px 14px; }
.o-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.o-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 180px; padding: 24px; border-radius: var(--r-card); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
.o-card:hover { transform: translateY(-4px); }
.o-card b { font-size: 21px; letter-spacing: -.02em; margin-top: auto; }
.o-card > span:not(.mega__icon) { color: var(--ink-2); font-size: 15px; }
.o-card .mega__icon { background: var(--surface); }
.o-card__go { position: absolute; right: 22px; top: 22px; color: var(--muted); }
.o-card--blue { background: var(--tint-blue); } .o-card--rose { background: var(--tint-rose); } .o-card--mint { background: var(--tint-mint); } .o-card--sand { background: var(--tint-sand); }
.o-nets { margin-top: clamp(32px, 5vw, 56px); }
.net-card span b { display: block; }
.o-niches { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.o-niches .h-niche { width: auto; }
.p-plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.p-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.p-plan.is-hot { background: #2453e6; color: #fff; border-color: transparent; box-shadow: 0 30px 60px rgb(36 83 230 / .3); }
.p-plan__badge { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 999px; background: #15161a; color: #fff; font-size: 12px; font-weight: 700; }
.p-plan__name { font-size: 22px; letter-spacing: -.02em; }
.p-plan__for { font-size: 14px; opacity: .75; }
.p-plan__price { font-size: 40px; font-weight: 700; letter-spacing: -.04em; }
.p-plan__price small { font-size: 15px; font-weight: 500; opacity: .7; }
.p-plan .checks { flex: 1; margin: 6px 0 14px; font-size: 14.5px; }
.p-plan .btn { width: 100%; }
.p-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.calc { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-lg); }
.calc__title { font-size: 22px; }
.calc__row { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.calc__row span { display: flex; justify-content: space-between; }
.calc input[type=range] { accent-color: var(--accent); width: 100%; }
.calc select { height: 48px; padding: 0 14px; border-radius: var(--r-input); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.calc__result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__result span { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--tint-mint); color: var(--muted); font-size: 14px; }
.calc__result b { color: var(--ink); font-size: 30px; letter-spacing: -.03em; }
.p-steps { grid-template-columns: repeat(3, 1fr); }
.p-steps strong { font-size: 20px; letter-spacing: -.02em; }
@media (max-width: 1100px) { .p-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .p-plans, .p-steps { grid-template-columns: 1fr; } }

/* ---------- long-form: steps, before/after, cases, SEO guide ---------- */
.d-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; list-style: none; counter-reset: none; }
.d-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); }
.d-steps__n { font-size: 15px; font-weight: 700; color: var(--accent); }
.d-steps b { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.d-steps li > span:last-child { color: var(--ink-2); line-height: 1.5; font-size: 15.5px; }
.d-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.d-compare__col { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); }
.d-compare__col > b { display: block; margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; }
.d-compare__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16.5px; line-height: 1.45; }
.d-compare__col--before { background: var(--sunken); color: var(--ink-2); }
.d-compare__col--before li { position: relative; padding-left: 30px; }
.d-compare__col--before li::before { content: "×"; position: absolute; left: 4px; top: -2px; font-size: 20px; color: var(--faint); }
.d-compare__col--after { background: #15161a; color: #f6f6f3; }
.d-compare__col--after .checks li::before { background-color: #5b82ff; }
.d-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.d-case { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.d-case:nth-child(1) { background: var(--tint-rose); border-color: transparent; }
.d-case:nth-child(2) { background: var(--tint-blue); border-color: transparent; }
.d-case:nth-child(3) { background: var(--tint-mint); border-color: transparent; }
.d-case h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.d-case p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.d-case .tag { background: var(--surface); }
.d-guide__body { max-width: 780px; }
.d-guide__body h2 { margin: 1.6em 0 .5em; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.d-guide__body h2:first-child { margin-top: 0; }
.d-guide__body h3 { margin: 1.3em 0 .4em; font-size: 22px; }
.d-guide__body p, .d-guide__body li { color: var(--ink-2); }
.d-guide__body ul { padding-left: 1.2em; }
@media (max-width: 900px) { .d-compare, .d-cases { grid-template-columns: 1fr; } }
.d-guide { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 780px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.d-toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); }
.d-toc b { margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.d-toc a { padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.d-toc a:hover { background: var(--sunken); color: var(--ink); }
@media (max-width: 900px) { .d-guide { grid-template-columns: 1fr; } .d-toc { position: static; } }
.f-for__grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .f-for__grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

/* ==========================================================================
   Blog (home, archives, article)
   ========================================================================== */
.b-head { position: relative; padding: clamp(32px, 5vw, 64px) 0 8px; overflow: hidden; }
.b-head::before { content: ""; position: absolute; right: -140px; top: -180px; width: 520px; height: 520px; border-radius: 120px; background: var(--tint-lilac); transform: rotate(14deg); opacity: .7; pointer-events: none; }
.b-head .wrap { position: relative; display: flex; flex-direction: column; gap: 18px; }
.b-search { display: flex; align-items: center; gap: 10px; max-width: 520px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.b-search input { flex: 1; border: 0; background: none; font: inherit; color: var(--ink); outline: none; }
.b-search:focus-within { border-color: var(--accent); }
.b-head .cats { margin: 4px 0 0; }
.b-h2 { margin: clamp(48px, 7vw, 88px) 0 24px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.b-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(24px, 4vw, 40px); padding: 14px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.b-feature__media img { width: 100%; height: auto; border-radius: 18px; }
.b-feature__body { display: flex; flex-direction: column; gap: 14px; padding: 12px 18px 12px 0; }
.b-feature__body h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.b-feature__body p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.b-feature:hover h2 { color: var(--accent); }
.post-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.post-card__media { aspect-ratio: 1200 / 630; border-radius: 18px; background: var(--sunken); overflow: hidden; }
.post-card__body { display: flex; flex-direction: column; gap: 8px; }
.post-card__cat { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent); }
.post-card h3 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.post-card:hover h3 { color: var(--accent); }
.posts .post-card:first-child { grid-column: auto; grid-row: auto; }
.posts .post-card:first-child h3 { font-size: 20px; }
.posts--three { grid-template-columns: repeat(3, 1fr); }
.b-cluster__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.b-cluster__head .b-h2 { margin-bottom: 24px; }
.b-nets { padding: 0; }
.b-nets .chip small { color: var(--muted); }
.b-archive { margin-top: clamp(24px, 4vw, 40px); }
@media (max-width: 900px) { .b-feature { grid-template-columns: 1fr; } .b-feature__body { padding: 0 8px 8px; } .posts--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts--three { grid-template-columns: 1fr; } }

.a-head { padding-top: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
.a-title { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.04em; }
.a-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.a-author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.a-author img { border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.a-cover { margin-top: clamp(24px, 4vw, 40px); }
.a-cover img { width: 100%; height: auto; border-radius: var(--r-card); }
.a-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 760px); gap: clamp(32px, 5vw, 80px); padding-top: clamp(32px, 5vw, 56px); align-items: start; }
.a-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; }
.a-side .d-toc { position: static; max-height: calc(100dvh - 260px); overflow-y: auto; }
.a-share { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.a-share b { margin-right: auto; font-size: 13px; color: var(--muted); }
.a-share a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; color: var(--ink-2); }
.a-share a:hover { background: var(--sunken); color: var(--accent); }
.a-body { font-size: 18px; line-height: 1.7; }
.a-body > p:first-child { font-size: 20px; color: var(--ink); }
.a-body h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.a-body h3 { scroll-margin-top: calc(var(--header-h) + 24px); }
.a-body .takeaways { margin: 28px 0 36px; padding: 24px 28px; border-radius: var(--r-tile); background: var(--tint-blue); }
.a-body .takeaways > b { display: block; margin-bottom: 8px; font-size: 18px; }
.a-body .takeaways ul { margin: 0; padding-left: 1.1em; }
.a-body table { display: block; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 16px; }
.a-body th { background: var(--sunken); }
.a-cta { margin: 48px 0 0; padding: 28px; border-radius: var(--r-card); background: #15161a; color: #f6f6f3; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.a-cta b { font-size: 24px; letter-spacing: -.02em; }
.a-cta p { margin: 0; color: #b9bbc2; }
@media (max-width: 1000px) { .a-layout { grid-template-columns: 1fr; } .a-side { position: static; } .a-side .d-toc { max-height: none; } }

/* ---------- about, contact, free tools ---------- */
.f-hero--lilac::before { background: var(--tint-lilac); }
.ab-facts { margin-top: clamp(40px, 6vw, 72px); }
.ab-quote { max-width: 980px; margin: 0; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.2; letter-spacing: -.03em; font-weight: 600; }
.ab-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: clamp(24px, 4vw, 40px) 0 0; padding: 0; list-style: none; position: relative; }
.ab-timeline li { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); }
.ab-timeline b { font-size: 34px; letter-spacing: -.04em; color: var(--accent); }
.ab-timeline span { color: var(--ink-2); line-height: 1.5; }
.ab-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.ab-person { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.ab-person b { margin-top: 12px; font-size: 19px; }
.ab-person > span:last-child { color: var(--muted); }
.ab-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px 20px 20px 6px; font-weight: 700; font-size: 20px; }
.ab-avatar--0 { background: var(--pastel-rose); } .ab-avatar--1 { background: var(--pastel-blue); } .ab-avatar--2 { background: var(--pastel-mint); } .ab-avatar--3 { background: var(--pastel-sand); }
.ab-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(24px, 4vw, 40px); }
.ab-office { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r-card); background: var(--dark); color: var(--on-dark); }
.ab-office b { font-size: 26px; letter-spacing: -.02em; }
.ab-office span { color: var(--on-dark-muted); }
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.ct-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .2s; }
.ct-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.ct-card__label { margin-top: 10px; color: var(--muted); font-size: 14px; }
.ct-card b { font-size: 20px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ct-card--main { background: #2453e6; color: #fff; border-color: transparent; }
.ct-card--main .ct-card__label { color: #dce4ff; }
.ct-card--main .mega__icon { background: rgb(255 255 255 / .16); color: #fff; }
.ct-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.ct-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-foot p { margin: 0; font-size: 14px; }
.tl-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.tl-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
.tl-card:hover { transform: translateY(-4px); }
.tl-card b { font-size: 24px; letter-spacing: -.02em; }
.tl-card > span:not(.n-logo):not(.h-link) { color: var(--ink-2); line-height: 1.5; }
.tl-card .h-link { margin-top: auto; }
.tl-card--main { background: var(--tint-blue); border-color: transparent; }
@media (max-width: 900px) { .ab-timeline, .ab-team { grid-template-columns: 1fr 1fr; } .ct-grid, .tl-grid, .ab-offices { grid-template-columns: 1fr; } }
.h-fact b { white-space: nowrap; }

/* ---------- help center ---------- */
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.hc-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.hc-card h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.02em; }
.hc-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.hc-card a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.hc-card a:hover { background: var(--sunken); color: var(--accent); }

/* Help article: the section's other articles under the table of contents */
.hc-side { position: static; margin-top: 18px; }
.hc-side a[aria-current="page"] { color: var(--accent); font-weight: 600; background: var(--sunken); }
.hc-stuck .h-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ── Selling layer (templates/sell.php): pains, mid-page CTA, plans ─────────── */
.eyebrow { display: block; width: 100%; margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.sl-pains__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.sl-pain { display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.sl-pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sl-pain__before { flex: 1; padding: 26px 26px 20px; }
.sl-pain__before h3 { margin: 14px 0 8px; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.sl-pain__before p { margin: 0; color: var(--muted); line-height: 1.5; }
.sl-pain__after { display: flex; gap: 12px; align-items: flex-start; padding: 20px 26px 24px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-top: 1px dashed color-mix(in srgb, var(--accent) 30%, var(--line)); }
.sl-pain__after p { margin: 0; line-height: 1.5; color: var(--ink-2); }
.sl-pain__after b { color: var(--ink); }
.sl-pain__mark { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, #e5484d 12%, transparent); color: #e5484d; }
.sl-pain__mark--ok { background: color-mix(in srgb, #1f9d63 14%, transparent); color: #1f9d63; }
.sl-pain__mark .icon { width: 18px; height: 18px; }
.sl-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-block: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-card); background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #7c3aed)); color: #fff; }
.sl-cta__copy { flex: 1 1 420px; }
.sl-cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.03em; }
.sl-cta p { margin: 0; color: #fff; opacity: .9; font-size: 17px; line-height: 1.5; }
.sl-cta__btns { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sl-cta .btn--primary { background: #fff; color: var(--accent); }
.sl-cta .btn--primary:hover { background: #f1f4ff; }
.sl-cta__note { font-size: 13.5px; opacity: .85; }
.sl-plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.sl-plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.sl-plan:hover { transform: translateY(-3px); border-color: var(--accent); }
.sl-plan--featured { border: 2px solid var(--accent); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--accent) 60%, transparent); }
.sl-plan__badge { position: absolute; top: -12px; left: 22px; padding: 3px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.sl-plan__name { font-size: 15px; color: var(--muted); }
.sl-plan__price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sl-plan__price small { margin-left: 3px; font-size: 15px; font-weight: 500; color: var(--muted); }
.sl-plan__who { font-weight: 600; margin-bottom: 8px; }
.sl-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14.5px; color: var(--ink-2); }
.sl-plan li { display: flex; gap: 8px; align-items: flex-start; }
.sl-plan li .icon { flex: none; width: 17px; height: 17px; margin-top: 2px; color: #1f9d63; }
.sl-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.sl-trust li { display: flex; gap: 8px; align-items: center; }
.sl-trust .icon { width: 19px; height: 19px; color: var(--accent); }
.sl-plans__more { margin: 18px 0 0; }
.sl-plans__more a { display: inline-flex; gap: 6px; align-items: center; color: var(--accent); font-weight: 600; text-decoration: none; }
.sl-plans__more .icon { width: 17px; height: 17px; }

/* Buttons inside article bodies keep their own colours (".article__body a" paints links blue). */
.article__body a.btn { text-decoration: none; }
.article__body a.btn--primary, .article__body a.btn--primary:hover { color: #fff; }
.a-cta a.btn--ghost { color: #f6f6f3; border-color: rgb(246 246 243 / .35); }
.a-cta a.btn--ghost:hover { color: #fff; border-color: #fff; }

/* ── Free tool pages (templates/page-tool-*.php) ─────────────────────────── */
.tool-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 12px; }
@media (max-width: 960px) { .tool-hero__grid { grid-template-columns: 1fr; } }
.tool-hero__checks { margin-top: 22px; }
.tool-card { display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tool-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tool-card select, .tool-card input[type="text"], .tool-card textarea { width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 400; }
.tool-card textarea { resize: vertical; min-height: 104px; }
.tool-card select:focus, .tool-card input:focus, .tool-card textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-color: var(--accent); }
.tool-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .tool-row { grid-template-columns: 1fr; } }
.tool-toggles { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tool-switch { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; font-weight: 500 !important; cursor: pointer; }
.tool-switch input { width: 18px; height: 18px; accent-color: var(--accent); }
.tool-submit { width: 100%; justify-content: center; }
.tool-card.is-busy .tool-submit { opacity: .75; cursor: progress; }
.tool-note { margin: -4px 0 0; font-size: 13.5px; text-align: center; }
.tool-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tool-result { display: grid; gap: 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
.tool-variant { padding: 16px 18px; border-radius: var(--r-tile); background: var(--sunken); }
.tool-variant header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tool-variant p { margin: 0; line-height: 1.55; white-space: normal; }
.tool-copy { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.tool-copy:hover { border-color: var(--accent); color: var(--accent); }
.tool-tags { margin: 4px 0 0; color: var(--accent); line-height: 1.6; }
.tool-left { margin: 0; font-size: 13px; }
.tool-error { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, #e5484d 10%, var(--surface)); color: var(--ink); line-height: 1.5; }
.tool-error .btn { margin-top: 10px; }

/* In-article product showcase (inc/blog.php aismm_article_showcase) */
.a-showcase { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin: 40px 0; padding: 22px; border-radius: var(--r-card); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)); }
.a-showcase__media .shot { margin: 0; box-shadow: var(--shadow); }
.a-showcase__title { display: block; margin: 4px 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.a-showcase p { margin: 0 0 12px; color: var(--ink-2); }
.a-showcase .checks { margin: 0 0 16px; font-size: 15px; }
.a-showcase .h-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.article__body .a-showcase a.btn--ghost { color: var(--ink); }
@media (max-width: 760px) { .a-showcase { grid-template-columns: 1fr; } }
.tool-nets { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-nets .pill { text-decoration: none; }

/* Glossary (archive-aismm_term.php) */
.gl-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.gl-letters a { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.gl-letters a:hover { border-color: var(--accent); color: var(--accent); }
.gl-group { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.gl-letter { font-size: 34px; line-height: 1; color: var(--accent); }
.gl-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.gl-term { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--r-tile); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.gl-term:hover { border-color: var(--accent); }
.gl-term span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 560px) { .gl-group { grid-template-columns: 1fr; } }
.article__body a.gl-link { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.article__body a.gl-link:hover { color: var(--accent); }
.a-infographic { max-width: 560px; margin: 40px auto; }
.a-infographic img { display: block; width: 100%; height: auto; border-radius: var(--r-tile); box-shadow: var(--shadow); }
.a-infographic figcaption { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
