/* tools402 — Linear design system (canonical) */

/* tools402 identity + Linear/Vercel polish — standalone demo */
:root {
  --accent: #a78bfa;
  --accent-muted: rgba(167, 139, 250, 0.14);
  --primary: var(--accent);
  --primary-2: #7880e8;
  --primary-3: #434ce8;
  --border-strong: var(--border-2);
  --surface-3: #1a1a20;
  --success: #a78bfa;
  --warning: #eab308;
  --error: #ef4444;
  --rose: #ec4899;
  --brown: #a78bfa;
  --pink: var(--rose);
  --warn: var(--warning);
  --ease-out: var(--ease);
  --layout-max: var(--max);
  --display: var(--sans);
  --text-4: var(--text-3);

  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #111114;
  --surface-2: #16161a;
  --border: #1f1f24;
  --border-2: #2a2a33;
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --violet: #a78bfa;
  --violet-2: #8b6df0;
  --blue: #60a5fa;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Vercel-style grid + violet/blue mesh (subtle) */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -20%, rgba(167, 139, 250, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 50%, rgba(59, 130, 246, 0.08), transparent 50%),
    var(--bg);
}
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 75%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 85%);
}

.page {
  position: relative;
  z-index: 1;
}

/* Nav — Linear glass strip */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 20px 0;
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 11, 0.65);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 8px 32px -12px rgba(0, 0, 0, 0.5);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.02em;
  margin-right: 8px;
  line-height: var(--lh-sm);
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #3b82f6, var(--violet));
  display: grid;
  place-items: center;
  font: 600 var(--fs-xs) var(--mono);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 4px 16px -4px rgba(167, 139, 250, 0.5);
}
.brand .dim {
  color: var(--text-3);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 4px;
}
.nav-links a {
  font-size: var(--fs-xs);
  color: var(--text-2);
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
  line-height: var(--lh-xs);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav-spacer {
  flex: 1;
}
.nav-cta {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s;
  line-height: var(--lh-xs);
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.nav-cta.primary {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
}
.nav-cta.primary:hover {
  background: #fff;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* Hero — Vercel centered, Linear tracking */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 10vw, 100px) 24px 48px;
  text-align: center;
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 17, 20, 0.8);
  font-size: var(--fs-xs);
  color: var(--text-2);
  margin-bottom: 28px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s;
  line-height: var(--lh-xs);
}
.announce:hover {
  border-color: var(--border-2);
  background: var(--surface);
}
.announce-tag {
  font: 600 var(--fs-xs) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  background: rgba(167, 139, 250, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
}
.announce .arrow {
  color: var(--text-3);
  transition: transform 0.2s;
}
.announce:hover .arrow {
  transform: translateX(2px);
  color: var(--violet);
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, var(--fs-6xl));
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 auto 20px;
  max-width: 14ch;
}
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--text-2) 40%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .accent {
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-2);
  max-width: 52ch;
  margin: 0 auto 32px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.hero-lede strong {
  color: var(--text);
  font-weight: 600;
}
.hero-ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s,
    background 0.2s;
  line-height: var(--lh-sm);
}
.btn:active {
  transform: scale(0.98);
}
.btn-solid {
  background: var(--text);
  color: var(--bg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 16px 40px -16px rgba(167, 139, 250, 0.35);
}
.btn-solid:hover {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 20px 50px -12px rgba(167, 139, 250, 0.45);
}
.btn-outline {
  color: var(--text);
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Product frame — Vercel glow card */
.product-frame {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.frame-outer {
  position: relative;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    165deg,
    rgba(167, 139, 250, 0.45) 0%,
    rgba(255, 255, 255, 0.08) 35%,
    rgba(96, 165, 250, 0.25) 70%,
    rgba(167, 139, 250, 0.15) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 80px -24px rgba(0, 0, 0, 0.7),
    0 0 120px -40px rgba(167, 139, 250, 0.25);
}
.frame-inner {
  border-radius: 15px;
  background: var(--bg-2);
  overflow: hidden;
}
.frame-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(17, 17, 20, 0.9);
}
.frame-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-2);
}
.frame-dot.v {
  background: var(--violet);
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.5);
}
.frame-url {
  flex: 1;
  margin-left: 8px;
  font: var(--fs-xs) var(--mono);
  color: var(--text-3);
  text-align: center;
}
.frame-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 320px;
}
@media (max-width: 800px) {
  .frame-body {
    grid-template-columns: 1fr;
  }
}
.frame-flow {
  padding: 24px;
  border-right: 1px solid var(--border);
}
@media (max-width: 800px) {
  .frame-flow {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}
.frame-flow h3 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 16px;
  line-height: var(--lh-2xl);
}
.flow-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: var(--fs-xs);
  font-weight: 500;
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
  line-height: var(--lh-xs);
}
.flow-pill.on {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.08);
  box-shadow: 0 0 24px -8px rgba(167, 139, 250, 0.35);
}
.flow-pill span:last-child {
  font: 500 var(--fs-xs) var(--mono);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.flow-pill.on span:last-child {
  color: var(--violet);
}

.frame-term {
  padding: 20px 22px;
  font: var(--fs-xs)/1.75 var(--mono);
  color: var(--text-2);
  background: #08080a;
}
.frame-term .pr {
  color: var(--text-3);
}
.frame-term .cm {
  color: var(--text-2);
}
.frame-term .w {
  color: var(--violet);
}
.frame-term .ok {
  color: var(--success);
}
.frame-term .s {
  color: #fca5a5;
}
.frame-term .v {
  color: var(--blue);
}

/* Stats — Linear row */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat {
  background: rgba(17, 17, 20, 0.6);
  backdrop-filter: blur(8px);
  padding: 22px 24px;
}
.stat-k {
  font: 500 var(--fs-xs) var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.stat-v {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: var(--lh-2xl);
}
.stat-v small {
  font: 500 var(--fs-xs) var(--mono);
  color: var(--text-3);
  font-weight: 500;
  margin-left: 4px;
}

/* Bento — Vercel feature grid */
.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 32px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, var(--fs-4xl));
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  line-height: var(--lh-4xl);
}
.section-head p {
  margin: 0 auto;
  color: var(--text-2);
  max-width: 48ch;
  font-size: var(--fs-lg);
  line-height: 1.6;
}
.bento {
  max-width: var(--max);
  margin: 0 auto 100px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}
@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr;
  }
}
.card {
  position: relative;
  border-radius: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    border-color 0.25s,
    transform 0.25s var(--ease);
}
.card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(167, 139, 250, 0.08),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover::before {
  opacity: 1;
}
.card.wide {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .card.wide {
    grid-column: span 1;
  }
}
.card.tall {
  grid-row: span 2;
}
@media (max-width: 900px) {
  .card.tall {
    grid-row: span 1;
  }
}
.card-tag {
  font: 600 var(--fs-xs) var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.card h3 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: var(--lh-2xl);
}
.card p {
  margin: 0;
  font-size: var(--fs-base);
  color: var(--text-2);
  line-height: 1.55;
}
.card p code {
  font: var(--fs-xs) var(--mono);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--text);
}
.chain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chain-tag {
  font: 500 var(--fs-xs) var(--mono);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-2);
}
.pull-serif {
  font-family: var(--serif);
  font-size: var(--fs-xl);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  margin: 16px 0 0;
  letter-spacing: -0.01em;
}

/* CTA */
.cta {
  max-width: var(--max);
  margin: 0 auto 120px;
  padding: 48px 32px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.8) 0%, rgba(17, 17, 20, 0.4) 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(167, 139, 250, 0.15), transparent 70%);
  pointer-events: none;
}
.cta h2 {
  position: relative;
  font-size: clamp(24px, 3.5vw, var(--fs-3xl));
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: var(--lh-3xl);
}
.cta p {
  position: relative;
  color: var(--text-2);
  margin: 0 0 24px;
  font-size: var(--fs-base);
  line-height: var(--lh-base);
}

.demo-label {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font: 500 var(--fs-xs) var(--mono);
  letter-spacing: 0.04em;
  color: var(--text-3);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 11, 0.9);
  backdrop-filter: blur(12px);
}
.demo-label em {
  color: var(--violet);
  font-style: normal;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero > * {
  animation: fade-up 0.7s var(--ease) both;
}
.hero .announce {
  animation-delay: 0s;
}
.hero h1 {
  animation-delay: 0.06s;
  letter-spacing: var(--tracking-tight);
}
.hero-lede {
  animation-delay: 0.12s;
}
.hero-ctas {
  animation-delay: 0.18s;
}
.product-frame {
  animation: fade-up 0.9s var(--ease) 0.24s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero > *,
  .product-frame {
    animation: none;
  }
  .flow-pill {
    transition: none;
  }
}

/* —— Subtitles: weight 500 (Linear secondary) —— */
.hero-lede,
.section-head p,
.cta p,
.card p,
.stat-k,
.announce,
.lede,
.page-head .lede {
  font-weight: 500;
}

/* Calmer product frame (Linear) */
.frame-outer {
  background: linear-gradient(
    165deg,
    rgba(94, 106, 210, 0.35) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(96, 165, 250, 0.18) 100%
  );
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 32px 64px -28px rgba(0, 0, 0, 0.65);
}
.frame-dot.v {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(94, 106, 210, 0.45);
}
.flow-pill.on {
  border-color: rgba(94, 106, 210, 0.45);
  background: var(--accent-muted);
  box-shadow: none;
}
.flow-pill.on span:last-child {
  color: var(--accent);
}
.announce-tag,
.card-tag {
  color: var(--accent);
  background: var(--accent-muted);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Footer (prod) */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 80px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  color: var(--text-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: var(--lh-xs);
}
@media (max-width: 760px) {
  .footer {
    grid-template-columns: 1fr 1fr;
  }
}
.footer h2 {
  color: var(--text);
  font: 500 var(--fs-xs) var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer a:hover {
  color: var(--text);
}
.footer .legal {
  font: 500 var(--fs-xs) var(--mono);
  line-height: 1.6;
}
.nav-links a.cur {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav {
    position: relative;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--border-2);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }
  .nav-toggle::before {
    content: "";
    width: 16px;
    height: 12px;
    background:
      linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
  }
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.96);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    padding: 8px;
    gap: 2px;
    z-index: 60;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px) saturate(160%);
  }
  .nav-links.open a {
    padding: 10px 12px;
    border-radius: 8px;
  }
  .nav-cta:not(.primary) {
    display: none;
  }
}
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

/* Inner pages: legacy topbar → same glass nav */
body.site-linear .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 20px 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
body.site-linear .topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 10px 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 11, 0.65);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 8px 32px -12px rgba(0, 0, 0, 0.5);
}
body.site-linear .topbar nav a {
  border-radius: 8px;
  padding: 7px 12px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-2);
  line-height: var(--lh-xs);
}
body.site-linear .topbar nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
body.site-linear .topbar nav a.cur {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
body.site-linear .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #3b82f6, var(--accent));
}

/* Legacy btn aliases (inner pages) */
.btn-solid,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--text);
  color: var(--bg) !important;
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s var(--ease),
    background 0.2s;
  line-height: var(--lh-sm);
}
.btn-solid:hover,
.btn-primary:hover {
  background: #fff !important;
}
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.02);
  line-height: var(--lh-sm);
}
.btn-outline:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

body.site-linear {
  position: relative;
}
body.site-linear > :not(.bg):not(.site-bg):not(.nav-shell) {
  position: relative;
  z-index: 1;
}
.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% -20%, rgba(94, 106, 210, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 50%, rgba(59, 130, 246, 0.06), transparent 50%),
    var(--bg);
}
