/* GuestSpy — design layer (loaded after main.css)
   Base typography · icons · buttons · header · heroes · content sections · cards · footer */

/* ============ BASE ============ */
body { font-size: var(--fs-base); line-height: var(--lh); color: var(--text); background: var(--bg); font-feature-settings: "cv05" 1, "ss01" 1; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); letter-spacing: var(--tr-tight); font-weight: 700; color: var(--text); }
h1 { font-size: var(--fs-4xl); line-height: var(--lh-tight); letter-spacing: var(--tr-tighter); font-weight: 700; }
h2 { font-size: var(--fs-3xl); line-height: 1.16; }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-md); line-height: var(--lh-snug); letter-spacing: -.015em; }
.lead { font-size: var(--fs-lg); line-height: 1.55; color: var(--muted); font-weight: 400; }
a { color: var(--primary-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--primary); }
::selection { background: var(--teal-200); color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
code { background: var(--surface-2); border-color: var(--border); color: var(--text-2); font-variant-ligatures: none; }
.container { max-width: var(--container); }
.muted { color: var(--muted); } .small { font-size: var(--fs-sm); }

/* ============ ICONS ============ */
.ic { width: 24px; height: 24px; flex: none; display: block; }
.ic-sm { width: 18px; height: 18px; } .ic-xs { width: 14px; height: 14px; } .ic-lg { width: 30px; height: 30px; }
.ic-tile { display: inline-grid; place-items: center; border-radius: var(--r-md); flex: none; position: relative; isolation: isolate; }
.ic-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid currentColor; opacity: .16; }
.ic-tile-sm { width: 36px; height: 36px; border-radius: var(--r-sm); } .ic-tile-sm .ic { width: 18px; height: 18px; }
.ic-tile-md { width: 46px; height: 46px; } .ic-tile-lg { width: 54px; height: 54px; } .ic-tile-lg .ic { width: 26px; height: 26px; }
.ic-teal   { color: var(--teal-700);   background: linear-gradient(145deg, var(--teal-100),   #fff); }
.ic-blue   { color: var(--blue-700);   background: linear-gradient(145deg, var(--blue-100),   #fff); }
.ic-violet { color: var(--violet-600); background: linear-gradient(145deg, var(--violet-100), #fff); }
.ic-amber  { color: var(--amber-700);  background: linear-gradient(145deg, var(--amber-100),  #fff); }
.ic-red    { color: var(--red-600);    background: linear-gradient(145deg, var(--red-100),    #fff); }
.ic-green  { color: var(--green-700);  background: linear-gradient(145deg, var(--green-100),  #fff); }
.ic-slate  { color: var(--muted);      background: linear-gradient(145deg, var(--surface-3),  #fff); }

/* ============ BUTTONS ============ */
.btn { font-family: var(--font); font-weight: 600; border-radius: 999px; padding: 11px 20px; gap: 9px; transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-brand); color: var(--on-primary); box-shadow: var(--sh-glow); border: 0; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(249,115,22,.8); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--border-2); background: var(--surface); color: var(--text); box-shadow: var(--sh-xs); }
.btn-ghost:hover { border-color: var(--border-3); background: var(--surface-2); transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: var(--fs-md); }
.btn-sm { padding: 8px 15px; font-size: var(--fs-sm); }

/* ============ HEADER ============ */
.site-header { background: rgba(12,10,9,.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--ink-line); }
.site-header.is-scrolled { background: rgba(12,10,9,.92); box-shadow: 0 12px 34px -24px #000; }
.header-inner { height: var(--header-h); gap: 28px; }
.gs-logo { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.03em; gap: 11px; }
.gs-logo-mark { width: 32px; height: 32px; filter: drop-shadow(0 4px 12px rgba(249,115,22,.45)); transition: transform var(--t); }
.gs-logo:hover .gs-logo-mark { transform: rotate(-6deg) scale(1.06); }
.nav-list a { font-size: .94rem; color: var(--on-ink-2); padding: 9px 13px; border-radius: 10px; position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--glow); transform: scaleX(0); transition: transform var(--t); }
.nav-list a:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: #fff; }
.header-actions .btn-primary { padding: 10px 18px; font-size: .92rem; }

/* ============ HOME HERO ============ */
.hero-home { padding: clamp(60px,8vw,118px) 0 clamp(64px,8vw,116px); background: var(--grad-ink); }
.hero-glow-a { background: radial-gradient(circle, rgba(249,115,22,.5), transparent 70%); }
.hero-glow-b { background: radial-gradient(circle, rgba(245,158,11,.42), transparent 70%); }
.hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
.eyebrow { background: rgba(253,186,116,.07); border-color: rgba(253,186,116,.22); font-size: .76rem; letter-spacing: .09em; padding: 7px 14px; backdrop-filter: blur(6px); }
.hero-copy h1 { font-size: clamp(2.5rem,5.2vw,4.1rem); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { color: var(--on-ink-2); font-size: clamp(1.1rem,1.5vw,1.26rem); max-width: 580px; }
.hero-trust { gap: 12px 26px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--ink-line); }
.hero-trust li { color: var(--on-ink-2); font-size: .92rem; font-weight: 500; }
.hero-trust .ic { color: var(--glow); }
.hero-float { background: rgba(26,22,20,.82); border-color: var(--ink-line-2); border-radius: var(--r-md); }

/* ============ PAGE HERO ============ */
.page-hero { background: var(--grad-ink); padding: clamp(44px,5.5vw,76px) 0 clamp(44px,5vw,70px); }
.page-hero::after { background: radial-gradient(circle, rgba(249,115,22,.3), transparent 70%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 18% 0%, #000 10%, transparent 68%); -webkit-mask-image: radial-gradient(ellipse at 18% 0%, #000 10%, transparent 68%); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.1rem,3.8vw,3.1rem); }
.page-hero .lead { color: var(--on-ink-2); font-size: clamp(1.05rem,1.4vw,1.2rem); }
.gs-crumbs { color: var(--on-ink-3); font-size: .82rem; }
.gs-crumbs a { color: var(--on-ink-2); text-decoration: none; } .gs-crumbs a:hover { color: var(--glow); }
.page-meta { margin-top: 18px; gap: 10px; flex-wrap: wrap; }
.page-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--on-ink-2); background: rgba(255,255,255,.05); border: 1px solid var(--ink-line); padding: 6px 13px; border-radius: 999px; }
.page-meta .ic { width: 15px; height: 15px; color: var(--glow); }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); background: rgba(253,186,116,.08); border: 1px solid rgba(253,186,116,.2); padding: 6px 13px; border-radius: 999px; margin-bottom: 16px; }
.page-hero .hero-art { width: 330px; }
.page-hero .hero-art .illu { border-radius: var(--r-xl); box-shadow: var(--sh-lg); }

/* ============ CONTENT SECTIONS ============ */
.cs { margin: 0 0 clamp(44px,5.5vw,82px); position: relative; --ac: var(--a1); --ac-soft: var(--a1-soft); }
.cs:nth-of-type(6n+2) { --ac: var(--a2); --ac-soft: var(--a2-soft); }
.cs:nth-of-type(6n+3) { --ac: var(--a3); --ac-soft: var(--a3-soft); }
.cs:nth-of-type(6n+4) { --ac: var(--a4); --ac-soft: var(--a4-soft); }
.cs:nth-of-type(6n+5) { --ac: var(--a5); --ac-soft: var(--a5-soft); }
.cs:nth-of-type(6n+6) { --ac: var(--a6); --ac-soft: var(--a6-soft); }
.cs-inner { display: grid; gap: 20px 48px; grid-template-columns: minmax(0,1fr); }
.cs-head { display: grid; gap: 12px; margin-bottom: 4px; }
.cs-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .71rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--ac); }
.cs-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.cs-head h2 { margin: 0; max-width: 20ch; }
.cs-full .cs-head h2, .cs-faq .cs-head h2 { max-width: 24ch; }
.cs-body { min-width: 0; }
.cs-body > p { color: var(--text-2); }
.sec-lead { font-size: 1.16rem; line-height: 1.62; color: var(--text-2); font-weight: 400; }
.cs-body > .sec-lead:first-child { font-size: 1.2rem; color: #292524; }
.cs-body h3 { margin-top: 2em; padding-top: 2px; display: flex; align-items: baseline; gap: 11px; }
.cs-body h3::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ac); flex: none; transform: translateY(-2px); }
.cs-body h4 { margin-top: 1.6em; color: var(--text); }

/* split with illustration */
.cs-split .cs-inner, .cs-split-left .cs-inner { grid-template-columns: minmax(0,1fr) 380px; grid-template-areas: "head art" "body art"; }
.cs-split-left .cs-inner { grid-template-columns: 380px minmax(0,1fr); grid-template-areas: "art head" "art body"; }
.cs-split .cs-head, .cs-split-left .cs-head { grid-area: head; }
.cs-split .cs-body, .cs-split-left .cs-body { grid-area: body; }
.cs-art { grid-area: art; align-self: start; position: sticky; top: calc(var(--header-h) + 26px); }
.illu { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--sh-md); display: block; }

/* bands */
.cs-band { padding: clamp(36px,4.5vw,62px) 0; }
.cs-band::before { content: ""; position: absolute; inset: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cs-tint::before { background: linear-gradient(180deg, var(--ac-soft) 0%, transparent 100%), var(--bg); }
.cs-ink { padding: clamp(40px,5vw,72px) 0; color: var(--on-ink); }
.cs-ink::before { content: ""; position: absolute; inset: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; background: var(--grad-ink); }
.cs-ink h2, .cs-ink h3, .cs-ink h4 { color: #fff; }
.cs-ink .cs-body, .cs-ink .cs-body > p, .cs-ink .sec-lead { color: var(--on-ink-2); }
.cs-ink .cs-eyebrow { color: var(--glow); }
.cs-ink code { background: rgba(255,255,255,.07); border-color: var(--ink-line-2); color: var(--glow); }
.cs-ink a { color: var(--glow); }
.cs-ink .card-item { background: rgba(255,255,255,.04); border-color: var(--ink-line-2); box-shadow: none; }
.cs-ink .card-item h4 { color: #fff; } .cs-ink .card-item p { color: var(--on-ink-2); }
.cs-ink .step-list li { background: rgba(255,255,255,.04); border-color: var(--ink-line-2); box-shadow: none; }
.cs-ink .step-body { color: var(--on-ink-2); }
.cs-ink .gs-table { background: rgba(255,255,255,.03); border-color: var(--ink-line-2); color: var(--on-ink-2); }
.cs-ink .gs-table th { background: rgba(255,255,255,.05); color: var(--on-ink-3); }
.cs-ink .gs-table td { border-color: var(--ink-line); }

@media (max-width: 1080px) {
  .layout-article .cs-split .cs-inner, .layout-article .cs-split-left .cs-inner { grid-template-columns: 1fr; grid-template-areas: "head" "art" "body"; }
  .layout-article .cs-art { position: static; max-width: 440px; margin-bottom: 8px; }
}
@media (max-width: 880px) {
  .cs-split .cs-inner, .cs-split-left .cs-inner { grid-template-columns: 1fr; grid-template-areas: "head" "art" "body"; }
  .cs-art { position: static; max-width: 440px; margin-bottom: 8px; }
}

/* ============ CARD GRID ============ */
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 1.5em 0 1.8em; }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card-item { background: var(--grad-surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 22px 18px; position: relative; overflow: hidden; box-shadow: var(--sh-xs); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card-item::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ac); opacity: 0; transition: opacity var(--t); }
.card-item:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--border-2); }
.card-item:hover::before { opacity: 1; }
.card-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; font-family: var(--mono); font-size: .7rem; font-weight: 700; color: var(--ac); background: var(--ac-soft); letter-spacing: .04em; margin-bottom: 12px; }
.card-item h4 { margin: 0 0 7px; font-size: 1.02rem; }
.card-item p { margin: 0; font-size: .95rem; color: var(--text-2); line-height: 1.6; }
.card-item p code, .card-item h4 code { font-size: .82em; }

/* ============ STEP LIST ============ */
.step-list { list-style: none; padding: 0; margin: 1.5em 0 1.8em; display: grid; gap: 14px; position: relative; }
.step-list li { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--sh-xs); position: relative; transition: border-color var(--t), box-shadow var(--t); }
.step-list li:hover { border-color: var(--border-2); box-shadow: var(--sh-sm); }
.step-n { width: 42px; height: 42px; border-radius: 13px; background: var(--ac); color: #fff; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 6px 16px -8px var(--ac); }
.step-list h4 { margin: 7px 0 6px; font-size: 1.04rem; }
.step-body { font-size: .97rem; color: var(--text-2); line-height: 1.62; }
.step-body > p:first-child { margin-top: 0; } .step-body > p:last-child { margin-bottom: 0; }
.step-body pre { margin: .9em 0; font-size: .82rem; }
.step-body code { font-size: .84em; }

/* ============ PULL QUOTE / KEY POINT ============ */
.pullquote { margin: 2em 0; padding: 26px 30px 26px 76px; position: relative; background: linear-gradient(135deg, var(--ac-soft), transparent 70%); border-left: 3px solid var(--ac); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.5; color: var(--text); letter-spacing: -.01em; }
.pullquote .ic { position: absolute; left: 28px; top: 26px; width: 30px; height: 30px; color: var(--ac); opacity: .45; }
.key-point { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: start; margin: 1.8em 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--ac); border-radius: var(--r-md); box-shadow: var(--sh-xs); }
.key-point h4 { margin: 2px 0 6px; font-size: 1rem; color: var(--text); }
.key-point p { margin: 0; font-size: .96rem; color: var(--text-2); }
.key-point p + p { margin-top: .5em; }

@media (max-width: 720px) { .stat-strip { grid-auto-flow: row; grid-auto-columns: auto; } .stat-strip > div { border-right: 0; border-bottom: 1px solid var(--border); } }

@media (max-width: 720px) { .vs-grid { grid-template-columns: 1fr; } }

/* ============ PROSE REFINEMENTS ============ */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.4em; } .prose h3 { margin-top: 1.9em; }
.prose p { line-height: 1.68; }
.prose > p { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.35em; } .prose li { margin: .45em 0; line-height: 1.62; color: var(--text-2); }
.prose li::marker { color: var(--ac, var(--primary)); font-weight: 700; }
.prose pre { background: var(--ink-1); border: 1px solid var(--ink-3); border-radius: var(--r-md); font-size: .84rem; padding: 18px 20px; box-shadow: var(--sh-sm); }
.prose pre code { color: #EADFD4; }
.prose blockquote { border-left: 3px solid var(--ac, var(--primary)); background: var(--ac-soft, var(--primary-soft)); padding: 16px 22px; border-radius: 0 var(--r) var(--r) 0; color: var(--text-2); font-size: 1.04em; }
.prose table, .gs-table { border-radius: var(--r-md); font-size: .92rem; box-shadow: var(--sh-xs); }
.prose th, .gs-table th { background: var(--surface-3); color: var(--text-2); font-size: .74rem; letter-spacing: .07em; font-weight: 700; }
.prose tbody tr:nth-child(even), .gs-table tbody tr:nth-child(even) { background: var(--surface-2); }
.prose td code, .gs-table td code { font-size: .82em; }
.prose hr { border-top: 1px solid var(--border); margin: 3em 0; }

/* callouts */
.callout { border-radius: var(--r-md); padding: 18px 22px 8px 56px; position: relative; box-shadow: var(--sh-xs); font-size: .97rem; }
.callout::after { content: ""; position: absolute; left: 20px; top: 20px; width: 22px; height: 22px; background: currentColor; mask-size: contain; -webkit-mask-size: contain; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat; }
.callout-title { font-family: var(--font-display); font-size: 1rem; letter-spacing: -.01em; }
.callout-tip { background: linear-gradient(135deg, var(--teal-50), #fff); border-color: var(--teal-200); color: var(--teal-800); }
.callout-tip .callout-title { color: var(--teal-800); }
.callout-info { background: linear-gradient(135deg, #EFF6FF, #fff); border-color: var(--blue-100); color: var(--blue-700); }
.callout-warning { background: linear-gradient(135deg, #FFFBEB, #fff); border-color: var(--amber-100); color: var(--amber-700); }
.callout-safety { background: linear-gradient(135deg, #FFF1F2, #fff); border-color: var(--rose-100); color: var(--red-700); }
.callout-safety::before { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; }
.callout p, .callout li { color: var(--text-2); }
.callout-tip::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 13.8 9l5.7 1.8-5.7 1.8L12 18.5l-1.8-5.9L4.5 10.8 10.2 9Z'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 13.8 9l5.7 1.8-5.7 1.8L12 18.5l-1.8-5.9L4.5 10.8 10.2 9Z'/%3E%3C/svg%3E"); }
.callout-info::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); }
.callout-warning::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.3 2.6 17.6A2 2 0 0 0 4.3 20.6h15.4a2 2 0 0 0 1.7-3L13.7 4.3a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9.5v4M12 17h.01'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.3 2.6 17.6A2 2 0 0 0 4.3 20.6h15.4a2 2 0 0 0 1.7-3L13.7 4.3a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9.5v4M12 17h.01'/%3E%3C/svg%3E"); }
.callout-safety::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.9 8 10 4.6-1.1 8-5 8-10V6l-8-3Z'/%3E%3Cpath d='M12 8.5v4M12 16h.01'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.9 8 10 4.6-1.1 8-5 8-10V6l-8-3Z'/%3E%3Cpath d='M12 8.5v4M12 16h.01'/%3E%3C/svg%3E"); }

/* FAQ */
.gs-faq { gap: 12px; }
.gs-faq-item { border-radius: var(--r-md); border-color: var(--border); box-shadow: var(--sh-xs); transition: border-color var(--t), box-shadow var(--t); }
.gs-faq-item:hover { border-color: var(--border-2); }
.gs-faq-item[open] { border-color: var(--ac, var(--primary)); box-shadow: var(--sh-sm); }
.gs-faq-item summary { font-family: var(--font-display); font-size: 1.04rem; letter-spacing: -.012em; padding: 18px 34px 18px 0; }
.gs-faq-item summary::after { width: 26px; height: 26px; border-radius: 8px; background: var(--ac-soft, var(--primary-soft)); color: var(--ac, var(--primary)); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; top: 16px; transition: background var(--t); }
.gs-faq-item[open] summary::after { background: var(--ac, var(--primary)); color: #fff; }
.gs-faq-body { color: var(--text-2); padding-bottom: 14px; font-size: .97rem; }

/* ============ STATS ============ */
.gs-stats { gap: 14px; margin: 2.2em 0 .8em; }
.gs-stat { background: var(--grad-surface); border-radius: var(--r-md); padding: 24px 16px; box-shadow: var(--sh-xs); border-color: var(--border); position: relative; overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.gs-stat::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t-slow); }
.gs-stat.is-visible::after { transform: scaleX(1); }
.gs-stat:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.gs-stat-n { font-family: var(--font-display); font-size: clamp(1.55rem,2.6vw,2.15rem); background: linear-gradient(135deg, var(--teal-600), var(--indigo-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gs-stat-l { font-size: .79rem; color: var(--muted); margin-top: 6px; }
.gs-stats-note { font-size: .82rem; margin-bottom: 3em; }

/* ============ FEATURE GRID ============ */
.gs-feature-grid { gap: 20px; margin: 2.2em 0 2.8em; }
.gs-feature { border-radius: var(--r-lg); padding: 28px 26px 24px; gap: 14px; border-color: var(--border); background: var(--grad-surface); box-shadow: var(--sh-xs); position: relative; overflow: hidden; }
.gs-feature::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: var(--primary-soft); opacity: 0; transition: opacity var(--t); }
.gs-feature:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--border-2); }
.gs-feature:hover::after { opacity: 1; }
.gs-feature > * { position: relative; }
.gs-feature h3 { font-size: 1.14rem; margin: 2px 0 0; }
.gs-feature p { font-size: .95rem; line-height: 1.6; color: var(--text-2); }
.gs-more { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--primary-deep); }
.gs-feature:hover .gs-more .ic { transform: translateX(4px); }
.gs-more .ic { transition: transform var(--t); }

/* ============ CTA ============ */
.gs-cta { margin: 3.4em 0; border-radius: var(--r-2xl); background: var(--grad-ink); border: 1px solid var(--ink-line-2); box-shadow: var(--sh-lg); }
.gs-cta::before { background: radial-gradient(circle, rgba(249,115,22,.45), transparent 70%); }
.gs-cta::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(ellipse at 80% 100%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 100%, #000, transparent 70%); pointer-events: none; }
.gs-cta-inner { padding: clamp(32px,4.5vw,56px); }
.gs-cta h2 { font-size: clamp(1.6rem,2.6vw,2.3rem); }
.gs-cta p { color: var(--on-ink-2); font-size: 1.05rem; }

/* ============ WIDGETS / COMMUNITY / THREATS ============ */
.gs-widget { border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-sm); border-color: var(--border); }
.gs-widget-head h3 { font-size: 1.12rem; }
.gs-recent-list li { border-radius: var(--r); background: var(--surface-2); border: 1px solid transparent; transition: border-color var(--t), background var(--t); }
.gs-recent-list li:hover { background: var(--surface); border-color: var(--border); }
.gs-popular-list li { padding: 7px 0; border-bottom: 1px dashed var(--border); } .gs-popular-list li:last-child { border-bottom: 0; }
.gs-card { border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.gs-threat-search { border-radius: var(--r-md); box-shadow: var(--sh-xs); padding: 15px 20px 15px 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16.2 16.2 4.3 4.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 17px center; background-size: 20px; }
.gs-facts { border-radius: var(--r-xl); box-shadow: var(--sh-sm); }
.gs-facts-head { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.side-card { border-radius: var(--r-lg); box-shadow: var(--sh-sm); background: var(--grad-surface); }
.side-card h4 { font-size: 1rem; }
.gs-toc { border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.gs-toc-title { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--primary-deep); }
.gs-toc a { border-left-width: 2px; padding: 5px 0 5px 12px; font-size: .88rem; }
.gs-toc a.is-active { font-weight: 600; }
.verdict-pill { font-family: var(--font); letter-spacing: .01em; }
.v-known { box-shadow: 0 4px 12px -5px rgba(220,38,38,.7); }

/* ============ FOOTER ============ */
.site-footer { background: var(--grad-ink); border-top: 1px solid var(--ink-line); padding: 64px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -160px; width: 700px; height: 320px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(249,115,22,.18), transparent 70%); filter: blur(50px); pointer-events: none; }
.footer-grid { position: relative; gap: 40px; }
.site-footer h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--glow); }
.footer-links a { font-size: .92rem; transition: color var(--t), padding var(--t-fast); display: inline-block; }
.footer-links a:hover { color: #fff; padding-left: 4px; text-decoration: none; }
.footer-brand p { color: var(--on-ink-3); line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--ink-line); }

/* ============ UTIL ============ */
.will-reveal { transform: translateY(18px); }
.layout-article { padding-top: clamp(40px,4.5vw,64px); }
.layout-article:has(.article-side) { grid-template-columns: minmax(0,1fr) 300px; gap: clamp(32px,4.5vw,72px); }
.article-side { top: calc(var(--header-h) + 22px); gap: 20px; }
@media (max-width: 960px) { .layout-article:has(.article-side) { grid-template-columns: 1fr; } }
@media print { .cs-ink::before, .cs-band::before { display: none !important; } .cs-ink, .cs-ink h2, .cs-ink h3, .cs-ink .cs-body { color: #000 !important; } }

/* ---- article pages (with sidebar): illustration floats, text wraps around it ---- */
.layout-article .cs-split .cs-inner, .layout-article .cs-split-left .cs-inner { grid-template-columns: minmax(0,1fr); grid-template-areas: none; display: block; }
.layout-article .cs-split .cs-head, .layout-article .cs-split-left .cs-head { display: grid; }
.layout-article .cs-art { position: static; float: right; width: 290px; margin: 4px 0 22px 30px; shape-margin: 20px; }
.layout-article .cs-split-left .cs-art { float: left; margin: 4px 30px 22px 0; }
.layout-article .cs-art .illu { border-radius: var(--r-lg); }
.layout-article .cs-body::after { content: ""; display: block; clear: both; }
.layout-article .cs-head h2, .cs-head h2 { max-width: 26ch; }
@media (max-width: 760px) { .layout-article .cs-art, .layout-article .cs-split-left .cs-art { float: none; width: auto; max-width: 420px; margin: 0 0 20px; } }

/* ---- restore full-bleed width for landing pages (must follow .prose rule) ---- */
.prose-landing, .prose-wide { max-width: none; }
.prose-landing .cs-inner { max-width: 1180px; margin-left: auto; margin-right: auto; }
.prose-landing .cs-full .cs-body > *:not(.card-grid):not(.step-list):not(.gs-mockup):not(.gs-feature-grid):not(.gs-stats):not(.gs-widget):not(.gs-cta):not(figure):not(.gs-tablewrap):not(table):not(.gs-faq):not(.gs-legend),
.prose-landing .cs-full .cs-head, .prose-landing .cs-faq .cs-head, .prose-landing .cs-intro .cs-body { max-width: 840px; }
.prose-landing .cs-faq { --ac: var(--primary); }
.prose-landing .cs-faq .gs-faq { max-width: 900px; }

/* ---- pull quote must beat the generic .prose blockquote rule ---- */
.prose blockquote.pullquote, blockquote.pullquote { margin: 2.2em 0; padding: 28px 32px 28px 78px; background: linear-gradient(135deg, var(--ac-soft), transparent 72%); border-left: 3px solid var(--ac); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-display); font-size: 1.24rem; line-height: 1.52; color: var(--text); letter-spacing: -.012em; font-weight: 500; }
.prose blockquote.pullquote .ic { position: absolute; }
blockquote.pullquote { position: relative; }
blockquote.pullquote .ic { left: 30px; top: 30px; width: 30px; height: 30px; color: var(--ac); opacity: .4; }
.cs-ink blockquote.pullquote { color: #fff; background: linear-gradient(135deg, rgba(253,186,116,.12), transparent 72%); border-left-color: var(--glow); }
.cs-ink blockquote.pullquote .ic { color: var(--glow); }

/* ==================================================================
   HEADER v2 — desktop bar, dropdowns, mobile panel
   ================================================================== */
.site-header { background: #0C0A09; border-bottom: 1px solid var(--ink-line); backdrop-filter: none; -webkit-backdrop-filter: none; transition: box-shadow var(--t), background var(--t); }
.site-header.is-scrolled { background: rgba(12,10,9,.94); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 16px 40px -28px #000; }
.header-inner { height: 72px; gap: 20px; display: flex; align-items: center; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 500; color: rgba(250,247,244,.76); padding: 10px 14px; border-radius: 10px; text-decoration: none; transition: color var(--t-fast), background var(--t-fast); white-space: nowrap; }
.nav-list > li > a::after { display: none; }
.nav-list > li > a:hover, .nav-list > li:focus-within > a { color: #fff; background: rgba(255,255,255,.07); }
.nav-list > li.current-menu-item > a, .nav-list > li.current_page_item > a, .nav-list > li.current-page-ancestor > a { color: #fff; }
.nav-list > li.current-menu-item > a::before, .nav-list > li.current_page_item > a::before, .nav-list > li.current-page-ancestor > a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--glow); }
.nav-caret { opacity: .5; transition: transform var(--t); }
.nav-list > li.has-sub:hover .nav-caret, .nav-list > li.has-sub:focus-within .nav-caret { transform: rotate(45deg); opacity: .9; }

/* dropdown */
.nav-list .sub-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 310px; background: #0E1626; border: 1px solid var(--ink-line-2); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t); z-index: 60; display: block; }
.nav-list .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-list > li:hover > .sub-menu, .nav-list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-list .sub-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-list .sub-menu a { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 12px; color: rgba(250,247,244,.82); font-size: .93rem; font-weight: 500; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.nav-list .sub-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-list .sub-menu .ic-tile { background: rgba(253,186,116,.1); color: var(--glow); }
.nav-list .sub-menu .ic-tile::after { opacity: .2; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 6px; }
.header-cta { padding: 10px 18px; font-size: .92rem; }

/* hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ink-line-2); background: rgba(255,255,255,.05); cursor: pointer; align-items: center; justify-content: center; padding: 0; transition: background var(--t-fast); }
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars i { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--t), opacity var(--t-fast); transform-origin: center; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile panel */
.mobile-nav { background: #0C0A09; border-top: 1px solid var(--ink-line); max-height: calc(100vh - 72px); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: mnavIn .26s var(--ease-out); }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mobile-nav-inner { padding: 20px var(--gutter) 30px; display: grid; gap: 22px; }
.mnav-group { display: grid; gap: 8px; }
.mnav-label { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--glow); padding-left: 2px; }
.mnav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mnav-list a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 13px; padding: 12px 12px; border-radius: 14px; color: rgba(250,247,244,.88); font-size: 1rem; font-weight: 500; text-decoration: none; background: rgba(255,255,255,.03); border: 1px solid transparent; transition: background var(--t-fast), border-color var(--t-fast); }
.mnav-list a:hover, .mnav-list a:active { background: rgba(255,255,255,.08); border-color: var(--ink-line-2); }
.mnav-list .ic-tile { background: rgba(253,186,116,.1); color: var(--glow); }
.mnav-list .ic-tile::after { opacity: .2; }
.mnav-go { color: var(--on-ink-3); }
.mnav-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--on-ink-3); }
.mnav-note .ic { color: var(--glow); }
.btn-block { width: 100%; }
body.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta span { display: none; }
  .header-cta { padding: 11px; border-radius: 12px; }
  .header-cta .ic { width: 20px; height: 20px; }
}
@media (min-width: 1081px) { .mobile-nav { display: none !important; } }
@media (max-width: 420px) { .header-inner { height: 64px; gap: 12px; } .gs-logo { font-size: 1.15rem; } .gs-logo-mark { width: 28px; height: 28px; } }

/* ==================================================================
   HERO ART (restored + responsive) · TYPE SCALE UP · SPACING
   ================================================================== */
.page-hero { position: relative; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero.has-art h1, .page-hero.has-art .lead, .page-hero.has-art .gs-crumbs, .page-hero.has-art .page-meta { max-width: min(660px, 100%); }
.page-hero .hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 320px; z-index: 1; pointer-events: none; }
.page-hero .hero-art .illu { box-shadow: var(--sh-lg); border-radius: var(--r-xl); }
@media (max-width: 1180px) { .page-hero .hero-art { width: 260px; opacity: .75; } .page-hero.has-art h1, .page-hero.has-art .lead { max-width: min(560px, 100%); } }
@media (max-width: 900px) { .page-hero .hero-art { display: none; } .page-hero.has-art h1, .page-hero.has-art .lead, .page-hero.has-art .page-meta { max-width: 100%; } }

/* ---- type scale: larger, more readable ---- */
:root { --fs-base: 1.125rem; }
body { font-size: var(--fs-base); line-height: 1.68; }
.lead { font-size: clamp(1.18rem, 1.5vw, 1.32rem); line-height: 1.55; }
.sec-lead { font-size: 1.22rem; line-height: 1.6; }
.cs-body > .sec-lead:first-child { font-size: 1.28rem; line-height: 1.58; }
.cs-body > p, .prose > p, .prose li { font-size: 1.075rem; }
.cs-body h3 { font-size: clamp(1.3rem, 1.7vw, 1.5rem); }
.cs-body h4 { font-size: 1.12rem; }
.card-item p { font-size: 1rem; line-height: 1.6; }
.card-item h4 { font-size: 1.08rem; }
.step-body { font-size: 1.04rem; line-height: 1.65; }
.step-list h4 { font-size: 1.1rem; }
.gs-feature p { font-size: 1rem; }
.gs-feature h3 { font-size: 1.2rem; }
.gs-faq-item summary { font-size: 1.1rem; }
.gs-faq-body { font-size: 1.04rem; }
.key-point p { font-size: 1.03rem; }
.callout { font-size: 1.03rem; }
.prose table, .gs-table { font-size: .98rem; }
.small { font-size: .92rem; }
.gs-stat-l { font-size: .86rem; }
.footer-links a, .site-footer { font-size: .98rem; }
.gs-toc a { font-size: .93rem; }
.side-card p { font-size: .98rem; }
.gs-cta p { font-size: 1.12rem; }
.hero-trust li { font-size: 1rem; }
.gs-crumbs { font-size: .88rem; }
.page-meta span { font-size: .86rem; }

/* ---- spacing rhythm ---- */
.cs { margin-bottom: clamp(52px, 6vw, 92px); }
.cs-band, .cs-tint { padding: clamp(44px, 5.5vw, 76px) 0; }
.cs-ink { padding: clamp(48px, 6vw, 84px) 0; }
.cs-head { margin-bottom: 10px; gap: 14px; }
.cs-body > p { margin-bottom: 1.25em; }
.card-grid { margin: 1.7em 0 2em; gap: 18px; }
.step-list { margin: 1.7em 0 2em; }
.prose h2 { margin-top: 2.6em; } .prose h3 { margin-top: 2em; }
.cs-body h3 { margin-top: 2.2em; }
.cs-body h3 + p, .cs-body h4 + p { margin-top: .6em; }
.callout { margin: 1.9em 0; }
.gs-mockup { margin: 2.6em auto; }
.gs-mockup figcaption { font-size: .95rem; max-width: 620px; }
.layout-article { padding-bottom: clamp(56px, 7vw, 104px); }
.prose-landing { padding-top: clamp(48px, 5.5vw, 80px); padding-bottom: clamp(56px, 7vw, 104px); }
.site-footer { margin-top: 0; }

/* anchor offset under the sticky header */
:target, h2[id], h3[id], section[id] { scroll-margin-top: calc(72px + 20px); }

/* ---- header v2 overrides for legacy main.css rules ---- */
.site-header .nav-toggle-bars { width: 20px; height: auto; background: none; border-radius: 0; display: grid; gap: 5px; }
.site-header .nav-toggle-bars i { width: 100%; height: 2px; background: #fff; border-radius: 2px; display: block; }
.header-actions { margin-left: auto; }
@media (max-width: 1080px) { .header-actions .btn-primary.header-cta { display: inline-flex; } }
@media (max-width: 960px) { .header-actions .btn-primary { display: inline-flex; } }

/* ---- small-screen overflow fixes ---- */
@media (max-width: 760px) {
  .gs-mockup { max-width: 100%; overflow: hidden; }
  .mk-desktop { max-width: 100%; padding: 8px; font-size: 11px; }
  .mk-dscreen { padding: 10px; min-height: 0; }
  .mk-desktop .gs-kv > div { grid-template-columns: 1fr; }
  .mk-phone { width: min(300px, 86vw); }
  .gs-mockup figcaption { max-width: 100%; padding: 0 4px; }
  .gs-lookup-row { flex-direction: column; align-items: stretch; }
  .gs-lookup-row .btn { width: 100%; justify-content: center; }
  .gs-community-lookup, .gs-widget, .gs-card { padding: 18px; }
  .gs-cta-inner { flex-direction: column; align-items: flex-start; }
  .gs-cta-actions { width: 100%; } .gs-cta-actions .btn { flex: 1; justify-content: center; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .cs-art { max-width: 100%; }
  .gs-table, .prose table { font-size: .9rem; }
  .step-list li { grid-template-columns: 38px minmax(0,1fr); gap: 13px; padding: 16px 16px; }
  .step-n { width: 36px; height: 36px; border-radius: 11px; font-size: .95rem; }
  .pullquote, .prose blockquote.pullquote { padding: 22px 20px 22px 20px; font-size: 1.1rem; }
  .prose blockquote.pullquote .ic, blockquote.pullquote .ic { position: static; margin-bottom: 8px; }
  .callout { padding: 16px 18px 6px 50px; }
  .callout::after { left: 17px; top: 18px; width: 20px; height: 20px; }
}
@media (max-width: 480px) {
  .gs-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gs-stat { padding: 18px 12px; }
  .card-grid, .card-grid.cols-3 { grid-template-columns: 1fr; }
  .gs-facts-head { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mk-desktop { font-size: 10px; }
}

/* ---- article layout: single centred column when there is no sidebar ---- */
.layout-article { grid-template-columns: minmax(0, 1fr); }
.layout-article > .prose { max-width: 820px; margin-left: auto; margin-right: auto; width: 100%; }
.layout-article:has(.article-side) { grid-template-columns: minmax(0, 1fr) 300px; }
.layout-article:has(.article-side) > .prose { margin-left: 0; margin-right: 0; max-width: 860px; }
@media (max-width: 960px) { .layout-article:has(.article-side) { grid-template-columns: 1fr; } .layout-article:has(.article-side) > .prose { margin-left: auto; margin-right: auto; } }
/* full-bleed bands inside a centred column */
.cs-band::before, .cs-tint::before, .cs-ink::before { left: 50%; width: 100vw; max-width: 100vw; transform: translateX(-50%); }

/* ---- section headers: kill inherited prose margins ---- */
.cs-head h2, .prose .cs-head h2 { margin: 0; }
.cs-head { margin-bottom: 14px; }
.cs-body > *:first-child { margin-top: 0; }
.cs-body > h3:first-child, .cs-body > h4:first-child { margin-top: 0; }
.cs-intro .cs-body > p:first-child { margin-top: 0; }

/* ==================================================================
   HAMBURGER / CLOSE — fixed geometry, bars centred in the box
   ================================================================== */
.site-header .header-actions { margin-left: auto !important; order: 99; }
.site-header .nav-toggle { position: relative; width: 46px; height: 46px; flex: none; padding: 0; border-radius: 13px; border: 1px solid var(--ink-line-2); background: rgba(255,255,255,.06); display: none; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.site-header .nav-toggle:hover { background: rgba(255,255,255,.12); }
.site-header .nav-toggle:active { transform: scale(.95); }
.site-header .nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; background: none; border-radius: 0; }
.site-header .nav-toggle-bars i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: #fff; display: block; transition: top .22s var(--ease), opacity .12s linear, transform .22s var(--ease); }
.site-header .nav-toggle-bars i:nth-child(1) { top: 0; }
.site-header .nav-toggle-bars i:nth-child(2) { top: 6px; }
.site-header .nav-toggle-bars i:nth-child(3) { top: 12px; }
.site-header .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.site-header .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.site-header .nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (max-width: 1080px) { .site-header .nav-toggle { display: inline-flex; } }

/* ==================================================================
   THREAT ENCYCLOPEDIA INDEX
   ================================================================== */
.gs-threat-index { margin: 1.6em 0 0; }
.th-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.th-searchwrap { position: relative; }
.th-searchic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.gs-threat-index .gs-threat-search { width: 100%; margin: 0; padding: 15px 18px 15px 50px; background-image: none; border-radius: var(--r-md); border: 1px solid var(--border-2); font-size: 1rem; box-shadow: var(--sh-xs); transition: border-color var(--t), box-shadow var(--t); }
.gs-threat-index .gs-threat-search:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.th-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.th-chip { font: inherit; font-size: .92rem; font-weight: 600; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all var(--t-fast); white-space: nowrap; }
.th-chip b { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--muted); }
.th-chip:hover { border-color: var(--border-3); }
.th-chip.is-on { background: var(--ink-1); border-color: var(--ink-1); color: #fff; }
.th-chip.is-on b { color: var(--glow); }
.th-count { font-size: .92rem; color: var(--muted); margin: 0 0 16px; font-family: var(--mono); }
.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.th-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--grad-surface); box-shadow: var(--sh-xs); text-decoration: none !important; color: inherit; position: relative; overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.th-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--critical); opacity: .9; }
.th-card.th-wch::before { background: var(--wch); }
.th-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--border-2); }
.th-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.th-top .verdict-pill { font-size: .7rem; padding: 3px 9px; }
.th-top .dc { font-size: .68rem; padding: 3px 7px; }
.th-card h3 { font-size: 1.12rem; margin: 2px 0 0; letter-spacing: -.02em; }
.th-aka { margin: 0; font-size: .86rem; color: var(--muted); min-height: 1.2em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; }
.th-meta li { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: .72rem; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 3px 8px; border-radius: 7px; }
.th-meta .ic { color: var(--muted-2); }
.th-empty { background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--r-md); padding: 22px; color: var(--muted); font-size: 1rem; margin-top: 18px; }
@media (max-width: 720px) { .th-toolbar { grid-template-columns: 1fr; } .th-filters { overflow-x: auto; padding-bottom: 2px; } .th-grid { grid-template-columns: 1fr; } }

/* ---- logo ---- */
.gs-logo-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(249,115,22,.5)); }
.gs-logo-img { max-height: 38px; width: auto; }
.gs-logo-text span { color: var(--ember-500); }
.site-footer .gs-logo-text span { color: var(--ember-400); }

/* ---- micro-labels: never below 12px ---- */
.cs-eyebrow { font-size: .76rem; letter-spacing: .14em; }
.gs-toc-title { font-size: .74rem; }
.verdict-pill { font-size: .8rem; } .verdict-pill.big { font-size: 1rem; }
.th-top .verdict-pill { font-size: .75rem; } .th-top .dc { font-size: .74rem; }
code.dc, .gs-recent-meta code.dc { font-size: .76rem; }
.th-meta li { font-size: .76rem; }
.mnav-label { font-size: .74rem; }
.site-footer h4 { font-size: .76rem; }
.hero-kicker { font-size: .76rem; }
.rule-badge { font-size: .76rem; }
.cat-chip { font-size: .76rem; }
.attack-chip { font-size: .78rem; } .attack-chip span { font-size: .72rem; }
.tag { font-size: .74rem; }
.gs-stage, .gs-step-label { font-size: .75rem; }
.tier { font-size: .78rem; }
.th-card .th-aka:empty { display: none; }
.th-card h3 { margin-top: 0; }
.gs-term-head { font-size: .76rem; }
.gs-privacy { font-size: .84rem; } .gs-db-status { font-size: .8rem; }
.gs-tab small { font-size: .76rem; }
.gs-checks { font-size: .84rem; } .gs-checks code { font-size: .76rem; }
.ev-sev, .ev-conf { font-size: .82rem; }
.gs-kv { font-size: .95rem; }
.gs-list { font-size: .88rem; }
.gs-dc .muted { font-size: .76rem; }

/* ==================================================================
   OVERFLOW HARDENING — grid tracks must be allowed to shrink
   ================================================================== */
.layout-article { grid-template-columns: minmax(0, 1fr); }
.layout-article > * { min-width: 0; }
.article-side, .article-side > * { min-width: 0; }
@media (max-width: 960px) {
  .layout-article, .layout-article:has(.article-side) { grid-template-columns: minmax(0, 1fr); }
}
.cs-inner > * { min-width: 0; }
.card-grid > *, .step-list > *, .gs-feature-grid > *, .th-grid > * { min-width: 0; }
.side-card, .gs-toc, .gs-card { overflow-wrap: anywhere; }
.gs-kv dd, .ev-items code, .th-card code { overflow-wrap: anywhere; }
/* long tables and code never push the page wide */
.prose table, .gs-table { display: block; max-width: 100%; overflow-x: auto; }
.prose pre, .step-body pre, .gs-code { max-width: 100%; overflow-x: auto; }
/* search form on the 404 / search pages */
.search-form { flex-wrap: wrap; }
.search-form .search-field { min-width: 0; flex: 1 1 200px; }
@media (max-width: 480px) { .search-form .btn { width: 100%; justify-content: center; } }

/* ---- threat facts: long identifiers must wrap, columns collapse on phones ---- */
.gs-facts-sec ul.mono { columns: 2; column-gap: 26px; }
.gs-facts-sec ul.mono li { break-inside: avoid; overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 860px) { .gs-facts-sec ul.mono { columns: 1; } }
.gs-facts-head { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.gs-facts code.big { overflow-wrap: anywhere; }

/* ---- wide blocks must not sit in the narrow strip beside a floated figure ---- */
.layout-article .cs-body .card-grid,
.layout-article .cs-body .step-list,
.layout-article .cs-body .gs-tablewrap,
.layout-article .cs-body table,
.layout-article .cs-body .gs-mockup,
.layout-article .cs-body .gs-faq,
.layout-article .cs-body pre,
.layout-article .cs-body blockquote.pullquote,
.layout-article .cs-body .key-point,
.layout-article .cs-body .callout { clear: both; }

/* ---- illustration as a banner when there is no prose to wrap it ---- */
.layout-article .cs-artbanner .cs-art { float: none !important; width: 100%; max-width: 430px; margin: 0 0 24px; }
.layout-article .cs-artbanner.cs-split-left .cs-art { margin: 0 0 26px; }
@media (min-width: 1100px) { .layout-article .cs-artbanner .cs-art { max-width: 460px; } }

/* ---- comfortable type on small screens ---- */
@media (max-width: 560px) {
  :root { --fs-base: 1.0625rem; }
  .cs-body > p, .prose > p, .prose li { font-size: 1.0rem; }
  .sec-lead, .cs-body > .sec-lead:first-child { font-size: 1.1rem; }
  .lead { font-size: 1.08rem; }
  .cs-body h3 { font-size: 1.22rem; }
  .cs-body h4, .card-item h4, .step-list h4 { font-size: 1.05rem; }
  .card-item p, .step-body { font-size: .99rem; }
  .gs-faq-item summary { font-size: 1.04rem; }
  .gs-faq-body, .callout, .key-point p { font-size: 1rem; }
  h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  h2, .cs-head h2 { font-size: clamp(1.55rem, 6.6vw, 2rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero-copy h1 { font-size: clamp(2.05rem, 9vw, 2.8rem); }
}

/* ---- home hero: collapse to one column on tablet/phone ---- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-visual { margin-top: 4px; justify-content: center; }
  .hero-visual .mk-phone { transform: none; animation: none; }
  .hero-float { display: none; }
  .hero-copy .lead { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero-home { padding: 44px 0 52px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 10px; }
  .eyebrow { font-size: .72rem; letter-spacing: .08em; }
}

/* ---- the section-heading bullet is for prose only, not tool UI ---- */
.cs-body .gs-scanner h3::before, .cs-body .gs-result h3::before, .cs-body [data-gs-result] h3::before,
.cs-body .gs-card h3::before, .cs-body .gs-widget h3::before, .cs-body .gs-community h3::before,
.cs-body .gs-details h3::before, .cs-body .th-card h3::before { content: none; }
.cs-body .gs-scanner h3, .cs-body [data-gs-result] h3, .cs-body .gs-card h3, .cs-body .gs-widget h3 { display: block; margin-top: 0; }
.cs-body .gs-evidence h3, .cs-body .gs-removal h3, .cs-body .gs-details h3 { margin-top: 0; }

/* ---- buttons and icon tiles on dark sections (restored) ---- */
.hero-home .btn-ghost, .gs-cta .btn-ghost, .page-hero .btn-ghost, .cs-ink .btn-ghost, .site-footer .btn-ghost {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: #fff; box-shadow: none; backdrop-filter: blur(6px);
}
.hero-home .btn-ghost:hover, .gs-cta .btn-ghost:hover, .page-hero .btn-ghost:hover, .cs-ink .btn-ghost:hover, .site-footer .btn-ghost:hover {
  background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); color: #fff;
}
.cs-ink .ic-tile { background: rgba(255,255,255,.07); color: var(--glow); }
.cs-ink .ic-tile::after { opacity: .22; }
.cs-ink .key-point { background: rgba(255,255,255,.04); border-color: var(--ink-line-2); border-left-color: var(--glow); }
.cs-ink .key-point h4 { color: #fff; } .cs-ink .key-point p { color: var(--on-ink-2); }

/* ---- prose text colours must not leak into mockups or tool UI ---- */
.prose .gs-mockup strong, .prose .gs-mockup b,
.prose .gs-scanner strong, .prose .gs-scanner b,
.prose [data-gs-result] strong, .prose [data-gs-result] b,
.prose .hero-float strong, .prose .gs-widget strong,
.cs-body .gs-mockup strong, .cs-body .gs-scanner strong, .cs-body [data-gs-result] strong { color: inherit; }
.mk-phone.dark .mk-apphead strong, .mk-phone.dark .mk-apphead b { color: #fff; }
.mk-phone.dark .mk-foot, .mk-phone.dark .mk-stagelist, .mk-phone.dark .mk-scanring-c span { color: rgba(255,255,255,.72); }
.gs-progress strong, .gs-progress b { color: #fff; }
.hero-float strong, .mk-evidence-mini strong { color: #fff; }
.gs-term-head, .gs-log { color: #E4DAD0; }

/* ---- mockup paper header: generic span rule must not restyle pills ---- */
.mk-paper-head .verdict-pill { color: #fff; font-size: 11px; }
.mk-paper-head .verdict-pill.v-clean { color: #166534; }
.mk-paper-head .verdict-pill.v-watchware { color: #5B21B6; }
.mk-paper-head > div > span { color: var(--muted); }
