/* ---------- Archivo Black (wordmark) ---------- */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/ArchivoBlack-400.woff2) format('woff2');
}
/* ---------- Self-hosted fonts (latin) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/Inter-400.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/Inter-500.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/Inter-600.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/Inter-700.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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/Inter-800.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/JetBrainsMono-500.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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/JetBrainsMono-600.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;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-500.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;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-600.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;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/SpaceGrotesk-700.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;
}

/* ============================================================
   SONAR — Design system v2
   White/blue-first, flat and human. Blobs inspired by the
   official banner (solid organic shapes, not blurry glows).
   Brand blue sampled from the banner: #4080f8
   ============================================================ */

:root {
  --brand: #4080f8;
  --brand-deep: #2c66e0;
  --brand-ink: #1d4fb8;
  --brand-tint: #eef4ff;
  --brand-tint-2: #dce8fd;
  --brand-tint-3: #c6d9fc;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 11px;

  --nav-h: 70px;
  --container: 1140px;
}

/* ---------- Light (default) ---------- */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --surface: #ffffff;
  --border: #e4e9f2;
  --border-strong: #c9d4e6;
  --text: #0e1626;
  --text-2: #48566f;
  --text-3: #7d8aa3;
  --nav-bg: rgba(255, 255, 255, 0.94);
  --shadow-sm: 0 1px 2px rgba(14, 22, 38, 0.05);
  --shadow-md: 0 10px 30px -14px rgba(14, 22, 38, 0.16);
  --chip-bg: var(--brand-tint);
  --chip-border: var(--brand-tint-2);
  --blob-1: #4080f8;
  --blob-2: #7aa5fa;
  --blob-3: #b9d0fc;
  --footer-bg: #0b1526;
  --footer-text: #b9c4d8;
}

/* ---------- Dark ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060b16;
  --bg-soft: #0a1222;
  --surface: #0e1728;
  --border: #1c2a47;
  --border-strong: #2e4270;
  --text: #f2f6fd;
  --text-2: #a9b7d1;
  --text-3: #677694;
  --nav-bg: rgba(6, 11, 22, 0.92);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 38px -16px rgba(0, 0, 0, 0.6);
  --chip-bg: rgba(64, 128, 248, 0.12);
  --chip-border: rgba(64, 128, 248, 0.32);
  --blob-1: #2a5cc0;
  --blob-2: #1c3f8a;
  --blob-3: #153064;
  --footer-bg: #0b1222;
  --footer-text: #9db0cc;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: var(--font-mono); }
.mono { font-family: var(--font-mono); font-weight: 500; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.container-doc { width: min(760px, 100% - 48px); margin-inline: auto; }

::selection { background: var(--brand-tint-3); color: var(--text); }
[data-theme="dark"] ::selection { background: rgba(64, 128, 248, 0.4); color: #fff; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  padding: 10px 16px; background: var(--brand); color: #fff;
  border-radius: 10px; font-weight: 600; transition: top 0.25s ease;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   Blobs — solid organic shapes, like the banner
   ============================================================ */
.blob-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

.blob {
  position: absolute;
  background: var(--blob-1);
  border-radius: 53% 47% 62% 38% / 55% 48% 52% 45%;
}
.blob.soft-2 { background: var(--blob-2); }
.blob.soft-3 { background: var(--blob-3); }

html[data-motion="on"] .blob { animation: blob-morph 26s ease-in-out infinite alternate; }
html[data-motion="on"] .blob.b-slow { animation-duration: 34s; }
html[data-motion="on"] .blob.b-delay { animation-delay: -12s; }

@keyframes blob-morph {
  0% {
    border-radius: 53% 47% 62% 38% / 55% 48% 52% 45%;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
  50% {
    border-radius: 45% 55% 48% 52% / 48% 55% 45% 52%;
  }
  100% {
    border-radius: 60% 40% 42% 58% / 42% 60% 40% 58%;
    transform: translate3d(2.5%, -3%, 0) rotate(6deg) scale(1.06);
  }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem; line-height: 1; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #fff;
  background: var(--brand);
}
.btn-primary:hover { background: var(--brand-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }

.btn-white {
  color: var(--brand-ink);
  background: #fff;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.4); }

.btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 14px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav-wrap.is-scrolled { border-bottom-color: var(--border); }

.nav {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand);
  transition: transform 0.25s ease;
}
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-mark img { width: 24px; height: 24px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: 0.12em;
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-link {
  display: inline-block; padding: 8px 15px; border-radius: 10px;
  font-size: 0.93rem; font-weight: 500; color: var(--text-2);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover { color: var(--text); background: var(--bg-soft); }
.nav-link.is-active { color: var(--brand-ink); background: var(--brand-tint); font-weight: 600; }
[data-theme="dark"] .nav-link.is-active { color: #9ec1ff; }

.nav-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

.icon-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  color: var(--text-2); background: transparent; border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); background: var(--bg-soft); }

[data-theme="dark"] .ico-sun { display: none; }
[data-theme="light"] .ico-moon { display: none; }

#motionToggle { position: relative; }
#motionToggle::after {
  content: ""; position: absolute;
  width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transform: rotate(-45deg) scaleX(0); transition: transform 0.25s ease;
}
html[data-motion="off"] #motionToggle::after { transform: rotate(-45deg) scaleX(1); }

.nav-cta { padding: 10px 18px; font-size: 0.9rem; }

.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); padding: 0 10px;
}
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.mobile-menu ul { padding: 14px 24px 8px; display: grid; gap: 2px; }
.mobile-menu .nav-link { display: block; padding: 12px 14px; font-size: 1rem; }
.mobile-actions { display: grid; gap: 10px; padding: 8px 24px 22px; }
.mobile-menu.is-open { animation: menu-in 0.28s ease both; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(48px, 8vh, 96px)) 0 clamp(64px, 9vh, 104px); overflow: hidden; }

.hero .container { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-2);
  margin-bottom: 22px;
}
[data-theme="dark"] .hero-eyebrow { color: #9ec1ff; }

.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--brand); }

.hero-sub {
  max-width: 540px;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  margin-bottom: 32px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 30px;
  color: var(--text-3);
  font-size: 0.9rem;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--brand); flex: none; }
.hero-meta strong { color: var(--text); font-weight: 600; }

/* hero visual tile */
.hero-visual {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 1;
  max-width: 400px;
  margin-inline: auto;
  width: 100%;
}
.hero-tile {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 72%; aspect-ratio: 1;
  border-radius: 26%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.hero-tile img { width: 58%; height: auto; }
.hero-visual .blob.bv-1 { width: 62%; height: 62%; top: -4%; right: -6%; }
.hero-visual .blob.bv-2 { width: 44%; height: 44%; bottom: -2%; left: -8%; background: var(--blob-3); }

/* About panel */
.about-panel {
  position: relative; z-index: 1;
  margin-top: clamp(56px, 8vh, 88px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.about-panel-logo {
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand);
}
.about-panel-logo img { width: 30px; height: 30px; }
.about-panel h2 { font-size: 1.25rem; margin-bottom: 8px; }
.about-panel p { color: var(--text-2); font-size: 0.98rem; max-width: 820px; }

/* ============================================================
   Inner page heads
   ============================================================ */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 6vh, 72px)) 0 clamp(6px, 1vh, 14px);
  overflow: hidden;
}
.page-head h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.page-head .section-head { margin-bottom: 0; }
.page-head + .section { padding-top: clamp(36px, 5vh, 56px); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(68px, 9vh, 110px) 0; position: relative; }
.section.tinted { background: var(--bg-soft); border-block: 1px solid var(--border); overflow: hidden; }

.section-head { max-width: 680px; margin-bottom: clamp(38px, 5vh, 56px); position: relative; z-index: 1; }
.section-head.centered { margin-inline: auto; text-align: center; }

.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brand); }
.section-head.centered .section-eyebrow { justify-content: center; }
.section-head.centered .section-eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brand); }

.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: 12px; }
.section-sub { color: var(--text-2); font-size: 1.03rem; }

/* ============================================================
   Feature cards
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }

.feature-card {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--brand-tint-3); box-shadow: var(--shadow-md); }

.feature-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  color: var(--brand);
  background: var(--brand-tint);
  margin-bottom: 18px;
}
[data-theme="dark"] .feature-ico { color: #9ec1ff; }

.feature-card h3 { font-size: 1.08rem; margin-bottom: 7px; font-weight: 600; }
.feature-card p { color: var(--text-2); font-size: 0.92rem; }
.feature-card code { font-size: 0.82rem; color: var(--brand-ink); }
[data-theme="dark"] .feature-card code { color: #9ec1ff; }

/* ============================================================
   Commands
   ============================================================ */
.prefix-chip {
  display: inline-grid; place-items: center;
  min-width: 26px; padding: 2px 9px; border-radius: 7px;
  font-weight: 600; font-family: var(--font-mono);
  color: var(--brand-ink); background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
}
[data-theme="dark"] .prefix-chip { color: #9ec1ff; }

.cmd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; position: relative; z-index: 1; }
.cmd-card:last-child { grid-column: 1 / -1; }

.cmd-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.cmd-card:hover { transform: translateY(-3px); border-color: var(--brand-tint-3); box-shadow: var(--shadow-md); }

.cmd-card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.cmd-card-head h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 4px; }
.cmd-card-head p { color: var(--text-2); font-size: 0.9rem; }

.cmd-ico {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-tint); color: var(--brand);
}
[data-theme="dark"] .cmd-ico { color: #9ec1ff; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 12px; border-radius: 9px;
  font-size: 0.83rem; font-weight: 500;
  color: var(--brand-ink);
  background: var(--chip-bg); border: 1px solid var(--chip-border);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  cursor: default;
}
.chip:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-tint-2); }
[data-theme="dark"] .chip { color: #9ec1ff; }
[data-theme="dark"] .chip:hover { background: rgba(64, 128, 248, 0.16); }

.cmd-note { margin-top: 26px; text-align: center; color: var(--text-3); font-size: 0.9rem; position: relative; z-index: 1; }
.cmd-note code { color: var(--text-2); font-size: 0.86rem; }

/* ============================================================
   Team
   ============================================================ */
.team-group-title {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-3);
  margin: 46px 0 20px;
  position: relative; z-index: 1;
}
.team-group-title:first-of-type { margin-top: 0; }

.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.team-card {
  width: 235px;
  padding: 26px 20px 22px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--brand-tint-3); box-shadow: var(--shadow-md); }

.team-ring {
  width: 100px; height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  padding: 3px;
  background: var(--brand-tint-2);
}
.team-card.is-founder .team-ring { background: var(--brand); }
.team-ring img { width: 100%; height: 100%; border-radius: 50%; }

.team-card h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; }
.team-handle { font-size: 0.78rem; color: var(--text-3); margin: 3px 0 12px; }

.badge {
  display: inline-block; padding: 5px 12px; margin: 3px 2px 0;
  border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
}
.badge-soft { color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--border); }
.badge-founder { color: #fff; background: var(--brand); }

.team-card-note {
  display: grid; place-items: center;
  width: 235px; padding: 26px 20px;
  font-size: 0.9rem; color: var(--text-2);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  box-shadow: none;
}
.team-card-note strong { color: var(--text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 10px; }

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--brand-tint-3); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px;
  cursor: pointer; user-select: none;
  font-weight: 600; font-size: 0.98rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary code { font-size: 0.9em; }

.faq-chevron {
  flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px;
  color: var(--text-2);
  transition: transform 0.25s ease, color 0.2s ease, background-color 0.2s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--brand); background: var(--brand-tint); }

.faq-body { padding: 0 20px 18px; }
.faq-body p { color: var(--text-2); font-size: 0.94rem; }
.faq-body p + p { margin-top: 10px; }
.faq-item[open] .faq-body { animation: faq-in 0.3s ease both; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.text-link { color: var(--brand-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-tint-3); text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
.text-link:hover { text-decoration-color: var(--brand); }
[data-theme="dark"] .text-link { color: #9ec1ff; }

/* ============================================================
   Docs hub
   ============================================================ */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.doc-card {
  display: flex; gap: 16px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.doc-card:hover { transform: translateY(-4px); border-color: var(--brand-tint-3); box-shadow: var(--shadow-md); }

.doc-ico {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  color: var(--brand); background: var(--brand-tint);
}
[data-theme="dark"] .doc-ico { color: #9ec1ff; }

.doc-card h3 { font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ext-badge { font-size: 0.82rem; color: var(--text-3); transition: transform 0.2s ease, color 0.2s ease; }
.doc-card:hover .ext-badge { transform: translate(2px, -2px); color: var(--brand); }
.doc-card p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 12px; }
.doc-cta { font-size: 0.86rem; font-weight: 700; color: var(--brand-ink); }
[data-theme="dark"] .doc-cta { color: #9ec1ff; }

.docs-help { margin-top: 26px; text-align: center; color: var(--text-2); font-size: 0.94rem; }

/* ============================================================
   Document pages (terms / privacy)
   ============================================================ */
.doc-page { padding: calc(var(--nav-h) + clamp(40px, 6vh, 72px)) 0 clamp(64px, 9vh, 96px); }

.doc-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 28px;
  transition: color 0.2s ease;
}
.doc-back:hover { color: var(--brand); }

.doc-header {
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-2);
  margin-bottom: 38px;
}
[data-theme="dark"] .doc-header { background: var(--chip-bg); border-color: var(--chip-border); }
.doc-header .doc-kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 8px;
}
[data-theme="dark"] .doc-header .doc-kicker { color: #9ec1ff; }
.doc-header h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; margin-bottom: 8px; }
.doc-header .doc-effective { color: var(--text-2); font-size: 0.92rem; }

.doc-body h2 {
  font-size: 1.28rem; font-weight: 700;
  margin: 38px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.doc-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc-body p { color: var(--text-2); margin-bottom: 12px; }
.doc-body strong { color: var(--text); }
.doc-body ul { display: grid; gap: 7px; margin: 4px 0 16px; }
.doc-body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-2);
  font-size: 0.96rem;
}
.doc-body ul li::before {
  content: "";
  position: absolute; left: 4px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
}
.doc-contact {
  margin-top: 38px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.doc-contact p { margin: 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { padding: clamp(30px, 5vh, 60px) 0 clamp(80px, 10vh, 120px); position: relative; }
.cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 6vw, 76px) 28px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--brand);
  color: #fff;
}
.cta-inner .blob.c1 { width: 300px; height: 300px; top: -140px; left: -80px; background: rgba(255, 255, 255, 0.14); }
.cta-inner .blob.c2 { width: 340px; height: 340px; bottom: -180px; right: -100px; background: rgba(255, 255, 255, 0.10); }
.cta-inner h2 { position: relative; z-index: 1; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.cta-inner > p { position: relative; z-index: 1; color: rgba(255, 255, 255, 0.85); max-width: 480px; margin: 0 auto 28px; }
.cta-inner .hero-cta { position: relative; z-index: 1; justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  position: relative;
  overflow: hidden;
}
.footer .blob.f1 { width: 360px; height: 360px; top: -220px; right: -120px; background: rgba(64, 128, 248, 0.16); }
.footer .blob.f2 { width: 260px; height: 260px; top: -160px; left: -100px; background: rgba(64, 128, 248, 0.10); }

.footer-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: clamp(48px, 7vh, 72px) 0 44px;
}

.footer .brand-name { color: #fff; }
.footer .brand-mark { background: var(--brand); }
.footer-tagline { color: #fff; font-weight: 600; margin: 16px 0 8px; font-size: 0.95rem; }
.footer-desc { font-size: 0.9rem; max-width: 340px; }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #77839c;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #77839c;
  font-size: 0.84rem;
}

/* ============================================================
   Reveal animations
   ============================================================ */
html[data-motion="on"] .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html[data-motion="on"] .reveal.is-visible { opacity: 1; transform: translateY(0); }
html[data-motion="on"] .reveal.delay-1 { transition-delay: 0.08s; }
html[data-motion="on"] .reveal.delay-2 { transition-delay: 0.16s; }
html[data-motion="on"] .reveal.delay-3 { transition-delay: 0.24s; }
html[data-motion="on"] .reveal.delay-4 { transition-delay: 0.32s; }

html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}
html[data-motion="off"] .reveal { opacity: 1; transform: none; }

/* reduced-motion OS setting is honored via the motion toggle, not silently */

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .menu-btn { display: flex; }
  .mobile-menu { display: block; }
  .mobile-menu[hidden] { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .cmd-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-panel { grid-template-columns: 1fr; padding: 24px 22px; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .container, .container-narrow, .container-doc { width: calc(100% - 40px); }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .team-card, .team-card-note { width: 100%; max-width: 320px; }
  .faq-item summary { padding: 15px 17px; }
  .faq-body { padding: 0 17px 16px; }
  .doc-header { padding: 22px 20px; }
}

/* ============================================================
   Page enter + nav hide
   ============================================================ */
html[data-motion="on"] body { animation: page-in 0.5s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

.nav-wrap { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease; }
.nav-wrap.is-hidden { transform: translateY(-100%); }

/* ============================================================
   Hero: sonar ping ripples + line reveal
   ============================================================ */
.hero-tile-wrap { position: relative; display: grid; place-items: center; width: 72%; aspect-ratio: 1; }
.ping {
  position: absolute; inset: 0;
  border-radius: 26%;
  border: 2px solid var(--brand);
  opacity: 0;
  pointer-events: none;
}
html[data-motion="on"] .ping { animation: ping 4.2s cubic-bezier(0.2, 0.55, 0.45, 1) infinite; }
.ping:nth-of-type(2) { animation-delay: 1.4s; }
.ping:nth-of-type(3) { animation-delay: 2.8s; }
@keyframes ping {
  0%   { transform: scale(0.7); opacity: 0.5; }
  60%  { opacity: 0.22; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > span { display: inline-block; }
html[data-motion="on"] .hero-title .line > span {
  transform: translateY(112%);
  animation: line-up 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
html[data-motion="on"] .hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes line-up { to { transform: translateY(0); } }
html[data-motion="off"] .hero-title .line > span { transform: none; }

/* hero logo gentle float */
html[data-motion="on"] .hero-tile img { animation: tile-float 6.5s ease-in-out infinite; }
@keyframes tile-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ============================================================
   Command ticker
   ============================================================ */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 15px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 90px;
  z-index: 1; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }

.ticker-track { display: flex; gap: 0; width: max-content; }
html[data-motion="on"] .ticker-track { animation: ticker-scroll 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

.ticker-group { display: flex; align-items: center; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 21px;
  font-family: var(--font-mono);
  font-size: 0.86rem; font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.ticker-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-tint-3); }
.ticker-label {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  margin-right: 26px; padding: 5px 14px;
  border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ============================================================
   Buttons: shine sweep + card icon nudge
   ============================================================ */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -80%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 135%; }

.feature-card:hover .feature-ico, .cmd-card:hover .cmd-ico, .doc-card:hover .doc-ico {
  transform: rotate(-8deg) scale(1.07);
}
.feature-ico, .cmd-ico, .doc-ico { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }

.doc-cta .cta-arrow { display: inline-block; transition: transform 0.25s ease; }
.doc-card:hover .cta-arrow { transform: translateX(4px); }

/* ============================================================
   Announcements (public)
   ============================================================ */
.ann-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }

.ann-card {
  position: relative;
  display: flex; flex-direction: column; gap: 9px;
  padding: 24px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.ann-card:hover { transform: translateY(-4px); border-color: var(--brand-tint-3); box-shadow: var(--shadow-md); }

.ann-head { display: flex; align-items: center; gap: 9px; }
.ann-tag {
  display: inline-block; padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
}
.t-update    { color: var(--brand-ink); background: var(--brand-tint); }
.t-security  { color: #b4233a; background: #fdecef; }
.t-feature   { color: #146c4e; background: #e5f6ee; }
.t-community { color: #6d3ab0; background: #f1ebfd; }
.t-event     { color: #8a5a12; background: #fdf3e2; }
[data-theme="dark"] .t-update    { color: #9ec1ff; background: rgba(64, 128, 248, 0.12); }
[data-theme="dark"] .t-security  { color: #ff9aa8; background: rgba(255, 92, 122, 0.14); }
[data-theme="dark"] .t-feature   { color: #6fe0b2; background: rgba(52, 199, 137, 0.14); }
[data-theme="dark"] .t-community { color: #c9a8ff; background: rgba(148, 102, 255, 0.16); }
[data-theme="dark"] .t-event     { color: #ffc866; background: rgba(255, 176, 32, 0.14); }

.ann-date { margin-left: auto; font-size: 0.8rem; color: var(--text-3); }
.ann-title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.ann-body { color: var(--text-2); font-size: 0.92rem; }
.ann-pin {
  position: absolute; top: -9px; right: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ann-empty {
  grid-column: 1 / -1;
  padding: 42px 24px; text-align: center;
  color: var(--text-3);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: transparent;
}

/* ============================================================
   Auth (login + admin)
   ============================================================ */
.auth-wrap {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 110px 24px 60px;
  position: relative; overflow: hidden;
}
.auth-card {
  position: relative; z-index: 1;
  width: min(430px, 100%);
  padding: 38px 36px 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.auth-logo {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 17px;
  background: var(--brand);
  margin: 0 auto 18px;
}
.auth-logo img { width: 32px; height: 32px; }
.auth-card h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.auth-sub { color: var(--text-2); font-size: 0.92rem; margin-bottom: 26px; }

.field { display: block; text-align: left; margin-bottom: 15px; }
.field span {
  display: block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 7px;
}
.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint-2);
}
[data-theme="dark"] .input { background: var(--bg-soft); }

.btn-block { width: 100%; padding: 13px; font-size: 1rem; margin-top: 6px; }
.btn-success { background: #17a56f; }
.btn-success:hover { background: #128a5c; box-shadow: none; transform: none; }

.form-error {
  display: none;
  margin: 4px 0 0;
  color: #c92f47;
  font-size: 0.88rem; font-weight: 500;
  text-align: left;
}
[data-theme="dark"] .form-error { color: #ff9aa8; }
.form-error.is-visible { display: block; }

.shake { animation: shake 0.45s ease; }
@keyframes shake {
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.auth-foot { margin-top: 22px; font-size: 0.85rem; color: var(--text-3); }
.back-home { display: inline-flex; margin-top: 18px; }

/* ============================================================
   Admin panel
   ============================================================ */
.admin-wrap { max-width: 1080px; margin-inline: auto; padding: calc(var(--nav-h) + 44px) 24px 90px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.admin-head h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin-right: auto; }
.admin-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
  color: var(--brand-ink);
  font-size: 0.8rem; font-weight: 600;
}
.admin-grid { display: grid; grid-template-columns: 400px 1fr; gap: 20px; align-items: start; }

.panel {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.panel h2 { font-size: 1.12rem; font-weight: 600; margin-bottom: 18px; }

.check-field { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; cursor: pointer; user-select: none; }
.check-field input { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; }
.check-field span { font-size: 0.9rem; color: var(--text-2); font-weight: 500; }

.admin-list { display: grid; gap: 12px; }
.admin-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.admin-item.is-removing { opacity: 0; transform: translateX(14px); }
.admin-item .ann-title { margin: 7px 0 4px; }
.admin-meta { display: flex; align-items: center; gap: 9px; }

.btn-danger {
  flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: #c92f47;
  background: #fdecef;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-danger:hover { background: #f9d7dd; transform: translateY(-1px); }
[data-theme="dark"] .btn-danger { color: #ff9aa8; background: rgba(255, 92, 122, 0.12); }
[data-theme="dark"] .btn-danger:hover { background: rgba(255, 92, 122, 0.2); }

.panel-note { margin-top: 14px; font-size: 0.82rem; color: var(--text-3); }

/* toasts */
.toast-wrap {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  display: grid; gap: 10px;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-radius: 13px;
  background: var(--footer-bg); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  font-size: 0.92rem; font-weight: 500;
  animation: toast-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.toast.is-error { background: #b4233a; }
.toast .t-dot { width: 8px; height: 8px; border-radius: 50%; background: #35d493; flex: none; }
.toast.is-error .t-dot { background: #ffb3bd; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.toast.is-leaving { transition: opacity 0.3s ease, transform 0.3s ease; opacity: 0; transform: translateY(8px); }

/* ============================================================
   Responsive additions
   ============================================================ */
@media (max-width: 960px) {
  .ann-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Hero v3 — banner-true wordmark
   ============================================================ */
.hero-inner-v2 { text-align: center; position: relative; z-index: 1; }

.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.015em;
  margin: 0 0 8px;
  font-family: "Archivo Black", var(--font-display);
  font-weight: 400;
  font-size: clamp(88px, 16.5vw, 236px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--brand);
  user-select: none;
  cursor: default;
}
[data-theme="dark"] .wordmark { color: #6ba1ff; }

.wm-l {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wordmark:hover .wm-l:nth-of-type(1), .wordmark:hover .wm-l:nth-of-type(3) { transition-delay: 0.03s; }
.wordmark:hover .wm-l:nth-of-type(4) { transition-delay: 0.09s; }
.wordmark:hover .wm-l:nth-of-type(5) { transition-delay: 0.15s; }
.wordmark:hover .wm-l { transform: translateY(-0.055em) rotate(-2.5deg); }
.wm-l:hover { transform: translateY(-0.08em) scale(1.04) !important; }

.wm-o { display: inline-block; width: 0.72em; height: 0.72em; margin: 0 0.015em; }
.wm-o img {
  width: 100%; height: 100%;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wordmark:hover .wm-o img { transform: rotate(180deg); }

/* entrance wave */
html[data-motion="on"] .wordmark .wm-l, html[data-motion="on"] .wordmark .wm-o {
  opacity: 0;
  transform: translateY(0.35em);
  animation: wm-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
html[data-motion="on"] .wordmark .wm-l:nth-of-type(1) { animation-delay: 0.05s; }
html[data-motion="on"] .wordmark .wm-o { animation-delay: 0.13s; }
html[data-motion="on"] .wordmark .wm-l:nth-of-type(3) { animation-delay: 0.21s; }
html[data-motion="on"] .wordmark .wm-l:nth-of-type(4) { animation-delay: 0.29s; }
html[data-motion="on"] .wordmark .wm-l:nth-of-type(5) { animation-delay: 0.37s; }
@keyframes wm-in {
  to { opacity: 1; transform: translateY(0); }
}
html[data-motion="off"] .wordmark .wm-l, html[data-motion="off"] .wordmark .wm-o { opacity: 1; transform: none; }

.hero-sub-v2 {
  max-width: 600px;
  margin: 18px auto 30px;
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}
.hero .hero-cta { margin-bottom: 22px; }

/* ============================================================
   Cursor ring + magnetic buttons (pointer:fine + motion on)
   ============================================================ */
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
  pointer-events: none;
  z-index: 400;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease, opacity 0.3s ease;
}
.cursor-ring.is-active { opacity: 0.75; }
.cursor-ring.is-hover {
  width: 52px; height: 52px;
  background: var(--brand-tint);
  opacity: 0.9;
}
@media (pointer: coarse) { .cursor-ring { display: none; } }

/* ============================================================
   Device mockups (laptop + phone)
   ============================================================ */
.devices {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  perspective: 1400px;
  margin-top: 10px;
}

.laptop {
  position: relative;
  z-index: 1;
  width: min(680px, 74%);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.laptop-screen {
  position: relative;
  border: 10px solid #10151f;
  border-bottom-width: 16px;
  border-radius: 18px 18px 0 0;
  background: #10151f;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(14, 22, 38, 0.5);
}
.laptop-base {
  height: 15px;
  background: linear-gradient(180deg, #2a3242, #161c28);
  border-radius: 0 0 16px 16px;
  margin: 0 -34px;
  position: relative;
}
.laptop-base::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 6px;
  border-radius: 0 0 8px 8px;
  background: #0d121c;
}

.phone {
  position: relative;
  z-index: 2;
  width: clamp(180px, 22vw, 230px);
  margin-left: -46px;
  margin-bottom: -6px;
  border: 8px solid #10151f;
  border-radius: 34px;
  background: #10151f;
  box-shadow: 0 26px 60px -24px rgba(14, 22, 38, 0.55);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.phone::before {
  content: "";
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 18px;
  border-radius: 12px;
  background: #10151f;
  z-index: 3;
}

/* ---- discord-style screen content (always dark: it's a screen) ---- */
.dc {
  display: flex;
  aspect-ratio: 16 / 9.6;
  background: #313338;
  font-family: var(--font-body);
  font-size: 10.5px;
  color: #dbdee1;
  text-align: left;
}
.dc-side {
  width: 46px;
  background: #1e1f22;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.dc-pill {
  width: 30px; height: 30px;
  border-radius: 12px;
  background: #5865f2;
  display: grid; place-items: center;
  font-size: 7px; font-weight: 800;
  color: #fff;
}
.dc-pill.alt { background: #4080f8; border-radius: 50%; }
.dc-pill.alt2 { background: #248046; border-radius: 50%; }
.dc-pill.dim { background: #313338; }
.dc-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dc-head {
  padding: 8px 12px;
  font-weight: 700;
  color: #f2f3f5;
  border-bottom: 1px solid #26272b;
  font-size: 11px;
}
.dc-head span { color: #949ba4; font-weight: 500; }
.dc-msgs { flex: 1; padding: 9px 12px; display: flex; flex-direction: column; gap: 9px; }
.dc-msg { display: flex; gap: 8px; }
.dc-av { flex: none; width: 26px; height: 26px; border-radius: 50%; }
.dc-msg-head { display: flex; align-items: baseline; gap: 6px; }
.dc-name { font-weight: 600; color: #f2f3f5; font-size: 10.5px; }
.dc-name.bot { color: #4080f8; }
.dc-time { color: #949ba4; font-size: 8.5px; }
.dc-text { color: #dbdee1; line-height: 1.45; }
.dc-text code {
  background: #2b2d31;
  border: 1px solid #1e1f22;
  border-radius: 4px;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #dbdee1;
}
.dc-cmd { color: #4080f8; }
.dc-embed {
  border-left: 3px solid #da373c;
  background: #2b2d31;
  border-radius: 4px;
  padding: 7px 9px;
  margin-top: 4px;
}
.dc-embed-title { font-weight: 700; color: #f2f3f5; font-size: 10.5px; margin-bottom: 3px; }
.dc-embed p { margin: 0; color: #dbdee1; font-size: 9.8px; line-height: 1.45; }
.dc-system {
  display: flex; align-items: center; gap: 6px;
  color: #949ba4;
  font-size: 9.5px;
}
.dc-system .dc-lock {
  width: 14px; height: 14px; border-radius: 50%;
  background: #da373c;
  display: grid; place-items: center;
  color: #fff; font-size: 8px;
}
.dc-input {
  margin: 0 12px 10px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #383a40;
  color: #7f848d;
  font-size: 10px;
}

/* phone screen */
.dc-mobile {
  aspect-ratio: 9 / 18.4;
  background: #313338;
  display: flex;
  flex-direction: column;
  font-size: 10px;
  color: #dbdee1;
  text-align: left;
  padding-top: 30px;
}
.dc-m-head {
  padding: 9px 12px;
  background: #1e1f22;
  color: #f2f3f5;
  font-weight: 700;
  font-size: 11px;
  display: flex; align-items: center; gap: 7px;
}
.dc-m-head .dc-av { width: 22px; height: 22px; }
.dc-m-body { flex: 1; padding: 10px 11px; display: flex; flex-direction: column; gap: 8px; }
.dc-m-card {
  background: #2b2d31;
  border-radius: 9px;
  padding: 9px 10px;
}
.dc-m-card .dc-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 8px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 5px;
}
.dc-m-card p { margin: 0; line-height: 1.5; color: #dbdee1; font-size: 9.6px; }
.dc-m-time { display: block; margin-top: 5px; color: #7f848d; font-size: 8.4px; }
.dc-m-input {
  margin: 0 11px 12px;
  padding: 7px 11px;
  border-radius: 9px;
  background: #383a40;
  color: #7f848d;
  font-size: 9.6px;
}

.devices-note {
  text-align: center;
  color: var(--text-3);
  font-size: 0.84rem;
  margin-top: 30px;
}

/* ============================================================
   Audit log box
   ============================================================ */
.audit-wrap { max-width: 860px; margin-inline: auto; position: relative; z-index: 1; }

.audit-box {
  border-radius: var(--radius-lg);
  background: #0b1220;
  border: 1px solid #1c2740;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  color: #d5dcee;
}
.audit-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #0e1626;
  border-bottom: 1px solid #1c2740;
}
.audit-dots { display: flex; gap: 6px; }
.audit-dots i { width: 10px; height: 10px; border-radius: 50%; }
.audit-dots i:nth-child(1) { background: #ff5f57; }
.audit-dots i:nth-child(2) { background: #febc2e; }
.audit-dots i:nth-child(3) { background: #28c840; }
.audit-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #8fa3c8;
  text-transform: uppercase;
}
.audit-channel {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #64769c;
}
.audit-replay {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #2b3b60;
  background: transparent;
  color: #8fa3c8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.audit-replay:hover { color: #c7d4ee; border-color: #43598f; }

.audit-lines {
  padding: 20px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 230px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.audit-line {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 10px;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(-10px);
}
.audit-line.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.audit-line:hover { background: rgba(64, 128, 248, 0.06); }
.audit-time { flex: none; color: #5a6c93; font-size: 0.74rem; }
.audit-text { flex: 1; color: #c9d4ea; line-height: 1.5; min-width: 0; }
.audit-text strong { color: #fff; font-weight: 600; }
.audit-chip {
  flex: none;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.ch-detected { color: #ffc866; background: rgba(255, 176, 32, 0.13); }
.ch-banned   { color: #ff9aa8; background: rgba(255, 92, 122, 0.12); }
.ch-action   { color: #9ec1ff; background: rgba(64, 128, 248, 0.14); }
.ch-safe     { color: #6fe0b2; background: rgba(52, 199, 137, 0.13); }

.audit-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding: 13px 22px 17px;
  border-top: 1px solid #1c2740;
  color: #64769c;
  font-size: 0.8rem;
}
.audit-foot .af-strong { color: #9ec1ff; font-weight: 600; }

/* ping ripples for audit box */
.audit-ping { position: absolute; border-radius: 50%; border: 1.5px solid rgba(64, 128, 248, 0.5); pointer-events: none; }
html[data-motion="on"] .audit-ping { animation: audit-ping 3.4s ease-out infinite; }
.audit-ping:nth-of-type(2) { animation-delay: 1.7s; }
@keyframes audit-ping {
  0% { transform: scale(0.4); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 860px) {
  .devices { flex-direction: column; align-items: center; gap: 34px; }
  .phone { margin-left: 0; }
  .laptop { width: 100%; }
  .dc { font-size: 9px; }
  .audit-lines { font-size: 0.72rem; }
}

.audit-text code { background: #16233c; padding: 1px 7px; border-radius: 6px; color: #9ec1ff; font-size: 0.93em; }

.hero-inner-v2 .hero-cta { justify-content: center; }
.hero-inner-v2 .hero-meta { justify-content: center; }

/* ============================================================
   View transitions (cross-page fade in Chromium)
   ============================================================ */
@view-transition { navigation: auto; }

/* ============================================================
   Card spotlight (pointer-tracked sheen)
   ============================================================ */
.feature-card::after, .cmd-card::after, .ann-card::after, .doc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px 240px at var(--sx, 50%) var(--sy, 40%), rgba(64, 128, 248, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.feature-card:hover::after, .cmd-card:hover::after, .ann-card:hover::after, .doc-card:hover::after { opacity: 1; }

/* ============================================================
   Button click ripple
   ============================================================ */
.btn { position: relative; overflow: hidden; }
.btn .sb-ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
  transform: scale(0);
  animation: ripple 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ============================================================
   Section dash draw + eyebrow fade
   ============================================================ */
.reveal .section-eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s; }
.reveal.is-visible .section-eyebrow::before { transform: scaleX(1); }
.reveal.centered .section-eyebrow::after { transform: scaleX(0); transform-origin: right; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.25s; }
.reveal.is-visible.centered .section-eyebrow::after { transform: scaleX(1); }
html[data-motion="off"] .reveal .section-eyebrow::before,
html[data-motion="off"] .reveal .section-eyebrow::after { transform: scaleX(1); }

/* ============================================================
   Sonar bot widget
   ============================================================ */
.sb-launcher {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 280;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(145deg, #5b9bff, #2f6fe8);
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(47, 111, 232, 0.6);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.sb-launcher:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 40px -10px rgba(47, 111, 232, 0.7); }
.sb-launcher img { width: 32px; height: 32px; }
.sb-launcher-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: sb-pulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes sb-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}

.sb-panel {
  position: fixed;
  right: 22px; bottom: 98px;
  z-index: 290;
  width: min(384px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  background: #313338;
  border: 1px solid #26272b;
  border-radius: 18px;
  box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.sb-panel.is-open { opacity: 1; transform: none; }
.sb-panel[hidden] { display: none; }

.sb-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: #1e1f22;
  border-bottom: 1px solid #26272b;
}
.sb-head-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #0e1626;
  padding: 5px;
}
.sb-head-txt { display: flex; flex-direction: column; line-height: 1.25; }
.sb-head-txt strong { color: #f2f3f5; font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.sb-bot-tag {
  background: #5865f2;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1.5px 5px;
  border-radius: 4px;
}
.sb-head-txt em { font-style: normal; color: #949ba4; font-size: 0.74rem; }
.sb-head-txt em::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #23a55a; margin-right: 5px; }
.sb-close {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #b5bac1;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sb-close:hover { background: #3f4247; color: #fff; }

.sb-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: #1e1f22 transparent;
}
.sb-msg { display: flex; gap: 8px; animation: sb-msg-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes sb-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.sb-av {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #0e1626;
  padding: 3px;
  margin-top: 2px;
}
.sb-bubble {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.885rem;
  line-height: 1.55;
}
.sb-bot .sb-bubble {
  background: #2b2d31;
  color: #dbdee1;
  border-top-left-radius: 4px;
}
.sb-bubble code { font-family: var(--font-mono); font-size: 0.84em; }
.sb-user { justify-content: flex-end; }
.sb-user .sb-bubble {
  background: #4080f8;
  color: #fff;
  border-top-right-radius: 4px;
}

.sb-typing .sb-bubble { display: flex; gap: 5px; align-items: center; padding: 12px 14px; }
.sb-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #949ba4;
  animation: sb-bounce 1.2s ease-in-out infinite;
}
.sb-dot:nth-child(2) { animation-delay: 0.15s; }
.sb-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes sb-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.sb-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 11px;
}
.sb-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #3f4247;
  background: #2b2d31;
  color: #dbdee1;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sb-chip:hover { border-color: #4080f8; color: #fff; transform: translateY(-1px); }

.sb-inputrow {
  display: flex;
  gap: 8px;
  padding: 10px 12px 13px;
  background: #1e1f22;
  border-top: 1px solid #26272b;
}
.sb-input {
  flex: 1;
  padding: 10px 13px;
  border-radius: 10px;
  border: 0;
  background: #383a40;
  color: #f2f3f5;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}
.sb-input::placeholder { color: #7f848d; }
.sb-input:focus { box-shadow: 0 0 0 2px rgba(64, 128, 248, 0.5); }
.sb-send {
  flex: none;
  width: 41px; height: 41px;
  border-radius: 10px;
  border: 0;
  background: #4080f8;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.sb-send:hover { background: #2c66e0; transform: translateY(-1px); }
.sb-send:active { transform: scale(0.94); }

@media (max-width: 560px) {
  .sb-panel { right: 16px; left: 16px; width: auto; bottom: 92px; }
  .sb-launcher { right: 16px; bottom: 16px; }
}

/* ============================================================
   Freeflow — one seamless page, no straight boundaries
   ============================================================ */

/* blobs may overflow their section; body clips at the screen edge only */
.blob-field { overflow: visible; }
.hero { overflow: visible; }
.page-head { overflow: visible; }
.section.tinted { background: transparent; border-block: 0; }

/* ticker becomes a floating capsule */
.ticker {
  max-width: 1060px;
  margin-inline: auto;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 13px 0;
  box-shadow: var(--shadow-sm);
}
.ticker::before, .ticker::after { width: 60px; }

/* footer gets a soft curved top instead of a hard edge */
.footer {
  border-radius: 46px 46px 0 0;
  margin-top: 14px;
}

/* about panel blends into the hero flow */
.about-panel {
  border-radius: 26px;
  background: linear-gradient(180deg, var(--bg-soft), color-mix(in srgb, var(--bg-soft) 55%, var(--bg)));
}

/* whole page reads as one continuous wash */
body {
  background:
    radial-gradient(1400px 900px at 100% 100%, color-mix(in srgb, var(--brand) 5%, var(--bg)), transparent 60%),
    var(--bg);
}

/* ============================================================
   Verified badge on the bot
   ============================================================ */
.sb-verified { width: 15px; height: 15px; flex: none; }

/* safety: content always above drifting blobs */
.section > .container, .section-head, .audit-wrap { position: relative; z-index: 1; }

html { overflow-x: clip; }

/* ============================================================
   Wordmark scroll-fill (two layers: ghost stroke + solid fill)
   ============================================================ */
.wordmark { position: relative; }
.wm-layer { display: flex; align-items: center; justify-content: center; gap: 0.015em; }

.wm-ghost {
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--brand) 60%, transparent);
}
.wm-ghost .wm-o img { opacity: 0.15; }

.wm-fill {
  position: absolute;
  inset: 0;
  color: var(--brand);
  clip-path: inset(0 calc(100% - var(--fill, 100%)) 0 0 round 12px);
}
[data-theme="dark"] .wm-fill { color: #6ba1ff; }

.wm-fill .wm-o img {
  filter: drop-shadow(0 6px 18px rgba(64, 128, 248, 0.35));
}

/* hover interactions stay on the fill layer */
.wordmark:hover .wm-fill .wm-l { transform: translateY(-0.055em) rotate(-2.5deg); }
.wordmark:hover .wm-fill .wm-l:nth-of-type(1), .wordmark:hover .wm-fill .wm-l:nth-of-type(3) { transition-delay: 0.03s; }
.wordmark:hover .wm-fill .wm-l:nth-of-type(4) { transition-delay: 0.09s; }
.wordmark:hover .wm-fill .wm-l:nth-of-type(5) { transition-delay: 0.15s; }
.wm-fill .wm-l { display: inline-block; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.wm-fill .wm-l:hover { transform: translateY(-0.08em) scale(1.04) !important; }
.wm-fill .wm-o { display: inline-block; width: 0.72em; height: 0.72em; margin: 0 0.015em; }
.wm-fill .wm-o img { width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.wordmark:hover .wm-fill .wm-o img { transform: rotate(180deg); }

/* ============================================================
   Hero identity chips
   ============================================================ */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -8px 0 26px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.hero-badge svg { flex: none; }
.hero-badge .hb-check { color: var(--brand); }

/* ============================================================
   Nav APP badge
   ============================================================ */
.app-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}

/* ============================================================
   Onboarding steps (numbered, editorial)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.step-card {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--brand-tint-3); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-tint-3);
  margin-bottom: 14px;
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease;
}
.step-card:hover .step-num { color: var(--brand); -webkit-text-stroke-color: transparent; }
.step-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 7px; }
.step-card p { color: var(--text-2); font-size: 0.92rem; }
.step-card code { font-size: 0.82rem; color: var(--brand-ink); }
[data-theme="dark"] .step-card code { color: #9ec1ff; }

/* ============================================================
   Audit timeline v2 — hollow/filled dot rail
   ============================================================ */
.audit-lines {
  position: relative;
  padding: 22px 22px 12px 58px;
  gap: 6px;
}
.audit-lines::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 20px;
  width: 2px;
  background: #1c2740;
}
.audit-line {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 10px 8px 0;
  border-radius: 8px;
}
.audit-dot {
  position: absolute;
  left: -37px;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid #3d5488;
  background: #0b1220;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.audit-line.is-in .audit-dot {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(64, 128, 248, 0.18);
}
.audit-line.is-in.audit-attack .audit-dot {
  background: #ff5f57;
  border-color: #ff5f57;
  box-shadow: 0 0 0 3px rgba(255, 95, 87, 0.15);
}
.audit-who {
  flex: none;
  width: 74px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64769c;
}
.audit-line.audit-attack .audit-who { color: #ff8a92; }
.audit-line.audit-sonar .audit-who { color: #7ea6ff; }

.audit-float {
  position: absolute;
  top: -16px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #12315a;
  border: 1px solid #2b5aa8;
  color: #cde0ff;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .audit-lines { padding-left: 48px; }
  .audit-dot { left: -30px; }
  .audit-who { width: 60px; font-size: 0.6rem; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.brand-name { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.nav { gap: 14px; }
.nav-link { padding: 8px 13px; }
.wm-ghost { -webkit-text-stroke-color: transparent; transition: -webkit-text-stroke-color 0.4s ease; }
.wordmark.is-draining .wm-ghost {
  -webkit-text-stroke-color: color-mix(in srgb, var(--brand) 55%, transparent);
}
[data-theme="dark"] .wordmark.is-draining .wm-ghost {
  -webkit-text-stroke-color: rgba(107, 161, 255, 0.5);
}

/* ============================================================
   Sky palette — colors sampled from the official logo gradient
   (#3c84fc -> #7eb4fa). Fewer dark surfaces, more sky.
   ============================================================ */
html { overflow-x: clip; }

body {
  background:
    radial-gradient(1200px 640px at 50% -220px, rgba(60, 132, 252, 0.08), transparent 62%),
    var(--bg);
}

.btn-primary {
  background: linear-gradient(160deg, #5e9dfa, #3c84fc);
}
.btn-primary:hover { background: linear-gradient(160deg, #4c90f9, #2f74e8); }

.brand-mark { background: linear-gradient(160deg, #5e9dfa, #3c84fc); }

/* footer: sky gradient instead of navy */
.footer {
  background: linear-gradient(180deg, #3c84fc, #7eb4fa);
  border-radius: 46px 46px 0 0;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.footer .blob.f1 { background: rgba(255, 255, 255, 0.16); }
.footer .blob.f2 { background: rgba(255, 255, 255, 0.10); }
.footer .brand-name { color: #fff; }
.footer .brand-mark { background: rgba(255, 255, 255, 0.22); }
.footer-tagline { color: #fff; }
.footer-desc { color: rgba(255, 255, 255, 0.88); }
.footer-col h3 { color: rgba(255, 255, 255, 0.62); }
.footer-col a { color: rgba(255, 255, 255, 0.88); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.8); }

/* audit box: deep sky instead of near-black */
.audit-box { background: #0d1c36; border-color: #1e3a68; }
.audit-head { background: #102342; border-bottom-color: #1e3a68; }
.audit-lines::before { background: #274477; }
.audit-text { color: #d3ddf2; }
.audit-time { color: #6d84b4; }
.audit-channel, .audit-replay { color: #8fa9d9; }
.audit-replay { border-color: #31518f; }
.audit-replay:hover { color: #d3ddf2; border-color: #4a6cb0; }
.audit-text code { background: #1b3258; color: #9ec1ff; }

/* wordmark fill uses the sky gradient */
.wm-fill .wm-l { color: var(--brand); }

/* ============================================================
   Scroll progress bar
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, #7eb4fa, #3c84fc);
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

/* ============================================================
   Extra motion niceties
   ============================================================ */
.hero-badge { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease; }
.hero-badge:hover { transform: translateY(-3px); border-color: var(--brand-tint-3); }

.step-num { transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.step-card:hover .step-num { transform: translateY(-4px) scale(1.06); }

.team-ring { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.team-card:hover .team-ring { transform: rotate(-4deg) scale(1.04); }

/* discord mockup bot identity */
.dc-bot-tag {
  display: inline-block;
  background: #5865f2;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 1px 4px;
  border-radius: 3px;
  vertical-align: 1px;
}

/* ============================================================
   Bedazzle — hero sparkles + wordmark sonar ping
   ============================================================ */
.sparkle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.85), 0 0 20px 6px rgba(64, 128, 248, 0.35);
  opacity: 0;
  transform: rotate(45deg) scale(0.2);
}
html[data-theme="light"] .sparkle {
  background: var(--brand);
  box-shadow: 0 0 9px 2px rgba(64, 128, 248, 0.55), 0 0 18px 5px rgba(64, 128, 248, 0.3);
}
html[data-motion="on"] .sparkle {
  animation: sparkle-twinkle var(--dur, 3.4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0; transform: rotate(45deg) scale(0.2); }
  50% { opacity: 0.95; transform: rotate(45deg) scale(1); }
}

.wm-o { position: relative; }
.wm-o::after {
  content: "";
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  border: 2px solid rgba(64, 128, 248, 0.55);
  opacity: 0;
  pointer-events: none;
}
html[data-motion="on"] .wm-o::after {
  animation: wm-ping 4.6s cubic-bezier(0.2, 0.55, 0.45, 1) infinite 1.8s;
}
@keyframes wm-ping {
  0% { transform: scale(0.75); opacity: 0.65; }
  60% { opacity: 0.25; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   Bedazzle II — sparkle drift, wordmark auto-wave, radar, CTA pan
   ============================================================ */
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0; transform: translate(0, 0) rotate(45deg) scale(0.2); }
  50% { opacity: 0.95; transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(45deg) scale(1); }
}

/* auto-wave: letters bounce in sequence every few seconds */
html[data-motion="on"] .wordmark.wave .wm-fill .wm-l,
html[data-motion="on"] .wordmark.wave .wm-fill .wm-o img {
  animation: wm-wave-l 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
html[data-motion="on"] .wordmark.wave .wm-fill .wm-l:nth-child(1) { animation-delay: 0s; }
html[data-motion="on"] .wordmark.wave .wm-fill .wm-o { animation: wm-wave-o 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.06s both; }
html[data-motion="on"] .wordmark.wave .wm-fill .wm-l:nth-child(3) { animation-delay: 0.06s; }
html[data-motion="on"] .wordmark.wave .wm-fill .wm-l:nth-child(4) { animation-delay: 0.12s; }
html[data-motion="on"] .wordmark.wave .wm-fill .wm-l:nth-child(5) { animation-delay: 0.18s; }
@keyframes wm-wave-l {
  35% { transform: translateY(-0.07em) scale(1.05); }
  70% { transform: translateY(0.02em); }
  100% { transform: translateY(0); }
}
@keyframes wm-wave-o {
  40% { transform: rotate(100deg) scale(1.07); }
  100% { transform: rotate(180deg) scale(1); }
}

/* radar sweep in the audit header */
.audit-radar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #2b5aa8;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle, rgba(64, 128, 248, 0.14), transparent 72%);
}
.audit-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(126, 180, 250, 0), rgba(126, 180, 250, 0.6));
  animation: radar-sweep 3.4s linear infinite;
}
.audit-radar::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  margin: -2.5px;
  border-radius: 50%;
  background: #cde0ff;
  box-shadow: 0 0 8px 2px rgba(126, 180, 250, 0.7);
}
@keyframes radar-sweep { to { transform: rotate(360deg); } }

/* CTA gradient pan */
.cta-inner {
  background: linear-gradient(120deg, #2f74e8, #5e9dfa, #3c84fc);
  background-size: 220% 220%;
}
html[data-motion="on"] .cta-inner { animation: cta-pan 15s ease-in-out infinite; }
@keyframes cta-pan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============================================================
   Floating circles — ambient motion on every page
   ============================================================ */
.sonar-floaties {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.float-circle {
  position: absolute;
  bottom: -14vh;
  border-radius: 50%;
  border: 2px solid rgba(64, 128, 248, 0.30);
  background: radial-gradient(circle at 35% 35%, rgba(126, 180, 250, 0.24), rgba(126, 180, 250, 0.04) 72%);
  box-shadow: 0 4px 16px rgba(64, 128, 248, 0.12);
  will-change: transform;
}
[data-theme="dark"] .float-circle {
  border-color: rgba(126, 180, 250, 0.22);
  background: radial-gradient(circle at 35% 35%, rgba(64, 128, 248, 0.10), rgba(64, 128, 248, 0.02) 72%);
}
html[data-motion="on"] .float-circle { animation: floaty linear infinite; }
@keyframes floaty { to { transform: translateY(-130vh); } }

/* announcement cards breathe gently */
html[data-motion="on"] .ann-card { animation: ann-idle 7s ease-in-out infinite; }
html[data-motion="on"] .ann-card:nth-child(2) { animation-delay: -2.3s; }
html[data-motion="on"] .ann-card:nth-child(3) { animation-delay: -4.6s; }
@keyframes ann-idle { 50% { transform: translateY(-7px); } }

/* ============================================================
   Mobile: keep the wordmark on-screen and shrink blobs
   ============================================================ */
@media (max-width: 700px) {
  .wordmark { font-size: clamp(52px, 15.5vw, 96px); }
  .blob { max-width: 40vw; max-height: 40vw; }
  .hero-badges { gap: 6px; }
  .hero-badge { padding: 4px 10px; font-size: 0.72rem; }
}
