:root {
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --lime: #AFFF25;
  --ink: #06081C;
  --ink-deep: #03051A;
  --ink-card: #0E1132;
  --deep-blue: #2A2BE3;
  --electric: #5346FF;
  --cyan: #19E0A8;
  --paper: #F6F6F0;
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --text-dim: rgba(246,246,240,0.7);
  --read-bg: #F6F6F0;
  --read-ink: #0C1030;
  --read-dim: #545876;
  --read-line: rgba(12,16,48,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink-deep); color: var(--paper); font-family: var(--font-body); font-weight: 400; -webkit-font-smoothing: antialiased; letter-spacing: -0.005em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

h1,h2,h3,h4 { font-family: var(--font-head); margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 300; }
em { font-style: normal; color: var(--lime); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 500; padding: 16px 32px; border-radius: 999px; transition: transform 0.15s, box-shadow 0.2s; cursor: pointer; border: none; font-size: 16px; white-space: nowrap; }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.lime:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(175,255,37,0.55); }

.nav-wrap { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(20px); background: rgba(3,5,26,0.78); border-bottom: 1px solid var(--line-soft); }
nav.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1320px; margin: 0 auto; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.logo .ai, .logo .dot { color: var(--lime); }
.nav-links { display: flex; gap: 38px; align-items: center; font-size: 15px; }
.nav-links a { color: var(--text-dim); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--lime); }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--lime); z-index: 60; transition: width 0.1s linear; }

.art-head { position: relative; overflow: hidden; padding: 70px 0 60px; }
.art-head-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(40% 80% at 12% 20%, rgba(25,224,168,0.28), transparent 60%),
    radial-gradient(48% 90% at 88% 24%, rgba(83,70,255,0.42), transparent 60%),
    radial-gradient(50% 80% at 70% 100%, rgba(42,43,227,0.32), transparent 62%);
  filter: blur(46px); }
.art-head-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.crumb { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 26px; flex-wrap: wrap; }
.crumb a:hover { color: var(--lime); }
.crumb .cat { color: var(--lime); }
.crumb .sep { opacity: 0.4; }
.art-head h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; font-weight: 300; max-width: 20ch; }
.art-head h1.wide { max-width: none; }
.art-head h1 .accent { color: var(--lime); }
.byline { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.byline .av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--ink-card); }
.byline .who .name { font-weight: 600; font-size: 16px; }
.byline .who .role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-dim); margin-top: 2px; }
.byline .meta-sep { width: 1px; height: 34px; background: var(--line); }
.byline .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-dim); line-height: 1.5; }
.byline .share { margin-left: auto; display: flex; gap: 10px; }
.byline .share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-dim); transition: all 0.2s; }
.byline .share a:hover { border-color: var(--lime); color: var(--lime); }
.byline .share svg { width: 17px; height: 17px; }

.hero-img-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.hero-img { border-radius: 28px; padding: 5px; background: var(--lime); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9); margin-top: 8px; }
.hero-img img { width: 100%; border-radius: 23px; display: block; aspect-ratio: 16/8; object-fit: cover; background: var(--ink-card); }

.reading { background: var(--read-bg); color: var(--read-ink); margin-top: 60px; border-radius: 40px 40px 0 0; position: relative; }
.reading-inner { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; padding: 80px 32px 90px; max-width: 1180px; margin: 0 auto; }

.toc { position: sticky; top: 100px; align-self: start; height: max-content; }
.toc .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--read-dim); margin-bottom: 18px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--read-line); }
.toc a { display: block; padding: 9px 0 9px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--read-dim); transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--read-ink); }
.toc a.active { color: var(--ink); border-left-color: var(--lime); font-weight: 600; }

.prose { font-size: 17.5px; line-height: 1.75; color: #2A2E48; }
.prose > p { margin: 0 0 24px; }
.prose .intro { font-size: 21px; line-height: 1.6; color: var(--read-ink); font-weight: 400; margin-bottom: 30px; }
.prose h2 { font-family: var(--font-head); font-weight: 500; font-size: clamp(26px, 3vw, 34px); color: var(--read-ink); letter-spacing: -0.02em; line-height: 1.15; margin: 52px 0 20px; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--read-ink); margin: 34px 0 14px; }
.prose strong { color: var(--read-ink); font-weight: 600; }
.prose a.ilink { color: #1d8f5e; font-style: italic; border-bottom: 1px solid rgba(29,143,94,0.35); }
.prose a.ilink:hover { border-bottom-color: #1d8f5e; }
.prose ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(175,255,37,0.25); }
.prose ul li strong { color: var(--read-ink); }

.stat-callout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 12px 0 28px; }
.stat-callout.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stat-callout .s { background: #fff; border: 1px solid var(--read-line); border-radius: 18px; padding: 22px 20px; }
.stat-callout .s .n { font-family: var(--font-head); font-weight: 400; font-size: 38px; color: var(--deep-blue); letter-spacing: -0.02em; line-height: 1; }
.stat-callout .s .t { font-size: 13.5px; color: var(--read-dim); margin-top: 8px; line-height: 1.4; }

.pullquote { margin: 40px 0; padding: 8px 0 8px 30px; border-left: 4px solid var(--lime); }
.pullquote p { font-family: var(--font-head); font-weight: 300; font-size: 26px; line-height: 1.35; letter-spacing: -0.015em; color: var(--read-ink); }

.callout { background: linear-gradient(150deg, rgba(42,43,227,0.06), rgba(25,224,168,0.06)); border: 1px solid var(--read-line); border-radius: 20px; padding: 26px 28px; margin: 32px 0; display: flex; gap: 18px; align-items: flex-start; }
.callout .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.callout .ic svg { width: 20px; height: 20px; }
.callout p { margin: 0; font-size: 16px; line-height: 1.6; color: #2A2E48; }
.callout strong { color: var(--read-ink); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 28px; }
.compare .col { background: #fff; border: 1px solid var(--read-line); border-radius: 18px; padding: 24px; }
.compare .col h3 { font-size: 18px; margin: 0 0 14px; color: var(--deep-blue); }
.compare .col ul { margin-bottom: 0; }

.steps { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 28px; }
.wstep { display: flex; gap: 20px; background: #fff; border: 1px solid var(--read-line); border-radius: 18px; padding: 22px 24px; align-items: flex-start; }
.wstep .num { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); background: var(--lime); width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wstep h3 { margin: 6px 0 6px; font-size: 18px; }
.wstep p { margin: 0; font-size: 15px; color: var(--read-dim); line-height: 1.55; }

.faq { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--read-line); border-radius: 16px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--read-ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; background: var(--deep-blue); border-radius: 2px; transition: transform 0.2s; }
.faq summary .plus::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq summary .plus::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq .ans { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: #2A2E48; }

.cta { position: relative; overflow: hidden; background: var(--ink-deep); padding: 90px 0; text-align: center; }
.cta-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(46% 80% at 22% 50%, rgba(25,224,168,0.3), transparent 55%), radial-gradient(50% 80% at 80% 50%, rgba(42,43,227,0.42), transparent 58%); filter: blur(44px); }
.cta-inner { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; padding: 0 32px; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
.cta p { color: var(--text-dim); font-size: 18px; line-height: 1.6; margin-bottom: 32px; }

footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; text-align: center; background: var(--ink-deep); }
footer .logo { font-size: 28px; margin-bottom: 22px; }
footer .socials { display: flex; justify-content: center; margin-bottom: 22px; }
footer .socials a { width: 40px; height: 40px; border-radius: 10px; background: #0A66C2; display: flex; align-items: center; justify-content: center; color: #fff; }
footer .legal { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); letter-spacing: 0.06em; margin-bottom: 14px; }
footer .legal.copy { color: var(--paper); }
footer .legal a { color: var(--lime); margin: 0 8px; }

@media (max-width: 920px) {
  .reading-inner { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .stat-callout, .compare { grid-template-columns: 1fr; }
  .byline .share { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) { .nav-links { display: none; } .wrap, .hero-img-wrap { padding: 0 20px; } }
