/* T3CHS site styles.
   Direction: a registrar with an editorial desk. Paper, ink rules and one soft purple brand
   color for the news. A deep purple block, clearly labeled, for anything we sell.
   Order: tokens, base, header, layout, news cards, article, pages, tools, glossary, footer. */

:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eaeef5;
  --ink: #0f1a2c;
  --ink-2: #26344b;
  --muted: #475770;
  --line: #d5dce7;
  --brand: #6236d4;
  --brand-ink: #48259e;
  --on-brand: #ffffff;
  --signal: #f0a53a;
  --on-signal: #1a1406;
  --ok: #1b7446;
  --warn: #8a5100;
  --err: #b42318;
  --focus: #f0a53a;
  --grid: rgba(98, 54, 212, .07);
  --offer-bg: #2a1760;
  --offer-ink: #ffffff;
  --offer-muted: #d9cff7;
  --offer-line: rgba(255, 255, 255, .16);
  --offer-soft: #f3effd;
  --shadow: 0 1px 0 rgba(17, 29, 49, .04), 0 12px 32px -18px rgba(17, 29, 49, .35);
  /* category colors, AA on --surface and --bg */
  --c-hosting: #8a3fc7;
  --c-security: #b42318;
  --c-domains: #0b7461;
  --c-small-business-tech: #8a5100;
  --c-ai: #6a44d6;
  --c-web-design: #a8205f;
  --c-email: #4a45c8;
  --c-brand: #6236d4;
  --logo: #7a5af5;
  --cat: var(--brand);
  --r-lg: 16px;
  --r-md: 10px;
  --r-sm: 6px;
  --wrap: 1240px;
  --measure: 68ch;
  --topline: 34px;
  --font-head: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Red Hat Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1220;
    --surface: #111c2e;
    --surface-2: #17243a;
    --ink: #e7edf6;
    --ink-2: #c9d3e2;
    --muted: #a6b3c7;
    --line: #26354d;
    --brand: #a58bff;
    --brand-ink: #c9b8ff;
    --logo: #a58bff;
    --on-brand: #0a1220;
    --signal: #f5b955;
    --on-signal: #1a1406;
    --ok: #5fd39a;
    --warn: #f5b955;
    --err: #ff8a80;
    --grid: rgba(165, 139, 255, .06);
    --offer-bg: #22124f;
    --offer-muted: #d9cff7;
    --offer-soft: #211640;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 40px -20px rgba(0, 0, 0, .8);
    --c-hosting: #d49cff;
    --c-security: #ff8a80;
    --c-domains: #5fd3bd;
    --c-small-business-tech: #f5b955;
    --c-ai: #b9a4ff;
    --c-web-design: #ff9ccb;
    --c-email: #9da3ff;
    --c-brand: #a58bff;
  }
}
.cat-hosting { --cat: var(--c-hosting); }
.cat-security { --cat: var(--c-security); }
.cat-domains { --cat: var(--c-domains); }
.cat-small-business-tech { --cat: var(--c-small-business-tech); }
.cat-ai { --cat: var(--c-ai); }
.cat-web-design { --cat: var(--c-web-design); }
.cat-email { --cat: var(--c-email); }
.cat-brand { --cat: var(--c-brand); }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.018em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin: .3em 0; }
code, .mono { font-family: var(--font-mono); font-size: .92em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--on-signal); padding: .6em 1em; border-radius: var(--r-sm); z-index: 99; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.fine { font-size: .92rem; margin-top: 28px; }
.kicker { font: 500 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .7em; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.kicker .cat, .cat { font-weight: 500; color: var(--cat); text-decoration: none; }
.cat-hosting .cat, .cat.cat-hosting { --cat: var(--c-hosting); }
a.cat:hover { text-decoration: underline; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem/1 var(--font-body); padding: .85em 1.25em; border-radius: var(--r-sm); border: 2px solid var(--brand); background: var(--brand); color: var(--on-brand); text-decoration: none; cursor: pointer; min-height: 44px; }
.btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: var(--on-brand); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn.small { padding: .6em .95em; min-height: 40px; font-size: .95rem; }
.btn.signal { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.btn.signal:hover { background: #fff; border-color: #fff; color: #0f1a2c; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ header */
.site-head { position: sticky; top: calc(-1 * var(--topline)); z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topline { background: #0f1a2c; color: #c9d3e2; height: var(--topline); font-size: .82rem; }
.topline-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.topline p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topline-links { display: flex; gap: 18px; }
.topline a { color: #e7edf6; text-decoration: none; font-weight: 500; }
.topline a:hover { text-decoration: underline; color: #fff; }
.topline-call a { font-weight: 700; white-space: nowrap; }
.call-line { font: 700 1.25rem var(--font-head); margin: 0 0 .4em; }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; color: var(--logo); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-group { display: flex; gap: 2px; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; padding: .5em .62em; border-radius: var(--r-sm); font-size: .96rem; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: .62em; right: .62em; bottom: -12px; height: 3px; background: var(--brand); border-radius: 2px; }
.nav .sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; }
.head-cta { flex: none; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: .55em .9em; border: 1px solid var(--line); border-radius: var(--r-sm); display: inline-flex; min-height: 44px; align-items: center; background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: inline-flex; align-items: center; gap: .45em; }
.menu summary svg { width: 20px; height: 20px; }
.menu .menu-close, .menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: inline-flex; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 20px 24px; box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px; }
.menu-group { display: grid; align-content: start; }
.menu-h { font: 500 .75rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 12px 0 4px; }
.menu-panel a:not(.btn) { padding: .7em .2em; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); min-height: 44px; display: flex; align-items: center; }
.menu-cta { grid-column: 1 / -1; margin-top: 12px; }
.nav a, .nav-group { white-space: nowrap; }
@media (max-width: 1320px) {
  .nav { display: none; }
  .head-cta { margin-left: auto; }
  .head-row { gap: 12px; }
  .menu { display: block; }
}
@media (max-width: 760px) {
  .menu-panel { grid-template-columns: 1fr 1fr; }
  .topline-tag { display: none; }
  .topline-row { justify-content: flex-end; }
}
@media (max-width: 520px) {
  .head-cta { display: none; }
  .menu { margin-left: auto; }
  .menu-panel { grid-template-columns: 1fr; }
  .topline-links > a:not(:last-child) { display: none; }
  .topline-row { justify-content: center; }
}

/* section bar: news categories */
.section-bar { border-bottom: 1px solid var(--line); background: var(--surface); }
.section-bar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 22px; overflow-x: auto; scrollbar-width: none; }
.section-bar ul::-webkit-scrollbar { display: none; }
.section-bar li { margin: 0; flex: none; }
.section-bar a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-bottom: 3px solid transparent; }
.section-bar a[class^="cat-"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cat); }
.section-bar a:hover { color: var(--brand); }
.section-bar a[aria-current="page"] { border-bottom-color: var(--cat, var(--brand)); font-weight: 700; }

/* ------------------------------------------------------------ layout */
main { display: block; }
.section { padding: clamp(44px, 6vw, 88px) 0; }
.section.tight { padding: clamp(28px, 4vw, 52px) 0; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; }
.sec-head .kicker { margin-bottom: .35em; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.more svg { width: 18px; height: 18px; }
.rule-h { border-top: 3px solid var(--ink); padding-top: 12px; font-size: 1.3rem; margin: 40px 0 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* prose */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .6em .7em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-weight: 700; }
.prose blockquote, .callout { margin: 1.4em 0; padding: 1em 1.2em; border-left: 4px solid var(--signal); background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose code { background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
.prose a.gl { color: inherit; text-decoration: underline dotted var(--brand); text-decoration-thickness: 2px; }
.prose a.gl:hover { color: var(--brand); }
.table-scroll { overflow-x: auto; }

/* ------------------------------------------------------------ home brand bar */
.brandbar { position: relative; padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); overflow: hidden; border-bottom: 1px solid var(--line); }
.brandbar::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.brandbar-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.brandbar h1 { font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.3rem); max-width: 14ch; letter-spacing: -.035em; line-height: 1.02; }
.brandbar .lede { margin-bottom: 1.5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .brandbar-grid { grid-template-columns: 1fr; } }

/* setup sheet: the signature element */
.sheet { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.sheet-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.sheet-bar .dots { display: flex; gap: 6px; }
.sheet-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.sheet-url { flex: 1; font: 500 .9rem var(--font-mono); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; color: var(--ink); display: flex; align-items: center; gap: .5em; }
.sheet-url svg { width: 14px; height: 14px; color: var(--ok); }
.sheet-rows { list-style: none; margin: 0; padding: 6px 0; }
.sheet-rows li { display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; padding: 13px 18px; margin: 0; border-bottom: 1px dashed var(--line); }
.sheet-rows li:last-child { border-bottom: 0; }
.sheet-rows .k { font: 500 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sheet-rows .v { color: var(--ink); font-size: .95rem; overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.wait { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.sheet-foot { padding: 12px 18px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.sheet-deck { display: grid; gap: 12px; }
.sheet-deck .sheet[hidden] { display: none; }
.deck-dots { display: flex; justify-content: center; gap: 8px; }
.deck-dot { font: 600 .8rem var(--font-body); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4em .9em; cursor: pointer; min-height: 32px; }
.deck-dot[aria-pressed="true"] { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }
.deck-stop { font: 600 .8rem var(--font-body); color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; min-height: 32px; padding: .4em .6em; }
.deck-dot:focus-visible, .deck-stop:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .sheet-deck .sheet.is-on { animation: sheet-in .45s both cubic-bezier(.2, .7, .2, 1); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet-rows li { animation: row-in .5s both cubic-bezier(.2, .7, .2, 1); }
  .sheet-rows li:nth-child(2) { animation-delay: .12s; }
  .sheet-rows li:nth-child(3) { animation-delay: .24s; }
  .sheet-rows li:nth-child(4) { animation-delay: .36s; }
  .sheet-rows li:nth-child(5) { animation-delay: .48s; }
  @keyframes row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------ news cards */
.card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-art { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-md); background: #0b1424; }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-art img { transform: scale(1.03); }
.card-body { min-width: 0; }
.card .kicker { margin-bottom: .5em; }
.card h2, .card h3 { margin: 0 0 .35em; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h2 a:hover, .card h3 a:hover { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }
.card .cat { position: relative; z-index: 2; }
.card .dek { color: var(--muted); margin: 0; font-size: .98rem; }
.card-lead h3 { font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
.card-lead .dek { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.card-md h3 { font-size: 1.22rem; line-height: 1.2; }
.card-sm h3 { font-size: 1.05rem; line-height: 1.25; }
.card-row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 18px; align-items: start; }
.card-row h3 { font-size: 1.12rem; }
.card-row .dek { font-size: .94rem; }

.front { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .92fr); gap: 0; }
.front > div { padding: 0 24px; }
.front > div:first-child { padding-left: 0; }
.front > div:last-child { padding-right: 0; }
.front > div + div { border-left: 1px solid var(--line); }
.front-second { display: grid; gap: 28px; align-content: start; }
.front-rail { display: grid; gap: 24px; align-content: start; }
.front.front-2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.stack { display: grid; gap: 20px; align-content: start; }
.stack .card + .card { border-top: 1px solid var(--line); padding-top: 20px; }
@media (max-width: 1100px) {
  .front { grid-template-columns: 1fr 1fr; }
  .front-lead { grid-column: 1 / -1; padding: 0 0 28px !important; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
  .front > div + div { border-left: 0; }
  .front-second { padding-left: 0 !important; }
  .front-rail { border-left: 1px solid var(--line) !important; }
}
@media (max-width: 720px) {
  .front, .front.front-2 { grid-template-columns: 1fr; }
  .front > div { padding: 0 !important; }
  .front-rail { border-left: 0 !important; border-top: 1px solid var(--line); padding-top: 24px !important; margin-top: 28px; }
  .front-2 .stack { margin-top: 28px; }
}
.text-row { margin-top: 36px; }
.text-row .card { border-top: 3px solid var(--ink); padding-top: 14px; }

/* numbered top stories */
.toplist h2 { font-size: 1.05rem; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.toplist ol { list-style: none; counter-reset: t; padding: 0; margin: 0; }
.toplist li { counter-increment: t; display: grid; grid-template-columns: 40px 1fr; column-gap: 4px; padding: 14px 0; margin: 0; border-top: 1px solid var(--line); }
.toplist li::before { content: counter(t); grid-row: span 2; font: 800 1.9rem/1 var(--font-head); color: var(--brand); }
.toplist a { font: 700 1.02rem/1.28 var(--font-head); color: var(--ink); text-decoration: none; }
.toplist a:hover { color: var(--brand); text-decoration: underline; }
.cat-name { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--cat); margin-top: 4px; }

/* category rails on the home page */
.rails { display: grid; gap: 36px; }
.rail-sec { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; border-top: 3px solid var(--cat); padding-top: 16px; }
.rail-head h3 { font-size: 1.4rem; margin-bottom: .3em; }
.rail-head h3 a { color: var(--ink); text-decoration: none; }
.rail-head h3 a:hover { color: var(--cat); text-decoration: underline; }
.rail-head p { color: var(--muted); font-size: .95rem; }
.rail-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) {
  .rail-sec { grid-template-columns: 1fr; gap: 12px; }
  .rail-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(240px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .rail-row .card { scroll-snap-align: start; }
}

/* ------------------------------------------------------------ offer module (sales, never news) */
.offer { background: var(--offer-bg); color: var(--offer-ink); padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.offer .wrap { position: relative; }
.offer a { color: #fff; }
.offer-tag { font: 500 .78rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #f5b955; margin: 0 0 .8em; }
.offer-head { max-width: 46rem; margin-bottom: 32px; }
.offer-head h2 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.offer-head p { color: var(--offer-muted); font-size: 1.12rem; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px 44px; border: 1px solid var(--offer-line); border-radius: var(--r-md); background: rgba(255, 255, 255, .05); text-decoration: none; color: #fff; transition: background .2s, transform .2s; }
.tile:hover { background: rgba(255, 255, 255, .11); color: #fff; transform: translateY(-2px); }
.tile-icon svg { width: 30px; height: 30px; color: #f5b955; }
.tile strong { font: 700 1.2rem var(--font-head); }
.tile span { color: var(--offer-muted); font-size: .94rem; line-height: 1.45; }
.tile-go { position: absolute; left: 18px; bottom: 14px; }
.tile-go svg { width: 20px; height: 20px; color: #fff; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .tiles { grid-template-columns: 1fr; } }
.offer .steps { counter-reset: s; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--offer-line); padding-top: 28px; }
.offer .steps li { counter-increment: s; margin: 0; color: var(--offer-muted); font-size: .96rem; }
.offer .steps li::before { content: "0" counter(s); display: block; font: 500 .85rem var(--font-mono); color: #f5b955; margin-bottom: 8px; }
.offer .steps strong { display: block; color: #fff; font: 700 1.08rem var(--font-head); margin-bottom: 4px; }
@media (max-width: 860px) { .offer .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .offer .steps { grid-template-columns: 1fr; } }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.offer-link { font-weight: 700; }

/* offer box beside news, and the sales band */
.offer-box { background: var(--offer-soft); border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); border-left: 4px solid var(--brand); border-radius: var(--r-md); padding: 20px; margin-bottom: 20px; }
.offer-box .offer-tag { color: var(--brand); font-size: .72rem; }
.offer-box h2 { font-size: 1.12rem; margin-bottom: .4em; }
.offer-box p { font-size: .95rem; color: var(--ink-2); }
.band { background: var(--offer-bg); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.band-tag { font: 500 .75rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #f5b955; margin-bottom: .6em; }
.band h2 { color: #fff; margin-bottom: .3em; }
.band p { color: var(--offer-muted); margin: 0; max-width: 52ch; }
.band .btn { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.band .btn:hover { background: #fff; border-color: #fff; color: #0f1a2c; }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }

/* newsletter placeholder */
.brief { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--surface); }
.brief h2 { font-size: 1.15rem; margin-bottom: .35em; }
.brief p { font-size: .95rem; color: var(--muted); }
.brief .kicker { color: var(--brand); margin-bottom: .5em; }
.home-brief { margin-top: 28px; }

/* tools strip on the home page */
.tool-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tool-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; padding-bottom: 18px; transition: transform .2s, box-shadow .2s; }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tool-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; margin-bottom: 8px; }
.tool-card strong, .tool-card span { padding: 0 18px; }
.tool-card strong { font: 700 1.15rem var(--font-head); }
.tool-card span { color: var(--muted); font-size: .94rem; }
.gloss-letters { aspect-ratio: 16 / 9; display: grid !important; place-items: center; background: #0b1424; color: #e7edf6 !important; font: 800 2.6rem var(--font-head) !important; letter-spacing: -.03em; margin-bottom: 8px; padding: 0 !important; }
@media (max-width: 1000px) { .tool-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tool-cards { grid-template-columns: 1fr; } }

/* trade chips and link lists */
.trades { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.trades li { margin: 0; }
.trades a { display: inline-flex; align-items: center; min-height: 44px; padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--surface); font-weight: 500; }
.trades a:hover { border-color: var(--brand); color: var(--brand); }
.link-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 0; }
.link-list.one { grid-template-columns: 1fr; }
.link-list li { border-top: 1px solid var(--line); padding: 16px 0; margin: 0; }
.link-list a { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); }
.link-list a:hover { color: var(--brand); text-decoration: underline; }
.link-list p { color: var(--muted); font-size: .95rem; margin: .3em 0 0; }

/* ------------------------------------------------------------ page heads */
.page-head { padding: clamp(28px, 4vw, 60px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head.slim { padding-bottom: 20px; }
.head-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.has-art .head-grid, .topic-head .head-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.head-art { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #0b1424; }
.head-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .has-art .head-grid, .topic-head .head-grid { grid-template-columns: 1fr; }
  .head-art { max-height: 220px; aspect-ratio: auto; }
}
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); opacity: .6; }
.crumbs a { color: var(--muted); }
.bite { font-size: clamp(1.12rem, 1rem + .45vw, 1.32rem); max-width: 56ch; margin: 0 0 1em; color: var(--ink-2); }
.snack { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 18px 22px; background: var(--bg); max-width: 56rem; margin-top: 20px; }
.snack h2 { font: 500 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em; color: var(--muted); }
.snack ul { margin: 0; }
.topic-head { padding: clamp(28px, 4vw, 56px) 0; background: var(--surface); border-bottom: 1px solid var(--line); border-top: 4px solid var(--cat); }
.topic-count { font: 500 .85rem var(--font-mono); color: var(--cat); margin: 0; }
.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 960px) { .page-body { grid-template-columns: 1fr; } }
.toc { font-size: .95rem; }
.toc ol { padding-left: 1.1em; }

/* aside boxes */
.aside-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--surface); margin-bottom: 20px; }
.aside-box h2 { font-size: 1.05rem; margin-bottom: .6em; }
.aside-box p { font-size: .95rem; color: var(--muted); }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { padding: .5em 0; border-top: 1px solid var(--line); margin: 0; font-size: .95rem; }
.cta-box { background: var(--offer-soft); border-left: 4px solid var(--brand); }
.sticky { position: sticky; top: 88px; }
.aside .toplist { margin-bottom: 24px; }

/* explore modules */
.explore { border-top: 1px solid var(--line); background: var(--surface); }
.explore h2 { font-size: 1.4rem; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; }
.explore h3 { font: 500 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-top: 3px solid var(--ink); padding-top: 10px; }
.explore ul, .plain-links { list-style: none; padding: 0; margin: 0; }
.explore li, .plain-links li { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.explore a, .plain-links a { font-weight: 700; text-decoration: none; }
.explore a:hover, .plain-links a:hover { text-decoration: underline; }
.explore li span, .plain-links li span { display: block; font-size: .9rem; color: var(--muted); }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hub-grid h3 { font: 500 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 860px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-offer { margin-top: 32px; max-width: 34rem; }
.term-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 12px; }
.term-chips li { margin: 0; }
.term-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: .3em .8em; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .92rem; }
.term-chips a:hover { border-color: var(--brand); color: var(--brand); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 1.2em 0; }
.plan { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--surface); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); }
.plan h3 { margin: 0 0 .25em; }
.plan .price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin: .2em 0 .1em; }
.plan .term { font-size: .88rem; color: var(--muted); margin-bottom: .8em; }
.plan ul { padding-left: 1.1em; margin: 0 0 1.2em; font-size: .96rem; flex: 1; }
.plan .btn { align-self: flex-start; }
.pricing-group { margin-bottom: 48px; }

/* FAQ */
.faq { max-width: var(--measure); margin-top: 2em; }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 36px 14px 0; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 700 1.4rem var(--font-head); color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary h3 { display: inline; font-size: 1.08rem; margin: 0; }
.faq .a { padding: 0 0 14px; }

/* compare */
.fact-table td:first-child { font-weight: 600; width: 34%; }
.asof { font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ article */
.article-wrap { padding-top: 24px; padding-bottom: 24px; }
.article-head { max-width: 54rem; margin: 8px 0 28px; }
.article-head h1 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; }
.article-head .lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.38rem); color: var(--ink-2); max-width: 58ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: .94rem; color: var(--muted); padding: 14px 0; border-block: 1px solid var(--line); }
.byline a { font-weight: 700; }
.by-mark svg { width: 28px; height: 28px; display: block; }
.disclosure { font-size: .92rem; color: var(--ink-2); background: var(--surface-2); padding: .75em 1em; border-radius: var(--r-sm); margin: 18px 0 0; }
.lead-art { margin: 0 0 36px; }
.lead-art img { width: 100%; display: block; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; background: #0b1424; }
@media (min-width: 1000px) { .lead-art img { aspect-ratio: 21 / 8; } }
.lead-art figcaption { font: 500 .78rem var(--font-mono); color: var(--muted); margin-top: 8px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .article-grid { grid-template-columns: 1fr; } }
.article-main { min-width: 0; max-width: 46rem; }
.article-prose { font-size: 1.14rem; line-height: 1.72; }
.article-prose > p:first-of-type::first-letter { float: left; font: 800 3.5em/.82 var(--font-head); color: var(--cat); margin: .08em .1em 0 0; }
.article-prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
.pullquote { margin: 1.8em 0; padding: 22px 0; border-block: 3px solid var(--cat); }
.pullquote blockquote { margin: 0; padding: 0; border: 0; background: none; }
.pullquote p { font: 700 clamp(1.35rem, 1.1rem + 1vw, 1.8rem)/1.25 var(--font-head); letter-spacing: -.02em; margin: 0; color: var(--ink); }
.pullquote p::before { content: "\201C"; color: var(--cat); }
.pullquote p::after { content: "\201D"; color: var(--cat); }
.pullquote figcaption { font: 500 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 12px; }
.takeaways { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--cat); border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 32px; }
.takeaways h2 { font: 500 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .6em; }
.takeaways ul { list-style: none; padding: 0; margin: 0; }
.takeaways li { position: relative; padding-left: 26px; margin: .55em 0; font-weight: 500; }
.takeaways li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 6px; border-left: 3px solid var(--cat); border-bottom: 3px solid var(--cat); transform: rotate(-45deg); }
.terms-box, .source-box, .author-box, .read-next { margin-top: 40px; }
.terms-box h2, .source-box h2, .read-next h2 { font: 500 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-top: 3px solid var(--ink); padding-top: 12px; }
.terms-box dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 28px; margin: 0; }
.terms-box dt { font-weight: 700; }
.terms-box dd { margin: 2px 0 0; color: var(--muted); font-size: .94rem; }
.sources { list-style: none; counter-reset: src; padding: 0; margin: 0 0 16px; }
.sources li { counter-increment: src; position: relative; padding: 10px 0 10px 40px; border-bottom: 1px solid var(--line); margin: 0; overflow-wrap: anywhere; }
.sources li::before { content: "[" counter(src) "]"; position: absolute; left: 0; top: 10px; font: 500 .85rem var(--font-mono); color: var(--muted); }
.src-host { display: block; font: 500 .8rem var(--font-mono); color: var(--muted); }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-block: 1px solid var(--line); }
.author-mark svg { width: 56px; height: 56px; }
.author-box h2 { font-size: 1.1rem; margin-bottom: .35em; }
.author-box p { font-size: .96rem; color: var(--ink-2); margin-bottom: .5em; }
.read-next .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.related { margin-top: 24px; }
.author-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.author-card svg { width: 96px; height: 96px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; list-style: none; padding: 0; margin: 0; }
.news-grid li { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ forms */
.form { display: grid; gap: 16px; max-width: 40rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .98rem; }
.field .hint { font-size: .88rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .7em .8em; min-height: 46px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent); outline-offset: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9em 1.1em; border-radius: var(--r-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ink); border-left: 4px solid var(--ok); }
.form-status.err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--ink); border-left: 4px solid var(--err); }

/* ------------------------------------------------------------ tools */
.tool-sec { background: var(--surface); border-bottom: 1px solid var(--line); padding: 0 0 clamp(28px, 4vw, 48px); }
.tool-panel { background: var(--bg); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); box-shadow: 6px 6px 0 var(--cat); }
.tool-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.tool-row .field { flex: 0 1 200px; }
.tool-row .field.grow { flex: 1 1 280px; }
.tool-row .btn-field { flex: none; }
.tool-row input { font-family: var(--font-mono); }
.tool-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.tool-out:not(:empty) { margin-top: 24px; }
.out-h { font-size: 1.3rem; margin: 0 0 6px; overflow-wrap: anywhere; }
.out-sum { font: 500 .95rem var(--font-mono); color: var(--muted); }
.tool-busy { font: 500 .95rem var(--font-mono); color: var(--muted); }
.tool-error { color: var(--err); font-weight: 700; }
.tool-next { margin-top: 18px; font-weight: 500; }
.check { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--muted); border-radius: var(--r-md); padding: 16px 18px; margin-top: 14px; }
.check.ok { border-left-color: var(--ok); }
.check.warn { border-left-color: var(--warn); }
.check.bad { border-left-color: var(--err); }
.check-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.check-head h3 { margin: 0; font-size: 1.08rem; }
.check p { margin: .5em 0 0; font-size: .97rem; }
.rec-raw { white-space: pre-wrap; word-break: break-all; background: var(--surface-2); padding: 10px 12px; border-radius: var(--r-sm); font-size: .85rem; margin: 10px 0 0; }
.status { display: inline-flex; align-items: center; gap: .4em; font: 700 .78rem var(--font-body); padding: .3em .7em; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.status.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); }
.status.bad { color: var(--err); background: color-mix(in srgb, var(--err) 12%, transparent); }
.status.wait { color: var(--muted); background: var(--surface-2); }
.rec { border-top: 1px solid var(--line); padding: 14px 0; }
.rec h3 { font-size: 1.02rem; margin: 0 0 2px; }
.rec-mean { color: var(--muted); font-size: .92rem; margin: 0 0 8px; }
.rec-none { color: var(--muted); font-style: italic; margin: 0; }
.rec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rec-table th, .rec-table td { text-align: left; padding: .5em .6em; border-bottom: 1px solid var(--line); vertical-align: top; }
.rec-table td.mono { overflow-wrap: anywhere; }
.rec-table.names td:first-child { font-weight: 700; }

/* ------------------------------------------------------------ glossary */
.az { position: sticky; top: 64px; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 0; margin-bottom: 24px; }
.az ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.az li { margin: 0; }
.az a { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; font: 700 1rem var(--font-head); text-decoration: none; border-radius: var(--r-sm); color: var(--ink); }
.az a:hover { background: var(--surface-2); color: var(--brand); }
.glossary { display: grid; gap: 12px; }
.letter { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 0 28px; border-top: 3px solid var(--ink); padding-top: 12px; scroll-margin-top: 130px; }
.letter h2 { font-size: 2.6rem; font-weight: 800; line-height: 1; grid-row: span 50; margin: 0; }
.term { padding: 0 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; scroll-margin-top: 130px; max-width: var(--measure); }
.term:target { background: var(--offer-soft); outline: 8px solid var(--offer-soft); border-radius: 2px; }
.term h3 { font-size: 1.2rem; margin: 0 0 .3em; }
.term p { margin: 0 0 .5em; }
.term-links { font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.term-links span { font: 500 .75rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); align-self: center; }
@media (max-width: 640px) { .letter { grid-template-columns: 1fr; } .letter h2 { font-size: 2rem; margin-bottom: 8px; } }

/* ------------------------------------------------------------ footer */
.site-foot { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 32px; font-size: .95rem; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.foot-tag { color: var(--muted); max-width: 56ch; margin: 0; }
.foot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h2 { font: 500 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .9em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0; }
.foot-grid a { color: var(--ink); text-decoration: none; display: inline-block; padding: .28em 0; }
.foot-grid a:hover { color: var(--brand); text-decoration: underline; }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .88rem; }

/* ------------------------------------------------------------ phase 2: leet toggle and matrix meld */
.leet-toggle { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: .45em .8em; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 700 .92rem var(--font-body); cursor: pointer; }
.leet-toggle:hover { border-color: var(--ink); }
.leet-toggle:focus-visible, .yt-btn:focus-visible, .adv-log:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.leet-glyph { font: 500 .78rem var(--font-mono); color: var(--brand); letter-spacing: .04em; }
.leet-toggle[aria-pressed="true"] { background: #07140d; color: #39ff88; border-color: #1f8a4c; }
.leet-toggle[aria-pressed="true"] .leet-glyph { color: #39ff88; }
.nav + .leet-toggle { margin-left: 8px; }
@media (max-width: 1320px) { .leet-toggle { margin-left: auto; } .leet-toggle + .head-cta { margin-left: 0; } }
@media (max-width: 520px) { .leet-label { display: none; } .leet-toggle + .head-cta + .menu { margin-left: 0; } }
.leet-pills { display: none; flex: none; gap: 4px; align-items: center; }
.pill-btn { min-height: 32px; padding: .3em .6em; border-radius: 999px; font: 700 .72rem var(--font-body); white-space: nowrap; cursor: pointer; border: 2px solid transparent; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), inset 0 2px 0 rgba(255, 255, 255, .35); }
.pill-purple { background: #a58bff; color: #1b1033; }
.pill-red { background: #e5484d; color: #ffffff; }
.pill-btn[aria-pressed="true"] { border-color: var(--ink); outline: 2px solid var(--bg); outline-offset: -4px; }
.pill-btn[aria-pressed="false"] { opacity: .72; }
.pill-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 720px) {
  .leet-toggle { display: none; }
  .leet-pills:not([hidden]) { display: inline-flex; margin-left: auto; }
  .leet-pills + .head-cta { margin-left: 0; }
}
@media (max-width: 400px) {
  .site-head .wordmark { font-size: 1.15rem; }
  .site-head .brand { gap: 6px; }
}
.leet-rain { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 90; opacity: 0; mix-blend-mode: normal; }
.leet-melding main, .leet-melding .site-head, .leet-melding .site-foot { text-shadow: 0 0 6px rgba(57, 255, 136, .55); transition: text-shadow .3s; }
.is-leet body { --focus: #39ff88; }
.is-leet .nav a { padding-left: .42em; padding-right: .42em; }
@media (max-width: 1480px) { .leet-glyph { display: none; } }

/* glossary popups */
.gloss-tip { position: fixed; z-index: 80; max-width: min(340px, calc(100vw - 16px)); background: var(--ink); color: var(--bg); padding: 12px 14px; border-radius: var(--r-md); box-shadow: var(--shadow); font-size: .92rem; line-height: 1.45; pointer-events: auto; }
.gloss-tip strong { display: block; font: 700 .98rem var(--font-head); margin-bottom: 4px; }
.gloss-tip::after { content: ""; position: absolute; left: calc(50% - 6px); bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
.gloss-tip.below::after { top: -6px; bottom: auto; border-top: 0; border-bottom: 6px solid var(--ink); }
.term .gl { color: inherit; text-decoration: underline dotted var(--brand); text-decoration-thickness: 2px; }

/* lite YouTube */
.videos { margin: 2em 0; }
.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.yt { margin: 0; }
.yt-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: #0b1424; cursor: pointer; aspect-ratio: 16 / 9; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.yt-btn:hover img { transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 46px; margin: -23px 0 0 -32px; border-radius: 12px; background: rgba(15, 26, 44, .86); }
.yt-play::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-btn:hover .yt-play { background: var(--brand); }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); display: block; }
.yt figcaption { font-weight: 700; font-size: .95rem; margin-top: 8px; }
.yt-by { display: block; font: 500 .78rem var(--font-mono); color: var(--muted); font-weight: 500; margin-top: 2px; }

/* advisor launcher */
.launch-sec { padding-top: 8px; }
.launcher { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 40px; align-items: center; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); box-shadow: 6px 6px 0 var(--c-ai); }
.launcher h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: .3em; }
.launcher p { color: var(--ink-2); margin: 0; }
.launcher .kicker { color: var(--c-ai); margin-bottom: .4em; }
.launcher-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.launcher-row { display: flex; gap: 10px; align-items: stretch; }
.launcher-row textarea { flex: 1; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: .6em .75em; resize: vertical; min-height: 52px; }
.launcher-row textarea:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.launcher.mini { grid-template-columns: 1fr auto; margin: 36px 0; }
@media (max-width: 800px) { .launcher, .launcher.mini { grid-template-columns: 1fr; } .launcher-row { flex-direction: column; } }

/* advisor */
.adv-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 960px) { .adv-grid { grid-template-columns: 1fr; } }
.advisor { display: flex; flex-direction: column; background: #0a1220; color: #e7edf6; border-radius: var(--r-lg); border: 1px solid #26354d; box-shadow: var(--shadow); overflow: hidden; min-height: 520px; }
.adv-bar-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #26354d; background: #0d1729; }
.adv-name { margin: 0; font: 700 1.05rem var(--font-head); display: flex; align-items: center; gap: 8px; }
.adv-name .muted { color: #a6b3c7; font-weight: 500; }
.adv-dot { width: 10px; height: 10px; border-radius: 50%; background: #39ff88; box-shadow: 0 0 8px #39ff88; }
.adv-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.advisor .btn.ghost { color: #e7edf6; border-color: #33466a; background: transparent; }
.advisor .btn.ghost:hover { border-color: #e7edf6; color: #fff; }
.advisor .btn.ghost[aria-pressed="true"] { border-color: #39ff88; color: #39ff88; }
.adv-log { flex: 1; overflow-y: auto; max-height: 460px; min-height: 300px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; font-family: var(--font-mono); font-size: .96rem; }
.adv-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; line-height: 1.5; }
.adv-msg p { margin: 0; }
.adv-msg p + p { margin-top: .5em; }
.adv-who { display: block; font: 500 .7rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; opacity: .75; margin-bottom: 4px; }
.from-bot { background: #111c2e; border: 1px solid #26354d; color: #d9f7e6; align-self: flex-start; border-bottom-left-radius: 4px; }
.from-bot .adv-who { color: #39ff88; }
.from-you { background: #6236d4; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; font-family: var(--font-body); }
.adv-typing .dots { display: inline-flex; gap: 5px; }
.adv-typing .dots i { width: 7px; height: 7px; border-radius: 50%; background: #39ff88; animation: advblink 1s infinite; }
.adv-typing .dots i:nth-child(2) { animation-delay: .15s; }
.adv-typing .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes advblink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.adv-form { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid #26354d; background: #0d1729; }
.adv-form textarea { flex: 1; font: 1rem var(--font-body); color: #e7edf6; background: #0a1220; border: 1.5px solid #33466a; border-radius: var(--r-sm); padding: .6em .75em; resize: none; min-height: 48px; }
.adv-form textarea:focus { border-color: #39ff88; outline: 3px solid rgba(57, 255, 136, .3); }
.adv-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px 14px; background: #0d1729; }
.adv-foot .muted { color: #a6b3c7; margin: 0; font-size: .88rem; }
.adv-none { color: var(--muted); font-style: italic; }
.adv-side .quick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 18px 18px; margin-bottom: 20px; }
.adv-side .quick summary { cursor: pointer; list-style: none; padding: 14px 0; }
.adv-side .quick summary::-webkit-details-marker { display: none; }
.adv-side .quick summary h2 { display: inline; font-size: 1.15rem; }
.quick-form { display: grid; gap: 12px; }
.field-h { font-weight: 700; margin: 4px 0 0; }
.chk-group { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 12px; }
.chk-group legend { font: 500 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0; margin-bottom: 4px; }
.chk { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 36px; font-size: .95rem; line-height: 1.25; cursor: pointer; }
.chk .hint { flex-basis: 100%; padding-left: 26px; font-size: .8rem; }
.chk input { width: 18px; height: 18px; accent-color: var(--brand); }
.chk input:disabled + * , .chk:has(input:disabled) { color: var(--muted); cursor: not-allowed; }
.adv-results { margin-top: 32px; }
.adv-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; border-top: 3px solid var(--ink); padding-top: 12px; }
.adv-results-head h2 { margin: 0; }
.adv-by { font: 500 .85rem var(--font-mono); color: var(--muted); margin: 0 0 12px; }
.adv-sec h3 { margin-top: 1.4em; }
.adv-picks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.adv-picks.roundup { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.adv-pick { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin: 0; }
.adv-pick.is-ours { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); border-left: 4px solid var(--brand); }
.adv-pick-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.adv-pick h3, .adv-pick h4 { margin: 0 0 .5em; font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.adv-pick h3 a, .adv-pick h4 a { color: var(--ink); }
.adv-pick .rank { font: 800 1.3rem var(--font-head); color: var(--brand); min-width: 1.2em; }
.adv-total { margin: 0; text-align: right; white-space: nowrap; }
.adv-total strong { font: 800 1.6rem var(--font-head); color: var(--brand); }
.adv-total span { font-size: .82rem; color: var(--muted); }
.adv-bars { margin: 8px 0 10px; display: grid; gap: 5px; }
.adv-bar { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 8px; font-size: .84rem; }
.adv-bar dt { color: var(--muted); }
.adv-bar dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.adv-bar .track { flex: 1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.adv-bar .fill { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.adv-bar .val { font: 500 .8rem var(--font-mono); min-width: 2.2em; text-align: right; }
.adv-why, .adv-watch { font-size: .93rem; margin: .45em 0 0; }
.adv-watch strong { color: var(--warn); }
.adv-weights { font-size: .9rem; color: var(--muted); margin-top: 16px; }

/* directory */
.dir-cats li p { margin: .35em 0 0; }
.dir-count { font: 500 .82rem var(--font-mono); color: var(--muted); }
.dir-count a { font: inherit; font-weight: 700; }
.dir-filter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 8px 0 18px; }
.dir-filter .field { flex: 0 1 200px; }
.dir-shown { margin: 0 0 10px; font: 500 .9rem var(--font-mono); color: var(--muted); }
.dir-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; }
.dir-list li { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.dir-list li[hidden] { display: none; }
.dir-list a { font: 700 1.02rem var(--font-head); color: var(--ink); text-decoration: none; }
.dir-list a:hover { color: var(--brand); text-decoration: underline; }
.dir-meta { flex-basis: 100%; font-size: .88rem; color: var(--muted); }
/* ranked directory cards: rank, homepage shot, facts from the directory data, Occidental scores */
.dir-list.dir-ranked { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; counter-reset: none; }
.dir-ranked .dcard { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.dir-ranked .dcard.is-ours { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); border-left: 4px solid var(--brand); }
.dcard-shot { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dcard-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dcard-shot.ph { display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); text-decoration: none; }
.dcard-shot.ph span::before { content: attr(data-i); font: 800 2.6rem/1 var(--font-head); color: var(--brand); letter-spacing: .04em; }
@media (max-width: 520px) { .dcard-shot.ph { aspect-ratio: 16 / 6; } }
.dcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.dcard-body p { margin: 0; }
.dcard-head { display: flex; align-items: baseline; gap: 10px; }
.dcard-head .rank { font: 800 1.5rem/1 var(--font-head); color: var(--brand); min-width: 1.3em; }
.dcard-head .rank.none { color: var(--muted); }
.dcard-head h3 { margin: 0; font-size: 1.08rem; flex: 1; line-height: 1.25; }
.dcard-total { font: 500 .78rem var(--font-mono); color: var(--muted); white-space: nowrap; }
.dcard-total strong { font-size: 1rem; color: var(--ink); }
.dir-ranked .dir-meta { flex-basis: auto; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .78rem; padding: .2em .65em; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.adv-bars.mini { margin: 2px 0; gap: 3px; }
.adv-bars.mini .adv-bar { grid-template-columns: 92px 1fr; font-size: .78rem; }
.adv-bars.mini .track { height: 6px; }
.dcard-cats, .dcard-none { font-size: .82rem; color: var(--muted); }
.dcard-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dcard-reach, .dir-ranked .adv-why, .dir-ranked .adv-watch { font-size: .88rem; }
.dir-ranked .dcard-links a, .dir-ranked .dcard-reach a { font: 600 .9rem var(--font-body); color: var(--brand); text-decoration: underline; }
.dir-ranked .dcard-head h3 a { font: inherit; font-weight: 700; }
.rank-rules { max-width: 62rem; margin: 0 0 16px; padding: 14px 18px; border-left: 4px solid var(--brand); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .95rem; }
.rank-rules p { margin: 0 0 .5em; }
.rank-rules p:last-child { margin: 0; }
.dshot { margin: 18px 0 24px; }
.dshot img { display: block; width: 100%; max-width: 640px; height: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.dshot figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.tag { display: inline-flex; align-items: center; font: 700 .72rem var(--font-body); padding: .22em .6em; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); vertical-align: middle; }
.tag.spec { background: color-mix(in srgb, var(--c-ai) 16%, transparent); color: var(--c-ai); }
.tag.sister { background: color-mix(in srgb, var(--signal) 22%, transparent); color: var(--warn); }
.facts dl { margin: 0; }
.facts dl div { padding: 8px 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 .72rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.reach { background: var(--offer-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-left: 4px solid var(--brand); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 4px 22px 14px; margin: 1.6em 0; }
.reach h2 { margin-top: .8em; }
.reach ol { padding-left: 1.2em; }
.verified { font: 500 .88rem var(--font-mono); color: var(--muted); margin-top: 2em; }
.tag-line { margin: 0 0 .5em; }

/* work and case studies */
.work-group { margin: 36px 0; }
.work-group h2 { border-top: 3px solid var(--ink); padding-top: 12px; font-size: 1.4rem; }
.work-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 28px; }
.work-list li { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.work-list h3 { font-size: 1.12rem; margin: 0 0 .3em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.work-list p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.case-link { display: inline-block; font-weight: 700; margin-left: 4px; }
.built-by { margin: 2em 0; }
.built-by li span { display: block; font-size: .92rem; color: var(--muted); }
.sister-top { margin: 0 0 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 20px 0 0; }
.stats div { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--r-md); padding: 14px 16px; }
.stats dt { font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1.05 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.stats dd { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.visit { font-weight: 700; margin-top: 1.4em; }
.adv-bar .fill.w0 { width: 0%; }
.adv-bar .fill.w1 { width: 1%; }
.adv-bar .fill.w2 { width: 2%; }
.adv-bar .fill.w3 { width: 3%; }
.adv-bar .fill.w4 { width: 4%; }
.adv-bar .fill.w5 { width: 5%; }
.adv-bar .fill.w6 { width: 6%; }
.adv-bar .fill.w7 { width: 7%; }
.adv-bar .fill.w8 { width: 8%; }
.adv-bar .fill.w9 { width: 9%; }
.adv-bar .fill.w10 { width: 10%; }
.adv-bar .fill.w11 { width: 11%; }
.adv-bar .fill.w12 { width: 12%; }
.adv-bar .fill.w13 { width: 13%; }
.adv-bar .fill.w14 { width: 14%; }
.adv-bar .fill.w15 { width: 15%; }
.adv-bar .fill.w16 { width: 16%; }
.adv-bar .fill.w17 { width: 17%; }
.adv-bar .fill.w18 { width: 18%; }
.adv-bar .fill.w19 { width: 19%; }
.adv-bar .fill.w20 { width: 20%; }
.adv-bar .fill.w21 { width: 21%; }
.adv-bar .fill.w22 { width: 22%; }
.adv-bar .fill.w23 { width: 23%; }
.adv-bar .fill.w24 { width: 24%; }
.adv-bar .fill.w25 { width: 25%; }
.adv-bar .fill.w26 { width: 26%; }
.adv-bar .fill.w27 { width: 27%; }
.adv-bar .fill.w28 { width: 28%; }
.adv-bar .fill.w29 { width: 29%; }
.adv-bar .fill.w30 { width: 30%; }
.adv-bar .fill.w31 { width: 31%; }
.adv-bar .fill.w32 { width: 32%; }
.adv-bar .fill.w33 { width: 33%; }
.adv-bar .fill.w34 { width: 34%; }
.adv-bar .fill.w35 { width: 35%; }
.adv-bar .fill.w36 { width: 36%; }
.adv-bar .fill.w37 { width: 37%; }
.adv-bar .fill.w38 { width: 38%; }
.adv-bar .fill.w39 { width: 39%; }
.adv-bar .fill.w40 { width: 40%; }
.adv-bar .fill.w41 { width: 41%; }
.adv-bar .fill.w42 { width: 42%; }
.adv-bar .fill.w43 { width: 43%; }
.adv-bar .fill.w44 { width: 44%; }
.adv-bar .fill.w45 { width: 45%; }
.adv-bar .fill.w46 { width: 46%; }
.adv-bar .fill.w47 { width: 47%; }
.adv-bar .fill.w48 { width: 48%; }
.adv-bar .fill.w49 { width: 49%; }
.adv-bar .fill.w50 { width: 50%; }
.adv-bar .fill.w51 { width: 51%; }
.adv-bar .fill.w52 { width: 52%; }
.adv-bar .fill.w53 { width: 53%; }
.adv-bar .fill.w54 { width: 54%; }
.adv-bar .fill.w55 { width: 55%; }
.adv-bar .fill.w56 { width: 56%; }
.adv-bar .fill.w57 { width: 57%; }
.adv-bar .fill.w58 { width: 58%; }
.adv-bar .fill.w59 { width: 59%; }
.adv-bar .fill.w60 { width: 60%; }
.adv-bar .fill.w61 { width: 61%; }
.adv-bar .fill.w62 { width: 62%; }
.adv-bar .fill.w63 { width: 63%; }
.adv-bar .fill.w64 { width: 64%; }
.adv-bar .fill.w65 { width: 65%; }
.adv-bar .fill.w66 { width: 66%; }
.adv-bar .fill.w67 { width: 67%; }
.adv-bar .fill.w68 { width: 68%; }
.adv-bar .fill.w69 { width: 69%; }
.adv-bar .fill.w70 { width: 70%; }
.adv-bar .fill.w71 { width: 71%; }
.adv-bar .fill.w72 { width: 72%; }
.adv-bar .fill.w73 { width: 73%; }
.adv-bar .fill.w74 { width: 74%; }
.adv-bar .fill.w75 { width: 75%; }
.adv-bar .fill.w76 { width: 76%; }
.adv-bar .fill.w77 { width: 77%; }
.adv-bar .fill.w78 { width: 78%; }
.adv-bar .fill.w79 { width: 79%; }
.adv-bar .fill.w80 { width: 80%; }
.adv-bar .fill.w81 { width: 81%; }
.adv-bar .fill.w82 { width: 82%; }
.adv-bar .fill.w83 { width: 83%; }
.adv-bar .fill.w84 { width: 84%; }
.adv-bar .fill.w85 { width: 85%; }
.adv-bar .fill.w86 { width: 86%; }
.adv-bar .fill.w87 { width: 87%; }
.adv-bar .fill.w88 { width: 88%; }
.adv-bar .fill.w89 { width: 89%; }
.adv-bar .fill.w90 { width: 90%; }
.adv-bar .fill.w91 { width: 91%; }
.adv-bar .fill.w92 { width: 92%; }
.adv-bar .fill.w93 { width: 93%; }
.adv-bar .fill.w94 { width: 94%; }
.adv-bar .fill.w95 { width: 95%; }
.adv-bar .fill.w96 { width: 96%; }
.adv-bar .fill.w97 { width: 97%; }
.adv-bar .fill.w98 { width: 98%; }
.adv-bar .fill.w99 { width: 99%; }
.adv-bar .fill.w100 { width: 100%; }

.notfound { padding: 96px 0; }
.mt0 { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .site-foot, .aside, .band, .section-bar, .offer, .explore, .related, .read-next { display: none; } body { background: #fff; color: #000; } }

/* Launch Spotlight questionnaire */
.form h2 { margin: 10px 0 0; font-size: 1.25rem; }
.field.consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.field.consent input { width: 20px; min-height: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; accent-color: var(--brand); }

/* Agent skills hub and posts */
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 1em 0 1.6em; }
.skill-card { border: 1px solid var(--line); border-top: 4px solid var(--c-ai); border-radius: var(--r-md); background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.skill-card.own { border-top-color: var(--signal); }
.skill-card .kicker { margin: 0; }
.skill-card h3, .skill-card h4 { font-size: 1.08rem; margin: 0; overflow-wrap: anywhere; }
.skill-card h3 a, .skill-card h4 a { text-decoration: none; color: var(--ink); }
.skill-card h3 a:hover, .skill-card h4 a:hover { color: var(--brand); text-decoration: underline; }
.skill-card p { margin: 0; font-size: .95rem; }
.skill-card .trust { color: var(--muted); font-size: .9rem; }
.skill-card .gh { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 700; font-size: .92rem; overflow-wrap: anywhere; }
.skills-hub h3 { margin-top: 1.4em; }
pre.cmd { margin: .6em 0 1.2em; padding: 14px 16px; background: #0b1424; color: #e7edf6; border-radius: var(--r-md); overflow-x: auto; font-size: .9rem; line-height: 1.5; }
pre.cmd code { background: none; padding: 0; color: inherit; white-space: pre; }

/* Homepage screenshots on /work/ and the Built by Our Team blocks */
.work-list.has-shots { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px 28px; }
.shot { margin: 4px 0 16px; }
.shot-frame { position: relative; display: block; padding: 0 16% 16px 0; }
.shot img { display: block; width: 100%; height: auto; }
.shot-desk { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.shot-phone { position: absolute; right: 0; bottom: 0; width: 24%; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.sw-shot { margin: 18px 0 24px; max-width: 640px; }
.sw-shots { margin: 18px 0; align-items: start; }
.sw-shots .sw-shot { margin: 0; }
.sw-opt { display: flow-root; }
.sw-thumb { float: right; width: 220px; margin: 1.2em 0 12px 20px; }
.sw-thumb img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 600px) { .sw-thumb { float: none; width: 100%; max-width: 320px; margin: 1em 0 0; } }
.shot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 24px; margin: 18px 0 6px; }

/* ------------------------------------------------------------ software comparisons */
.sw-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sw-table th, .sw-table td { text-align: left; vertical-align: top; padding: .6em .7em; border-bottom: 1px solid var(--line); }
.sw-table thead th { font-family: var(--font-head); background: var(--surface-2); }
.sw-table tbody th { font-weight: 700; }
.sw-vs tbody th { width: 22%; }
.sw-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .sw-two { grid-template-columns: 1fr; } }
.sw-inline { margin: 28px 0; max-width: 40rem; }
.sw-links ul li a { font-weight: 700; }
