/* ============================================================
   xploiterrsec — plain, light stylesheet
   One accent colour, normal type sizes, no effects.
   ============================================================ */

:root {
  --bg:       #0c0d11;
  --bg-2:     #111319;
  --card:     #14161d;
  --card-2:   #191c24;
  --border:   #242831;
  --border-2: #333845;
  --text:     #e9ebef;
  --muted:    #a2a8b4;
  --faint:    #727a89;
  --accent:   #ef3b45;
  --accent-dk:#cf2029;
  --crit:     #ef3b45;
  --high:     #f08a3c;
  --med:      #e2b53f;
  --low:      #6f7684;
  --radius:   8px;
  --maxw:     1080px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 600; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-dk); }

.wrap, .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sec, .section { padding: 56px 0; border-top: 1px solid var(--border); }
.sec--alt, .section--alt { background: var(--bg-2); }
.tc, .center { text-align: center; }
.narrow { max-width: 720px; }
.tc.narrow, .narrow.tc { margin-left: auto; margin-right: auto; }
.lead { color: var(--muted); }

.skip, .skip-link { position: absolute; left: -9999px; }
.skip:focus, .skip-link:focus { left: 8px; top: 8px; z-index: 99; background: var(--accent);
  color: #fff; padding: 9px 14px; border-radius: 6px; text-decoration: none; }

/* ---------- Labels ---------- */
.pill, .label, .eyebrow, .proof-kicker {
  display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 .7rem; font-weight: 500;
}
.pill { display: inline-block; border: 1px solid var(--border-2); border-radius: 4px; padding: 4px 10px; color: var(--muted); }

/* ---------- Header ---------- */
.hdr, .site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,13,17,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700;
  font-size: 1.32rem; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.brand .mark { width: 50px; height: 35px; flex: 0 0 50px; }
.brand .sec { color: var(--accent); }
.menu, .nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.menu a, .nav-links a { color: var(--muted); font-size: .92rem; text-decoration: none; }
.menu a:hover, .nav-links a:hover, .menu a.on, .nav-links a[aria-current="page"] { color: var(--text); }
.burger, .nav-toggle { display: none; background: none; border: 1px solid var(--border-2);
  color: var(--text); border-radius: 6px; padding: 7px 11px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 550; font-size: .94rem;
  border: 1px solid var(--border-2); cursor: pointer; text-decoration: none; background: var(--card); color: var(--text); }
.btn:hover { border-color: var(--text); color: var(--text); }
.btn--p, .btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--p:hover, .btn--primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.btn--g, .btn--ghost { background: var(--card); }
.btn--sm { padding: 8px 14px; font-size: .88rem; }
.btns, .btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.tc .btns { justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 52px; border-top: none; }
.hero h1 { font-size: 2.4rem; max-width: 22ch; margin: .6rem 0 .6rem; }
.hero .lead { max-width: 62ch; font-size: 1.05rem; }
.hero.tc h1, .hero.tc .lead { margin-left: auto; margin-right: auto; }
.hero .alt { margin-top: 1.1rem; font-size: .9rem; color: var(--faint); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0; margin-top: 2.6rem; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 20px 16px; text-align: center; border-left: 1px solid var(--border); background: var(--card); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 1.7rem; font-weight: 650; color: var(--text); }
.stat span { display: block; margin-top: .3rem; font-size: .8rem; color: var(--faint); }
.stat.c1 b, .stat.c2 b, .stat.c3 b { color: var(--text); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 16px; }
.g2, .grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3, .grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.g4, .grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  transition: border-color .15s ease; }
.card:hover { border-color: var(--border-2); }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card .ic, svg.icon { width: 22px; height: 22px; color: var(--accent); margin-bottom: .8rem; }

.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--card); }
.row .n { font-family: var(--mono); font-size: .76rem; color: var(--faint); }
.row h3 { margin-bottom: .2em; font-size: .98rem; }
.row p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Chips ---------- */
.chips, .tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li, .tags li { border: 1px solid var(--border-2); border-radius: 4px; padding: 5px 11px;
  font-size: .86rem; color: var(--muted); background: var(--card); }
.chips.mono li, .tags li { font-family: var(--mono); font-size: .8rem; }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; color: var(--muted); }
.ticks li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }

/* ---------- Bars ---------- */
.bars { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bar { display: grid; grid-template-columns: 170px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 16px; border-top: 1px solid var(--border); background: var(--card); }
.bar:first-child { border-top: none; }
.bar .nm { font-size: .93rem; font-weight: 550; }
.bar .nm small { display: block; font-weight: 400; color: var(--faint); font-size: .8rem; }
.bar .track { height: 6px; border-radius: 3px; background: #22262f; overflow: hidden; }
.bar .fill { height: 100%; background: var(--accent); }
.bar .ct { font-family: var(--mono); font-size: .92rem; min-width: 42px; text-align: right; color: var(--muted); }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--faint); margin-bottom: 1rem; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: .35rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.q { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--card); }
.q blockquote { margin: 0 0 1rem; font-size: .97rem; line-height: 1.6; color: var(--text); }
.q .who { font-size: .88rem; color: var(--muted); }
.q .who b { color: var(--text); font-weight: 600; }
.q .when { color: var(--faint); font-size: .82rem; }

/* ---------- Pricing ---------- */
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.tier { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--card); position: relative; }
.tier.best { border-color: var(--accent); }
.tier .tag { position: absolute; top: -10px; left: 20px; background: var(--accent); color: #fff;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.tier h3 { margin-bottom: .2em; }
.tier .from { font-size: .78rem; color: var(--faint); text-transform: uppercase; letter-spacing: .07em; }
.tier .price { font-size: 1.7rem; font-weight: 650; margin: .2rem 0 .6rem; }
.tier ul { list-style: none; margin: 1rem 0 1.4rem; padding: 0; }
.tier li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; color: var(--muted); font-size: .92rem; }
.tier li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.tier .btn { width: 100%; }

/* ---------- Estimator ---------- */
.est { display: grid; gap: 16px; grid-template-columns: 1.4fr 1fr; align-items: start; }
.est-rows { display: grid; gap: 10px; }
.est-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--card); }
.est-row h3 { margin: 0 0 .1em; font-size: .95rem; }
.est-row p { margin: 0; font-size: .82rem; color: var(--faint); }
.step { display: flex; align-items: center; gap: 8px; }
.step button { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border-2);
  background: var(--card); color: var(--text); font-size: 1rem; cursor: pointer; line-height: 1; }
.step button:hover { border-color: var(--text); }
.step output { font-family: var(--mono); min-width: 22px; text-align: center; }
.est-out { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; background: var(--bg-2); }
.est-out .big { font-size: 1.7rem; font-weight: 650; }

/* ---------- Notices ---------- */
.note, .notice { border: 1px solid #4a3f1c; background: #1d1a10; color: #d9c98f;
  padding: 13px 16px; border-radius: var(--radius); font-size: .9rem; }
.note strong, .notice strong { color: #f0e3b4; }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px;
  margin-bottom: .6rem; background: var(--card); }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: .7em 0 0; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 1.8rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--border-2); }
.timeline li { position: relative; padding: 0 0 1.8rem 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--border-2); }
.timeline li.now::before { background: var(--accent); }
.timeline .when { display: block; font-family: var(--mono); font-size: .78rem; color: var(--faint); margin-bottom: .3rem; }
.timeline h3 { font-size: 1rem; margin-bottom: .3em; }
.timeline p { margin-bottom: .4em; color: var(--muted); font-size: .95rem; }
.proof-link { margin: .8rem 0 0; font-size: .88rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: .9rem; }
.f, .field { display: grid; gap: .3rem; }
.f label, .field label { font-size: .89rem; font-weight: 600; }
.f .hint, .field .hint { font-size: .82rem; color: var(--faint); font-weight: 400; }
.f input, .f select, .f textarea,
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: .94rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 6px;
}
.f input:focus, .f select:focus, .f textarea:focus,
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.f textarea, .field textarea { min-height: 130px; resize: vertical; }
.form-status { min-height: 1.3em; font-size: .9rem; }

/* ---------- CTA ---------- */
.cta { border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-2); padding: 40px 26px; text-align: center; }

/* ---------- Footer ---------- */
.ftr, .site-footer { border-top: 1px solid var(--border); background: var(--bg-2);
  padding: 44px 0 22px; color: var(--muted); font-size: .9rem; }
.ftr-grid, .footer-grid { display: grid; gap: 26px; grid-template-columns: 1.6fr repeat(3, 1fr); }
.ftr h4, .site-footer h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); margin-bottom: .9em; }
.ftr ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.ftr li, .site-footer li { margin-bottom: .4rem; }
.ftr a, .site-footer a { color: var(--muted); text-decoration: none; }
.ftr a:hover, .site-footer a:hover { color: var(--accent); text-decoration: underline; }
.ftr-btm, .footer-bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; font-size: .84rem; color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .burger, .nav-toggle { display: block; }
  .menu, .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 8px 20px 16px;
  }
  .menu:not(.open) { display: none; }
  .nav-links:not(.is-open) { display: none; }
  .menu li, .nav-links li { width: 100%; }
  .menu a, .nav-links a { display: block; padding: 11px 0; }
  .est { grid-template-columns: 1fr; }
  .ftr-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--border); }
  .stat:first-child { border-top: none; }
  .bar { grid-template-columns: 1fr auto; }
  .bar .track { grid-column: 1 / -1; }
  .hero h1 { font-size: 1.95rem; }
}
@media (max-width: 560px) {
  .ftr-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* .menu a / .nav-links a out-specify .btn--p, so restate button colours. */
.menu a.btn--p, .menu a.btn--p:hover,
.nav-links a.btn--primary, .nav-links a.btn--primary:hover { color: #fff; }
.menu a.btn--g, .nav-links a.btn--ghost { color: var(--text); }

/* ---------- Severity breakdown (figures only) ---------- */
.sev { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sev-item { padding: 22px 16px; text-align: center; background: var(--card);
  border-left: 1px solid var(--border); }
.sev-item:first-child { border-left: none; }
.sev-n { display: block; font-size: 2rem; font-weight: 650; line-height: 1.1; }
.sev-k { display: block; margin-top: .35rem; font-size: .85rem; color: var(--faint); }
@media (max-width: 620px) {
  .sev-item { border-left: none; border-top: 1px solid var(--border); }
  .sev-item:first-child { border-top: none; }
}

/* ---------- Badge grid ---------- */
.badges { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.badge { margin: 0; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 14px 16px; text-align: center;
  transition: border-color .15s ease; }
.badge:hover { border-color: var(--border-2); }
/* The badge art is captured on HackerOne's navy card, so each image is
   seated on a matching tile rather than floating on a mismatched square. */
.badge img { width: auto; height: 104px; margin: 0 auto .9rem; object-fit: contain;
  background: #272b42; border: 1px solid #333a55; border-radius: 6px; padding: 8px; }
.badge figcaption b { display: block; font-size: .88rem; font-weight: 600; line-height: 1.35; }
.badge figcaption span { display: block; font-size: .78rem; color: var(--faint); margin-top: .25rem; }
.badge .bnote { display: inline-block; margin-top: .5rem; font-size: .72rem;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 2px 8px; }

/* ---------- Footer brand lockup ---------- */
.ftr-brand { display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.ftr-brand .mark { width: 44px; height: 31px; }
.ftr-brand .wm { font-weight: 700; color: var(--text); font-size: 1.2rem; letter-spacing: -.02em; }
.ftr-brand .wm .sec { color: var(--accent); }
.ftr-brand .cp { color: var(--faint); }
