/* ArtexSecurity.ai — site styles (matches the ARTEX platform UI) */
:root {
  --bg: #050505;
  --bg-2: #0a0a0b;
  --panel: #111113;
  --panel-2: #18181b;
  --line: #232327;
  --line-2: #2e2e33;
  --text: #f4f4f5;
  --text-2: #c7c7cc;
  --muted: #8e8e96;
  --brand-1: #4f6bff;
  --brand-2: #a855f7;
  --crit: #ef4444;
  --high: #f97316;
  --med: #eab308;
  --low: #a1a1aa;
  --ok: #22c55e;
  --teal: #10b981;
  --blue: #3b82f6;
  --radius: 16px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 0.78rem; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.8rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

/* Buttons — white primary like the ARTEX toggles */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 500; font-size: 0.95rem; font-family: var(--font);
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn-primary { background: #fff; color: #09090b; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255,255,255,.35); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: var(--panel); }
.btn-ghost:hover { border-color: #3f3f46; background: var(--panel-2); }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* Pills / severity */
.pill { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 500; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.sev { font-size: 0.72rem; font-weight: 500; padding: 2px 9px; border-radius: 7px; white-space: nowrap; }
.sev.crit { background: rgba(239,68,68,.12); color: var(--crit); border: 1px solid rgba(239,68,68,.35); }
.sev.high { background: rgba(249,115,22,.12); color: var(--high); border: 1px solid rgba(249,115,22,.35); }
.sev.med  { background: rgba(234,179,8,.12);  color: var(--med);  border: 1px solid rgba(234,179,8,.35); }
.sev.low  { background: rgba(161,161,170,.1); color: var(--low);  border: 1px solid rgba(161,161,170,.3); }
.c-crit { color: var(--crit); } .c-high { color: var(--high); } .c-med { color: var(--med); } .c-low { color: var(--low); } .c-ok { color: var(--ok); }

/* Announcement */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 16px; font-size: 0.85rem; text-align: center; color: var(--text-2);
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.announce a { color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(5,5,5,.75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.logo img { width: 34px; height: auto; }
.logo small { font-weight: 500; color: var(--muted); letter-spacing: 0; font-size: 0.95rem; }
.nav-links { display: flex; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.link-muted { color: var(--muted); font-size: 0.92rem; }
.link-muted:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 32px; position: relative; }
.nav-toggle span { position: absolute; left: 6px; right: 6px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s; }
.nav-toggle span:first-child { top: 12px; }
.nav-toggle span:last-child { top: 19px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(79,107,255,.20), rgba(168,85,247,.10) 40%, transparent 70%);
  pointer-events: none;
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 70%);
}
.hero-copy { position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto; }
.eyebrow { font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-bottom: 18px; letter-spacing: 0.01em; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel); color: var(--text-2); font-size: 0.82rem;
}
.tag i { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); }
.lede { margin: 24px auto 34px; font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-bullets { list-style: none; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--text-2); font-size: 0.9rem; }
.hero-bullets li, .checks li { position: relative; padding-left: 26px; }
.hero-bullets li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line-2); background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5.2' fill='none' stroke='%2309090b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* App window mockup */
.app-wrap { position: relative; z-index: 1; margin-top: 64px; perspective: 2000px; }
.app-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 160px; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.app {
  display: grid; grid-template-columns: 210px 1fr; border-radius: 20px; overflow: hidden;
  background: #070707; border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 60px 120px -40px rgba(79,107,255,.35);
  font-size: 13px; line-height: 1.45; text-align: left;
}
.app-side { padding: 18px 12px; border-right: 1px solid var(--line); background: #0b0b0c; }
.app-side .logo { font-size: 1rem; margin: 2px 8px 22px; }
.app-side .logo img { width: 28px; }
.app-side h5 { font-size: 11px; font-weight: 500; color: var(--muted); margin: 14px 10px 6px; }
.app-side a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; color: var(--text-2); }
.app-side a.on { background: var(--panel-2); color: var(--text); }
.app-side svg { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-main { padding: 0 22px 24px; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 14px; height: 52px; border-bottom: 1px solid var(--line); margin: 0 -22px 20px; padding: 0 22px; color: var(--muted); }
.app-top .search { display: flex; align-items: center; gap: 8px; }
.app-top kbd { font-family: var(--font-mono); font-size: 10px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line-2); }
.app-top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.app-top .av { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text-2); font-size: 11px; }
.app-title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.app-sub { color: var(--muted); font-size: 12.5px; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; }
.stat p { color: var(--muted); font-size: 11.5px; }
.stat b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 2px; }
.stat b small { font-size: 13px; color: var(--muted); font-weight: 400; }
.stat span { font-size: 11px; margin-right: 8px; }
.panels { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 14px 16px; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 10px; font-size: 13px; }
.panel-h small { color: var(--muted); font-weight: 400; font-size: 11px; }
.feed-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.feed-row:first-of-type { border-top: 0; }
.wk { font-family: var(--font-mono); font-size: 10px; color: #8ea2ff; border: 1px solid rgba(79,107,255,.4); background: rgba(79,107,255,.08); border-radius: 6px; padding: 1px 6px; flex: none; margin-top: 1px; }
.feed-row div { min-width: 0; flex: 1; }
.feed-row b { font-weight: 500; font-size: 12.5px; }
.feed-row p { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
.find-row:first-of-type { border-top: 0; }
.find-row div { min-width: 0; flex: 1; }
.find-row b { font-weight: 500; font-size: 12.5px; }
.find-row p { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.find-row time { color: var(--muted); font-size: 11px; flex: none; }

/* Strip */
.strip { padding: 40px 0 48px; }
.strip-title { text-align: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { font-weight: 600; font-size: 1.1rem; color: #55555c; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { position: relative; }
.sec { padding: 110px 0; }
.sec.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head.left { text-align: left; margin: 0; }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 44px 0; }
.feature.reverse .feature-copy { order: 2; }
.kicker { font-size: 0.82rem; font-weight: 500; color: #8ea2ff; margin-bottom: 14px; }
.feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 18px; letter-spacing: -0.025em; }
.feature-copy > p { color: var(--muted); margin-bottom: 22px; }
.checks { list-style: none; display: grid; gap: 10px; color: var(--text-2); }
.visual {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  min-height: 340px; display: flex; flex-direction: column; justify-content: center; font-size: 13px;
}

/* Live activity feed */
.live-feed { min-height: 300px; }
.live-feed .feed-row { animation: rowIn .45s ease both; }
.live-feed .chip { margin-left: auto; flex: none; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chips-row .pill b { margin-left: 4px; color: var(--text); }

/* Finding detail */
.finding-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--muted); }
.finding h4 { font-size: 1.02rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.finding .meta { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.code { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7; background: #070707; border: 1px solid var(--line); border-radius: 11px; padding: 14px; white-space: pre-wrap; word-break: break-word; color: var(--text-2); }
.k-k { color: #8ea2ff; } .k-m { color: var(--muted); } .k-s { color: var(--med); } .k-ok { color: var(--ok); }
.finding-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--muted); }

/* Token / retest chart */
.chart-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.chart-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; border-bottom: 1px solid var(--line); padding: 0 4px; }
.bars div { flex: 1; display: flex; flex-direction: column-reverse; border-radius: 4px 4px 0 0; overflow: hidden; }
.bars .a { background: var(--teal); }
.bars .b { background: var(--crit); }
.bar-x { display: flex; gap: 10px; padding: 6px 4px 0; font-size: 10.5px; color: var(--muted); }
.bar-x span { flex: 1; text-align: center; }
.retest { display: grid; gap: 8px; margin-top: 16px; }
.retest-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12px; }
.retest-row em { margin-left: auto; font-style: normal; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.dot.run { background: var(--blue); animation: pulse 1.6s infinite; }


/* Tool executions table */
.visual.tx { padding: 0; justify-content: flex-start; overflow: hidden; }
.tx-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tx-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.tx-title svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.count { font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); }
.tx-table { height: 330px; overflow: hidden; }
.tx-row {
  display: grid; grid-template-columns: 62px 58px 92px 1fr 62px; gap: 10px; align-items: center;
  padding: 0 18px; height: 41px; border-bottom: 1px solid var(--line); font-size: 12px; animation: rowIn .45s ease both;
}
.tx-row time { color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.tx-row .t-tool { justify-self: start; font-size: 11.5px; padding: 2px 8px; border-radius: 7px; background: var(--panel-2); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tx-row .wk { justify-self: start; }
.tx-row code { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { justify-self: end; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 7px; white-space: nowrap; }
.st.ok { color: var(--ok); background: rgba(34,197,94,.1); }
.st.fail { color: var(--crit); background: rgba(239,68,68,.12); }
.st.run { color: #8ea2ff; background: rgba(79,107,255,.12); }
.st.pend { color: var(--med); background: rgba(234,179,8,.1); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } }

/* Findings overview */
.visual.fo { justify-content: flex-start; gap: 14px; }
.fo-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fo-stats div { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.fo-stats p { color: var(--muted); font-size: 11px; }
.fo-stats b { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 600; }
.fo-stats svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fo-filters { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; font-size: 11.5px; }
.seg span { padding: 4px 10px; color: var(--text-2); border-left: 1px solid var(--line-2); }
.seg span:first-child { border-left: 0; }
.seg span.on { background: var(--panel-2); color: var(--text); }
.fo-row { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fo-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fo-top b { font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.fo-sub { font-size: 11.5px; margin: 6px 0 10px; }
.fo-fix { font-size: 11.5px; margin-top: 10px; color: var(--text-2); }
@media (max-width: 640px) {
  .fo-stats { grid-template-columns: repeat(3, 1fr); }
  .fo-stats div:nth-child(n+4) { display: none; }
  .tx-row { grid-template-columns: 54px 84px 1fr 56px; }
  .tx-row .wk { display: none; }
}

/* Agents */
.agents-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.agent-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agent { padding: 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.agent:hover { border-color: var(--line-2); }
.agent h3 { font-size: 0.98rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.agent h3 svg { width: 16px; height: 16px; stroke: #8ea2ff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agent p { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.mcp-stack { display: grid; gap: 12px; }
.mcp { padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; }
.mcp-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.mcp-h b { font-size: 15px; font-weight: 600; }
.mcp-h .ok { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.toggle { width: 30px; height: 17px; border-radius: 999px; background: #fff; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #09090b; }
.mcp .muted { font-size: 12px; margin-bottom: 10px; }
.vis { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.vis span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 12.5px; }
.vis span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); }
.vis span.on::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5.2' fill='none' stroke='%2309090b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; border-color: #fff; }
.mcp.add { border-style: dashed; display: grid; place-items: center; color: var(--muted); min-height: 72px; }

/* Cards (services, guardrails) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card .icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; background: var(--panel-2); border: 1px solid var(--line-2); }
.card .icon svg { width: 19px; height: 19px; stroke: var(--text); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card .tagline { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.step-n { display: inline-block; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text); margin-bottom: 16px; padding: 3px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-2); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.92rem; }

/* Compare */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
th { font-weight: 500; color: var(--muted); font-size: 0.88rem; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text-2); }
td:not(:first-child), th:not(:first-child) { text-align: center; }
.hl { background: rgba(255,255,255,.035); color: var(--text); }
th.hl { color: var(--text); font-weight: 600; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: #4a4a52; }
.part { color: var(--med); }

/* Band */
.band { padding: 0 0 110px; }
.band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 52px; border-radius: 24px;
  background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(79,107,255,.18), transparent 60%), radial-gradient(ellipse 50% 120% at 100% 100%, rgba(168,85,247,.16), transparent 60%), var(--panel);
  border: 1px solid var(--line-2);
}
.band h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 8px; }
.band p { color: var(--muted); }

/* FAQ */
.faq-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 0 22px; transition: border-color .2s; }
details[open] { border-color: var(--line-2); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 20px; }

/* Final / contact */
.final { padding: 110px 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 50% 60% at 15% 30%, rgba(79,107,255,.10), transparent 70%), var(--bg); }
.final-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.final-copy p { color: var(--muted); margin: 22px 0 26px; font-size: 1.08rem; }
.contact-form { display: grid; gap: 14px; padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 0.84rem; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 0.95rem; color: var(--text); background: #0a0a0b; border: 1px solid var(--line-2);
  border-radius: 10px; padding: 11px 13px; outline: none; transition: border-color .2s; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #71717a; }
.contact-form .invalid { border-color: var(--crit); }
.form-note { font-size: 0.88rem; min-height: 1.2em; color: var(--ok); }
.form-note.error { color: var(--crit); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 320px; font-size: 0.92rem; }
.footer-grid h4 { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; font-weight: 500; letter-spacing: 0; }
.footer-grid div > a:not(.logo) { display: block; color: var(--text-2); font-size: 0.92rem; margin-bottom: 10px; }
.footer-grid div > a:not(.logo):hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
}
@media (max-width: 1024px) {
  .feature, .final-inner, .faq-inner, .agents-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .cards, .cards.four, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(5,5,5,.97); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .link-muted { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .panels { grid-template-columns: 1fr; }
  .panels .panel:first-child { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 24px; }
  .cards, .cards.four, .steps, .agent-list, .contact-form .row { grid-template-columns: 1fr; }
  .sec, .final { padding: 80px 0; }
  .band { padding-bottom: 80px; }
  .band-inner { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-sm { display: none; }
  .app-top .right span { display: none; }
  .hero-bullets { flex-direction: column; align-items: center; }
}

/* Let grid columns shrink below their nowrap content on small screens */
.feature > *, .agents-grid > *, .final-inner > *, .faq-inner > *, .panels > *, .app > * { min-width: 0; }
@media (max-width: 640px) { .tx-head > .muted { display: none; } }
.form-privacy { font-size: 0.78rem; color: var(--muted); margin-top: -6px; }
.contact-form button:disabled { opacity: .6; cursor: progress; transform: none; }
