/* ============================================================================
   LeakHash — temporary static view site
   Design tokens and rules mirrored verbatim from the production globals.css
   (dark default palette, light theme, site-chrome/keep-dark re-scoping,
   section bands, thead styling, animations). No frameworks, no external
   requests — safe to drop into public_html as-is.
   ========================================================================== */

/* ── Theme tokens (verbatim values from globals.css @theme) ─────────────── */
:root {
  --bg: #0a0d12;
  --bg-subtle: #0f1319;
  --surface: #11151c;
  --surface-raised: #171c25;
  --border: #232a35;
  --border-strong: #333c4a;
  --field: #1c222c;
  --field-border: #3a4453;
  --text: #e8ecf2;
  --muted: #9aa4b2;
  --subtle: #6b7684;
  --brand: #2ee0d5;
  --brand-strong: #12a89f;
  --brand-dim: #0e8a83;
  --danger: #ff6b6b;
  --warn: #ffb367;
  --success: #5fd99f;
  --font-sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Inter, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --site-thead-bg: #283245;
  --site-thead-text: #f1f4f8;
  --site-thead-border: #3a475e;
  color-scheme: dark;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #d9dfe9;
  --bg-subtle: #eef2f7;
  --surface: #ffffff;
  --surface-raised: #e6ebf3;
  --border: #b3bdcc;
  --border-strong: #8f9db0;
  --field: #f3f6fa;
  --field-border: #b3bdcc;
  --text: #0f141b;
  --muted: #2b3442;
  --subtle: #4b5768;
  --brand: #0d9488;
  --brand-strong: #0b7d73;
  --brand-dim: #096a61;
  --danger: #d64545;
  --warn: #a8660f;
  --success: #1f9d63;
  --site-thead-bg: #1f2a3c;
  --site-thead-text: #ffffff;
  --site-thead-border: #33415a;
}

/* The public header/footer keep the dark palette in BOTH themes (site-chrome),
   like individual visuals (.keep-dark). Re-scope the tokens on the element and
   every child recolours at once. */
html[data-theme='light'] .site-chrome,
html[data-theme='light'] .keep-dark {
  color-scheme: dark;
  --bg: #0a0d12;
  --bg-subtle: #0f1319;
  --surface: #11151c;
  --surface-raised: #171c25;
  --border: #232a35;
  --border-strong: #333c4a;
  --text: #e8ecf2;
  --muted: #9aa4b2;
  --subtle: #6b7684;
  --brand: #2ee0d5;
  --brand-strong: #12a89f;
  --brand-dim: #0e8a83;
  --danger: #ff6b6b;
  --warn: #ffb367;
  --success: #5fd99f;
}
html[data-theme='light'] .site-chrome .wm-color { display: none; }
html[data-theme='light'] .site-chrome .wm-white { display: block; }

/* Section grounds — clear steps between neighbouring sections in both themes. */
.site-hero { background: #06090e; }
html[data-theme='light'] .site-hero { background: #b9c6d6; }
.section-alt { background: #151b26; }
html[data-theme='light'] .section-alt { background: #c9d3df; }
html[data-theme='light'] .site .section-alt .card,
html[data-theme='light'] .site .site-hero .card { background: #ffffff; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset; }

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre, kbd, samp, .font-mono {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
  letter-spacing: 0.01em;
}
::selection { background: rgba(46, 224, 213, 0.3); }
*:focus-visible:not(input):not(select):not(textarea) {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Layout primitives ──────────────────────────────────────────────────── */
.container { max-width: 76rem; margin-inline: auto; padding-inline: 1.5rem; }
.section { padding-block: 4.5rem; }
.section--hero { padding-block: 5.5rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-alt { background: #151b26; }
html[data-theme='light'] .section-alt { background: #c9d3df; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.center { text-align: center; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; }
.mx-auto { margin-inline: auto; }

/* ── Typography ─────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.01em; margin: 0; font-weight: 700; }
.h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
.h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.h3 { font-size: 1.15rem; font-weight: 600; }
.lead { margin: 1rem 0 0; font-size: 1.1rem; line-height: 1.65; color: var(--muted); }
.lead.center, .center .lead { margin-inline: auto; max-width: 46rem; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.brand-text { color: var(--brand); }
.text-justify-pro { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 480px) { .text-justify-pro { text-align: left; } }
p { margin: 0; }
.prose p + p, .prose ul + p { margin-top: .75rem; }
.small { font-size: 13.5px; }
strong { color: var(--text); font-weight: 600; }
.muted strong, .prose strong { color: var(--text); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: .7rem;
  padding: .72rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #06231f; }
.btn-primary:hover { background: var(--brand-strong); color: #eafffd; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: .45rem .85rem; font-size: .85rem; border-radius: .55rem; }
@media (max-width: 480px) {
  .header-actions .btn-secondary { display: none; } /* Sign in hides on narrow phones to fit the header */
}

/* ── Header / footer (site-chrome: dark in both themes) ─────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand img { height: 26px; width: auto; }
.wm-color { display: none; }
.wm-white { display: block; }
html[data-theme='light'] .site-header .wm-color { display: block; }
html[data-theme='light'] .site-header .wm-white { display: none; }
.main-nav { display: none; margin-left: auto; }
.main-nav a {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: .5rem;
}
.main-nav a:hover, .main-nav a[aria-current='page'] { color: var(--text); background: var(--surface-raised); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.main-nav + .header-actions { margin-left: 0; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: .6rem;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-when-dark, .icon-when-light { display: none; }
html[data-theme='dark'] .icon-when-dark,
html:not([data-theme]) .icon-when-dark,
html[data-theme='light'] .icon-when-light { display: block; }
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: .6rem;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
@media (max-width: 900px) { .nav-toggle { display: inline-grid; } }
@media (min-width: 901px) {
  .main-nav { display: flex; gap: .15rem; }
  .nav-toggle { display: none; }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: .75rem 1.5rem 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: .6rem .4rem;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { color: var(--text); text-decoration: none; }

.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
  font-size: .92rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin-bottom: .75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  color: var(--subtle);
  font-size: .85rem;
}

/* ── Cards & panels ─────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .9rem;
  padding: 1.25rem;
}
.card-lg { padding: 1.75rem; border-radius: 1.1rem; }
.stat-card { text-align: center; padding: 1rem; }
.stat-num { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--brand); }
.stat-txt { margin-top: .35rem; font-size: 13px; line-height: 1.45; color: var(--muted); }
.tint-panel {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), color-mix(in srgb, var(--brand) 4%, transparent) 70%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  border-radius: .9rem;
  padding: 1rem;
}
.cta-panel {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%), var(--surface);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  border-radius: 1.5rem;
  padding: 3.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--brand) 45%, transparent);
}

/* ── Lists ──────────────────────────────────────────────────────────────── */
.bullets { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .6rem; }
.bullets li { display: flex; gap: .6rem; color: var(--muted); }
.bullets li::before { content: '•'; color: var(--brand); font-weight: 700; flex-shrink: 0; }
.bullets.ordered { counter-reset: ls-step; }
.bullets.ordered li { counter-increment: ls-step; }
.bullets.ordered li::before { content: counter(ls-step) '.'; font-family: var(--font-mono); }
.checks { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .7rem; color: var(--muted); }
.checks .tick {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: .55rem;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  font-weight: 700;
  font-size: .85rem;
  margin-top: .1rem;
}
.checks strong { color: var(--text); }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .9rem;
}
table.site-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.site-table thead th {
  background: var(--site-thead-bg);
  color: var(--site-thead-text);
  border-bottom: 1px solid var(--site-thead-border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: left;
  padding: .7rem 1rem;
  white-space: nowrap;
}
.site-table thead th:first-child { border-top-left-radius: 12px; }
.site-table thead th:last-child { border-top-right-radius: 12px; }
.site-table td { padding: .7rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); vertical-align: top; }
.site-table tr:last-child td { border-bottom: 0; }
.site-table td.center, .site-table th.center { text-align: center; }
.site-table td.mono { font-family: var(--font-mono); }
.table-note { padding: .65rem 1rem; font-size: 12px; color: var(--subtle); }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.plan-card { display: flex; flex-direction: column; gap: .9rem; }
.plan-name { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.plan-price { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; }
.plan-price small { font-size: .85rem; color: var(--muted); font-family: var(--font-sans); font-weight: 400; }
.plan-tag { font-size: 12.5px; color: var(--subtle); }
.plan-card .btn { justify-content: center; }
.plan-featured { border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--brand) 45%, transparent); }
.pricing-group td {
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 22%, transparent) 0%, color-mix(in srgb, var(--brand) 9%, transparent) 45%, transparent 100%);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--text);
}

/* ── Status board ───────────────────────────────────────────────────────── */
.status-grid { display: grid; gap: .6rem; }
.status-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .8rem;
  padding: .85rem 1.1rem;
}
.status-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--subtle); flex-shrink: 0; }
.status-name { font-weight: 600; font-size: .95rem; }
.status-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--subtle);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: .15rem .6rem;
  white-space: nowrap;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: .7rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .8rem;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: .98rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary .chev { flex-shrink: 0; transition: transform .2s ease; color: var(--subtle); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-body { padding: 0 1.15rem 1.15rem; color: var(--muted); font-size: .95rem; }
.faq-body p + p, .faq-body p + ul { margin-top: .6rem; }

/* ── Operator card ──────────────────────────────────────────────────────── */
.operator-card { min-width: min(100%, 300px); }
.operator-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--border); font-size: .9rem; }
.operator-row:last-child { border-bottom: 0; }
.operator-row .k { color: var(--subtle); }
.operator-row .v { color: var(--text); text-align: right; word-break: break-word; }

/* ── Hero / illustrations ───────────────────────────────────────────────── */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero-glow { position: relative; overflow: hidden; }
.hero-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(1100px 520px at 72% -10%, color-mix(in srgb, var(--brand) 20%, transparent), transparent);
  pointer-events: none;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta-row.center { justify-content: center; }
.hero-note { margin-top: 1rem; font-size: .85rem; color: var(--subtle); }
.illus { width: 100%; height: auto; display: block; }
.illus text { font-family: var(--font-sans); }
.illus .mono { font-family: var(--font-mono); }

@keyframes ls-sweep { to { transform: rotate(360deg); } }
@keyframes ls-pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes ls-flow { to { stroke-dashoffset: -24; } }
@keyframes ls-spin { to { transform: rotate(360deg); } }
.ls-sweep { animation: ls-sweep 6s linear infinite; transform-origin: center; }
.ls-pulse { transform-box: fill-box; transform-origin: center; animation: ls-pulse 2.4s ease-out infinite; }
.ls-flow { animation: ls-flow 1.6s linear infinite; }
.ls-spin { animation: ls-spin 26s linear infinite; transform-origin: center; }

/* ── Modal (coming soon) ────────────────────────────────────────────────── */
dialog.coming-soon {
  border: 1px solid var(--border-strong);
  border-radius: 1.1rem;
  background: var(--surface);
  color: var(--text);
  padding: 0;
  max-width: 26rem;
  width: calc(100% - 2rem);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .75), 0 0 60px -20px color-mix(in srgb, var(--brand) 35%, transparent);
}
dialog.coming-soon::backdrop { background: rgba(4, 6, 10, .7); backdrop-filter: blur(3px); }
.modal-head { padding: 1.4rem 1.4rem 0; display: flex; align-items: flex-start; gap: .9rem; }
.modal-body { padding: .6rem 1.4rem 1.4rem; color: var(--muted); font-size: .95rem; }
.modal-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.modal-close { margin-left: auto; }

/* ── Legal page ─────────────────────────────────────────────────────────── */
.legal-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .legal-grid { grid-template-columns: 220px 1fr; align-items: start; } }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
@media (min-width: 1024px) { .legal-nav { position: sticky; top: 88px; } .legal-nav ul { flex-direction: column; gap: .15rem; } }
.legal-nav a {
  display: block;
  padding: .4rem .75rem;
  border-radius: .55rem;
  font-size: .88rem;
  color: var(--muted);
}
.legal-nav a:hover { background: var(--surface-raised); color: var(--text); text-decoration: none; }
.legal-sections { max-width: 46rem; display: grid; gap: 3rem; }
.legal-sections h2 { font-size: 1.3rem; font-weight: 600; scroll-margin-top: 88px; }
.legal-sections h2 .n { margin-right: .5rem; color: var(--brand); }
.legal-sections .point { display: flex; gap: .65rem; margin-top: .65rem; color: var(--muted); font-size: 15px; }
.legal-sections .point::before { content: '•'; color: var(--brand); flex-shrink: 0; }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.error-wrap { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem 1.5rem; }
.error-code { font-family: var(--font-mono); font-size: clamp(4rem, 14vw, 7rem); font-weight: 700; color: var(--brand); line-height: 1; }
