/* AdminZero · shared liquid-glass stylesheet for content pages.
   Tokens and components copied verbatim from index.html so new pages match
   the homepage exactly. The homepage keeps its own inline styles (untouched). */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #86868B;
  --paper: #FAFAF8;
  --bg: #F0F2F6;
  --hairline: rgba(27, 27, 31, 0.07);
  --hairline-soft: rgba(27, 27, 31, 0.05);
  --glass: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-light: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Geist, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 760px at 88% -14%, rgba(164, 178, 204, 0.5), rgba(164, 178, 204, 0) 62%),
    radial-gradient(960px 660px at -10% 24%, rgba(186, 182, 202, 0.4), rgba(186, 182, 202, 0) 62%),
    radial-gradient(960px 680px at 52% 118%, rgba(168, 188, 202, 0.4), rgba(168, 188, 202, 0) 62%);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }
.container { max-width: 1060px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border);
}

.btn-dark {
  display: inline-block;
  background: linear-gradient(180deg, #3A3A40, #1D1D1F);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(29, 29, 31, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: filter 0.2s ease;
}
.btn-dark:hover { filter: brightness(1.3); }
.btn-glass {
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 10px rgba(24, 24, 28, 0.06);
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s ease;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.95); }

/* ── Nav (static; no sliding bubble) ───────────────────── */
.nav-wrap { position: sticky; top: 0; z-index: 30; padding: 14px 24px 6px; }
.nav-bar {
  max-width: 1060px; margin: 0 auto; height: 60px;
  padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.44) 48%, rgba(255, 255, 255, 0.58));
  backdrop-filter: blur(40px) saturate(1.9) brightness(1.04);
  -webkit-backdrop-filter: blur(40px) saturate(1.9) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 36px rgba(24, 24, 28, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-radius: 20px;
}
.nav-bar nav { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.nav-cta {
  margin-left: 10px; padding: 10px 18px; font-size: 13px;
  box-shadow: 0 6px 16px rgba(29, 29, 31, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding-top: 84px; padding-bottom: 56px; text-align: center; }
.crumb { font-size: 12.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 22px; }
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--ink); }
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px; padding: 7px 16px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
h1 {
  font-size: clamp(38px, 6.4vw, 56px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.07;
  margin: 24px 0 0;
}
.dim { color: var(--ink-3); }
.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--ink-2);
  max-width: 52ch; margin: 20px auto 0;
}
.cta-row { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.cta-row .btn-dark, .cta-row .btn-glass { padding: 14px 26px; font-size: 14.5px; }
.hero-note { font-size: 13px; color: var(--ink-2); margin-top: 18px; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding-top: 40px; padding-bottom: 40px; }
h2 {
  font-size: clamp(26px, 4.2vw, 34px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.14;
  margin: 0; text-align: center;
}
.section-sub {
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  max-width: 56ch; margin: 14px auto 0; text-align: center;
}

/* ── Prose (use-case / comparison body copy) ───────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose .lede { font-size: 18px; line-height: 1.6; color: var(--ink); margin: 0 0 26px; }
.prose h2 { text-align: left; margin: 34px 0 0; }
.prose h3 { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; margin: 28px 0 0; }
.prose p { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); margin: 12px 0 0; }
.prose ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
.prose li {
  position: relative; font-size: 15px; line-height: 1.65; color: var(--ink-2);
  padding-left: 22px; margin-top: 10px;
}
.prose li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 650; }

/* ── Cards ─────────────────────────────────────────────── */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.card {
  box-shadow: 0 10px 32px rgba(24, 24, 28, 0.07), var(--glass-light);
  border-radius: 20px; padding: 24px;
}
.card-title { font-size: 15px; font-weight: 650; }
.card p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 8px 0 0; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 6px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 20px; padding: 22px 26px;
  box-shadow: 0 10px 32px rgba(24, 24, 28, 0.07), var(--glass-light);
}
.faq-q { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; margin: 0; line-height: 1.35; text-align: left; }
.faq-a { font-size: 14.5px; line-height: 1.68; color: var(--ink-2); margin: 10px 0 0; }

/* ── Related links (sibling internal links) ────────────── */
.related { max-width: 760px; margin: 4px auto 0; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.related a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: color 0.2s ease; }
.related a:hover { color: var(--ink); }

/* ── Comparison table ──────────────────────────────────── */
.cmp-table {
  max-width: 760px; margin: 6px auto 0; overflow: hidden;
  border-radius: 22px; box-shadow: 0 16px 48px rgba(24, 24, 28, 0.09), var(--glass-light);
}
.cmp-trow {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: start;
  padding: 16px 22px; border-bottom: 1px solid var(--hairline-soft);
}
.cmp-trow:last-child { border-bottom: none; }
.cmp-trow.head { background: rgba(255, 255, 255, 0.4); }
.cmp-th { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.cmp-th.brand { color: var(--ink); }
.cmp-rk { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.cmp-cell { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.cmp-cell.brand { color: var(--ink); font-weight: 550; }

/* ── CTA panel ─────────────────────────────────────────── */
.cta-wrap { padding-top: 24px; padding-bottom: 88px; }
.cta-panel {
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: 0 24px 64px rgba(24, 24, 28, 0.1), var(--glass-light);
  border-radius: 28px; padding: 56px 32px; text-align: center;
}
.cta-panel h2 { font-size: clamp(30px, 4.6vw, 40px); letter-spacing: -0.025em; }
.cta-panel .section-sub { margin-top: 14px; }
.cta-panel .btn-dark { margin-top: 26px; padding: 15px 30px; font-size: 14.5px; }
.cta-note { font-size: 13px; color: var(--ink-2); margin-top: 16px; }

/* ── Footer ────────────────────────────────────────────── */
footer { border-top: 1px solid rgba(27, 27, 31, 0.08); padding: 28px 24px 36px; margin-top: 8px; }
.footer-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-link { font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color 0.2s ease; }
.footer-link:hover { color: var(--ink); }
.footer-note { font-size: 12.5px; color: var(--ink-2); }

/* ── Skip link ─────────────────────────────────────────── */
.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  transform: translateY(-160%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--paper); outline-offset: 2px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 760px) {
  .cards3 { grid-template-columns: 1fr; }
  .cmp-trow { grid-template-columns: 1fr; gap: 4px; padding: 16px 20px; }
  .cmp-trow.head { display: none; }
  .cmp-rk { font-size: 14.5px; margin-bottom: 2px; }
  .cmp-cell::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
}
