/* =========================================================
   OSINT@Home — style.css  (V2 — console-aligned)
   Palette + fonts adapted from the OSINT@Home Electron client.
   ========================================================= */

:root {
  /* ----- Palette (from client) ----- */
  --bg:           #010204;
  --bg-1:         #03070b;
  --bg-2:         #06080d;
  --panel:        rgba(9, 14, 24, 0.92);
  --panel-soft:   rgba(18, 28, 44, 0.72);
  --panel-line:   rgba(164, 228, 255, 0.22);
  --line:         rgba(164, 228, 255, 0.18);
  --line-strong:  rgba(161, 235, 255, 0.52);

  --text:         #f2f4fb;
  --text-2:       #d8e6fb;
  --muted:        #b6c5da;
  --dim:          #7c8ba6;

  --cyan:         #a7f4ff;
  --cyan-strong:  #62d3ff;
  --cyan-deep:    #2c5fff;

  /* Status palette */
  --green:        #7cff95;
  --amber:        #ffd86a;
  --rose:         #ff8eb8;
  --violet:       #c5aaff;

  /* Effects */
  --shadow-lg:    0 24px 80px rgba(0, 0, 0, 0.55);
  --shadow-md:    0 14px 40px rgba(0, 0, 0, 0.45);
  --glow-cyan:    0 0 18px rgba(98, 211, 255, 0.25);

  /* Layout */
  --maxw:         1180px;
  --pad-x:        clamp(20px, 4vw, 40px);
  --radius:       2px;
  --radius-md:    3px;

  /* Type */
  --font-ui:      "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Roboto Condensed", "Roboto", system-ui, sans-serif;
  --font-mono:    "VT323", "Consolas", ui-monospace, SFMono-Regular, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(78, 122, 255, 0.10), transparent 60%),
    radial-gradient(900px 480px at 100% 0%, rgba(89, 198, 255, 0.08), transparent 60%),
    var(--bg);
}

/* Subtle scanline / grid texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(164, 228, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(164, 228, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
}

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

a { color: var(--cyan-strong); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--cyan); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan-strong);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em 0; color: var(--text-2); }
p.lead { font-size: 1.125rem; }
.muted { color: var(--muted); }

ul { padding-left: 1.1em; }
li  { margin-bottom: .4em; color: var(--text-2); }

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(98, 211, 255, 0.018));
}

/* Technical eyebrow label — Roboto Condensed uppercase, tracked, cyan dot */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0 0 14px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--cyan-strong);
  box-shadow: 0 0 12px rgba(98,211,255,0.6);
  border-radius: 1px;
  transform: rotate(45deg);
}

.section-header { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-header h2 { margin-top: 6px; }
.section-header p  {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 64ch;
}

/* =========================================================
   Navbar
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 2, 4, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand__logo {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}
.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.005em;
  color: var(--text);
}
.brand__name .at { color: var(--cyan-strong); }
.brand__tm {
  color: var(--muted);
  font-weight: 500;
  margin-left: 1px;
  font-size: 0.55em;
  vertical-align: super;
}
.brand--lg .brand__logo  { height: 76px; }
.brand--lg .brand__name  { font-size: 1.6rem; }

@media (max-width: 1100px) {
  .brand__logo { height: 46px; }
  .brand__name { font-size: 1.2rem; }
}
@media (max-width: 640px) {
  .brand__logo { height: 40px; }
  .brand__name { font-size: 1.05rem; }
}

.nav__links {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--text); }

.nav__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  background: rgba(255, 216, 106, 0.06);
}
@media (max-width: 1100px) {
  .nav__status { display: none; }
}
.nav__status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 216, 106, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .55; transform: scale(0.82); }
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle svg { width: 18px; height: 18px; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg svg { width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero__copy h1 {
  margin-top: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #b8c5dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cyan);
  max-width: 50ch;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.hero__lede {
  color: var(--text-2);
  font-size: 1.02rem;
  max-width: 52ch;
  margin-bottom: 36px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease, box-shadow .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(180deg, rgba(98, 211, 255, 0.95), rgba(44, 95, 255, 0.95));
  color: #02080f;
  border-color: rgba(167, 244, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(98, 211, 255, 0.18), 0 10px 30px -10px rgba(98, 211, 255, 0.45);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #a7f4ff, #62d3ff);
  color: #02080f;
}
.btn--primary[aria-disabled="true"] {
  background: rgba(98, 211, 255, 0.08);
  color: var(--cyan);
  border-color: var(--line-strong);
  cursor: default;
  box-shadow: none;
}
.btn--primary[aria-disabled="true"]:hover { background: rgba(98, 211, 255, 0.08); color: var(--cyan); }

.btn--ghost {
  background: linear-gradient(180deg, rgba(24, 39, 74, 0.55), rgba(11, 18, 34, 0.65));
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn--secondary {
  background: linear-gradient(180deg, rgba(24, 39, 74, 0.84), rgba(11, 18, 34, 0.9));
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn--secondary:hover { border-color: var(--line-strong); color: var(--cyan); }

.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Hero side panel — console / status card
   ========================================================= */

.osint-panel {
  border: 1px solid var(--panel-line);
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.96), rgba(2, 3, 7, 0.94));
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero__panel-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(98, 211, 255, 0.03);
}
.hero__panel-head .dots { display: flex; gap: 6px; }
.hero__panel-head .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(164, 228, 255, 0.18);
}
.hero__panel-head .dots span:first-child { background: var(--rose); }
.hero__panel-head .dots span:nth-child(2) { background: var(--amber); }
.hero__panel-head .dots span:nth-child(3) { background: var(--green); }
.hero__panel-head .label {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--muted);
}

.hero__panel-body {
  padding: 18px 20px 22px;
  font-family: var(--font-mono);
  font-size: 1.18rem; /* VT323 reads small, bump it */
  line-height: 1.5;
}
.hero__panel-body .row { display: flex; justify-content: space-between; gap: 16px; }
.hero__panel-body .k { color: var(--dim); text-transform: uppercase; letter-spacing: 0.04em; }
.hero__panel-body .v { color: var(--text); }
.hero__panel-body .v.cyan  { color: var(--cyan); }
.hero__panel-body .v.green { color: var(--green); }
.hero__panel-body .v.amber { color: var(--amber); }
.hero__panel-body hr {
  border: 0; border-top: 1px dashed var(--line);
  margin: 10px 0;
}
.hero__panel-body .bar {
  height: 6px; background: rgba(164, 228, 255, 0.08);
  border-radius: 1px; overflow: hidden; margin-top: 6px;
}
.hero__panel-body .bar > span {
  display: block; height: 100%; width: 62%;
  background: linear-gradient(90deg, var(--cyan-strong), var(--cyan));
}
.hero__panel-body .blink {
  display: inline-block;
  background: var(--cyan);
  width: 9px; height: 16px;
  vertical-align: -2px;
  margin-left: 4px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================
   Cards / Grid
   ========================================================= */

.grid {
  display: grid;
  gap: 16px;
}
.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)); }

.card {
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.85), rgba(2, 3, 7, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.card:hover {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(12, 18, 30, 0.85), rgba(4, 6, 12, 0.85));
}
.card__index {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.card h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
}
.card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* =========================================================
   How it works (numbered steps)
   ========================================================= */

.steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  list-style: none;
  padding: 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(6, 8, 12, 0.85);
  align-items: baseline;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--cyan);
}
.step__body h3 {
  margin: 0 0 4px 0;
  font-size: 1.02rem;
  font-weight: 500;
  font-family: var(--font-ui);
  letter-spacing: 0;
}
.step__body p  { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* =========================================================
   Privacy bullets
   ========================================================= */

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 8px;
}
.principle {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(6, 8, 12, 0.7);
  border-radius: var(--radius-md);
}
.principle .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(98, 211, 255, 0.10);
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}
.principle p { margin: 0; color: var(--text); font-size: 0.95rem; }

.callout {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================================================
   Roadmap
   ========================================================= */

.roadmap { position: relative; list-style: none; padding: 0; margin: 0; }
.roadmap::before {
  content:"";
  position: absolute;
  left: 13px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg,
    var(--green) 0%, var(--green) 30%,
    var(--cyan) 30%, var(--cyan) 45%,
    var(--line-strong) 45%, var(--line-strong) 100%);
}
.phase {
  position: relative;
  padding: 14px 0 14px 44px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: baseline;
}
.phase + .phase { border-top: 1px solid var(--line); }
.phase::before {
  content: "";
  position: absolute;
  left: 8px; top: 22px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-strong);
}
.phase--done::before {
  background: var(--green);
  border-color: var(--green);
}
.phase--current::before {
  background: var(--cyan-strong);
  border-color: var(--cyan-strong);
  box-shadow: 0 0 0 4px rgba(98, 211, 255, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.phase__id {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.phase--done    .phase__id { color: var(--green); }
.phase--current .phase__id { color: var(--cyan); }
.phase__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}
.phase__status {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.phase--done .phase__status {
  color: var(--green);
  border-color: rgba(124, 255, 149, 0.4);
  background: rgba(124, 255, 149, 0.08);
}
.phase--current .phase__status {
  color: var(--cyan);
  border-color: var(--line-strong);
  background: rgba(98, 211, 255, 0.10);
}

/* =========================================================
   Download / Waitlist section
   ========================================================= */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.92), rgba(2, 3, 7, 0.92));
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.dl-card__head {
  display: flex; align-items: center; gap: 14px;
}
.dl-card__os {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cyan);
  background: rgba(98, 211, 255, 0.06);
  flex-shrink: 0;
}
.dl-card__os svg { width: 22px; height: 22px; }
.dl-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.dl-card__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}
.dl-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--muted);
}
.dl-card__meta span strong {
  color: var(--cyan);
  font-weight: 400;
}
.dl-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.waitlist {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.waitlist input[type="email"] {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(2, 3, 7, 0.85);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.waitlist input[type="email"]::placeholder { color: var(--dim); }
.waitlist input[type="email"]:focus {
  border-color: var(--cyan-strong);
  background: rgba(6, 8, 12, 0.95);
}
.waitlist .btn {
  padding: 11px 16px;
  font-size: 0.78rem;
}
.waitlist__msg {
  display: none;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--green);
}
.waitlist__msg.is-visible { display: block; }

.dl-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  align-self: flex-start;
}
.dl-badge--soon  { color: var(--cyan);  background: rgba(98, 211, 255, 0.08); }
.dl-badge--later { color: var(--muted); background: rgba(164, 228, 255, 0.04); }

/* =========================================================
   Final CTA band
   ========================================================= */

.cta-band {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(800px 240px at 80% 0%, rgba(98, 211, 255, 0.10), transparent 70%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.95), rgba(2, 3, 7, 0.95));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cta-band h2 { margin: 0; }
.cta-band p  { margin: 6px 0 0 0; color: var(--muted); max-width: 56ch; }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin: 0 0 12px;
  font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 6px 0; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer__brand p {
  margin: 14px 0 0 0;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.55;
}
.footer__brand .footer__tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--cyan);
  letter-spacing: 0.01em;
  margin: 14px 0 0 0;
}
.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--dim);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-size: 1rem;
}

/* =========================================================
   Sub-pages (privacy / trademark)
   ========================================================= */

.page-hero {
  padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-top: 10px;
}
.page-hero p { color: var(--muted); max-width: 60ch; }

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) 0;
}
.prose h2 {
  margin-top: 2em;
  font-size: 1.25rem;
}
.prose p, .prose li { color: var(--text-2); }
.prose .note {
  padding: 16px 18px;
  border-left: 2px solid var(--cyan-strong);
  background: rgba(98, 211, 255, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 24px 0;
}

/* =========================================================
   Status pills (used in status page + leaderboard)
   ========================================================= */

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: rgba(255,255,255,0.02);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.pill--green { color: var(--green); }
.pill--amber { color: var(--amber); }
.pill--rose  { color: var(--rose);  }
.pill--cyan  { color: var(--cyan);  }
.pill--dim   { color: var(--dim);   }

/* =========================================================
   Status page
   ========================================================= */

.status-banner {
  border: 1px solid rgba(124, 255, 149, 0.45);
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(124, 255, 149, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(6, 14, 10, 0.92), rgba(2, 6, 4, 0.92));
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.status-banner__title {
  display: flex; align-items: center; gap: 16px;
}
.status-banner__indicator {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(124, 255, 149, 0.20), 0 0 18px rgba(124, 255, 149, 0.45);
  flex-shrink: 0;
}
.status-banner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text);
}
.status-banner__meta {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--muted);
}

.status-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(6, 8, 12, 0.7);
}
.status-row {
  display: grid;
  grid-template-columns: 1.6fr 2fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.status-row:first-child { border-top: 0; }
.status-row__name {
  display: flex; flex-direction: column; gap: 2px;
}
.status-row__name strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  font-size: 1rem;
}
.status-row__name span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.uptime-bar {
  display: flex;
  gap: 2px;
  height: 28px;
  align-items: stretch;
}
.uptime-bar i {
  flex: 1;
  background: var(--green);
  border-radius: 1px;
  opacity: 0.9;
}
.uptime-bar i.warn  { background: var(--amber); opacity: 0.95; }
.uptime-bar i.down  { background: var(--rose);  opacity: 0.95; }
.uptime-bar i.empty { background: rgba(164, 228, 255, 0.06); }
.uptime-meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--dim);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.metric {
  border: 1px solid var(--line);
  background: rgba(6, 8, 12, 0.7);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.metric .k {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.metric .v {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}
.metric .v small {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 4px;
}

.incidents {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex; align-items: center; gap: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 1.1rem;
}
.incidents .ok-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(124, 255, 149, 0.45);
}

/* =========================================================
   Leaderboard page
   ========================================================= */

.lb-filters {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.lb-filters .group {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(6, 8, 12, 0.7);
}
.lb-filters button {
  background: transparent;
  border: 0;
  padding: 8px 14px;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-right: 1px solid var(--line);
  transition: color .15s ease, background .15s ease;
}
.lb-filters button:last-child { border-right: 0; }
.lb-filters button:hover { color: var(--text); }
.lb-filters button.is-active {
  background: rgba(98, 211, 255, 0.10);
  color: var(--cyan);
}
.lb-filters .preview-tag {
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 4px 10px;
  border: 1px solid rgba(255, 216, 106, 0.45);
  border-radius: 999px;
  background: rgba(255, 216, 106, 0.06);
}

.lb-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(6, 8, 12, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-mono);
}
.lb-table thead th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(98, 211, 255, 0.03);
}
.lb-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  color: var(--text);
  vertical-align: middle;
}
.lb-table tbody tr:last-child td { border-bottom: 0; }
.lb-table tbody tr:hover td { background: rgba(98, 211, 255, 0.03); }

.lb-rank {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 56px;
  color: var(--dim);
}
.lb-rank--gold   { color: #ffd86a; }
.lb-rank--silver { color: #d8e6fb; }
.lb-rank--bronze { color: #f3a374; }
.medal {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0;
}
.medal--gold   { background: rgba(255, 216, 106, 0.16); }
.medal--silver { background: rgba(216, 230, 251, 0.14); }
.medal--bronze { background: rgba(243, 163, 116, 0.14); }

.lb-node    { color: var(--text); }
.lb-region  { color: var(--muted); }
.lb-num     { color: var(--cyan); }
.lb-streak  { color: var(--green); }
.lb-dash    { color: var(--dim); }

.lb-legend {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 1rem;
  display: flex; flex-wrap: wrap; gap: 14px 28px;
}
.lb-legend strong {
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { order: 2; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .status-row { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 820px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 640px) {  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; padding: 18px 18px; }
  .phase { grid-template-columns: 1fr; gap: 6px; }
  .phase__status { justify-self: start; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .lb-table thead { display: none; }
  .lb-table tbody td { display: block; padding: 8px 16px; border: 0; }
  .lb-table tbody tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .waitlist { flex-direction: column; }
  .waitlist .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
