/* Blackbeard Security Systems: bbss.cloud
   Pure CSS. The site's Content-Security-Policy allows no scripts and no inline styles, and loads fonts and images
   only from this origin (plus data: images). Colors and type are shared with the admin and tenant consoles. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050908;
  --bg-2: #08100e;
  --surface: #0b1412;
  --surface-2: #0f1a17;
  --surface-3: #13211d;
  --line: rgba(160, 225, 207, .09);
  --line-2: rgba(160, 225, 207, .16);
  --text: #e8f3ef;
  --text-2: #a1b4ae;
  --text-3: #6b7f79;
  --mint: #6fe6c6;
  --mint-2: #3fd3ac;
  --mint-ink: #032019;
  --mint-glow: rgba(111, 230, 198, .16);
  --amber: #f2b45a;
  --red: #ff6b6b;
  --orange: #ff9a52;
  --yellow: #f2d06b;
  --blue: #74b9ff;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1200px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 50;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--mint); color: var(--mint-ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--mint); color: var(--mint-ink);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(111, 230, 198, .4), 0 10px 30px -10px rgba(111, 230, 198, .55);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: #8cf0d4; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgba(160, 225, 207, .06); box-shadow: inset 0 0 0 1px rgba(160, 225, 207, .3); }
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mint);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 4px rgba(111, 230, 198, .15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(111, 230, 198, 0); } }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 9, 8, .72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.mark { width: 30px; height: 30px; flex: none; }
.mark-shield { fill: rgba(111, 230, 198, .1); stroke: var(--mint); stroke-width: 1.6; stroke-linejoin: round; }
.mark-beard { fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wordmark {
  display: flex; flex-direction: column;
  font-weight: 650; font-size: 16px; letter-spacing: -.01em; line-height: 1.05;
}
.wordmark small {
  margin-top: 3px; font: 500 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3);
}

.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a, .link-quiet {
  padding: 8px 12px; border-radius: 8px;
  color: var(--text-2); font-size: 14.5px; text-decoration: none; transition: color .2s, background .2s;
}
.nav a:hover, .link-quiet:hover { color: var(--text); background: rgba(160, 225, 207, .06); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; padding: 96px 0 72px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -68px 0 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(111, 230, 198, .13), transparent 70%),
    radial-gradient(40% 40% at 8% 0%, rgba(63, 211, 172, .07), transparent 70%),
    linear-gradient(rgba(160, 225, 207, .05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(160, 225, 207, .05) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 92%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }

.hero h1 { margin: 22px 0 22px; font-size: clamp(44px, 6vw, 74px); line-height: 1.02; letter-spacing: -.045em; font-weight: 640; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #9af3da 0%, var(--mint) 45%, #33c9a2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 560px; color: var(--text-2); font-size: 18.5px; line-height: 1.6; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fineprint { max-width: 520px; margin-top: 26px; color: var(--text-3); font-size: 13.5px; }

/* the console preview */
.preview {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(19, 33, 29, .9), rgba(9, 16, 14, .95));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 80px -20px rgba(111, 230, 198, .18);
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
}
.preview-chrome {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--line); background: rgba(5, 9, 8, .5);
}
.preview-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #23332e; }
.preview-chrome b {
  margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: rgba(160, 225, 207, .06);
  font: 500 11.5px/1.4 var(--mono); color: var(--text-3);
}
.preview-chrome i {
  margin-left: auto; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal;
  color: var(--amber); padding: 4px 8px; border-radius: 5px; background: rgba(242, 180, 90, .1);
}
.preview-body { display: grid; grid-template-columns: 138px 1fr; min-height: 380px; }
.preview-nav { padding: 16px 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.pv-logo {
  height: 22px; margin: 0 6px 14px; border-radius: 6px;
  background: linear-gradient(90deg, rgba(111, 230, 198, .5) 0 22px, transparent 22px 30px, rgba(160, 225, 207, .14) 30px 100%);
}
.pv-item { padding: 7px 10px; border-radius: 7px; font-size: 12.5px; color: var(--text-3); }
.pv-item.is-active { color: var(--text); background: rgba(111, 230, 198, .1); box-shadow: inset 2px 0 0 var(--mint); }
.preview-main { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pv-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.pv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv-kpis div { padding: 11px 12px; border-radius: 10px; background: rgba(160, 225, 207, .04); border: 1px solid var(--line); }
.pv-kpis small { display: block; font-size: 11px; color: var(--text-3); }
.pv-kpis b { display: block; margin-top: 3px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.pv-kpis em { font: 500 11px/1 var(--mono); font-style: normal; color: var(--text-3); }
.pv-kpis em.up { color: var(--mint); }
.pv-kpis em.down { color: var(--mint); }
.pv-chart { height: 86px; border-radius: 10px; border: 1px solid var(--line); background: rgba(160, 225, 207, .025); overflow: hidden; }
.pv-chart svg { width: 100%; height: 100%; }
.pv-area { fill: url(#pvfill); }
.pv-line { fill: none; stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pv-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 12px; }
.pv-row {
  display: grid; grid-template-columns: 76px 1.5fr 1fr 64px; gap: 10px; align-items: center;
  padding: 9px 12px; border-top: 1px solid var(--line); color: var(--text-2);
}
.pv-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-th { border-top: 0; background: rgba(160, 225, 207, .04); color: var(--text-3); font-size: 11px; }

.pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500;
  color: var(--text-2); background: rgba(160, 225, 207, .07); border: 1px solid var(--line);
}
.pill-ok { color: var(--mint); background: rgba(111, 230, 198, .08); border-color: rgba(111, 230, 198, .2); }
.pill-warn { color: var(--amber); background: rgba(242, 180, 90, .08); border-color: rgba(242, 180, 90, .22); }
.sev { font-style: normal; font-size: 11px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.sev::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.sev-crit { color: var(--red); }
.sev-high { color: var(--orange); }
.sev-med { color: var(--yellow); }
.sev-low { color: var(--blue); }

/* proof strip */
.proof {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.proof li { padding: 22px 24px 22px 0; display: flex; flex-direction: column; gap: 4px; }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof strong { font-size: 15px; font-weight: 600; }
.proof span { color: var(--text-3); font-size: 14px; }

/* ---------------------------------------------------------------- sections */

.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { margin: 16px 0 16px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.section-head p:not(.eyebrow) { color: var(--text-2); font-size: 17.5px; }

/* how it works */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; counter-reset: flow; }
.flow::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 33px; height: 1px;
  background: linear-gradient(90deg, var(--line-2), var(--mint) 80%);
  opacity: .6;
}
.flow li {
  position: relative; padding: 0 22px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.flow-step {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 11px 0 22px;
  border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2);
  font: 500 13px/1 var(--mono); color: var(--mint);
}
.flow h3 { font-size: 18px; margin-bottom: 10px; }
.flow p { color: var(--text-2); font-size: 15px; }
.flow-final { border-color: rgba(111, 230, 198, .35) !important; box-shadow: 0 0 0 1px rgba(111, 230, 198, .08), 0 20px 60px -30px rgba(111, 230, 198, .5); }
.flow-final .flow-step { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }

/* platform bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.card h3 { font-size: 19px; }
.card p { color: var(--text-2); font-size: 15px; }
.card-wide { grid-column: span 2; }
.card-full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.card-accent { background: radial-gradient(120% 140% at 100% 0%, rgba(111, 230, 198, .12), transparent 55%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.token {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px;
}
.token span {
  padding: 8px 12px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
}
.token span:last-child { color: var(--mint); border-color: rgba(111, 230, 198, .35); }
.token i { font-style: normal; color: var(--text-3); }

/* editions */
.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.edition {
  padding: 34px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  display: flex; flex-direction: column; gap: 26px;
}
.edition h3 { font-size: 26px; }
.edition header p { margin-top: 8px; color: var(--text-2); }
.edition ul { display: grid; gap: 12px; flex: 1; }
.edition li { position: relative; padding-left: 28px; color: var(--text-2); }
.edition li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(111, 230, 198, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%236fe6c6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.edition .btn { align-self: flex-start; }
.edition-featured {
  border-color: rgba(111, 230, 198, .35);
  background: radial-gradient(120% 100% at 100% 0%, rgba(111, 230, 198, .13), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--surface));
}

/* privacy */
.section-privacy { background: linear-gradient(180deg, transparent, rgba(11, 20, 18, .7) 30%, rgba(11, 20, 18, .7) 70%, transparent); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.privacy-grid .section-head { margin-bottom: 0; }
.privacy-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.privacy-col { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.privacy-col h3 { font-size: 17px; margin-bottom: 18px; }
.ticks, .crosses { display: grid; gap: 14px; }
.ticks li, .crosses li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15px; }
.ticks li::before, .crosses li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%;
  background-position: center; background-size: 13px; background-repeat: no-repeat;
}
.ticks li::before {
  background-color: rgba(111, 230, 198, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%236fe6c6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.crosses li::before {
  background-color: rgba(255, 107, 107, .1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5.2 5.2 5.6 5.6m0-5.6-5.6 5.6' fill='none' stroke='%23ff8a8a' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.privacy-never { background: linear-gradient(180deg, rgba(255, 107, 107, .035), transparent 60%), var(--surface); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 100px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-size: 17.5px; font-weight: 550; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; border: 1px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.5v7M4.5 8h7' fill='none' stroke='%236fe6c6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--mint); }
.faq details p { padding: 0 48px 24px 0; color: var(--text-2); }

/* closing call to action */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center;
  padding: 56px; border-radius: 22px; border: 1px solid rgba(111, 230, 198, .28);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(111, 230, 198, .16), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgba(63, 211, 172, .1), transparent 60%),
    var(--surface);
}
.cta-band h2 { margin: 14px 0 12px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; }
.cta-band p:not(.eyebrow) { color: var(--text-2); max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ---------------------------------------------------------------- footer */

.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding: 56px 0 40px; }
.footer-brand p { margin-top: 16px; color: var(--text-3); font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.footer-col a { color: var(--text-2); font-size: 14.5px; text-decoration: none; }
.footer-col a:hover { color: var(--mint); }
.footer-base { padding: 22px 0 32px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13.5px; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .preview { transform: none; max-width: 720px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }
  .privacy-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid .section-head { position: static; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-full { grid-template-columns: 1fr; gap: 10px; }
  .editions { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .hero { padding: 64px 0 56px; }
  .lede { font-size: 17px; }
  .section { padding: 80px 0; }
  .link-quiet { display: none; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-nav { display: none; }
  .pv-row { grid-template-columns: 68px 1.4fr 56px; }
  .pv-row > span:nth-child(3) { display: none; }
  .proof { grid-template-columns: 1fr; margin-top: 64px; }
  .proof li, .proof li + li { padding: 16px 0; border-left: 0; }
  .proof li + li { border-top: 1px solid var(--line); }
  .flow, .bento, .privacy-cols { grid-template-columns: 1fr; }
  .card-wide, .card-full { grid-column: auto; }
  .card-full { display: flex; }
  .edition { padding: 26px; }
  .cta-band { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
