/* ==========================================================================
   Nima Neizari — site styles
   Palette: deep navy ink, cool fog, cobalt signal, amber data highlight.
   Logical properties are used throughout so the same CSS serves LTR and RTL.
   ========================================================================== */

:root {
  --ink: #0F1A2E; --ink-2: #172540; --ink-3: #22355A; --ink-line: #2B3E63;
  --fog: #EEF1F5; --fog-2: #E3E8EF; --paper: #FFFFFF; --line: #D6DDE7;
  --text: #16213A; --slate: #556079; --slate-2: #8A94A8;
  --cobalt: #2F5BFF; --cobalt-d: #1D43D4; --cobalt-l: #E6ECFF;
  --amber: #FFB020; --amber-d: #E89A00; --mint: #16B47E;
  --k-seo: #6B8CFF; --k-smm: #B49BFF; --k-perf: #FFB020; --k-bi: #2DD4BF; --k-content: #FF8A65; --k-orch: #FFFFFF;

  --f-display: 'Bricolage Grotesque Variable', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Instrument Sans Variable', 'Segoe UI', system-ui, sans-serif;
  --track-display: -0.025em;

  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(56px, 7vw, 96px);
  --shadow: 0 1px 2px rgba(15, 26, 46, .06), 0 8px 24px -12px rgba(15, 26, 46, .18);
}
:root[lang="fa"] {
  --f-display: 'Vazirmatn', Tahoma, sans-serif;
  --f-body: 'Vazirmatn', Tahoma, sans-serif;
  --track-display: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--fog); color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
:root[lang="fa"] body { line-height: 1.9; font-size: 1.05rem; }
img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--amber); }

h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: var(--track-display); line-height: 1.12; margin: 0 0 .5em; color: inherit; font-weight: 700; }
:root[lang="fa"] :is(h1, h2, h3, h4) { line-height: 1.45; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.h4, h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--slate); max-width: 62ch; }
.lead.xl { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--text); }
.muted { color: var(--slate); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; width: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }
:root[dir="rtl"] .flip { transform: scaleX(-1); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 860px; }
.section { padding-block: var(--sec); }
.section.tight { padding-block: clamp(40px, 5vw, 64px); }
.section.alt { background: var(--paper); }
.dark { background: var(--ink); color: #E8EDF6; }
.dark .lead, .dark p { color: #B6C1D6; }
.sec-head { max-width: 760px; margin-block-end: clamp(32px, 4vw, 56px); }
.sec-head p { color: var(--slate); font-size: 1.12rem; margin: 0; }
.sec-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 1.5px solid transparent; border-radius: 999px; padding: .72em 1.35em;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55em 1.05em; font-size: .93rem; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-d); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--fog-2); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--cobalt); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.dark .text-link { color: var(--amber); }
.links-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { flex: none; margin-top: .25em; color: var(--cobalt); }
.dark .ticks .ic { color: var(--amber); }
.ticks.big li { font-size: 1.08rem; padding-block: 6px; border-bottom: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(238, 241, 245, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: var(--track-display); }
.brand-light { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--slate); }
.main-nav ul a:hover { color: var(--text); background: rgba(15, 26, 46, .05); }
.main-nav ul a[aria-current="page"] { color: var(--text); background: #fff; box-shadow: var(--shadow); }
.nav-extra { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .i-close { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--fog); padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100dvh - 72px); overflow: auto;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 14px 8px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a[aria-current="page"] { box-shadow: none; background: none; color: var(--cobalt); }
  .nav-extra { justify-content: space-between; }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle .i-open { display: none; }
  body.nav-open .nav-toggle .i-close { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 72px) clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#C8D0DD 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%); opacity: .7; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-eyebrow { font-weight: 600; color: var(--cobalt); margin-bottom: 18px; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 750; max-width: 13ch; margin-bottom: 24px; }
:root[lang="fa"] .hero-title { max-width: 16ch; font-weight: 850; }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--slate); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 32px 40px; }
.hero-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--slate); font-size: .95rem; }
.hero-platforms ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hero-platforms li { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }

.hero-visual { position: relative; }
.hero-photo { margin: 0; border-radius: 28px; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 4.6; box-shadow: 0 30px 60px -30px rgba(15, 26, 46, .55); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-chip { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px -12px rgba(15, 26, 46, .35); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--slate); max-width: 240px; }
.chip-spend { inset-inline-start: -28px; top: 14%; }
.chip-spend strong { font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.chip-team { inset-inline-end: -20px; bottom: 9%; background: var(--ink); color: #C7D1E4; gap: 8px; }
.chip-team b { color: #fff; }
.chip-agents { display: flex; gap: 4px; }
.chip-agents i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--ink); }
.chip-live { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #8FE3C3; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(22, 180, 126, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22, 180, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 180, 126, 0); } }

/* agent colour keys */
.k-seo { --k: var(--k-seo); } .k-smm { --k: var(--k-smm); } .k-perf { --k: var(--k-perf); } .k-bi { --k: var(--k-bi); } .k-content { --k: var(--k-content); } .k-orch { --k: var(--k-orch); }
.chip-agents i { background: var(--k); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; padding-inline: 12px; }
  .chip-spend { inset-inline-start: 0; }
  .chip-team { inset-inline-end: 0; }
}

/* ---------- Capability index ---------- */
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding: 24px 4px; border-bottom: 1px solid var(--line); text-decoration: none; height: 100%; }
.cap-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--cobalt); box-shadow: var(--shadow); }
.cap-body strong { display: block; font-family: var(--f-display); font-size: 1.2rem; letter-spacing: var(--track-display); margin-bottom: 4px; }
.cap-body span { color: var(--slate); font-size: .98rem; }
.cap-go { color: var(--slate-2); margin-top: 12px; transition: transform .2s, color .2s; }
:root[dir="rtl"] .cap-go .ic { transform: scaleX(-1); }
.cap-row:hover .cap-go { color: var(--cobalt); transform: translateX(4px); }
:root[dir="rtl"] .cap-row:hover .cap-go { transform: translateX(-4px); }
.cap-row:hover strong { color: var(--cobalt); }
.cap-list.compact .cap-row { padding: 16px 4px; align-items: center; }
.cap-list.compact .cap-go { margin: 0; }
@media (max-width: 760px) { .cap-list { grid-template-columns: 1fr; } }

/* ---------- AI team (dark) ---------- */
.team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.team h2 { color: #fff; }
.agent-roles { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.agent-roles li { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ink-line); font-size: .95rem; }
.agent-roles b { color: var(--k); font-weight: 600; }
.agent-roles span { color: #9FAAC0; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; } }

.vis-agents { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 16px; }
.agents-map { position: relative; aspect-ratio: 1 / .86; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; border-radius: var(--r); }
.agents-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.agents-lines .ln { stroke: var(--k, #fff); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 3 5; opacity: .75; animation: flow 1.6s linear infinite; animation-delay: var(--d, 0s); }
.ln-seo { --k: var(--k-seo); } .ln-smm { --k: var(--k-smm); } .ln-perf { --k: var(--k-perf); } .ln-bi { --k: var(--k-bi); } .ln-content { --k: var(--k-content); }
.ln-human { stroke: #fff; opacity: .5; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.ag-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 24%; text-align: center; }
.ag-dot { position: relative; width: clamp(40px, 7vw, 54px); height: clamp(40px, 7vw, 54px); border-radius: 16px; display: grid; place-items: center; background: var(--ink); border: 1.5px solid var(--k, #fff); color: var(--k, #fff); box-shadow: 0 0 0 6px rgba(15, 26, 46, .7), 0 0 28px -6px var(--k, #fff); }
.ag-name { font-size: clamp(.72rem, 1.3vw, .88rem); font-weight: 600; color: #E8EDF6; line-height: 1.25; }
.ag-core .ag-dot { width: clamp(58px, 10vw, 76px); height: clamp(58px, 10vw, 76px); border-radius: 50%; background: var(--cobalt); border-color: #fff; color: #fff; box-shadow: 0 0 0 8px rgba(47, 91, 255, .18), 0 0 40px rgba(47, 91, 255, .6); }
.ag-human .ag-dot { border-radius: 50%; overflow: hidden; border-color: var(--amber); padding: 0; }
.ag-human .ag-dot img { width: 100%; height: 100%; object-fit: cover; }
.ag-human .ag-name { color: var(--amber); white-space: nowrap; }
.ag-live { position: absolute; top: -3px; inset-inline-end: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink-2); }
.ag-seo { --k: var(--k-seo); } .ag-smm { --k: var(--k-smm); } .ag-perf { --k: var(--k-perf); } .ag-bi { --k: var(--k-bi); } .ag-content { --k: var(--k-content); }

.agents-log { background: #0B1424; border: 1px solid var(--ink-line); border-radius: var(--r); padding: 14px 16px; font-size: .88rem; }
.log-head { display: flex; align-items: center; gap: 8px; color: #8FE3C3; font-weight: 600; margin-bottom: 8px; }
.log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 9.6em; }
.log-item { display: grid; grid-template-columns: 96px 1fr; gap: 10px; color: #B6C1D6; }
.log-item b { color: var(--k); font-weight: 600; }
.log-item.enter { animation: logIn .45s ease both; }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse > .split-copy { order: 2; }
.split-copy h2 { max-width: 18ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > .split-copy { order: 0; } }

/* ---------- Ads visual ---------- */
.vis-ads { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.ads-figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--line); }
.ads-num { font-family: 'Bricolage Grotesque Variable', var(--f-display); font-size: clamp(3.5rem, 8vw, 5.8rem); font-weight: 800; line-height: .9; letter-spacing: -0.04em; color: var(--ink); }
.ads-num::after { content: "+"; color: var(--amber); }
.ads-label { color: var(--slate); max-width: 20ch; }
.ads-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.ads-grid li { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .92rem; }
.ads-logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--bc); color: var(--fg); flex: none; }

/* ---------- Automation canvas ---------- */
.vis-automation { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.canvas-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.canvas { position: relative; min-width: 680px; }
.canvas-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wire { fill: none; stroke: #9AA8C0; stroke-width: 2; }
.wire-false { stroke-dasharray: 5 6; }
.pulse { fill: var(--cobalt); }
.pulse-false { fill: var(--amber); }
.wire-label { font: 600 13px var(--f-body); fill: var(--slate); text-anchor: middle; }
.cnode { position: absolute; transform: translate(-50%, -50%); width: 16%; min-width: 108px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .82rem; font-weight: 600; line-height: 1.3; box-shadow: 0 6px 16px -10px rgba(15, 26, 46, .4); }
.cnode-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--fog); color: var(--ink); }
.cnode.is-trigger .cnode-ic { background: var(--amber); }
.cnode.is-ai { border-color: var(--cobalt); }
.cnode.is-ai .cnode-ic { background: var(--cobalt); color: #fff; }
.cnode.is-branch .cnode-ic { background: var(--ink); color: #fff; }
.canvas-badge { position: absolute; top: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--fog); color: #EA4B71; }

.auto-flows { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.auto-flows p { color: var(--slate); }
@media (max-width: 900px) { .auto-flows { grid-template-columns: 1fr; } }

.vis-flows { position: relative; padding-bottom: 36px; }
.flow-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fs { position: relative; background: #fff; border-radius: 12px; padding: 14px 10px; text-align: center; box-shadow: var(--shadow); display: grid; gap: 4px; justify-items: center; }
.fs-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--cobalt-l); color: var(--cobalt); }
.fs-t { font-weight: 600; font-size: .92rem; }
.fs:not(:last-child)::after { content: ""; position: absolute; top: 50%; inset-inline-end: -8px; width: 8px; height: 2px; background: var(--cobalt); }
.fs-4 .fs-n { background: var(--amber); color: var(--ink); }
.flow-loop { position: absolute; inset-inline: 10% 10%; bottom: 0; width: 80%; height: 34px; color: var(--amber-d); }
@media (max-width: 560px) { .flow-stages { grid-template-columns: 1fr 1fr; } .fs:last-child { grid-column: span 2; } .fs::after { display: none; } .flow-loop { display: none; } .vis-flows { padding-bottom: 0; } }

/* ---------- SEO + campaigns ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.duo-col { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; }
.duo-col > p { color: var(--slate); }
.duo-col .vis { margin-block: 12px 24px; flex: 1; }
@media (max-width: 900px) { .duo-grid { grid-template-columns: 1fr; } }

.serp { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--fog); }
.serp-bar { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 500; box-shadow: var(--shadow); margin-bottom: 12px; color: var(--slate); }
.serp-bar span { color: var(--text); }
.serp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.serp-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 10px; border-radius: 10px; }
.serp-list li.is-you { background: #fff; outline: 2px solid var(--cobalt); }
.serp-rank { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #fff; color: var(--slate); }
.is-you .serp-rank { background: var(--cobalt); color: #fff; }
.serp-url { display: block; font-size: .78rem; color: var(--slate); }
.serp-title { display: block; color: #1A0DAB; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.serp-list li:not(.is-you) .serp-title { color: #6B74A0; }
.serp-chart { width: 100%; height: 56px; margin-top: 10px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks li { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--cobalt-l); color: var(--cobalt-d); }

.cp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cp-tab { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.cp-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cp-panel { border-radius: var(--r); background: var(--ink); color: #E8EDF6; padding: 22px; animation: logIn .3s ease; }
.cp-panel dl { margin: 0; display: grid; gap: 16px; }
.cp-panel dt { font-size: .82rem; color: #8E9AB3; margin-bottom: 2px; }
.cp-panel dd { margin: 0; }
.cp-goal { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1.3; }

/* ---------- GTM + docs ---------- */
.gtm-line { list-style: none; margin: 0 0 clamp(56px, 7vw, 96px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.gtm-line::before { content: ""; position: absolute; top: 22px; inset-inline: 22px; height: 2px; background: linear-gradient(to right, var(--cobalt), var(--amber)); }
:root[dir="rtl"] .gtm-line::before { background: linear-gradient(to left, var(--cobalt), var(--amber)); }
.gtm-line li { position: relative; display: grid; gap: 4px; padding-inline-end: 16px; align-content: start; }
.gtm-n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--cobalt); font-weight: 700; margin-bottom: 12px; font-family: var(--f-display); }
.gtm-line li:last-child .gtm-n { border-color: var(--amber); background: var(--amber); }
.gtm-line strong { font-family: var(--f-display); font-size: 1.15rem; }
.gtm-line span:last-child { color: var(--slate); font-size: .95rem; }
@media (max-width: 760px) {
  .gtm-line { grid-template-columns: 1fr; gap: 20px; }
  .gtm-line::before { top: 22px; bottom: 22px; inset-inline: 22px auto; width: 2px; height: auto; background: linear-gradient(to bottom, var(--cobalt), var(--amber)); }
  .gtm-line li { grid-template-columns: 46px 1fr; column-gap: 16px; }
  .gtm-n { grid-row: span 2; margin: 0; }
}
.docs-split { align-items: center; }
.vis-docs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-block: 24px; }
.paper { position: relative; margin-inline-end: -14px; background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 18px 40px -20px rgba(15, 26, 46, .45); border: 1px solid var(--line); }
.paper h4 { margin: 10px 0 8px; }
.paper ul { margin: 0; padding-inline-start: 18px; color: var(--slate); font-size: .9rem; }
.paper-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--cobalt-l); color: var(--cobalt); }
.paper-lines { display: grid; gap: 6px; margin-top: 12px; }
.paper-lines i { height: 6px; border-radius: 3px; background: var(--fog-2); }
.paper-lines i:nth-child(2) { width: 80%; } .paper-lines i:nth-child(3) { width: 55%; }
.paper-0 { transform: rotate(-3deg) translateY(18px); }
.paper-1 { transform: rotate(1.5deg); z-index: 2; }
.paper-1 .paper-ic { background: var(--amber); color: var(--ink); }
.paper-2 { transform: rotate(4deg) translateY(30px); }
.paper h4 { font-size: 1rem; }
@media (max-width: 560px) {
  .vis-docs { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .paper { margin: 0; transform: none; }
}

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.steps li { background: #fff; border-radius: var(--r); padding: 24px; border-top: 3px solid var(--cobalt); }
.steps li:last-child { border-top-color: var(--amber); }
.step-n { font-family: var(--f-display); font-size: 2.2rem; font-weight: 800; color: var(--fog-2); line-height: 1; display: block; margin-bottom: 12px; -webkit-text-stroke: 1px var(--slate-2); }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--slate); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-thumb { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.03); }
.post-thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--amber); background: radial-gradient(circle at 30% 30%, var(--ink-3), var(--ink)); }
.post-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card:hover h3 { color: var(--cobalt); }
.post-card p { color: var(--slate); font-size: .95rem; margin: 0; flex: 1; }
.post-cat { font-size: .85rem; font-weight: 600; color: var(--cobalt); text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--slate-2); font-size: .86rem; }
.post-meta > * + *::before { content: "/"; margin-inline-end: 14px; color: var(--line); }

.post-feature { margin-bottom: 32px; }
.post-feature a { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); }
.post-feature .post-thumb { aspect-ratio: auto; min-height: 300px; }
.post-feature-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.post-feature h2 { margin: 0; }
.post-feature p { color: var(--slate); margin: 0; }
@media (max-width: 820px) { .post-feature a { grid-template-columns: 1fr; } .post-feature .post-thumb { aspect-ratio: 16 / 9; min-height: 0; } }

.blog-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 16px; max-width: 520px; box-shadow: var(--shadow); margin-top: 24px; color: var(--slate); }
:root[dir="rtl"] .blog-search { padding: 6px 16px 6px 6px; }
.blog-search input { flex: 1; border: 0; background: none; font: inherit; padding: 8px 0; min-width: 0; outline: none; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 7px 14px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 500; font-size: .93rem; border: 1px solid var(--line); }
.chip small { color: var(--slate-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on small { color: #9FAAC0; }
.pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; }
.pager a { font-weight: 600; color: var(--cobalt); }
.tag-cloud { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.tag-cloud h2 { width: 100%; }
.tag-cloud a { color: var(--slate); text-decoration: none; }
.tag-cloud a:hover { color: var(--cobalt); }
.empty { text-align: center; padding: 64px 16px; color: var(--slate); display: grid; justify-items: center; gap: 12px; background: #fff; border-radius: var(--r); }

/* ---------- Article ---------- */
.preview-bar { background: var(--amber); color: var(--ink); text-align: center; padding: 10px; font-weight: 600; }
.article-head { padding-block: clamp(24px, 4vw, 48px) 32px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-top: 12px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.byline img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }
.byline a { font-weight: 600; text-decoration: none; display: block; }
.article-hero { margin: 0 auto 40px; }
.article-hero img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 56px; justify-content: center; align-items: start; }
.article-grid > .article-body:only-child { grid-column: 1 / -1; max-width: 760px; margin-inline: auto; width: 100%; }
.toc { position: sticky; top: 96px; font-size: .92rem; }
.toc summary { font-weight: 700; cursor: pointer; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 14px; color: var(--slate); text-decoration: none; margin-inline-start: -2px; border-inline-start: 2px solid transparent; }
.toc li a:hover, .toc li a.on { color: var(--cobalt); border-inline-start-color: var(--cobalt); }
.toc li.lv3 a { padding-inline-start: 28px; font-size: .88rem; }
@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; background: #fff; border-radius: var(--r); padding: 16px 18px; }
  .toc details:not([open]) summary { margin: 0; }
}
.prose { font-size: 1.1rem; }
:root[lang="fa"] .prose { font-size: 1.08rem; line-height: 2; }
.prose > * { max-width: 72ch; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5 { margin-top: 1.8em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { font-size: 1.35rem; }
.prose h4 { font-size: 1.15rem; }
.prose h5 { font-size: 1rem; font-family: var(--f-body); }
.prose a { color: var(--cobalt); }
.prose img { border-radius: var(--r); margin-block: 1.5em; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { color: var(--slate); font-size: .9rem; margin-top: 8px; text-align: center; }
.prose blockquote { margin: 1.8em 0; padding: 4px 24px; border-inline-start: 4px solid var(--amber); font-size: 1.2rem; font-family: var(--f-display); color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--cobalt); }
.prose pre { background: var(--ink); color: #E8EDF6; padding: 18px; border-radius: var(--r); overflow-x: auto; font-size: .9rem; direction: ltr; text-align: left; }
.prose code { background: var(--fog-2); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--r); border: 0; }
.table-wrap { overflow-x: auto; margin: 1.6em 0; max-width: 100% !important; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; background: #fff; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: start; }
.prose th { background: var(--fog-2); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose .ql-direction-rtl { direction: rtl; }
.article-foot { margin-block: 48px 72px; display: grid; gap: 28px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--slate); }
.post-tags a { padding: 4px 12px; border-radius: 999px; background: #fff; text-decoration: none; font-size: .9rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--slate); }
.share a, .copy-link { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.copy-link { width: auto; padding: 0 14px; border-radius: 999px; font-size: .88rem; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; background: #fff; border-radius: var(--r); padding: 22px; }
.author-box img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }
.author-box p { color: var(--slate); margin-bottom: 8px; }
.post-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 26px; }
.post-cta p { color: #B6C1D6; margin: 0; }

/* ---------- Page hero / crumbs ---------- */
.page-hero { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); }
.page-hero.dark { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.page-hero.dark h1 { color: #fff; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; font-size: .9rem; color: var(--slate); }
.dark .crumbs ol { color: #8E9AB3; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--slate-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 500; border: 1px solid var(--line); }
.jump a:hover { border-color: var(--cobalt); color: var(--cobalt); }
.svc-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--cobalt); box-shadow: var(--shadow); margin-bottom: 20px; }
.dark .svc-ic { background: var(--ink-3); color: var(--amber); box-shadow: none; }
.svc-block.dark h2 { color: #fff; }

.svc-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.deliver { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; position: sticky; top: 96px; }
.deliver h2 { font-size: 1.5rem; }
.deliver ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.deliver li { display: flex; gap: 10px; align-items: center; color: #D5DCEA; }
.deliver .ic { color: var(--amber); flex: none; }
@media (max-width: 900px) { .svc-detail { grid-template-columns: 1fr; } .deliver { position: static; } }

.agent-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.agent-cards li { background: var(--ink); color: #fff; border-radius: var(--r); padding: 20px; border-top: 3px solid var(--k); }
.agent-cards p { color: #A9B4CA; font-size: .93rem; margin: 0; }
.ag-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-3); color: var(--k); margin-bottom: 14px; }
@media (max-width: 1000px) { .agent-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .agent-cards { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 1; background: var(--ink); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-story { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-story .prose p { font-size: 1.15rem; }
.about-facts { display: grid; gap: 14px; position: sticky; top: 96px; }
.fact { background: #fff; border-radius: var(--r); padding: 22px; display: grid; gap: 4px; }
.fact strong { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--ink); }
.fact span { color: var(--slate); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }
.principles > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.principles p { color: var(--slate); }
.skill-cloud { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.skill-cloud li { padding: 9px 16px; background: #fff; border-radius: 999px; font-weight: 500; border: 1px solid var(--line); }
@media (max-width: 900px) { .about-hero, .about-story { grid-template-columns: 1fr; } .about-facts { position: static; grid-template-columns: repeat(3, 1fr); } .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .about-facts { grid-template-columns: 1fr; } .principles { grid-template-columns: 1fr; } }

/* ---------- Consultation & forms ---------- */
.formats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.formats li { background: #fff; border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.formats h3 { font-size: 1.15rem; margin: 0; }
.formats p { color: var(--slate); font-size: .95rem; margin: 0; flex: 1; }
.formats span { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--cobalt); margin-top: 8px; }
@media (max-width: 960px) { .formats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .formats { grid-template-columns: 1fr; } }

.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.book-photo { margin: 24px 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cal-box { background: var(--fog); border-radius: var(--r); padding: 22px; }
.cal-box h3 { font-size: 1.15rem; }
.cal-box p { color: var(--slate); font-size: .96rem; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } .book-side { order: 2; } }

.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.section.alt .form-card { background: var(--fog); box-shadow: none; }
.form { display: grid; gap: 16px; margin-top: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; }
.form label > span { font-weight: 600; font-size: .93rem; }
.form em { color: #D64545; font-style: normal; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.section.alt .form input, .section.alt .form select, .section.alt .form textarea { background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(47, 91, 255, .15); }
.form textarea { resize: vertical; min-height: 120px; }
.form .hint { margin: -6px 0 0; color: var(--slate); font-size: .9rem; }
.form-err { color: #C03030; font-weight: 600; margin: 0; }
.fine { font-size: .85rem; color: var(--slate); text-align: center; margin: 0; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin: 16px 0; }
.notice p { margin: 0; }
.notice.ok { background: #E3F7EF; color: #0D6B4A; }
.notice.err { background: #FDECEC; color: #A42828; }
.book-hint { margin: 20px 0 0; }

/* ---------- Contact ---------- */
.cal-feature { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); margin-bottom: 24px; }
.cal-feature h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cal-feature p { color: #B6C1D6; max-width: 52ch; }
.cal-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--amber); color: var(--ink); margin-bottom: 18px; }
.cal-note { display: block; margin-top: 12px; font-size: .86rem; color: #8E9AB3; }
.cal-mock { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--r); padding: 18px; }
.cal-mock-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 14px; color: #E8EDF6; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-days i { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.cal-days i.on { background: var(--cobalt); }
.cal-slots { display: grid; gap: 6px; margin-top: 14px; }
.cal-slots i { height: 30px; border-radius: 8px; border: 1px solid var(--ink-line); }
.cal-slots i.on { background: var(--amber); border-color: var(--amber); }
@media (max-width: 760px) { .cal-feature { grid-template-columns: 1fr; } .cal-mock { display: none; } }
.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.channels a { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--r); padding: 22px; text-decoration: none; box-shadow: var(--shadow); height: 100%; border: 1.5px solid transparent; }
.channels a:hover { border-color: var(--cobalt); }
.ch-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cobalt-l); color: var(--cobalt); flex: none; }
.ch-body { display: grid; min-width: 0; }
.ch-body strong { font-family: var(--f-display); font-size: 1.1rem; }
.ch-body span { color: var(--text); overflow-wrap: anywhere; text-align: start; }
.ch-body small { color: var(--slate); }
@media (max-width: 820px) { .channels { grid-template-columns: 1fr; } }

/* ---------- Waitlist, FAQ, CTA ---------- */
.waitlist { padding-block: clamp(48px, 6vw, 80px); }
.waitlist-inner { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); border: 1.5px dashed var(--line); }
.waitlist p { color: var(--slate); margin: 0; }
.wl-form { display: flex; flex-wrap: wrap; gap: 10px; }
.wl-form input[type=email] { flex: 1 1 220px; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); min-height: 48px; }
.wl-form input:focus { outline: none; border-color: var(--cobalt); }
.wl-msg { flex-basis: 100%; margin: 0; font-weight: 600; font-size: .93rem; }
.wl-msg.ok { color: var(--mint); } .wl-msg.err { color: #C03030; }
@media (max-width: 820px) { .waitlist-inner { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: #fff; border-radius: var(--r); padding: 4px 22px; }
.section.alt .faq details { background: var(--fog); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; padding-block: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.1rem; margin: 0; font-family: var(--f-display); }
.faq-plus { flex: none; transition: transform .2s; color: var(--cobalt); }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { color: var(--slate); padding-bottom: 12px; }

.cta-band { background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(47, 91, 255, .25); pointer-events: none; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #B6C1D6; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cta-tg { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #0A1222; color: #9FAAC0; padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr .8fr 1fr; gap: 40px; }
.footer-about p { margin-top: 14px; max-width: 34ch; }
.footer-h { font-size: .95rem; color: #fff; font-family: var(--f-body); letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact a { overflow-wrap: anywhere; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #16223A; color: #fff; }
.social a:hover { background: var(--cobalt); }
.footer-bottom { border-top: 1px solid #1B2840; margin-top: 48px; padding-block: 22px; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.nf { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.nf .lead { margin-inline: auto; }
.nf .btn-row { justify-content: center; }
.nf-code { font-family: 'Bricolage Grotesque Variable', var(--f-display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; color: var(--cobalt); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pulse { display: none; }
}

/* category consultation CTA + post FAQ */
.cat-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); margin-bottom: 32px; }
.cat-cta h2 { color: #fff; margin-bottom: 6px; }
.cat-cta p { color: #B6C1D6; margin: 0; }
.cat-cta .svc-ic { margin: 0; }
.cat-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cat-cta .text-link { color: var(--amber); }
@media (max-width: 760px) { .cat-cta { grid-template-columns: 1fr; } }
.post-faq { margin-top: 2.5em; }
.post-faq .faq details { background: #fff; }
