/* =========================================================
   Defendric — main stylesheet
   Brand tokens live in :root. Dark theme only (security brand).
   ========================================================= */
:root {
  --bg: #03060c;
  --bg-2: #060b16;
  --panel: rgba(14, 22, 40, 0.55);
  --panel-solid: #0b1324;
  --line: rgba(120, 170, 255, 0.12);
  --line-2: rgba(120, 170, 255, 0.22);
  --text: #e8f0ff;
  --muted: #9aa8c4;
  --dim: #7c89a6;
  --cyan: #19e3ff;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --safe: #2bf5a6;
  --threat: #ff3b5c;
  --warn: #ffb547;
  --grad: linear-gradient(100deg, #19e3ff 0%, #3b82f6 50%, #8b5cf6 100%);
  --radius: 20px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(25, 227, 255, .3); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Background layers ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,170,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb { position: fixed; z-index: -2; border-radius: 50%; filter: blur(110px); opacity: .5; pointer-events: none; }
.bg-orb.o1 { width: 620px; height: 620px; background: #0b4f8a; top: -220px; right: -160px; }
.bg-orb.o2 { width: 520px; height: 520px; background: #3a1d7a; top: 50%; left: -260px; opacity: .35; }
.noise { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Demo banner ---------- */
.demo-bar {
  position: relative; z-index: 60; text-align: center; font: 500 12.5px/1.4 var(--font-mono);
  padding: 8px 16px; color: #ffe2a8; background: linear-gradient(90deg, #2a1a00, #3a2400, #2a1a00);
  border-bottom: 1px solid rgba(255,181,71,.25); letter-spacing: .02em;
}

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(3,6,12,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(25,227,255,.35)); }
.brand-word { height: 15px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }
.nav-mobile-only { display: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; transition: transform .3s, opacity .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #021018; box-shadow: 0 8px 30px -8px rgba(25,227,255,.55); }
.btn-primary:hover { box-shadow: 0 12px 40px -8px rgba(25,227,255,.75); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(25,227,255,.5); background: rgba(25,227,255,.06); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding: 64px 0 40px; min-height: calc(100vh - 110px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(25,227,255,.05); font: 500 12.5px var(--font-mono); color: var(--muted); letter-spacing: .03em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 4px rgba(43,245,166,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(43,245,166,0); } }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.025em; margin: 0; }
.hero h1 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; font-weight: 700; margin: 22px 0 22px; }
.hero h1 .line2 { display: block; }
.hero p.lead { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 13.5px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--safe); }

.globe-wrap { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; margin-left: auto; }
#globe { position: absolute; inset: -6%; width: 112%; height: 112%; cursor: grab; }
#globe:active { cursor: grabbing; }
.globe-fallback { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #0e2a52, #040a16 70%); box-shadow: 0 0 120px rgba(25,227,255,.25); }
.globe-ring { position: absolute; inset: 2%; border-radius: 50%; border: 1px dashed rgba(25,227,255,.18); animation: spin 60s linear infinite; pointer-events: none; }
.globe-ring.r2 { inset: -3%; border-style: solid; border-color: rgba(139,92,246,.12); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hud {
  position: absolute; z-index: 2; padding: 12px 14px; border-radius: 14px; min-width: 200px;
  background: rgba(6,12,24,.72); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: 12.5px; pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.hud .k { font: 500 10.5px var(--font-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.hud .v { font-weight: 600; margin-top: 3px; display: flex; align-items: center; gap: 8px; }
.tag { display: inline-block; font: 600 10.5px var(--font-mono); padding: 2px 7px; border-radius: 6px; letter-spacing: .04em; }
.tag.safe { color: var(--safe); background: rgba(43,245,166,.1); }
.tag.threat { color: var(--threat); background: rgba(255,59,92,.12); }
.tag.warn { color: var(--warn); background: rgba(255,181,71,.12); }
.hud.h1 { top: 8%; left: -4%; }
.hud.h2 { bottom: 16%; right: -2%; animation-delay: -3s; }
.hud.h3 { bottom: 2%; left: 6%; animation-delay: -1.5s; min-width: 0; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hud .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 8px; overflow: hidden; }
.hud .bar i { display: block; height: 100%; width: 92%; background: linear-gradient(90deg, var(--safe), var(--cyan)); }
.visual-note { position: absolute; right: 4%; top: 0; font: 500 10.5px var(--font-mono); color: var(--dim); letter-spacing: .06em; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: rgba(6,11,22,.6); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font: 500 14px var(--font-mono); color: var(--muted); white-space: nowrap; letter-spacing: .04em; }
.marquee span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 10px var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font: 600 12.5px var(--font-mono); color: var(--cyan); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; margin: 16px 0 18px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.card {
  position: relative; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; transition: border-color .3s, transform .3s;
}
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(25,227,255,.09), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-2); }

/* ---------- AI gap (problem) ---------- */
.gap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gap-card { padding: 30px; }
.gap-card .num { font: 600 13px var(--font-mono); color: var(--dim); }
.gap-card h3 { font-size: 21px; margin: 18px 0 10px; }
.gap-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.gap-card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,59,92,.08); border: 1px solid rgba(255,59,92,.22); color: var(--threat); margin-top: 18px; }
.gap-card .ico svg { width: 24px; height: 24px; }

/* ---------- Services (pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 34px 30px 30px; display: flex; flex-direction: column; }
.pillar .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(25,227,255,.16), rgba(139,92,246,.16)); border: 1px solid var(--line-2); color: var(--cyan); }
.pillar .ico svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 24px; margin: 22px 0 10px; }
.pillar > p { color: var(--muted); margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; }
.ticks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(43,245,166,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232bf5a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.pillar .more { margin-top: auto; padding-top: 22px; color: var(--cyan); font-weight: 600; font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }
.pillar.featured { border-color: rgba(25,227,255,.35); background: linear-gradient(180deg, rgba(25,227,255,.07), rgba(14,22,40,.55) 40%); }
.pillar .badge { position: absolute; top: 20px; right: 20px; font: 600 10.5px var(--font-mono); letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; color: #021018; background: var(--grad); }

.scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.scope { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.scope svg { width: 22px; height: 22px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.scope b { display: block; font-size: 15px; }
.scope small { color: var(--muted); font-size: 13.5px; line-height: 1.5; display: block; margin-top: 3px; }

/* ---------- Tools bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tool { padding: 28px; display: flex; flex-direction: column; min-height: 300px; }
.tool.span-3 { grid-column: span 3; }
.tool.span-2 { grid-column: span 2; }
.tool.span-4 { grid-column: span 4; }
.tool-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-name { font: 600 12.5px var(--font-mono); color: var(--cyan); letter-spacing: .08em; text-transform: uppercase; }
.status { font: 600 10.5px var(--font-mono); padding: 4px 9px; border-radius: 999px; color: var(--warn); background: rgba(255,181,71,.1); border: 1px solid rgba(255,181,71,.25); letter-spacing: .05em; white-space: nowrap; }
.tool h3 { font-size: 22px; margin: 14px 0 8px; }
.tool p { color: var(--muted); font-size: 15px; margin: 0; }
.tool .viz { margin-top: auto; padding-top: 22px; }

/* viz: scanner */
.scan-list { display: grid; gap: 8px; font: 500 12.5px var(--font-mono); }
.scan-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.scan-row .host { color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scan-row .port { color: var(--dim); }
/* viz: prompt firewall */
.chat { display: grid; gap: 8px; font-size: 13px; }
.bubble { padding: 10px 12px; border-radius: 12px; max-width: 92%; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.bubble.evil { border-color: rgba(255,59,92,.35); background: rgba(255,59,92,.06); }
.bubble.block { justify-self: end; border-color: rgba(43,245,166,.35); background: rgba(43,245,166,.06); font-family: var(--font-mono); font-size: 12px; color: var(--safe); }
/* viz: waf shield */
.shield-viz { position: relative; height: 140px; display: grid; place-items: center; }
.shield-viz .core { width: 74px; height: 74px; position: relative; z-index: 2; filter: drop-shadow(0 0 20px rgba(25,227,255,.6)); }
.shield-viz .wave { position: absolute; width: 74px; height: 74px; border-radius: 50%; border: 1.5px solid rgba(25,227,255,.6); animation: wave 3s ease-out infinite; }
.shield-viz .wave:nth-child(2) { animation-delay: 1s; } .shield-viz .wave:nth-child(3) { animation-delay: 2s; }
@keyframes wave { from { transform: scale(1); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }
.shield-viz .bullet { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--threat); box-shadow: 0 0 12px var(--threat); animation: incoming 2.4s ease-in infinite; }
.bullet.b1 { --sx: -160px; --sy: -40px; } .bullet.b2 { --sx: 170px; --sy: 30px; animation-delay: .8s; } .bullet.b3 { --sx: -120px; --sy: 60px; animation-delay: 1.6s; }
@keyframes incoming { 0% { transform: translate(var(--sx), var(--sy)); opacity: 0; } 15% { opacity: 1; } 70% { transform: translate(calc(var(--sx) * .32), calc(var(--sy) * .32)); opacity: 1; } 80% { opacity: 0; transform: translate(calc(var(--sx) * .3), calc(var(--sy) * .3)) scale(2.5); } 100% { opacity: 0; } }
/* viz: code */
.code { font: 500 12.5px/1.7 var(--font-mono); padding: 14px 16px; border-radius: 12px; background: #050a14; border: 1px solid var(--line); overflow: hidden; white-space: pre; }
.code .ln { color: #3d4a66; margin-right: 12px; }
.code .bad { background: rgba(255,59,92,.14); display: block; margin: 0 -16px; padding: 0 16px; border-left: 2px solid var(--threat); }
.code .fix { background: rgba(43,245,166,.1); display: block; margin: 0 -16px; padding: 0 16px; border-left: 2px solid var(--safe); }
.code .kw { color: #8b9eff; } .code .str { color: #7ee7c5; } .code .cm { color: var(--dim); }
/* viz: monitor */
.spark { width: 100%; height: 90px; }
.mon-meta { display: flex; justify-content: space-between; font: 500 12px var(--font-mono); color: var(--dim); margin-bottom: 8px; }
/* viz: breach radar */
.radar { position: relative; width: 150px; height: 150px; margin: 0 auto; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 24px, rgba(25,227,255,.14) 24px 25px), radial-gradient(circle, rgba(25,227,255,.06), transparent 70%); border: 1px solid rgba(25,227,255,.25); overflow: hidden; }
.radar::before { content: ""; position: absolute; inset: 0; background: conic-gradient(from 0deg, rgba(25,227,255,.45), transparent 22%); animation: spin 3.5s linear infinite; }
.radar i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--threat); box-shadow: 0 0 10px var(--threat); animation: blip 3.5s infinite; }
@keyframes blip { 0%, 100% { opacity: .2; } 10% { opacity: 1; } }

/* ---------- AI agent terminal ---------- */
.agent-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.agent-points { display: grid; gap: 18px; margin-top: 30px; }
.agent-point { display: flex; gap: 16px; }
.agent-point .n { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 600 14px var(--font-mono); color: var(--cyan); border: 1px solid var(--line-2); background: rgba(25,227,255,.05); }
.agent-point b { display: block; font-size: 16.5px; margin-bottom: 2px; }
.agent-point span { color: var(--muted); font-size: 15px; }
.terminal { border-radius: 18px; background: #040812; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(25,227,255,.25), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar .title { margin-left: 10px; font: 500 12.5px var(--font-mono); color: var(--dim); flex: 1; }
.term-bar .demo { font: 600 10px var(--font-mono); color: var(--warn); border: 1px solid rgba(255,181,71,.3); border-radius: 6px; padding: 2px 6px; letter-spacing: .06em; }
.term-body { height: 420px; padding: 18px 18px 22px; font: 500 13px/1.75 var(--font-mono); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.term-body .l { white-space: pre-wrap; word-break: break-word; }
.l .t { color: #3d4a66; } .l .ai { color: var(--violet); } .l .ok { color: var(--safe); } .l .bad { color: var(--threat); } .l .wr { color: var(--warn); } .l .cy { color: var(--cyan); } .l .mu { color: var(--dim); }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Free check ---------- */
.check-card { padding: 40px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.check-card h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 14px 0 14px; }
.check-card > div > p { color: var(--muted); margin: 0 0 24px; }
.check-form { display: flex; gap: 10px; }
.check-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); font-family: var(--font-mono); font-size: 15px; }
.check-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25,227,255,.12); }
.check-form .btn { height: 52px; border-radius: 14px; }
.check-note { font-size: 13px; color: var(--dim); margin-top: 14px; }
.check-results { border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.28); padding: 22px; min-height: 360px; }
.check-empty { height: 100%; min-height: 316px; display: grid; place-items: center; text-align: center; color: var(--dim); font: 500 13px var(--font-mono); }
.check-empty svg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--line-2); }
.score-row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.score-ring { width: 78px; height: 78px; flex-shrink: 0; }
.score-ring circle { fill: none; stroke-width: 7; }
.score-ring .bg { stroke: rgba(255,255,255,.07); }
.score-ring .fg { stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.score-ring text { fill: var(--text); font: 700 22px var(--font-display); }
.score-row b { font-size: 18px; display: block; }
.score-row small { color: var(--muted); }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; opacity: 0; transform: translateY(6px); animation: in .4s forwards; }
@keyframes in { to { opacity: 1; transform: none; } }
.check-item .st { flex: 0 0 auto; font: 700 10.5px var(--font-mono); padding: 3px 8px; border-radius: 6px; margin-top: 1px; min-width: 50px; text-align: center; }
.check-item b { display: block; font-weight: 600; }
.check-item span { color: var(--muted); font-size: 13.5px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(2,16,24,.3); border-top-color: #021018; animation: spin .8s linear infinite; }

/* ---------- Report preview ---------- */
.report-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.report { padding: 30px; }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.report-head .t { font: 600 12px var(--font-mono); color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.report-head h3 { font-size: 20px; margin-top: 4px; }
.sev-bars { display: grid; gap: 14px; margin: 24px 0; }
.sev { display: grid; grid-template-columns: 90px 1fr 34px; gap: 14px; align-items: center; font-size: 14px; }
.sev .track { height: 10px; border-radius: 10px; background: rgba(255,255,255,.05); overflow: hidden; }
.sev .fill { height: 100%; width: 0; border-radius: 10px; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.in .sev .fill { width: var(--w); }
.sev b { text-align: right; font-family: var(--font-mono); }
.finding { margin-top: 8px; border-radius: 14px; border: 1px solid rgba(255,59,92,.25); background: rgba(255,59,92,.04); padding: 18px; }
.finding-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.finding h4 { margin: 10px 0 6px; font: 600 16px var(--font-display); }
.finding p { margin: 0; color: var(--muted); font-size: 14px; }
.finding .fixline { margin-top: 12px; font: 500 12.5px var(--font-mono); color: var(--safe); }
.deliver { padding: 30px; }
.deliver h3 { font-size: 22px; margin-bottom: 16px; }
.deliver .ticks li { font-size: 15px; }
.example-tag { font: 600 10.5px var(--font-mono); color: var(--warn); letter-spacing: .06em; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), var(--cyan), var(--line-2), transparent); }
.step { text-align: center; padding: 0 6px; position: relative; }
.step .orb { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #12284d, #060c18); border: 1px solid var(--line-2); box-shadow: 0 0 30px -6px rgba(25,227,255,.35); font: 700 18px var(--font-mono); color: var(--cyan); position: relative; z-index: 1; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Compare ---------- */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { font: 600 13px var(--font-mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.compare th.us, .compare td.us { background: rgba(25,227,255,.05); }
.compare thead th.us { color: var(--cyan); }
.compare td:first-child { color: var(--muted); }
.swipe-hint { display: none; text-align: center; font: 500 12px var(--font-mono); color: var(--dim); margin-top: 12px; }
.yes { color: var(--safe); font-weight: 600; } .no { color: var(--dim); } .part { color: var(--warn); }

/* ---------- Standards ---------- */
.standards { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.std { padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font: 600 14px var(--font-mono); color: var(--muted); }
.std em { font-style: normal; color: var(--text); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font: 600 17px var(--font-display); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px var(--font-mono); color: var(--cyan); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-card { padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; background: linear-gradient(135deg, rgba(25,227,255,.08), rgba(139,92,246,.08)), var(--panel); }
.contact-card h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 14px 0 16px; }
.contact-card > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.contact-list svg { width: 20px; height: 20px; color: var(--cyan); }
form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.contact .full { grid-column: 1 / -1; }
form.contact label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
form.contact input, form.contact select, form.contact textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); font-size: 15px; }
form.contact select option { background: var(--panel-solid); }
form.contact textarea { min-height: 120px; resize: vertical; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25,227,255,.12); }
.consent { display: flex !important; grid-template-columns: none !important; gap: 10px !important; align-items: flex-start; font-size: 13px !important; }
.consent input { width: auto !important; margin-top: 4px; accent-color: var(--cyan); }
.form-status { font-size: 14px; min-height: 22px; }
.form-status.ok { color: var(--safe); } .form-status.err { color: var(--threat); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 36px; margin-top: 40px; background: rgba(3,6,12,.6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img.full { width: 200px; height: auto; }
.foot-brand p { color: var(--muted); font-size: 14.5px; margin: 18px 0 0; max-width: 320px; }
footer h4 { font: 600 12.5px var(--font-mono); color: var(--dim); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer ul a { color: var(--muted); font-size: 14.5px; } footer ul a:hover { color: var(--text); }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--dim); }
.foot-legal p { margin: 0; max-width: 760px; }

/* ---------- Legal pages ---------- */
.legal { padding: 80px 0 40px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.legal .updated { color: var(--dim); font: 500 13px var(--font-mono); margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal .notice { padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255,181,71,.3); background: rgba(255,181,71,.06); color: #ffd99a; font-size: 14px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 40px; }
  .globe-wrap { max-width: 540px; margin: 10px auto 0; }
  .agent-grid, .check-card, .report-grid, .contact-card { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .tool.span-2, .tool.span-4, .tool.span-3 { grid-column: span 3; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 0; bottom: 0; left: 33px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--line-2), var(--cyan), var(--line-2), transparent); }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 0 20px; text-align: left; }
  .step .orb { margin: 0; grid-row: span 2; }
  .step h3 { margin-top: 10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .nav-cta { margin-left: 0; }
  .menu-open .nav-links {
    display: grid; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; margin: 0; padding: 24px; gap: 4px; align-content: start;
    background: #03060c; border-top: 1px solid var(--line);
  }
  .menu-open .nav-links a { display: block; padding: 14px 6px; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-mobile-only { display: block; }
  .gap-grid, .pillars { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-cta { display: none; }
  .brand-word { height: 13px; }
  .bento { grid-template-columns: 1fr; }
  .tool.span-2, .tool.span-4, .tool.span-3 { grid-column: auto; }
  .scope-grid { grid-template-columns: 1fr; }
  .hud { transform: scale(.82); }
  .hud.h1 { left: -2%; top: 2%; } .hud.h2 { right: -4%; } .hud.h3 { display: none; }
  @keyframes float { 50% { transform: scale(.82) translateY(-8px); } }
  .check-card, .contact-card { padding: 24px; }
  .check-form { flex-direction: column; }
  .check-form input { flex: none; width: 100%; }
  .compare table { min-width: 600px; }
  .compare th, .compare td { padding: 14px 14px; font-size: 14px; }
  .swipe-hint { display: block !important; }
  form.contact { grid-template-columns: 1fr; }
  .term-body { height: 360px; font-size: 11.5px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sev { grid-template-columns: 74px 1fr 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Services catalog (home)
   ========================================================= */
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.catalog-col h3 { font: 600 12.5px var(--font-mono); color: var(--cyan); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.catalog-col h3 svg { width: 18px; height: 18px; }
.svc { padding: 18px 18px 16px; margin-bottom: 12px; }
.svc b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.svc span { color: var(--muted); font-size: 13.8px; line-height: 1.55; display: block; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 90px; }
.catalog-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 14px 0 0; }
.catalog-head p { color: var(--muted); max-width: 460px; margin: 0; }
.catalog-head + .catalog { margin-top: 36px; }

/* toolkit label (replaces product names) */
.tool-label { font: 600 12px var(--font-mono); color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; }
.tool .live { font: 600 10.5px var(--font-mono); padding: 4px 9px; border-radius: 999px; color: var(--safe); background: rgba(43,245,166,.08); border: 1px solid rgba(43,245,166,.25); letter-spacing: .05em; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.tool .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 8px var(--safe); }
.scanner-promo { grid-column: 1 / -1; padding: 34px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: linear-gradient(120deg, rgba(25,227,255,.09), rgba(139,92,246,.09)), var(--panel); border-color: rgba(25,227,255,.3); }
.scanner-promo h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 10px; }
.scanner-promo p { color: var(--muted); margin: 0; }
.home-scan { display: flex; gap: 10px; }
.home-scan input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); font: 500 15px var(--font-mono); }
.home-scan input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25,227,255,.12); }
.home-scan .btn { height: 54px; border-radius: 14px; }
.home-scan-note { font-size: 12.5px; color: var(--dim); margin-top: 10px; }

/* contact form (same structure as MD Trade Horizon) */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); font-size: 15px; }
.field select option { background: var(--panel-solid); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(25,227,255,.12); }
.form-note { font-size: 13px; color: var(--dim); margin: 12px 0 0; }
.form-note a { color: var(--cyan); text-decoration: underline; }

/* =========================================================
   Scanner page
   ========================================================= */
.scan-hero { padding: 90px 0 40px; text-align: center; }
.scan-hero-inner { max-width: 860px; margin: 0 auto; }
.scan-hero h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.05; margin: 22px 0 18px; font-weight: 700; }
.scan-hero .lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 720px; margin: 0 auto 34px; }
.scan-form { display: flex; gap: 12px; max-width: 700px; margin: 0 auto; padding: 8px; border-radius: 20px; background: rgba(6,12,24,.75); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px rgba(25,227,255,.35); }
.scan-input { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 14px; min-width: 0; }
.scan-input svg { width: 20px; height: 20px; color: var(--safe); flex-shrink: 0; }
.scan-input input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font: 500 17px var(--font-mono); }
.scan-input input:focus { outline: none; }
.scan-form:focus-within { border-color: var(--cyan); }
.scan-form .btn { height: 52px; border-radius: 14px; padding: 0 26px; }
.scan-note { font-size: 13px; color: var(--dim); margin-top: 16px; }
.scan-error { margin: 18px auto 0; max-width: 700px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,59,92,.35); background: rgba(255,59,92,.08); color: #ffb3c0; font-size: 14.5px; }

.scan-progress { padding: 36px; display: flex; gap: 40px; align-items: center; max-width: 760px; margin: 10px auto 40px; }
.radar.big { width: 170px; height: 170px; flex-shrink: 0; margin: 0; }
.scan-target { color: var(--cyan); font-size: 15px; margin-bottom: 16px; }
.steps-live { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: var(--dim); }
.steps-live li { display: flex; align-items: center; gap: 12px; transition: color .3s; }
.steps-live li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; box-sizing: border-box; }
.steps-live li.active { color: var(--text); }
.steps-live li.active::before { border-color: var(--cyan); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps-live li.done { color: var(--muted); }
.steps-live li.done::before { border-color: var(--safe); background: var(--safe); box-shadow: inset 0 0 0 3px #03060c; }

#results { padding-bottom: 30px; scroll-margin-top: 90px; }
.report-top { padding: 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.grade-wrap { position: relative; width: 120px; height: 120px; }
.grade-ring { width: 120px; height: 120px; }
.grade-ring circle { fill: none; stroke-width: 9; }
.grade-ring .bg { stroke: rgba(255,255,255,.07); }
.grade-ring .fg { stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.grade { position: absolute; inset: 0; display: grid; place-items: center; font: 700 44px var(--font-display); }
.rt-k { font-size: 12px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; }
.rt-main h2 { font-size: clamp(24px, 3vw, 34px); margin: 4px 0 6px; word-break: break-all; }
.rt-meta { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.rt-counts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.rt-counts .tag { font-size: 12px; padding: 4px 10px; }
.rt-actions { display: flex; flex-direction: column; gap: 8px; }

.catscores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.catscore { padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; font-weight: 600; }
.catscore svg { width: 20px; height: 20px; color: var(--cyan); }
.catscore .tag { align-self: flex-start; }

.report-cols { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
.block { padding: 24px; margin-bottom: 16px; }
.block h3 { font-size: 18px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.block h3 svg { width: 20px; height: 20px; color: var(--cyan); }
.muted { color: var(--muted); } .small { font-size: 13.5px; }
.finding-row { border-top: 1px solid var(--line); }
.finding-row summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.finding-row summary::-webkit-details-marker { display: none; }
.finding-row summary .tag { min-width: 48px; text-align: center; flex-shrink: 0; }
.finding-row .ft { flex: 1; font-size: 15px; font-weight: 500; }
.finding-row summary::after { content: "+"; font: 400 18px var(--font-mono); color: var(--dim); transition: transform .2s; }
.finding-row[open] summary::after { transform: rotate(45deg); }
.finding-row .fd { padding: 0 0 16px 60px; font-size: 14px; color: var(--muted); }
.finding-row .fd p { margin: 0 0 8px; word-break: break-word; }
.finding-row .fix { color: var(--text); background: rgba(43,245,166,.05); border: 1px solid rgba(43,245,166,.18); border-radius: 10px; padding: 10px 12px; }
.finding-row .fix b { color: var(--safe); }
.sevl { font: 600 10px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--dim); flex-shrink: 0; }
.sevl.critical { color: var(--threat); } .sevl.high { color: #ff7a45; } .sevl.medium { color: var(--warn); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 12.5px var(--font-mono); padding: 6px 10px; border-radius: 8px; background: rgba(25,227,255,.06); border: 1px solid var(--line-2); }
.count { font-size: 12px; color: #021018; background: var(--cyan); padding: 2px 8px; border-radius: 999px; }
.subs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 12.5px; max-height: 340px; overflow: auto; word-break: break-all; }
.subs li { padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.raw summary { list-style: none; cursor: pointer; } .raw summary::-webkit-details-marker { display: none; }
.raw summary h3 { margin: 0; } .raw[open] summary h3 { margin-bottom: 12px; }
.raw pre { font-size: 11.5px; white-space: pre-wrap; word-break: break-all; color: var(--muted); max-height: 360px; overflow: auto; margin: 0; }
.raw pre b { color: var(--cyan); font-weight: 600; }
.cta-side { background: linear-gradient(135deg, rgba(25,227,255,.09), rgba(139,92,246,.09)), var(--panel); }

.check-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { padding: 22px; display: grid; gap: 8px; }
.cat svg { width: 24px; height: 24px; color: var(--cyan); }
.cat b { font-size: 16px; } .cat span { font-size: 13.8px; color: var(--muted); }
.cta-band { padding: 40px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(120deg, rgba(25,227,255,.08), rgba(139,92,246,.08)), var(--panel); }
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--muted); }

@media (max-width: 1080px) {
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .scanner-promo { grid-template-columns: 1fr; }
  .report-cols { grid-template-columns: 1fr; }
  .check-cats, .catscores { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .catalog { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .home-scan { flex-direction: column; } .home-scan input { flex: none; width: 100%; }
  .scanner-promo { padding: 24px; }
  .scan-hero { padding-top: 56px; }
  .scan-form { flex-direction: column; padding: 8px; }
  .scan-input input { height: 48px; }
  .scan-progress { flex-direction: column; padding: 24px; gap: 24px; }
  .report-top { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px; }
  .rt-counts { justify-content: center; }
  .rt-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .check-cats { grid-template-columns: 1fr; }
  .catscores { grid-template-columns: 1fr 1fr; }
  .finding-row .fd { padding-left: 0; }
  .block { padding: 18px; }
  .cta-band { padding: 26px; }
}
@media print {
  body { background: #fff !important; color: #000 !important; }
  .bg-grid, .bg-orb, .noise, .demo-bar, .nav, .scan-hero, #what, .cta-band, footer, .rt-actions, .cta-side, #progress { display: none !important; }
  .card { background: #fff !important; border: 1px solid #ccc !important; backdrop-filter: none !important; break-inside: avoid; }
  .muted, .finding-row .fd, .rt-meta, .raw pre { color: #333 !important; }
  .report-cols { grid-template-columns: 1fr; }
  .finding-row .fix { color: #000 !important; }
  .grade-ring .fg { transition: none; }
}

.partial-note { margin: 4px 0 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,181,71,.3); background: rgba(255,181,71,.07); color: #ffd99a; font-size: 13.5px; }
