/* ============================================================
   CVEsafe — marketing site
   Dark, modern, orange-accented (NetBird-inspired).
   ============================================================ */

:root {
  --bg: #0a0f1c;
  --bg-2: #0d1424;
  --bg-alt: #0b1120;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #e8edf6;
  --muted: #9aa7bd;
  --muted-2: #6b7890;
  --brand: #f68330;
  --brand-2: #fbbf24;
  --crit: #ef4444;
  --high: #f97316;
  --med: #eab308;
  --low: #38bdf8;
  --ok: #22c55e;
  --radius: 16px;
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82rem; color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.92rem; padding: 10px 18px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--primary {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: #1a1205; box-shadow: 0 8px 30px rgba(246, 131, 48, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(246, 131, 48, 0.4); }
.btn--ghost { border-color: var(--border-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--dark { background: #0a0f1c; color: #fff; }
.btn--dark:hover { transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 28, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em; }
.brand__cve { color: var(--brand); }
.brand__mark { width: 32px; height: 32px; object-fit: contain; }
.footer__brand .brand__mark { width: 28px; height: 28px; }
.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.93rem; transition: color 0.15s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }
.nav__mobile { display: none; flex-direction: column; gap: 6px; padding: 12px 24px 18px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.nav__mobile a { padding: 9px 4px; color: var(--muted); font-weight: 500; }
.nav__mobile .btn { justify-content: center; margin-top: 4px; }
.nav__mobile.open { display: flex; }

/* Language switcher */
.lang { display: inline-flex; align-items: center; gap: 1px; margin-right: 6px; }
.lang a { color: var(--muted-2); font-size: 0.78rem; font-weight: 700; padding: 4px 7px; border-radius: 6px; letter-spacing: 0.02em; }
.lang a:hover { color: var(--text); }
.lang a.is-active { color: var(--brand); }
.nav__mobile .lang { margin: 6px 0; gap: 6px; }
.nav__mobile .lang a { border: 1px solid var(--border); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.hero__glow {
  position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 480px;
  background: radial-gradient(circle, rgba(246, 131, 48, 0.22), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand);
  border: 1px solid rgba(246, 131, 48, 0.3); background: rgba(246, 131, 48, 0.07);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 900; }
.lead { color: var(--muted); font-size: 1.12rem; margin-top: 20px; max-width: 520px; }
.hero__actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 8px; color: var(--muted-2); font-size: 0.88rem; margin-top: 26px; }
.hero__trust svg { color: var(--brand); }

/* Console mockup */
.console {
  background: linear-gradient(180deg, var(--bg-2), #0a101e);
  border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246,131,48,0.05);
}
.console__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f56; } .dot--y { background: #ffbd2e; } .dot--g { background: #27c93f; }
.console__title { margin-left: 8px; font-size: 0.8rem; color: var(--muted-2); }
.console__body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.console__row { display: flex; align-items: center; justify-content: space-between; }
.engines { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.76rem; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); }
.chip--ok { color: var(--ok); border-color: rgba(34,197,94,0.3); }
.chip--run { color: var(--brand-2); border-color: rgba(251,191,36,0.3); }
.sev { display: flex; flex-wrap: wrap; gap: 7px; }
.sev__chip { font-size: 0.72rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; color: #fff; }
.sev--c { background: var(--crit); } .sev--h { background: var(--high); }
.sev--m { background: var(--med); color: #3a2e00; } .sev--l { background: var(--low); color: #052b3a; }
.feed { border-top: 1px solid var(--border); padding-top: 14px; }
.feed__title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 8px; }
.ticker { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 112px; overflow: hidden; }
.ticker li { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ticker b { color: var(--text); font-family: ui-monospace, monospace; }
.tag { margin-left: auto; font-size: 0.62rem; font-weight: 800; padding: 2px 7px; border-radius: 5px; letter-spacing: 0.05em; }
.tag--c { background: rgba(239,68,68,0.15); color: #fca5a5; }
.tag--h { background: rgba(249,115,22,0.15); color: #fdba74; }

/* Risk grade pills */
.grade { font-weight: 800; padding: 4px 12px; border-radius: 999px; font-size: 0.9rem; }
.grade small { font-weight: 600; opacity: 0.7; }
.grade--a { background: rgba(34,197,94,0.16); color: #6ee7a8; }
.grade--b { background: rgba(56,189,248,0.16); color: #7dd3fc; }
.grade--c { background: rgba(234,179,8,0.16); color: #fde047; }
.grade--d { background: rgba(249,115,22,0.16); color: #fdba74; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 38px 24px; }
.stat { text-align: center; }
.stat__n { display: block; font-size: 1.9rem; font-weight: 800; background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { color: var(--muted); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-top: 12px; }
.section__head .muted { margin-top: 14px; font-size: 1.05rem; }
.kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.feature:last-child { margin-bottom: 0; }
.feature--rev .feature__copy { order: 2; }
.feature h3 { font-size: 1.6rem; font-weight: 800; margin: 12px 0 14px; }
.feature__copy p { color: var(--muted); font-size: 1.04rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); font-size: 0.96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px;
  background: radial-gradient(circle at 50% 50%, var(--brand) 0 5px, transparent 6px);
}
.ticks li::after {
  content: "✓"; position: absolute; left: 3px; top: 1px; font-size: 11px; color: #1a1205; font-weight: 900;
}

/* Feature visuals (panels) */
.panel {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.panel--center { align-items: center; gap: 18px; padding: 30px; }
.panel__row { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,0.02); font-size: 0.92rem; }
.panel__row--muted { opacity: 0.55; }
.badge { font-style: normal; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; background: rgba(168,85,247,0.18); color: #d8b4fe; padding: 2px 6px; border-radius: 5px; margin-left: 6px; }
.cve { width: 100%; }
.cve__top { display: flex; align-items: center; justify-content: space-between; }
.cve__desc { color: var(--muted); font-size: 0.92rem; margin: 10px 0; }
.cve__meta { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.cve__meta b { color: var(--text); }
.dotsep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.bigGrade { width: 92px; height: 92px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 900; }
.bars { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.bar { height: 9px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; }
.bar--c { background: var(--crit); } .bar--h { background: var(--high); }
.bar--m { background: var(--med); } .bar--l { background: var(--low); }
.panel--report .report__head { font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.report__tag { margin-left: auto; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; }
.report__score { display: flex; align-items: center; gap: 12px; }
.report__rows { display: flex; flex-wrap: wrap; gap: 12px; color: var(--ok); font-size: 0.85rem; }

/* Steps */
.steps { display: flex; align-items: stretch; gap: 0; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.step { flex: 1; min-width: 220px; max-width: 300px; text-align: center; padding: 0 18px; }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; font-weight: 800; font-size: 1.2rem;
  color: #1a1205; background: linear-gradient(100deg, var(--brand), var(--brand-2));
  margin-bottom: 16px; box-shadow: 0 8px 24px rgba(246,131,48,0.3);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step__line { flex: 0 0 40px; align-self: center; height: 2px; background: linear-gradient(90deg, var(--brand), transparent); margin-top: -40px; }

/* Engines */
.engines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.engine {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px 18px; text-align: center; transition: 0.18s;
}
.engine:hover { border-color: var(--brand); transform: translateY(-4px); }
.engine b { display: block; font-size: 1.1rem; }
.engine span { color: var(--muted); font-size: 0.84rem; }

/* Privacy */
.privacy { text-align: center; }
.privacy__inner { max-width: 720px; margin: 0 auto; padding: 48px 36px; border: 1px solid rgba(34,197,94,0.22); background: rgba(34,197,94,0.04); border-radius: 24px; }
.privacy__icon { width: 52px; height: 52px; color: #34d399; margin: 0 auto 18px; }
.privacy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.privacy p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* CTA */
.cta { padding: 18px 0 90px; }
.cta__inner {
  text-align: center; padding: 64px 32px; border-radius: 28px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #1a1205; position: relative; overflow: hidden;
}
.cta__inner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; }
.cta__inner p { margin: 14px 0 28px; font-weight: 500; opacity: 0.85; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__tag { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.footer__addr { color: var(--muted-2); font-size: 0.82rem; line-height: 1.55; margin-top: 12px; }
.footer__col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 14px; }
.footer__col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.15s; }
.footer__col a:hover { color: var(--text); }
.footer__col .btn { margin-top: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 0.85rem; }
.footer__site { color: var(--brand); font-weight: 600; }

/* ---------- Comparison toggle ---------- */
.toggle { display: inline-flex; padding: 5px; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin: 0 auto 26px; }
.toggle { display: flex; width: fit-content; }
.toggle__btn { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 0.9rem; padding: 9px 20px; border-radius: 9px; cursor: pointer; transition: 0.18s; font-family: inherit; }
.toggle__btn.is-active { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #1a1205; }
.compare { max-width: 760px; margin: 0 auto; }
.compare__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.compare__list li { position: relative; padding: 14px 16px 14px 48px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); font-size: 1rem; }
.compare__list li::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; }
.compare__list--bad li::before { background: rgba(239,68,68,0.16); }
.compare__list--bad li::after { content: "✕"; position: absolute; left: 21px; top: 50%; transform: translateY(-50%); color: #f87171; font-weight: 800; font-size: 0.8rem; }
.compare__list--good li { border-color: rgba(34,197,94,0.25); }
.compare__list--good li::before { background: rgba(34,197,94,0.18); }
.compare__list--good li::after { content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #34d399; font-weight: 800; font-size: 0.82rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: 12px; background: var(--card); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-hero { position: relative; overflow: hidden; padding-top: 64px; }
.pricing-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; }
.billing { display: inline-flex; gap: 4px; padding: 5px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-top: 26px; }
.billing__btn { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 0.9rem; padding: 9px 20px; border-radius: 9px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 8px; }
.billing__btn.is-active { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #1a1205; }
.save { font-size: 0.68rem; font-weight: 800; background: rgba(34,197,94,0.18); color: #34d399; padding: 2px 7px; border-radius: 999px; }
.billing__btn.is-active .save { background: rgba(26,18,5,0.18); color: #1a1205; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--brand); box-shadow: 0 18px 50px rgba(246,131,48,0.16); background: linear-gradient(180deg, rgba(246,131,48,0.06), var(--card)); }
.plan__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: #1a1205; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-size: 1.15rem; font-weight: 800; }
.plan__price { display: flex; align-items: baseline; gap: 2px; margin: 12px 0 4px; }
.plan__price .cur { font-size: 1.3rem; font-weight: 700; color: var(--muted); }
.plan__price .amt { font-size: 2.7rem; font-weight: 900; letter-spacing: -0.03em; }
.plan__price .per { font-size: 0.95rem; color: var(--muted); }
.plan__note { color: var(--muted); font-size: 0.86rem; margin: 0; min-height: 1.2em; }
.billed-note { color: var(--brand); font-weight: 600; }
.plan__cta { width: 100%; margin: 18px 0; }
.plan__feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan__feats li { position: relative; padding-left: 24px; font-size: 0.9rem; color: var(--text); }
.plan__feats li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.plan__feats b { font-weight: 800; }

.ptable-wrap { margin-top: 72px; }
.ptable-title { text-align: center; font-size: 1.6rem; font-weight: 800; margin-bottom: 26px; }
.ptable-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
.ptable { width: 100%; border-collapse: collapse; min-width: 640px; }
.ptable th, .ptable td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.ptable thead th { font-weight: 800; font-size: 1rem; background: rgba(255,255,255,0.02); }
.ptable tbody td:first-child, .ptable thead th:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .is-feat { background: rgba(246,131,48,0.06); }
.ptable thead .is-feat { color: var(--brand); }
.ptable .y { color: #34d399; font-weight: 800; }
.ptable .n { color: var(--muted-2); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* ---------- Terminal (live command screens) ---------- */
.term {
  background: linear-gradient(180deg, #0c1322, #06090f);
  border: 1px solid var(--border-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 34px 90px rgba(0,0,0,0.62), 0 0 0 1px rgba(246,131,48,0.05);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.term__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.term__title { margin-left: 8px; font-size: 0.76rem; color: var(--muted-2); font-family: var(--font); letter-spacing: 0.02em; }
.term__title b { color: var(--muted); font-weight: 600; }
.term__body {
  padding: 15px 16px 18px; font-size: 0.795rem; line-height: 1.65;
  min-height: 318px; max-height: 500px; overflow: hidden;
  display: flex; flex-direction: column; gap: 1px;
}
.term__line { white-space: pre-wrap; word-break: break-word; color: var(--muted); transition: opacity 0.2s ease; }
.term__line.gap { height: 8px; }
.term__prompt { color: #61afef; font-weight: 600; margin-right: 8px; }
.term--attacker .term__prompt { color: #f87171; }
.term--cmd .term__prompt { color: #d4d4d4; }
.term__cmd { color: var(--text); }
.term__out { color: var(--muted); }
.term__ok { color: var(--ok); }
.term__crit { color: #fca5a5; font-weight: 600; }
.term__high { color: #fdba74; font-weight: 600; }
.term__info { color: #7dd3fc; }
.term__dim { color: var(--muted-2); }
.term__kev { background: rgba(239,68,68,0.2); color: #fecaca; font-weight: 700; padding: 0 5px; border-radius: 4px; font-size: 0.68rem; letter-spacing: 0.04em; }
.term__cursor { display: inline-block; width: 8px; height: 1.02em; vertical-align: -2px; background: var(--brand-2); margin-left: 2px; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* progressive enhancement: only hide lines once JS arms the player */
.term.playing .term__line { opacity: 0; }
.term.playing .term__line.show { opacity: 1; }
.term__feed { margin-top: auto; border-top: 1px dashed var(--border); padding-top: 10px; }
.term__feed .feed__title { margin-bottom: 6px; }

/* Attacker-vs-CVEsafe two-up */
.terms2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.term__cap { margin-top: 14px; font-size: 0.88rem; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; }
.term__cap svg { flex: none; margin-top: 2px; }
.term__cap--bad svg { color: var(--crit); }
.term__cap--good svg { color: var(--ok); }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 48px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 28px; margin-bottom: 52px; }
  .feature--rev .feature__copy { order: 0; }
  .engines { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .terms2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .engines { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .plans { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
