/*
 * @purpose Marketing site styling: dark security-product aesthetic,
 *          responsive layout and accessible navigation for public pages.
 * ==========================================================================
 */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg:            #070b12;
  --bg-2:          #0a1019;
  --surface:       #101826;
  --surface-2:     #151f30;
  --surface-3:     #1b283c;
  --border:        #25344a;
  --border-soft:   #1a2537;
  --text:          #eaf1fa;
  --text-dim:      #b6c4d6;
  --muted:         #8c9db4;
  --accent:        #48e0c0;
  --accent-deep:   #16a88e;
  --accent-soft:   rgba(72, 224, 192, 0.12);
  --accent-line:   rgba(72, 224, 192, 0.38);
  --blue:          #7bb0ff;
  --blue-soft:     rgba(123, 176, 255, 0.12);
  --warn:          #ffc06a;
  --warn-soft:     rgba(255, 192, 106, 0.12);
  --danger:        #ff7b84;
  --danger-soft:   rgba(255, 123, 132, 0.12);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 0 1px var(--accent-line), 0 24px 70px -30px rgba(72, 224, 192, 0.35);

  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.75, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient background glow — pure CSS, no images. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 78% -12%, rgba(72, 224, 192, 0.10), transparent 70%),
    radial-gradient(760px 480px at 10% 8%, rgba(123, 176, 255, 0.08), transparent 72%);
}

img, svg { max-width: 100%; }
svg { display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #a6f4e3; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 650;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.35rem); letter-spacing: -0.048em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); letter-spacing: -0.025em; }
h4 { font-size: 1.02rem; letter-spacing: -0.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin: 0.35em 0; }
li::marker { color: var(--accent-deep); }

code, pre, .mono { font-family: var(--font-mono); }
code {
  font-size: 0.9em;
  color: #b9f3e6;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  padding: 0.12em 0.4em;
}

pre {
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: #080d16;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.84rem;
  line-height: 1.7;
  color: #c7d6e8;
}
pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }

hr { border: 0; border-top: 1px solid var(--border-soft); margin: 3rem 0; }

::selection { background: var(--accent-soft); color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: #04120f;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 12px; color: #04120f; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section-tint {
  background: linear-gradient(180deg, var(--bg-2), #080d15);
  border-block: 1px solid var(--border-soft);
}

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.75rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 64ch;
}
.section-head.center .lead { margin-inline: auto; }

.muted { color: var(--muted); }
.dim { color: var(--text-dim); }
.small { font-size: 0.87rem; }
.tiny { font-size: 0.76rem; }
.text-accent { color: var(--accent); }
.text-warn { color: var(--warn); }
.text-danger { color: var(--danger); }
.text-blue { color: var(--blue); }
.strong { font-weight: 650; }
.center { text-align: center; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.stack > * + * { margin-top: 1.1rem; }
.row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   4. Buttons & pills
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.72rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #04130f;
  box-shadow: 0 10px 30px -14px rgba(72, 224, 192, 0.7);
}
.btn-primary:hover { background: #7df0d7; color: #04130f; box-shadow: 0 14px 36px -14px rgba(72, 224, 192, 0.85); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--text); }

.btn-ghost { background: transparent; color: var(--text-dim); padding-inline: 0.6rem; }
.btn-ghost:hover { color: var(--accent); background: transparent; }

.btn-sm { min-height: 38px; padding: 0.5rem 0.9rem; font-size: 0.85rem; border-radius: 8px; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.pill-accent { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.pill-blue { border-color: rgba(123, 176, 255, 0.35); background: var(--blue-soft); color: var(--blue); }
.pill-warn { border-color: rgba(255, 192, 106, 0.35); background: var(--warn-soft); color: var(--warn); }
.pill-danger { border-color: rgba(255, 123, 132, 0.35); background: var(--danger-soft); color: var(--danger); }

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(72, 224, 192, 0.14);
  flex: none;
}
.dot-blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(123, 176, 255, 0.14); }
.dot-warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(255, 192, 106, 0.14); }
.dot-danger { background: var(--danger); box-shadow: 0 0 0 3px rgba(255, 123, 132, 0.14); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  font-size: 0.92rem;
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.18s var(--ease); }
.text-link:hover svg { transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border-soft);
  background: rgba(7, 11, 18, 0.94);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  flex: none;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(72, 224, 192, 0.22), rgba(123, 176, 255, 0.08));
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 1px solid var(--border);
  padding-left: 0.65rem;
  margin-left: 0.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 550;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav-cta { flex: none; }
.mobile-cta { display: none !important; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5.5rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent-line-text { color: var(--accent); }
.hero .lead { margin-bottom: 1.9rem; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-note {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; color: var(--muted);
}
.hero-note svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem 0.35rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}
.hero-badge .pill { padding: 0.12rem 0.5rem; font-size: 0.65rem; }

/* --------------------------------------------------------------------------
   7. CSS product mock (fake screenshots, no external assets)
   -------------------------------------------------------------------------- */
.shot-wrap { position: relative; }
.shot-wrap::after {
  content: "";
  position: absolute;
  inset: 12% -6% -8% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(72, 224, 192, 0.16), transparent 72%);
  filter: blur(18px);
  z-index: -1;
}

.shot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0c1320;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.45;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 34px;
  padding: 0 0.75rem;
  background: #111a29;
  border-bottom: 1px solid var(--border-soft);
}
.shot-bar .dot { width: 8px; height: 8px; box-shadow: none; }
.shot-bar .dot-r { background: #ff6b6b; }
.shot-bar .dot-y { background: #ffc06a; }
.shot-bar .dot-g { background: #48e0c0; }
.shot-address {
  margin: 0 auto;
  padding: 0.18rem 0.7rem;
  border-radius: 5px;
  background: #0a111c;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-body { display: grid; grid-template-columns: 138px minmax(0, 1fr); min-height: 390px; }

.shot-side {
  background: #0e1624;
  border-right: 1px solid var(--border-soft);
  padding: 0.9rem 0.6rem;
}
.shot-side-brand {
  display: flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.74rem; color: var(--text);
  margin-bottom: 1.1rem; padding: 0 0.35rem;
}
.shot-side-brand i {
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  display: block;
}
.shot-nav-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.shot-nav-item i {
  width: 10px; height: 10px; border-radius: 3px;
  border: 1px solid currentColor; opacity: 0.7; flex: none;
}
.shot-nav-item.active { background: var(--accent-soft); color: var(--accent); }
.shot-nav-label {
  margin: 1.1rem 0 0.4rem 0.5rem;
  font-size: 0.57rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5f728c;
}

.shot-main { padding: 1rem 1.1rem 1.1rem; min-width: 0; }
.shot-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.9rem; }
.shot-title { font-size: 0.95rem; font-weight: 650; color: var(--text); letter-spacing: -0.02em; }
.shot-sub { font-size: 0.62rem; color: var(--muted); }

.shot-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 0.8rem; }
.shot-metric {
  background: #111a29; border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 0.55rem 0.65rem;
}
.shot-metric .k { color: var(--muted); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.09em; }
.shot-metric .v { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.shot-metric .v.alert { color: var(--danger); }
.shot-metric .v.ok { color: var(--accent); }
.shot-spark { display: flex; align-items: end; gap: 2px; height: 14px; margin-top: 0.25rem; }
.shot-spark i { flex: 1; background: rgba(72, 224, 192, 0.5); border-radius: 1px; }
.shot-spark i:nth-child(2n) { background: rgba(123, 176, 255, 0.45); }

.shot-alert {
  border: 1px solid rgba(255, 123, 132, 0.3);
  background: linear-gradient(180deg, rgba(255, 123, 132, 0.07), rgba(255, 123, 132, 0.015));
  border-radius: 9px;
  overflow: hidden;
}
.shot-alert-head {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid rgba(255, 123, 132, 0.18);
  font-weight: 650; color: #ffc0c5; font-size: 0.7rem;
}
.shot-alert-head .pill { font-size: 0.58rem; padding: 0.12rem 0.45rem; }
.shot-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 0; }

.shot-browser { border-right: 1px solid rgba(255, 123, 132, 0.18); min-width: 0; }
.shot-browser-bar {
  padding: 0.32rem 0.55rem;
  background: #0c1421;
  font-family: var(--font-mono); font-size: 0.57rem; color: var(--muted);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shot-browser-page {
  min-height: 168px;
  padding: 0.8rem;
  background: #e8edf3;
  position: relative;
  overflow: hidden;
}
.fake-site-nav { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.8rem; }
.fake-site-logo { width: 34px; height: 7px; border-radius: 2px; background: #25324a; }
.fake-site-link { width: 20px; height: 4px; border-radius: 2px; background: #aab5c4; }
.fake-site-link:last-child { margin-left: auto; width: 30px; background: #25324a; }
.fake-site-hero { height: 46px; border-radius: 4px; background: linear-gradient(120deg, #cfd8e4, #b9c5d4); margin-bottom: 0.5rem; }
.fake-site-lines { display: grid; gap: 0.28rem; }
.fake-site-lines i { height: 4px; border-radius: 2px; background: #c4cfdc; }
.fake-site-lines i:nth-child(2) { width: 84%; }
.fake-site-lines i:nth-child(3) { width: 62%; }
.fake-site-deface {
  position: absolute;
  inset: 32% 8% auto;
  background: #12161d;
  color: #ff5d67;
  text-align: center;
  padding: 0.6rem 0.4rem;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  border: 1px solid #ff5d67;
  transform: rotate(-1.5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.fake-site-deface small { display: block; font-size: 0.42rem; letter-spacing: 0.08em; color: #ff9aa1; margin-top: 0.2rem; font-weight: 500; }
.shot-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 28%;
  background: linear-gradient(180deg, transparent, rgba(255, 123, 132, 0.10), transparent);
  animation: scan 4.5s linear infinite;
  pointer-events: none;
}
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(600%); } }

.shot-evidence { padding: 0.6rem 0.7rem; min-width: 0; }
.shot-evidence-row {
  display: flex; align-items: flex-start; gap: 0.45rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-soft);
}
.shot-evidence-row:last-child { border-bottom: 0; }
.shot-evidence-row .k { color: var(--muted); font-size: 0.6rem; min-width: 74px; }
.shot-evidence-row .val { color: var(--text-dim); font-size: 0.63rem; font-family: var(--font-mono); word-break: break-all; }
.shot-evidence-row .val.ok { color: var(--accent); }
.shot-evidence-row .val.warn { color: var(--warn); }

.shot-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: #0e1624;
  border-top: 1px solid var(--border-soft);
  color: var(--muted); font-size: 0.6rem;
}
.chain {
  display: flex; align-items: center; gap: 3px;
}
.chain i {
  width: 16px; height: 8px; border-radius: 2px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.chain i:last-child { background: var(--accent); }
.chain span { font-family: var(--font-mono); color: var(--accent); margin-left: 0.25rem; }

/* --------------------------------------------------------------------------
   8. Trust bar
   -------------------------------------------------------------------------- */
.trust-bar {
  border-block: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.015);
}
.trust-inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem);
  flex-wrap: wrap;
  padding-block: 1.15rem;
}
.trust-label {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; white-space: nowrap;
}
.trust-items {
  display: flex; gap: clamp(1rem, 3vw, 2.5rem); flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
}
.trust-items li {
  margin: 0;
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.84rem; color: var(--text-dim); font-weight: 550;
}
.trust-items svg { width: 15px; height: 15px; color: var(--accent-deep); flex: none; }

/* --------------------------------------------------------------------------
   9. Cards & feature grids
   -------------------------------------------------------------------------- */
.card {
  background: linear-gradient(180deg, var(--surface), #0d1522);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.card:hover { border-color: var(--border); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }
.card p + p { margin-top: 0.8rem; }
.card-accent { border-top: 2px solid var(--accent-line); }

.feature-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 1.05rem;
}
.feature-icon svg { width: 19px; height: 19px; }
.feature-icon.blue { background: var(--blue-soft); border-color: rgba(123, 176, 255, 0.35); color: var(--blue); }
.feature-icon.warn { background: var(--warn-soft); border-color: rgba(255, 192, 106, 0.35); color: var(--warn); }
.feature-icon.danger { background: var(--danger-soft); border-color: rgba(255, 123, 132, 0.35); color: var(--danger); }

.feature-list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.feature-list li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.88rem; color: var(--text-dim); margin: 0.55rem 0; }
.feature-list svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 0.22rem; }

/* --------------------------------------------------------------------------
   10. Split content / product overview
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split-copy h2 { margin-bottom: 0.9rem; }
.split-copy .lead { margin-bottom: 1.4rem; }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.85rem 0; color: var(--text-dim); font-size: 0.94rem; }
.check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); display: grid; place-items: center; flex: none; margin-top: 0.15rem;
}
.check-icon svg { width: 11px; height: 11px; }

/* Pipeline visual */
.pipeline { display: grid; gap: 0.75rem; }
.pipe-step {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0.9rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--surface);
}
.pipe-num {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
}
.pipe-step h4 { margin: 0 0 0.2rem; font-size: 0.92rem; }
.pipe-step p { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Steps (how it works)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding-top: 2.9rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
  color: var(--accent);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: 9px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px; left: 54px; right: -14px;
  border-top: 1px dashed var(--border);
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Pricing
   -------------------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), #0c131f);
  padding: 1.7rem;
}
.price-card.featured {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.price-card.featured::before {
  content: "Most teams";
  position: absolute; top: -11px; right: 1.3rem;
  background: var(--accent); color: #04130f;
  font-size: 0.66rem; font-weight: 750; letter-spacing: 0.04em;
  padding: 0.2rem 0.65rem; border-radius: 999px;
}
.price-name { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.35rem; }
.price-tag { font-size: 0.86rem; color: var(--muted); min-height: 2.6em; margin-bottom: 1.2rem; }
.price-value { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.04em; margin-bottom: 0.2rem; }
.price-value small { font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card .btn { margin-top: auto; }
.price-features { list-style: none; padding: 0; margin: 1.3rem 0 1.7rem; }
.price-features li { display: flex; gap: 0.55rem; font-size: 0.86rem; color: var(--text-dim); margin: 0.65rem 0; }
.price-features svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 0.22rem; }

/* --------------------------------------------------------------------------
   13. FAQ / accordion
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.7rem; }
.faq details {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.faq details[open] { border-color: var(--accent-line); background: var(--surface-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  flex: none;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 1.2rem 1.15rem; color: var(--muted); font-size: 0.92rem; max-width: 82ch; }
.faq .faq-a p { margin-bottom: 0.7rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 240px at 85% 0%, rgba(72, 224, 192, 0.16), transparent 70%),
    linear-gradient(135deg, #10202a, #0c1420 60%);
  padding: clamp(2.2rem, 5vw, 3.6rem);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72, 224, 192, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 224, 192, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 75%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--text-dim); max-width: 58ch; }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* --------------------------------------------------------------------------
   15. Tables (comparison)
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 0.89rem; }
th, td { padding: 0.9rem 1.05rem; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
thead th {
  background: var(--surface-2);
  font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 700;
  position: sticky; top: 0;
}
thead th:first-child, tbody td:first-child { min-width: 210px; }
tbody th { color: var(--text); font-weight: 600; font-size: 0.88rem; }
tbody td { color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--accent); }
td.no { color: var(--muted); }
td.partial { color: var(--warn); }
.table-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }

/* --------------------------------------------------------------------------
   16. Docs layout & prose
   -------------------------------------------------------------------------- */
.docs-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.docs-side {
  position: sticky; top: calc(var(--header-h) + 24px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.1rem;
}
.docs-side h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.docs-side ul { list-style: none; padding: 0; margin: 0; }
.docs-side li { margin: 0.1rem 0; }
.docs-side a {
  display: block; padding: 0.4rem 0.6rem; border-radius: 7px;
  font-size: 0.86rem; color: var(--text-dim);
}
.docs-side a:hover { background: var(--surface-2); color: var(--accent); }

.prose { max-width: 76ch; }
.prose h2 { scroll-margin-top: calc(var(--header-h) + 24px); margin-top: 2.6rem; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; font-size: 1.1rem; }
.prose p, .prose li { color: var(--text-dim); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose code { word-break: break-word; }
.prose .callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.prose .callout strong { color: var(--text); }
.prose .callout.warn { border-left-color: var(--warn); background: var(--warn-soft); }
.callout p:last-child { margin-bottom: 0; }

.code-block { margin: 1.4rem 0; }
.code-label {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  font-size: 0.72rem; color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border); border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0.5rem 0.85rem;
}
.code-block pre { border-radius: 0 0 var(--radius) var(--radius); }
.copy-btn {
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-dim);
  border-radius: 6px;
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent-line); }

/* --------------------------------------------------------------------------
   17. Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(3.2rem, 6vw, 5.2rem) 0 clamp(2.2rem, 4vw, 3.4rem);
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(700px 260px at 82% -20%, rgba(72, 224, 192, 0.09), transparent 70%),
    radial-gradient(600px 240px at 5% 10%, rgba(123, 176, 255, 0.07), transparent 72%);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 0.9rem; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.45rem; color: var(--border); }

/* --------------------------------------------------------------------------
   18. Blog cards
   -------------------------------------------------------------------------- */
.post-card {
  display: block;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.5rem;
  color: var(--text);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.post-card:hover { border-color: var(--accent-line); transform: translateY(-3px); color: var(--text); }
.post-meta { display: flex; gap: 0.7rem; align-items: center; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.8rem; }
.post-card h2 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.post-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* --------------------------------------------------------------------------
   19. Forms & contact
   -------------------------------------------------------------------------- */
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), #0c131f);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dim); margin-bottom: 0.45rem; }
.field input, .field textarea, .field select {
  width: 100%;
  background: #0a111c;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.72rem 0.85rem;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.16s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #63748c; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-line); outline: none; }
.field textarea { min-height: 132px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.8rem; }
.form-msg { font-size: 0.85rem; color: var(--accent); min-height: 1.4em; margin-top: 0.8rem; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.info-list li:last-child { border-bottom: 0; }
.info-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
}
.info-icon svg { width: 16px; height: 16px; }
.info-list strong { display: block; font-size: 0.92rem; margin-bottom: 0.15rem; }
.info-list span { font-size: 0.86rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: #080d15;
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.6rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--muted); font-size: 0.87rem; max-width: 32ch; margin-top: 1rem; }
.footer-brand .pill { margin-top: 0.4rem; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0.55rem 0; }
.footer-col a { color: var(--muted); font-size: 0.86rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: 0.8rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-status { display: inline-flex; align-items: center; gap: 0.5rem; }

/* --------------------------------------------------------------------------
   21. Reveal animation (progressive enhancement)
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal].in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1040px) {
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 0.5rem; font-size: 0.82rem; }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); row-gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.9rem 1.25rem 1.3rem;
    background: #090f18;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 0.7rem 0.85rem; font-size: 0.95rem; }
  .nav-cta { display: none; }
  .mobile-cta { display: block !important; }
  .mobile-cta a { color: var(--accent) !important; font-weight: 700; }
  .hero-grid, .split, .docs-grid { grid-template-columns: 1fr; }
  .docs-side { position: static; }
  .grid-4, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-body { grid-template-columns: 1fr; }
  .shot-side { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .grid-3, .price-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.8rem; }
  .shot-split { grid-template-columns: 1fr; }
  .shot-browser { border-right: 0; border-bottom: 1px solid rgba(255, 123, 132, 0.18); }
  .shot-metrics { grid-template-columns: repeat(3, 1fr); }
  .trust-label { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .section-head { margin-bottom: 2rem; }
  .cta-band { border-radius: var(--radius); }
}

@media (max-width: 520px) {
  .container, .container-narrow { width: min(100% - 1.75rem, var(--container)); }
  .grid-2, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-row .btn { width: 100%; }
  .shot-metrics { grid-template-columns: 1fr; }
  .shot-metric { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
  .shot-spark { width: 60px; }
  .shot-address { display: none; }
  .shot-wrap::after { inset: 8% 0 -6% 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
