/* =========================================================================
   ClearPhish — monochrome (black / white / grey only). No JS, no external assets.
   ========================================================================= */
:root{
  --bg:#070707;
  --bg-2:#0a0a0a;
  --surface:#101010;
  --surface-2:#141414;
  --surface-3:#181818;
  --line:#242424;
  --line-2:#333333;
  --white:#ffffff;
  --text:#f4f4f4;
  --text-soft:#cfcfcf;
  --muted:#9a9a9a;
  --muted-2:#6a6a6a;
  --muted-3:#4a4a4a;

  --grad:linear-gradient(120deg,#ffffff 0%,#bdbdbd 60%,#8a8a8a 100%);
  --maxw:1180px;
  --radius:18px;
  --radius-lg:26px;
  --pill:999px;
  --ease:cubic-bezier(.2,.7,.3,1);
  --shadow:0 30px 80px -32px rgba(0,0,0,.9);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{margin:0; background:var(--bg); color:var(--text-soft);
  font:16.5px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:hidden}
a{color:var(--text); text-decoration:none; transition:color .2s var(--ease), opacity .2s var(--ease)}
a:hover{opacity:.7}
h1,h2,h3,h4{margin:0; color:var(--white); letter-spacing:-.03em; line-height:1.05; font-weight:780}
p{margin:0}
svg{display:block}
img{display:block; max-width:100%}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 26px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

/* ambient: faint radial + grain, all greyscale */
body::before{content:""; position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(46% 36% at 16% -4%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(40% 34% at 88% 2%, rgba(255,255,255,.04), transparent 60%),
    radial-gradient(44% 40% at 80% 102%, rgba(255,255,255,.03), transparent 62%)}
body::after{content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* helpers */
.grad{background:var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent}
.eyebrow{display:inline-flex; align-items:center; gap:10px; font:600 12.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}
.eyebrow .ix{color:var(--muted-3)}
.eyebrow::before{content:""; width:24px; height:1px; background:var(--muted-2)}
.muted{color:var(--muted)}
.center{text-align:center}
.rule{height:1px; background:linear-gradient(90deg,transparent,var(--line-2),transparent); border:0}

/* icons (monochrome) */
.ico{width:54px; height:54px; border-radius:15px; display:grid; place-items:center; margin-bottom:20px;
  color:var(--white); background:var(--surface-3); border:1px solid var(--line-2)}
.ico svg{width:26px; height:26px; stroke-width:1.7; fill:none; stroke:currentColor}
.ico.blue,.ico.teal,.ico.violet,.ico.amber,.ico.coral,.ico.green{color:var(--white); background:var(--surface-3); border:1px solid var(--line-2)}
.i-check{width:16px; height:16px; stroke:var(--white); stroke-width:2.4; fill:none; vertical-align:-2px}
.i-arrow{width:17px; height:17px; stroke:currentColor; stroke-width:2; fill:none; transition:transform .2s var(--ease)}
.btn:hover .i-arrow,.btns a:hover .i-arrow,a:hover .i-arrow{transform:translateX(4px)}

/* header / nav */
header.site{position:sticky; top:0; z-index:50; background:rgba(7,7,7,.66);
  backdrop-filter:blur(16px) saturate(120%); -webkit-backdrop-filter:blur(16px) saturate(120%);
  border-bottom:1px solid rgba(255,255,255,.06)}
.nav{display:flex; align-items:center; justify-content:space-between; height:74px; gap:18px}
.brand{display:inline-flex; align-items:center; gap:11px; font-weight:750; font-size:18.5px; color:var(--white); letter-spacing:-.02em}
.brand .mark{width:30px; height:30px}
.brand b{font-weight:750; color:var(--muted)}
nav.links{display:flex; align-items:center; gap:2px}
nav.links a{color:var(--muted); font-size:14.5px; font-weight:520; padding:9px 13px; border-radius:10px;
  transition:color .2s var(--ease), background .2s var(--ease)}
nav.links a:hover{opacity:1; color:var(--white); background:rgba(255,255,255,.05)}
nav.links a.active{color:var(--white)}
nav.links .nav-cta{margin-left:8px}

/* buttons */
.btns{display:flex; flex-wrap:wrap; gap:13px}
.btn,.btns a{display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:15px;
  padding:13px 24px; border-radius:var(--pill); white-space:nowrap;
  transition:transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, opacity .2s}
.primary{color:#000; background:var(--white); box-shadow:0 12px 34px -16px rgba(255,255,255,.5)}
.primary:hover{opacity:1; transform:translateY(-2px); box-shadow:0 18px 40px -16px rgba(255,255,255,.6)}
.ghost{color:var(--white); background:transparent; border:1px solid var(--line-2)}
.ghost:hover{opacity:1; transform:translateY(-2px); border-color:var(--muted)}
.nav-cta.primary{padding:10px 19px; font-size:14px}

/* hero */
.hero{position:relative; padding:88px 0 64px; overflow:hidden}
.hero-grid{display:grid; grid-template-columns:1.06fr .94fr; gap:54px; align-items:center}
.hero .eyebrow{margin-bottom:24px; animation:rise .7s var(--ease) both}
.hero h1{font-size:clamp(2.7rem,5.6vw,4.7rem); font-weight:800; letter-spacing:-.045em; color:var(--white);
  margin:0 0 22px; line-height:.97; animation:rise .7s .05s var(--ease) both}
.hero .lead{font-size:clamp(1.05rem,1.4vw,1.24rem); color:var(--muted); max-width:54ch; margin:0 0 32px;
  line-height:1.62; animation:rise .7s .12s var(--ease) both}
.hero .btns{animation:rise .7s .18s var(--ease) both}
.hero-trust{margin-top:28px; display:flex; flex-wrap:wrap; gap:9px 24px; color:var(--muted); font-size:14px; animation:rise .7s .26s var(--ease) both}
.hero-trust span{display:inline-flex; align-items:center; gap:8px}
@keyframes rise{from{opacity:0; transform:translateY(18px)} to{opacity:1; transform:none}}
.hero-art{position:relative; animation:rise .85s .16s var(--ease) both}
.hero-art .orb{position:absolute; border-radius:50%; filter:blur(54px); opacity:.5; z-index:0; background:#ffffff}
.hero-art .orb.a{width:280px; height:280px; top:-40px; right:-10px; opacity:.10}
.hero-art .orb.b{width:230px; height:230px; bottom:-50px; left:-30px; opacity:.07}
.hero-art .orb.c{width:180px; height:180px; bottom:40px; right:50px; opacity:.05}

/* product mock */
.mock{position:relative; z-index:1; background:linear-gradient(180deg,var(--surface-2),var(--surface));
  border:1px solid var(--line-2); border-radius:var(--radius-lg); box-shadow:var(--shadow); overflow:hidden}
.mock::before{content:""; position:absolute; inset:0 0 auto 0; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent)}
.mock-top{display:flex; align-items:center; gap:11px; padding:17px 19px; border-bottom:1px solid var(--line)}
.mock-top .glyph{width:26px; height:26px}
.mock-top b{color:var(--white); font-size:14.5px; font-weight:700}
.mock-top .live{margin-left:auto; display:inline-flex; align-items:center; gap:7px; font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--muted)}
.mock-top .live i{width:7px; height:7px; border-radius:50%; background:var(--white); animation:pulse 1.8s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.25}}
.mock-body{padding:8px 10px}
.mrow{display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px; padding:14px 12px; border-radius:13px; transition:background .2s var(--ease)}
.mrow:hover{background:rgba(255,255,255,.03)}
.mrow + .mrow{border-top:1px solid var(--line)}
.mrow .d{font:13px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--text); font-weight:600}
.mrow .t{font-size:12px; color:var(--muted); margin-top:3px}
.status{font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace; padding:5px 11px; border-radius:var(--pill); white-space:nowrap}
.s-done{background:var(--white); color:#000}
.s-mid{background:var(--surface-3); color:var(--text-soft); border:1px solid var(--line-2)}
.s-open{background:transparent; color:var(--muted); border:1px solid var(--line-2)}
.s-esc{background:transparent; color:var(--white); border:1px solid var(--muted-2)}

/* marquee */
.marquee{position:relative; overflow:hidden; padding:30px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.marquee::before,.marquee::after{content:""; position:absolute; top:0; bottom:0; width:120px; z-index:2; pointer-events:none}
.marquee::before{left:0; background:linear-gradient(90deg,var(--bg),transparent)}
.marquee::after{right:0; background:linear-gradient(270deg,var(--bg),transparent)}
.mq-track{display:flex; gap:48px; width:max-content; animation:scroll 34s linear infinite}
.mq-track span{display:inline-flex; align-items:center; gap:11px; color:var(--muted); font-size:15px; font-weight:550; white-space:nowrap}
.mq-track span::before{content:""; width:5px; height:5px; border-radius:50%; background:var(--muted-2)}
@keyframes scroll{from{transform:translateX(0)} to{transform:translateX(-50%)}}

/* sections */
.section{padding:104px 0; position:relative}
.section.tight{padding:70px 0}
.sec-head{max-width:60ch; margin:0 0 46px}
.sec-head.center{margin-left:auto; margin-right:auto; text-align:center}
.sec-head h2{font-size:clamp(2.1rem,3.6vw,3.2rem); font-weight:800; margin:16px 0 16px; color:var(--white)}
.sec-head p{color:var(--muted); font-size:1.1rem; line-height:1.6}

/* cards */
.grid{display:grid; gap:20px}
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-2{grid-template-columns:repeat(2,1fr)}
.card{position:relative; background:linear-gradient(180deg,var(--surface),var(--surface-2)); border:1px solid var(--line);
  border-radius:var(--radius); padding:30px; overflow:hidden;
  transition:transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease)}
.card::before{content:""; position:absolute; inset:0 0 auto 0; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.14),transparent); opacity:0; transition:opacity .25s}
.card:hover{transform:translateY(-6px); border-color:var(--line-2); box-shadow:var(--shadow)}
.card:hover::before{opacity:1}
.card h3{font-size:18.5px; margin:0 0 9px; color:var(--white)}
.card p{color:var(--muted); font-size:14.5px; line-height:1.65}
.card .more{display:inline-flex; align-items:center; gap:7px; margin-top:16px; font-size:14px; color:var(--white); font-weight:600}

/* statband */
.statband{display:grid; grid-template-columns:repeat(4,1fr); gap:20px}
.statband .stat{background:linear-gradient(180deg,var(--surface),var(--surface-2)); border:1px solid var(--line); border-radius:var(--radius); padding:28px}
.statband .n{font-size:36px; font-weight:820; letter-spacing:-.04em; line-height:1; color:var(--white)}
.statband .l{color:var(--muted); font-size:13.5px; margin-top:8px}

/* steps */
.steps{list-style:none; counter-reset:s; padding:0; margin:0; display:grid; gap:14px}
.steps li{counter-increment:s; display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start;
  background:linear-gradient(180deg,var(--surface),var(--surface-2)); border:1px solid var(--line); border-radius:var(--radius);
  padding:24px 26px; transition:transform .2s var(--ease), border-color .2s var(--ease)}
.steps li:hover{transform:translateX(5px); border-color:var(--line-2)}
.steps li::before{content:counter(s,decimal-leading-zero); font:800 14px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  color:var(--white); width:46px; height:46px; border-radius:13px; display:grid; place-items:center;
  background:var(--surface-3); border:1px solid var(--line-2)}
.steps li h3{font-size:18px; margin:9px 0 7px; color:var(--white)}
.steps li p{color:var(--muted); font-size:14.5px; line-height:1.6; margin:0}

/* deep list (detail pages) */
.deep{display:grid}
.deep .item{display:grid; grid-template-columns:90px 1fr; gap:30px; padding:44px 0; border-top:1px solid var(--line)}
.deep .item:first-child{border-top:0}
.deep .ix{font:800 30px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--muted-3); letter-spacing:-.02em}
.deep .item h3{font-size:clamp(1.4rem,2.2vw,1.8rem); margin:0 0 12px; color:var(--white)}
.deep .item p{color:var(--muted); line-height:1.7; margin:0 0 14px; max-width:70ch}
.deep .item .ico{margin-bottom:18px}
.list{list-style:none; padding:0; margin:14px 0 0; display:grid; gap:10px; max-width:70ch}
.list li{position:relative; padding-left:26px; color:var(--text-soft); font-size:15px; line-height:1.55}
.list li::before{content:""; position:absolute; left:2px; top:9px; width:9px; height:9px; border-radius:50%; border:1.6px solid var(--muted); }
.list.check li::before{content:""; left:0; top:6px; width:15px; height:8px; border:0; border-left:2px solid var(--white); border-bottom:2px solid var(--white); transform:rotate(-45deg); border-radius:0}

/* coverage */
.cov{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.cov-col{border-radius:var(--radius); padding:26px 24px; border:1px solid var(--line); background:linear-gradient(180deg,var(--surface),var(--surface-2))}
.cov-col h3{font-size:16px; margin:0 0 16px; display:flex; align-items:center; gap:9px; color:var(--white)}
.cov-col h3 .dot{width:8px; height:8px; border-radius:50%; background:var(--white)}
.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{font-size:13px; color:var(--text-soft); padding:6px 12px; border-radius:var(--pill); background:rgba(255,255,255,.03); border:1px solid var(--line-2)}

/* split / case */
.split{display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:center}
.case{background:linear-gradient(180deg,var(--surface-2),var(--surface)); border:1px solid var(--line-2); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden}
.case .case-bar{display:flex; align-items:center; gap:10px; padding:15px 20px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.02)}
.case .case-bar b{color:var(--white); font-size:14px; font-weight:700}
.case .case-bar .tag{margin-left:auto; font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace; padding:4px 10px; border-radius:var(--pill); background:var(--surface-3); color:var(--text-soft); border:1px solid var(--line-2)}
.case .case-body{padding:8px 20px 14px}
.case .row{display:grid; grid-template-columns:128px 1fr; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); font-size:14px}
.case .row:last-child{border-bottom:0}
.case .k{color:var(--muted-2)}
.case .v{color:var(--text-soft)}
.case .v.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:13px; color:var(--white)}
.case .hl{color:var(--white); font-weight:700}

/* table */
.table-wrap{border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:linear-gradient(180deg,var(--surface),var(--surface-2))}
table.table{width:100%; border-collapse:collapse}
table.table th,table.table td{text-align:left; padding:16px 20px; border-bottom:1px solid var(--line); font-size:14.5px; vertical-align:top}
table.table tr:last-child td{border-bottom:0}
table.table th{font:700 11.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.1em; color:var(--muted-2); background:rgba(255,255,255,.02)}
table.table td{color:var(--text-soft)} table.table td:first-child{color:var(--white); font-weight:600}

/* kv / notice / code */
.kv{display:grid; grid-template-columns:220px 1fr; gap:12px 22px; margin:18px 0; background:linear-gradient(180deg,var(--surface),var(--surface-2));
  border:1px solid var(--line); border-radius:var(--radius); padding:24px 26px}
.kv .k{color:var(--muted-2); font-size:14.5px}
.kv>div:not(.k){color:var(--text-soft); font-size:15px}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace; background:rgba(255,255,255,.06); border:1px solid var(--line-2); padding:2px 7px; border-radius:6px; font-size:13.5px; color:var(--white)}
.notice{background:rgba(255,255,255,.03); border:1px solid var(--line-2); border-left:3px solid var(--muted); border-radius:14px; padding:16px 20px; margin:18px 0; color:var(--text-soft); font-size:14.5px}

/* FAQ */
.faq{display:grid; gap:12px; max-width:860px; margin:0 auto}
.faq details{background:linear-gradient(180deg,var(--surface),var(--surface-2)); border:1px solid var(--line); border-radius:15px; padding:0 22px; transition:border-color .2s var(--ease)}
.faq details[open]{border-color:var(--line-2)}
.faq summary{list-style:none; cursor:pointer; padding:20px 0; font-weight:650; font-size:16.5px; color:var(--white); display:flex; align-items:center; justify-content:space-between; gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .pm{flex:0 0 auto; width:28px; height:28px; border-radius:9px; background:rgba(255,255,255,.04); border:1px solid var(--line-2); display:grid; place-items:center; color:var(--white); font-size:18px; transition:transform .25s var(--ease), background .2s, color .2s}
.faq details[open] summary .pm{transform:rotate(45deg); background:var(--white); color:#000; border-color:transparent}
.faq details p{color:var(--muted); font-size:14.5px; line-height:1.68; padding:0 0 22px; margin:0; max-width:74ch}

/* CTA / band */
.cta{position:relative; overflow:hidden; border:1px solid var(--line-2); border-radius:var(--radius-lg); padding:74px 56px; text-align:center;
  background:radial-gradient(70% 130% at 50% 0%,rgba(255,255,255,.06),transparent 70%),linear-gradient(180deg,var(--surface-2),var(--surface))}
.cta::before{content:""; position:absolute; inset:0 0 auto 0; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent)}
.cta h2{font-size:clamp(2rem,3.2vw,3rem); margin:0 0 14px; color:var(--white)}
.cta p{color:var(--muted); max-width:56ch; margin:0 auto 30px; font-size:1.08rem}
.cta .btns{justify-content:center}
.band{display:grid; grid-template-columns:1.2fr auto; gap:32px; align-items:center; border:1px solid var(--line-2); border-radius:var(--radius-lg);
  padding:40px 46px; background:linear-gradient(180deg,var(--surface),var(--surface-2))}
.band h2{font-size:clamp(1.5rem,2.2vw,2rem); margin:12px 0 10px; color:var(--white)}
.band p{color:var(--muted); margin:0; line-height:1.6}
.band .btns{justify-content:flex-end}

/* subpages / detail */
.page-hero{padding:72px 0 26px}
.page-hero h1{font-size:clamp(2.4rem,4.4vw,3.6rem); margin:14px 0 16px; color:var(--white)}
.page-hero .lead{color:var(--muted); font-size:1.18rem; max-width:64ch; line-height:1.6}
.prose section{padding:34px 0; border-top:1px solid var(--line)}
.prose section:first-of-type{border-top:0}
.prose h2{font-size:1.6rem; margin:0 0 12px; color:var(--white)}
.prose h2.mt{margin-top:32px}
.prose p{color:var(--muted); line-height:1.7; margin:0 0 14px}

/* footer */
footer.site{background:var(--bg-2); border-top:1px solid var(--line); margin-top:40px; padding:66px 0 40px}
.foot-grid{display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid var(--line)}
.foot-brand .brand{margin-bottom:15px}
.foot-brand p{color:var(--muted); font-size:14.5px; line-height:1.65; max-width:42ch}
.foot-col h5{font:700 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.14em; color:var(--muted-2); margin:0 0 16px}
.foot-col a{display:block; color:var(--muted); font-size:14.5px; padding:5px 0}
.foot-col a:hover{color:var(--white); opacity:1}
.foot-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:26px; color:var(--muted-2); font-size:13px}
.foot-bottom a{color:var(--muted)} .foot-bottom a:hover{color:var(--white)}

/* accessibility: skip link + focus */
.skip{position:absolute; left:-9999px; top:0; z-index:100; background:var(--white); color:#000; padding:12px 18px; border-radius:0 0 10px 0; font-weight:700}
.skip:focus{left:0; opacity:1}
:focus-visible{outline:2px solid var(--white); outline-offset:3px; border-radius:4px}
a:focus-visible,summary:focus-visible{outline-offset:4px}

/* breadcrumbs */
.crumbs{display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:26px 0 0; font:600 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--muted-2)}
.crumbs a{color:var(--muted)} .crumbs a:hover{color:var(--white); opacity:1}
.crumbs .sep{color:var(--muted-3)}
.crumbs [aria-current]{color:var(--text-soft)}

/* article / guide typography */
.article{max-width:760px}
.article .meta-row{display:flex; flex-wrap:wrap; gap:8px 18px; align-items:center; margin:0 0 8px; font:600 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--muted-2)}
.article .tag{padding:4px 11px; border-radius:var(--pill); border:1px solid var(--line-2); color:var(--text-soft)}
.article .lede{font-size:1.24rem; line-height:1.55; color:var(--text-soft); margin:0 0 8px}
.article h2{font-size:1.7rem; margin:48px 0 14px; color:var(--white); scroll-margin-top:96px}
.article h3{font-size:1.25rem; margin:30px 0 10px; color:var(--white)}
.article p{color:var(--muted); line-height:1.78; margin:0 0 16px; font-size:1.04rem}
.article ul,.article ol{margin:0 0 18px; padding-left:0; list-style:none; display:grid; gap:10px}
.article ul li,.article ol li{position:relative; padding-left:28px; color:var(--text-soft); line-height:1.6}
.article ul li::before{content:""; position:absolute; left:4px; top:9px; width:8px; height:8px; border-radius:50%; border:1.6px solid var(--muted)}
.article ol{counter-reset:o}
.article ol li{counter-increment:o}
.article ol li::before{content:counter(o); position:absolute; left:0; top:0; font:700 12px/20px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--white); width:20px; height:20px; text-align:center; border:1px solid var(--line-2); border-radius:6px}
.article strong{color:var(--text-soft)}
.article blockquote{margin:22px 0; padding:18px 22px; border-left:3px solid var(--muted); background:var(--surface); border-radius:0 12px 12px 0; color:var(--text-soft)}
.article pre{margin:20px 0; padding:18px 20px; background:#0a0a0a; border:1px solid var(--line-2); border-radius:12px; overflow-x:auto; font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--text-soft)}
.article pre code{background:none; border:0; padding:0; color:inherit}
.article hr{border:0; height:1px; background:var(--line); margin:40px 0}

/* table of contents */
.toc{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:20px 24px; margin:8px 0 36px}
.toc h4{font:700 11.5px/1 ui-monospace,SFMono-Regular,Menlo,monospace; text-transform:uppercase; letter-spacing:.12em; color:var(--muted-2); margin:0 0 14px}
.toc ol{list-style:none; counter-reset:t; margin:0; padding:0; display:grid; gap:8px}
.toc li{counter-increment:t}
.toc a{display:flex; gap:12px; color:var(--text-soft); font-size:14.5px}
.toc a::before{content:counter(t,decimal-leading-zero); color:var(--muted-3); font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace}
.toc a:hover{color:var(--white); opacity:1}

/* callout */
.callout{display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:start; background:var(--surface); border:1px solid var(--line-2); border-radius:14px; padding:18px 20px; margin:24px 0}
.callout .ico{width:40px; height:40px; margin:0; border-radius:11px}
.callout .ico svg{width:20px; height:20px}
.callout p{margin:0; color:var(--text-soft); font-size:14.5px; line-height:1.6}
.callout b{color:var(--white)}

/* glossary */
.gloss{display:grid; gap:14px}
.gloss .term{background:linear-gradient(180deg,var(--surface),var(--surface-2)); border:1px solid var(--line); border-radius:16px; padding:24px 26px; scroll-margin-top:96px}
.gloss .term dt{font-size:1.15rem; font-weight:750; color:var(--white); margin:0 0 8px; display:flex; align-items:baseline; gap:12px}
.gloss .term dt .also{font:600 12px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--muted-2)}
.gloss .term dd{margin:0; color:var(--muted); line-height:1.7; font-size:15px}
.gloss .term dd a{color:var(--text-soft); border-bottom:1px solid var(--line-2)}
.alpha{position:sticky; top:74px; z-index:30; display:flex; flex-wrap:wrap; gap:6px; padding:16px 0; background:rgba(7,7,7,.7); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px)}
.alpha a{width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--line-2); border-radius:9px; font:700 13px ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--text-soft)}
.alpha a:hover{background:var(--white); color:#000; opacity:1}

/* responsive */
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr; gap:46px} .hero-art{max-width:560px}
  .statband{grid-template-columns:repeat(2,1fr)}
  .cols-3{grid-template-columns:1fr 1fr} .cov{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr; gap:34px}
  .band{grid-template-columns:1fr; gap:22px} .band .btns{justify-content:flex-start}
  .foot-grid{grid-template-columns:1fr 1fr; gap:30px}
}
@media(max-width:680px){
  nav.links{display:none}
  .section{padding:68px 0}
  .cols-3,.cols-2,.cov,.statband{grid-template-columns:1fr}
  .kv,.case .row{grid-template-columns:1fr}
  .deep .item{grid-template-columns:1fr; gap:10px}
  .cta{padding:52px 24px} .foot-grid{grid-template-columns:1fr 1fr}
  table.table th:nth-child(3),table.table td:nth-child(3){display:none}
}
@media(max-width:460px){ .foot-grid{grid-template-columns:1fr} .hero{padding:60px 0 48px} }
@media(prefers-reduced-motion:reduce){*{animation:none!important; transition:none!important; scroll-behavior:auto}}
