/* ===========================================================
   Bullseye Security -- design tokens & base styles
   Dark-mode-only by design decision (see README) -- tokens are
   still centralized here as the single source of truth for color,
   type, and spacing so the site stays easy to re-skin later.
   =========================================================== */

@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald/oswald-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans/public-sans-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* -- surfaces -- */
  --bg: #0d0f13;
  --bg-raised: #15181e;
  --bg-raised-2: #1c2029;
  --border: #272c36;
  --border-strong: #3a4150;

  /* -- text -- */
  --text: #eceef2;
  --text-muted: #9aa1b0;
  --text-faint: #6b7280;

  /* -- brand accent: sampled from the existing bullseye mark -- */
  --accent: #e8342b;
  --accent-bright: #ff5b4f;
  --accent-deep: #7a1414;
  --accent-wash: rgba(232, 52, 43, 0.12);
  --accent-ring: rgba(232, 52, 43, 0.35);

  /* -- semantic (separate from brand accent) -- */
  --status-ok: #35c48a;
  --status-ok-wash: rgba(53, 196, 138, 0.12);

  /* -- type -- */
  --font-display: "Oswald", ui-sans-serif, Arial, sans-serif;
  --font-body: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* -- shape/space -- */
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1120px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

/* ---------- reset-ish base ---------- */
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; max-width: 65ch; }
p:last-child { margin-bottom: 0; }
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
::selection { background: var(--accent-wash); color: var(--text); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 19, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.1;
}
.brand-word span { color: var(--accent-bright); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: var(--bg-raised); }
.main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a[aria-current="page"]::after { content: none; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--accent-bright); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -10px var(--accent-ring);
}
.btn-primary:hover { background: var(--accent-bright); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text-muted); background: var(--bg-raised); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: clip;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-wash) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-wash);
  border: 1px solid var(--accent-ring);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}
.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat dt {
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--text);
  font-weight: 600;
}
.hero-stat dd {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-panel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--status-ok);
  background: var(--status-ok-wash);
  border: 1px solid rgba(53, 196, 138, 0.3);
  padding: 5px 10px;
  border-radius: 999px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--status-ok);
  box-shadow: 0 0 0 3px var(--status-ok-wash);
}
.hero-panel-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.hero-panel-list svg { width: 18px; height: 18px; color: var(--accent-bright); flex-shrink: 0; margin-top: 2px; }
.hero-panel-list strong { color: var(--text); font-weight: 600; }

/* ---------- generic section rhythm ---------- */
section { padding: 84px 0; }
section + section { border-top: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
  display: block;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--border-strong); }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-ring);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; color: var(--accent-bright); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-bright);
  text-decoration: none;
}
.card-link svg { width: 14px; height: 14px; }

/* ---------- comparison / values ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.compare > div { background: var(--bg-raised); padding: 32px; }
.compare h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
  margin-bottom: 18px;
}
.compare .them h3 { color: var(--text-faint); }
.compare .us h3 { color: var(--accent-bright); }
.compare .us { background: linear-gradient(180deg, var(--accent-wash), transparent 40%), var(--bg-raised); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-muted); }
.compare .us li { color: var(--text); }
.compare li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.compare .them li svg { color: var(--text-faint); }
.compare .us li svg { color: var(--status-ok); }

/* ---------- pricing strip ---------- */
.price-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  margin-top: 40px;
}
.price-strip .amount { font-family: var(--font-mono); font-size: 30px; color: var(--text); }
.price-strip .amount span { font-size: 14px; color: var(--text-faint); }

/* ---------- service detail sections ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-block:nth-of-type(even) .service-media { order: 2; }
.service-media {
  aspect-ratio: 4/3;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 30% 20%, var(--accent-wash), transparent 60%), var(--bg-raised);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-media svg { width: 34%; height: 34%; color: var(--accent-bright); opacity: 0.85; }
.service-media .rings { position: absolute; inset: 0; }
.service-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.service-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-muted); }
.service-list svg { width: 17px; height: 17px; color: var(--status-ok); flex-shrink: 0; margin-top: 3px; }

/* ---------- trust / license strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.trust-item svg { width: 18px; height: 18px; color: var(--accent-bright); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-deep), #2a0c0c 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: clip;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255,255,255,0.06), transparent 55%);
}
.cta-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 56px 24px;
}
.cta-band h2 { font-size: 28px; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.75); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---------- footer ---------- */
.site-footer { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 14.5px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* ---------- page header (non-home pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: clip;
}
.page-hero::before {
  content: "";
  position: absolute; top: -180px; left: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-wash) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(32px, 4.2vw, 46px); position: relative; }
.page-hero p { font-size: 17.5px; color: var(--text-muted); position: relative; max-width: 60ch; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-muted); }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-wash); border: 1px solid var(--accent-ring);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; color: var(--accent-bright); }
.info-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--accent-bright); }
.info-label { font-size: 12.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.map-embed {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  filter: grayscale(0.4) invert(0.92) contrast(0.9);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- support page ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-card { background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.tool-card h3 { font-size: 15px; margin-bottom: 8px; }
.tool-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.tool-card a.btn { width: 100%; justify-content: center; }
.download-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.download-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 10px;
}
.download-list .name { font-size: 14.5px; font-weight: 600; }
.download-list .meta { font-size: 12.5px; color: var(--text-faint); font-family: var(--font-mono); }
.download-list a { font-size: 13.5px; font-weight: 600; color: var(--accent-bright); text-decoration: none; white-space: nowrap; }
.notice {
  border: 1px dashed var(--border-strong);
  background: var(--bg-raised);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.notice strong { color: var(--text); }

/* ---------- about page ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; border-left: 2px solid var(--border); }
.timeline li { padding-left: 24px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.timeline .year { font-family: var(--font-mono); font-size: 13px; color: var(--accent-bright); display: block; margin-bottom: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .service-block, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-block:nth-of-type(even) .service-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }
  .grid-3, .grid-2, .tool-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
}

.site-header.nav-open .main-nav {
  display: flex;
  position: absolute;
  top: 76px; left: 0; right: 0;
  flex-direction: column;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  padding: 12px;
  gap: 2px;
}
.site-header.nav-open .main-nav a { padding: 14px 16px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
