/* =========================================================================
   Nukli — static pages (blog, templates, comparisons, guides hubs).
   Generated pages link this one file. Same look as the landing home:
   Apple-like system type, glass capsule nav, light-blue aura, #f5f5f7 cards.
   Source of truth: scripts/seo-site/ — edit there, then rebuild.
   ========================================================================= */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.14);
  --accent: #2c7cff;
  --accent-2: #1f6fff;
  --accent-weak: rgba(44, 124, 255, 0.1);
  --accent-ink: #0b5bd9;
  --grad: linear-gradient(135deg, #1f6fff, #4b9bff);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --hover: rgba(0, 0, 0, 0.05);
  --code-bg: #f6f8fb;
  --ok: #1a7f37;
  --warn: #b25e00;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -14px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #000000;
  --bg-2: #0b0b0d;
  --card: #141416;
  --surface: #161618;
  --ink: #f5f5f7;
  --ink-2: #d2d2d7;
  --muted: #a1a1a6;
  --soft: #86868b;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #4b9bff;
  --accent-weak: rgba(75, 155, 255, 0.14);
  --accent-ink: #7db7ff;
  --glass: rgba(22, 22, 24, 0.55);
  --glass-strong: rgba(22, 22, 24, 0.85);
  --hover: rgba(255, 255, 255, 0.08);
  --code-bg: #111214;
  --ok: #3fb950;
  --warn: #e3a341;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 32px -14px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.65 var(--font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: rgba(44, 124, 255, 0.22); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.skip:focus { left: 12px; }

/* ---------------------------------------------------------------- nav --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 10px 16px 0; pointer-events: none; }
.nav-bar {
  pointer-events: auto; position: relative; max-width: 1160px; height: 56px; margin: 0 auto;
  padding: 0 8px 0 18px; display: flex; align-items: center; gap: 18px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px var(--line), 0 8px 30px -18px rgba(0, 0, 0, 0.25);
  transition: background .3s ease, box-shadow .3s ease, max-width .4s cubic-bezier(.2,.9,.3,1);
}
.nav.is-scrolled .nav-bar { background: var(--glass-strong); max-width: 1100px; box-shadow: 0 0 0 1px var(--line), 0 18px 50px -20px rgba(0, 0, 0, 0.35); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 8px; transition: transform .4s cubic-bezier(.2,.9,.3,1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand b { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 13px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; letter-spacing: -0.01em; color: var(--muted);
  background: transparent; border: 0; cursor: pointer; font-family: var(--font);
}
.nav-link:hover, .nav-drop:focus-within > .nav-link, .nav-link[aria-current] { color: var(--ink); background: var(--hover); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop svg.chev { transition: transform .25s ease; }
.nav-drop:hover svg.chev, .nav-drop:focus-within svg.chev { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 14px); left: -24px; padding: 10px; border-radius: 24px;
  background: var(--glass-strong); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: 60px top;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.9,.3,1), visibility .28s;
}
.nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu--products { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nav-menu--res { width: 340px; display: flex; flex-direction: column; gap: 2px; }
.nav-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--card); color: var(--ink); }
.nav-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(44,124,255,.28), transparent 70%); transition: transform .5s ease; pointer-events: none; }
.nav-card:hover { text-decoration: none; }
.nav-card:hover::after { transform: scale(1.3); }
.nav-card b { font-size: 1.02rem; letter-spacing: -0.02em; }
.nav-card span { font-size: .86rem; line-height: 1.4; color: var(--muted); }
.ico-tile { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -10px rgba(44,124,255,.9); margin-bottom: 6px; }
.nav-res { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); }
.nav-res:hover { background: var(--hover); text-decoration: none; }
.nav-res i { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: var(--accent-weak); transition: background .2s, color .2s; }
.nav-res:hover i { background: var(--grad); color: #fff; }
.nav-res b { display: block; font-size: .92rem; }
.nav-res small { display: block; font-size: .8rem; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: var(--hover); }
.nav-lang { font-size: .82rem; font-weight: 600; color: var(--ink); padding: 8px 10px; border-radius: 999px; }
.nav-lang:hover { background: var(--hover); text-decoration: none; }
.nav-sep { width: 1px; height: 20px; margin: 0 6px; background: var(--line); }
.nav-signin { padding: 8px 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.nav-signin:hover { background: var(--hover); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px;
  border-radius: 999px; font: 600 .92rem/1 var(--font); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 8px 20px -10px rgba(44,124,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--primary svg { transition: transform .2s ease; }
.btn--primary:hover svg { transform: translateX(2px); }
.btn--ghost { color: var(--ink); background: var(--hover); }
.btn--ghost:hover { background: var(--line-2); }
.btn--dark { color: var(--bg); background: var(--ink); }
.btn--dark:hover { transform: translateY(-1px); }
.btn--lg { height: 52px; padding: 0 24px; font-size: 1rem; }
.nav-burger { display: none; }
.nav-sheet { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-signin, .nav-sep, .nav-actions .btn--ghost { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-sheet { position: fixed; inset: 76px 12px auto 12px; z-index: 999; pointer-events: auto; padding: 14px; border-radius: 24px; background: var(--glass-strong); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
  .nav.is-open .nav-sheet { display: block; }
  .nav-sheet a { display: flex; justify-content: space-between; padding: 14px 12px; border-radius: 14px; color: var(--ink); font-weight: 600; }
  .nav-sheet a:hover { background: var(--hover); text-decoration: none; }
  .nav-sheet .btn { width: 100%; margin-top: 8px; color: #fff; justify-content: center; }
}
@media (max-width: 480px) { .nav-actions .btn--primary span { display: none; } .nav-actions .btn--primary { width: 40px; padding: 0; } }

/* -------------------------------------------------------- progress bar --- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1100; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); pointer-events: none; }

/* --------------------------------------------------------------- aura --- */
.aura { position: relative; isolation: isolate; }
.aura::before {
  content: ''; position: absolute; inset: -140px 0 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 55% at 15% 25%, rgba(120,186,255,.55) 0%, rgba(120,186,255,0) 70%),
    radial-gradient(38% 50% at 85% 20%, rgba(44,124,255,.32) 0%, rgba(44,124,255,0) 72%),
    radial-gradient(45% 50% at 55% 95%, rgba(178,214,255,.55) 0%, rgba(178,214,255,0) 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
:root[data-theme='dark'] .aura::before {
  background:
    radial-gradient(40% 55% at 15% 25%, rgba(44,124,255,.38) 0%, rgba(44,124,255,0) 70%),
    radial-gradient(38% 50% at 85% 20%, rgba(90,169,255,.22) 0%, rgba(90,169,255,0) 72%),
    radial-gradient(45% 50% at 55% 95%, rgba(31,111,255,.3) 0%, rgba(31,111,255,0) 70%);
}

/* ---------------------------------------------------------- headings --- */
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--glass-strong); box-shadow: 0 0 0 1px var(--line); }
.kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-weak); }
.kicker:hover { text-decoration: none; box-shadow: 0 0 0 1px rgba(44,124,255,.45); }
.display { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.045em; line-height: 1.04; font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 18px 0 18px; text-wrap: balance; }
.display .soft { color: var(--soft); }
.display .blue { color: var(--accent); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 680px; text-wrap: pretty; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.035em; line-height: 1.08; font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 14px; text-wrap: balance; }
.sec-title .soft { color: var(--soft); }

/* ------------------------------------------------------- blog index --- */
.page-hero { padding: 150px 0 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s; }
.chip:hover { color: var(--ink); background: var(--hover); text-decoration: none; }
.chip.is-on { color: #fff; background: var(--ink); box-shadow: none; }
:root[data-theme='dark'] .chip.is-on { color: #000; }
.chip em { font-style: normal; color: var(--soft); font-size: .8rem; }

.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin: 28px 0 64px; border-radius: 28px; overflow: hidden; background: var(--card); color: inherit; transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s ease; }
.feature:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .cover { min-height: 340px; border-radius: 0; }
.feature-body { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); margin: 12px 0 12px; text-wrap: balance; }
.feature-body p { margin: 0 0 18px; color: var(--muted); }
.meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .85rem; color: var(--soft); }
.meta-line .tag { color: var(--accent); font-weight: 600; }
.dot-sep::before { content: '·'; margin-right: 12px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); color: inherit; transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .35s ease; }
.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.card .cover { aspect-ratio: 16 / 9; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.28; letter-spacing: -0.022em; color: var(--ink); text-wrap: balance; }
.card-body p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .meta-line { margin-top: auto; padding-top: 6px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 72px 0 24px; }
.section-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); }
.section-head a { font-weight: 600; font-size: .95rem; }

/* covers: generated art, no stock photos */
.cover { position: relative; overflow: hidden; background: var(--c1, #2c7cff); isolation: isolate; }
.cover::before { content: ''; position: absolute; inset: -20%; z-index: -1; background:
  radial-gradient(50% 60% at var(--x1, 20%) var(--y1, 20%), var(--c2, #9fd0ff) 0%, transparent 70%),
  radial-gradient(45% 55% at var(--x2, 85%) var(--y2, 80%), var(--c3, #1f4fd9) 0%, transparent 70%),
  radial-gradient(35% 45% at 60% 30%, rgba(255,255,255,.35) 0%, transparent 70%);
  filter: saturate(115%); transition: transform .8s cubic-bezier(.2,.9,.3,1); }
.card:hover .cover::before, .feature:hover .cover::before { transform: scale(1.08) rotate(-2deg); }
.cover::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000); mask-image: linear-gradient(135deg, transparent 30%, #000); }
.cover-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; max-width: 132px; aspect-ratio: 1; border-radius: 28%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 30px 60px -20px rgba(0,0,0,.35); }
.cover-icon svg { width: 46%; height: 46%; }
.cover-label { position: absolute; left: 18px; bottom: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.88); }

/* ---------------------------------------------------------- article --- */
.art-hero { padding: 140px 0 28px; }
.art-hero .wrap { max-width: 880px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { opacity: .6; }
.art-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.04em; line-height: 1.06; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 18px; text-wrap: balance; }
.art-dek { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--muted); margin: 0 0 26px; text-wrap: pretty; }
.byline { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.byline .av { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-weight: 700; }
.byline b { color: var(--ink); font-weight: 600; display: block; }
.art-cover { max-width: 1060px; margin: 30px auto 0; padding: 0 24px; }
.art-cover .cover { aspect-ratio: 21 / 8; border-radius: 28px; }

.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 64px; max-width: 1060px; margin: 52px auto 0; padding: 0 24px; }
.art-aside { position: relative; }
.art-aside-in { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.toc { font-size: .88rem; }
.toc p { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.is-on { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }
.side-cta { position: relative; overflow: hidden; padding: 20px; border-radius: 20px; background: var(--card); }
.side-cta::after { content: ''; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(44,124,255,.35), transparent 70%); pointer-events: none; }
.side-cta b { display: block; color: var(--ink); font-size: 1rem; letter-spacing: -0.02em; margin: 10px 0 6px; }
.side-cta p { margin: 0 0 14px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.side-cta .btn { height: 36px; font-size: .84rem; position: relative; z-index: 1; }
.share { display: flex; gap: 6px; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); background: var(--card); border: 0; cursor: pointer; }
.share a:hover, .share button:hover { color: var(--ink); background: var(--hover); }

/* prose */
.prose { font-size: 1.09rem; line-height: 1.75; color: var(--ink-2); min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.18; letter-spacing: -0.03em; color: var(--ink); margin: 2.4em 0 .7em; text-wrap: balance; }
.prose h3 { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); margin: 1.9em 0 .55em; }
.prose h4 { font-size: 1.05rem; color: var(--ink); margin: 1.6em 0 .4em; }
.prose h2 .anchor, .prose h3 .anchor { margin-left: 8px; opacity: 0; color: var(--soft); font-weight: 400; transition: opacity .2s; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; text-decoration: none; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a { text-decoration: underline; text-decoration-color: rgba(44,124,255,.35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.35em; }
.prose li { margin: .45em 0; padding-left: .2em; }
.prose li::marker { color: var(--soft); }
.prose ol.steps { list-style: none; padding: 0; counter-reset: s; }
.prose ol.steps > li { position: relative; counter-increment: s; padding: 2px 0 6px 52px; margin: 0 0 18px; }
.prose ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 .9rem/1 var(--font); color: #fff; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(44,124,255,.9); }
.prose ol.steps > li:not(:last-child)::after { content: ''; position: absolute; left: 16.5px; top: 40px; bottom: -14px; width: 1px; background: var(--line-2); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: 1.18rem; line-height: 1.6; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose blockquote cite { display: block; margin-top: 8px; font-size: .9rem; font-style: normal; color: var(--muted); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose code { font-family: var(--mono); font-size: .88em; padding: .15em .4em; border-radius: 6px; background: var(--code-bg); color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 10px; font-size: .88rem; color: var(--soft); text-align: center; }
.prose img { border-radius: 18px; }
.prose .table-wrap { margin: 1.8em 0; overflow-x: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; line-height: 1.5; }
.prose th { text-align: left; font-weight: 650; color: var(--ink); background: var(--card); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td.yes, .prose td .yes { color: var(--ok); font-weight: 600; }
.prose td.no, .prose td .no { color: var(--soft); }

.tldr { position: relative; margin: 0 0 2.4em; padding: 24px 26px; border-radius: 22px; background: var(--card); overflow: hidden; }
.tldr::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(44,124,255,.22), transparent 70%); pointer-events: none; }
.tldr > p:first-child { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.tldr ul { margin: 0; padding-left: 1.1em; }
.tldr li { margin: .35em 0; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }

.callout { display: flex; gap: 14px; margin: 1.8em 0; padding: 18px 20px; border-radius: 18px; background: var(--accent-weak); color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.callout > svg { flex: 0 0 auto; color: var(--accent); margin-top: 3px; }
.callout p { margin: 0 0 .6em; }
.callout p:last-child { margin: 0; }
.callout--warn { background: rgba(255, 159, 10, .12); }
.callout--warn > svg { color: var(--warn); }
.callout--ok { background: rgba(52, 199, 89, .12); }
.callout--ok > svg { color: var(--ok); }

.email-tpl { position: relative; margin: 1.6em 0 2em; border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.email-tpl-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); background: var(--card); }
.email-tpl-head .dots { display: inline-flex; gap: 6px; }
.email-tpl-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.email-tpl-head .dots i:nth-child(2) { background: #febc2e; }
.email-tpl-head .dots i:nth-child(3) { background: #28c840; }
.email-tpl-head b { flex: 1; font-size: .86rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; font: 600 .78rem/1 var(--font); color: var(--accent); background: var(--accent-weak); }
.copy-btn:hover { background: rgba(44,124,255,.18); }
.copy-btn.is-done { color: var(--ok); background: rgba(52,199,89,.14); }
.email-tpl-subject { padding: 14px 20px 0; font-size: .92rem; color: var(--muted); }
.email-tpl-subject strong { color: var(--ink); }
.email-tpl-body { padding: 14px 20px 20px; font-size: 1rem; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; }
.email-tpl-body .ph { padding: 1px 6px; border-radius: 6px; background: var(--accent-weak); color: var(--accent-ink); font-weight: 600; white-space: nowrap; }

.inline-cta { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; margin: 2.6em 0; padding: 26px 28px; border-radius: 24px; background: #0b1220; color: #c9d4e8; }
.inline-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(44,124,255,.55), transparent 70%), radial-gradient(50% 100% at 0% 100%, rgba(90,169,255,.25), transparent 70%); }
.inline-cta b { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; margin-bottom: 4px; }
.inline-cta p { margin: 0 !important; font-size: .95rem; line-height: 1.5; }
.inline-cta .btn { color: #0b1220; background: #fff; text-decoration: none !important; }
.inline-cta .btn:hover { transform: translateY(-1px); }

.faq { margin: 3em 0 0; }
.faq h2 { margin-top: 0 !important; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 400; font-size: 1.2rem; color: var(--muted); background: var(--card); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2px 20px; color: var(--ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

.author-box { display: flex; gap: 16px; align-items: flex-start; margin: 3.2em 0 0; padding: 22px; border-radius: 22px; background: var(--card); font-size: .94rem; line-height: 1.55; color: var(--muted); }
.author-box .av { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 1.1rem; }
.author-box b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.updated { margin-top: 18px; font-size: .85rem; color: var(--soft); }

/* final CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; margin: 110px 0 0; padding: 110px 0 120px; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(45% 60% at 20% 30%, rgba(120,186,255,.45), transparent 70%),
  radial-gradient(40% 55% at 80% 70%, rgba(44,124,255,.28), transparent 72%); }
:root[data-theme='dark'] .cta-band::before { background:
  radial-gradient(45% 60% at 20% 30%, rgba(44,124,255,.35), transparent 70%),
  radial-gradient(40% 55% at 80% 70%, rgba(90,169,255,.18), transparent 72%); }
.cta-band .display { font-size: clamp(2.3rem, 5vw, 4rem); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 14px; font-size: .86rem; color: var(--soft); }

/* ------------------------------------------- templates / comparisons --- */
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tpl-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--card); color: inherit; transition: transform .3s cubic-bezier(.2,.9,.3,1), box-shadow .3s ease; }
.tpl-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.tpl-card .ico { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: var(--accent-weak); margin-bottom: 4px; }
.tpl-card:hover .ico { color: #fff; background: var(--grad); }
.tpl-card h3 { margin: 0; font-size: 1.04rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.tpl-card p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.group-title { margin: 64px 0 18px; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.025em; color: var(--ink); }
.vs-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 8px; }
.vs-logo { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font: 800 1.4rem/1 var(--font-display); color: #fff; background: var(--grad); box-shadow: var(--shadow); }
.vs-logo--alt { background: #1d1d1f; }
:root[data-theme='dark'] .vs-logo--alt { background: #3a3a3c; }
.vs-x { font-weight: 700; color: var(--soft); }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.6em 0 2em; }
.verdict > div { padding: 20px 22px; border-radius: 20px; background: var(--card); }
.verdict b { display: block; margin-bottom: 6px; color: var(--ink); }
.verdict p, .verdict ul { margin: 0; font-size: .96rem; }

/* ------------------------------------------------------------ footer --- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { margin-bottom: 12px; }
.foot p { margin: 0; color: var(--muted); max-width: 320px; line-height: 1.55; }
.foot h4 { margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 10px; }
.foot li a { color: var(--ink-2); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); font-size: .84rem; }
.foot-langs { display: flex; gap: 12px; }
.foot-langs a { color: var(--muted); }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------- reveal --- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.9,.3,1); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 1020px) {
  .art-layout { grid-template-columns: 1fr; gap: 0; }
  .art-aside { display: none; }
  .grid, .tpl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .art-layout, .art-cover { padding: 0 16px; }
  .page-hero { padding: 120px 0 24px; }
  .art-hero { padding: 116px 0 18px; }
  .feature { grid-template-columns: 1fr; }
  .feature .cover { min-height: 220px; }
  .feature-body { padding: 26px 22px 28px; }
  .grid, .tpl-grid, .verdict { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .art-cover .cover { aspect-ratio: 16 / 9; border-radius: 22px; }
  .prose { font-size: 1.04rem; }
  .inline-cta { grid-template-columns: 1fr; padding: 22px; }
  .cta-band { padding: 80px 0 90px; margin-top: 70px; }
}
@media print { .nav, .art-aside, .inline-cta, .cta-band, .foot, .progress { display: none !important; } .art-layout { display: block; } }
