/* Solana Public Fork — brand system matching spf-logo-v2
   Black void · white type · purple→green glass glow */

:root {
  --bg: #000000;
  --bg-elev: rgba(12, 12, 14, 0.75);
  --bg-soft: #050506;
  --border: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(180, 160, 255, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --muted-2: rgba(255, 255, 255, 0.38);
  --link: #c4b5fd;
  --purple: #b794f6;
  --green: #6ee7b7;
  --grad: linear-gradient(120deg, #c4b5fd 0%, #e8e8e8 45%, #6ee7b7 100%);
  --grad-strong: linear-gradient(135deg, #a78bfa 0%, #ffffff 50%, #34d399 100%);
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: #fff;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

strong {
  font-weight: 600;
  color: #fff;
}

/* ── Ambient (logo vibe: soft purple/green bloom on black) ── */
.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.fx-orbs {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 28%, rgba(167, 139, 250, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 35% at 50% 32%, rgba(110, 231, 183, 0.08), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(167, 139, 250, 0.06), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(52, 211, 153, 0.05), transparent 40%);
  animation: orb-drift 20s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(0, 1.5%);
  }
}

.fx-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.fx-scan {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.012) 0 1px,
    transparent 1px 3px
  );
}

.fx-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 10%, transparent 70%);
}

.fx-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 75% at 50% 40%,
    transparent 35%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.topbar,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ── Glass (logo: soft glow, dark glass) ── */
.glass {
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.02) 45%,
      rgba(167, 139, 250, 0.04) 100%
    ),
    rgba(8, 8, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(167, 139, 250, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(100% 60% at 20% -10%, rgba(255, 255, 255, 0.12), transparent 50%),
    radial-gradient(80% 50% at 100% 100%, rgba(110, 231, 183, 0.05), transparent 50%);
  z-index: 0;
}

.glass > * {
  position: relative;
  z-index: 1;
}

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover {
  color: #fff;
}
.mark-img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 24px rgba(167, 139, 250, 0.25),
    0 0 40px rgba(110, 231, 183, 0.1);
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.topbar nav a:not(.btn) {
  color: var(--muted);
}
.topbar nav a:not(.btn):hover {
  color: #fff;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s var(--ease), background 0.15s, box-shadow 0.15s,
    border-color 0.15s;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.btn.primary {
  background: #fff;
  border-color: transparent;
  color: #000 !important;
  box-shadow:
    0 0 30px rgba(167, 139, 250, 0.2),
    0 0 50px rgba(110, 231, 183, 0.12);
}
.btn.primary:hover {
  background: #f5f5f5;
  box-shadow:
    0 0 40px rgba(167, 139, 250, 0.35),
    0 0 60px rgba(110, 231, 183, 0.18);
}
.btn.ghost {
  background: transparent;
}
.btn.sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}
.btn-glow {
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.15);
}

/* ── Hero ── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.25rem 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.live-pill,
.path-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--mono);
}

.live-pill {
  color: var(--green);
  border-color: rgba(110, 231, 183, 0.3);
  background: rgba(110, 231, 183, 0.06);
  box-shadow: 0 0 20px rgba(110, 231, 183, 0.08);
}

.live-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0 0 1.15rem;
  color: #fff;
}

.grad {
  background: var(--grad-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(167, 139, 250, 0.25));
}

.lede {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 1.6rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.lede strong,
.lede em {
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.ca-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
}

.ca-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 183, 0.3);
  background: rgba(110, 231, 183, 0.08);
}

.ca-code {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.footer-ca {
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  letter-spacing: -0.01em;
}
.footer-ca:hover {
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.stat {
  border-radius: 16px;
  padding: 1rem 0.7rem;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.stat span {
  font-size: 0.68rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero-visual {
  border-radius: 24px;
  padding: 1.5rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
  box-shadow:
    0 0 80px rgba(167, 139, 250, 0.12),
    0 0 100px rgba(110, 231, 183, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-logo-wordmark {
  width: min(300px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #000;
  padding: 0.35rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 50px rgba(167, 139, 250, 0.2),
    0 0 70px rgba(110, 231, 183, 0.1);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.terminal {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.55;
}

.term-bar {
  display: flex;
  gap: 6px;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.term-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333;
}
.term-bar span:nth-child(1) {
  background: #ff5f57;
}
.term-bar span:nth-child(2) {
  background: #febc2e;
}
.term-bar span:nth-child(3) {
  background: #28c840;
}

.term-body {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  overflow-x: auto;
}

.c-g {
  color: var(--green);
}
.c-m {
  color: var(--muted-2);
}
.c-w {
  color: #fff;
}
.c-blink {
  animation: blink 1s step-end infinite;
  color: var(--purple);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ── Sections ── */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.25rem;
}

.section-head {
  margin-bottom: 1.6rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.55rem;
  line-height: 1.15;
  color: #fff;
}

.section-lead {
  color: var(--muted);
  margin: 0;
  max-width: 48ch;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.3) !important;
}

.card-ico {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.card.highlight {
  border-color: rgba(167, 139, 250, 0.35) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 50px rgba(167, 139, 250, 0.12),
    0 0 60px rgba(110, 231, 183, 0.05) !important;
}

/* Finds */
.finds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.find {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.18s var(--ease), border-color 0.18s, box-shadow 0.18s;
  min-height: 200px;
}

.find:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 183, 0.3) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(110, 231, 183, 0.08) !important;
}

.find.hot {
  border-color: rgba(167, 139, 250, 0.35) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 48px rgba(167, 139, 250, 0.12) !important;
}

.find-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 183, 0.28);
  background: rgba(110, 231, 183, 0.07);
  margin-bottom: 0.8rem;
}

.find h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: var(--mono);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.find p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.find-go {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0.7;
}

.find:hover .find-go {
  opacity: 1;
  color: var(--green);
}

/* Crates */
.crate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.crate {
  border-radius: 16px;
  padding: 0.95rem 0.9rem;
  transition: transform 0.15s var(--ease), border-color 0.15s;
}

.crate:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.35) !important;
}

.crate code {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}

.crate span {
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}

/* Tree */
.gh-box {
  border-radius: 18px;
  overflow: hidden;
}

.gh-box-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.path {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.path-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.gh-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#tree-filter {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  width: min(200px, 40vw);
  outline: none;
  letter-spacing: -0.01em;
}

#tree-filter:focus {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.12);
}

.file-table {
  max-height: 380px;
  overflow: auto;
}

.file-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.52rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  font-family: var(--mono);
  font-size: 0.8rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.12s;
  letter-spacing: -0.02em;
}

.file-row:hover {
  background: rgba(167, 139, 250, 0.07);
}

.file-name {
  color: #e9e4ff;
}

.file-kind {
  color: var(--muted-2);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Access */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.access-card {
  border-radius: var(--radius);
  padding: 1.4rem;
}

.access-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.access-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.code {
  margin: 0 0 0.75rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  overflow-x: auto;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

/* Manifesto */
.manifesto {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 3.5rem;
}

.manifesto-inner {
  border-radius: 24px;
  padding: 2.15rem 1.85rem;
  border-color: rgba(167, 139, 250, 0.28) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 80px rgba(167, 139, 250, 0.1),
    0 0 100px rgba(110, 231, 183, 0.05) !important;
}

.manifesto-inner p {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.32;
  max-width: 34ch;
  color: #fff;
}

.manifesto-inner strong {
  background: var(--grad-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.manifesto-foot {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 1.25rem 3rem;
  background: rgba(0, 0, 0, 0.5);
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.2);
}

.footer-brand strong {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-brand .muted {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: #fff;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  box-shadow:
    0 0 30px rgba(167, 139, 250, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.5);
}

.reveal {
  animation: up 0.65s var(--ease) both;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .finds-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .grid-3,
  .access-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .topbar nav a:not(.btn) {
    display: none;
  }
  .hero-visual {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-orbs,
  .hero-logo,
  .live-pill .dot,
  .c-blink,
  .reveal {
    animation: none !important;
  }
  .fx-canvas,
  .fx-scan {
    display: none;
  }
}
