:root {
  --fuchsia: #EF426F;
  --teal: #00B2A9;
  --orange: #FF8200;
}
[data-theme="light"] {
  --bg: #FBF7F0;
  --bg-2: #F2EDE2;
  --surface: #FFFFFF;
  --ink: #0A0A0A;
  --ink-soft: #3A3A3A;
  --ink-muted: #6E6E6E;
  --line: rgba(10,10,10,.10);
  --line-strong: rgba(10,10,10,.18);
}
[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-2: #141414;
  --surface: #141414;
  --ink: #F4EFE6;
  --ink-soft: #D4D4D4;
  --ink-muted: #9A9A9A;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.22);
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .25 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
[data-theme="dark"] body::before { opacity: .08; mix-blend-mode: screen }
a { color: inherit }
.triple-stripe { display: flex; height: 6px; width: 100% }
.triple-stripe span { flex: 1 }
.term-container {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
}
.term-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(24px, 4vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,10,.88);
  color: #FBF7F0;
  backdrop-filter: blur(14px);
}
.term-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FBF7F0;
  font-family: "Archivo Black", sans-serif;
  font-size: 20px;
  letter-spacing: -.02em;
  text-decoration: none;
  text-transform: uppercase;
}
.term-logo span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fuchsia);
}
.term-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.term-header nav a {
  color: rgba(251,247,240,.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.term-header nav a:hover { color: #fff }
.term-hero {
  background:
    radial-gradient(ellipse at 16% 14%, rgba(0,178,169,.32), transparent 42%),
    radial-gradient(ellipse at 86% 26%, rgba(239,66,111,.28), transparent 45%),
    radial-gradient(ellipse at 62% 96%, rgba(255,130,0,.20), transparent 50%),
    #0A0A0A;
  color: #FBF7F0;
  padding: clamp(70px, 11vw, 126px) 0 clamp(58px, 8vw, 92px);
}
.term-back,
.term-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-decoration: none;
  text-transform: uppercase;
}
.term-back {
  margin-bottom: 36px;
  color: rgba(251,247,240,.72);
}
.term-back:hover { color: #fff }
.term-kicker { margin-bottom: 16px }
.term-hero h1 {
  max-width: 880px;
  color: #FBF7F0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(58px, 11vw, 138px);
  line-height: .88;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.term-lead {
  max-width: 780px;
  margin-top: 28px;
  color: rgba(251,247,240,.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  font-weight: 600;
}
.term-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.term-meta span {
  border: 1px solid rgba(251,247,240,.26);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(251,247,240,.78);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mini-marquee {
  overflow: hidden;
  padding: 14px 0;
  background: linear-gradient(90deg, var(--teal) 0%, var(--fuchsia) 50%, var(--orange) 100%);
  color: #fff;
  position: relative;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(0,0,0,.15);
}
.mini-marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.18);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.mini-marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: mini-marquee-scroll 50s linear infinite;
  font-family: "Archivo Black", sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}
.mini-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.mini-marquee-track span::after {
  content: "◆";
  color: rgba(10,10,10,.5);
  font-size: 11px;
}
@keyframes mini-marquee-scroll { to { transform: translateX(-50%) } }
.term-definition {
  padding: 68px 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(0,178,169,.08), transparent 46%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.term-definition h2,
.term-content h2,
.term-final h2 {
  max-width: 820px;
  margin-top: 10px;
  color: var(--ink);
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.term-definition p {
  max-width: 800px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.65;
}
.term-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px;
  padding: 72px 0 88px;
}
.term-content {
  min-width: 0;
}
.term-content section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.term-content section:last-child {
  margin-bottom: 0;
}
.term-content h2 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 42px);
}
.term-content p,
.term-content li {
  color: var(--ink-soft);
  font-size: 17px;
}
.term-content ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}
.term-content li::marker { color: var(--fuchsia) }
.term-faq details {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  margin-bottom: 12px;
}
.term-faq summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 900;
}
.term-faq details p {
  padding: 0 18px 18px;
  font-size: 15.5px;
}
.term-side {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  gap: 16px;
}
.term-side-card {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}
.term-side-card h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-family: "Archivo Black", sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.term-side-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
}
.term-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.term-related-links a,
.term-side-cta,
.term-final a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  padding: 9px 13px;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.term-related-links a:hover,
.term-side-cta:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.term-side-cta {
  margin-top: 16px;
  background: #0A0A0A;
  color: #FBF7F0;
  border-color: #0A0A0A;
}
.term-final {
  padding: 76px 0 96px;
  text-align: center;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0,178,169,.12), transparent 52%),
    radial-gradient(ellipse at 100% 100%, rgba(255,130,0,.14), transparent 52%),
    var(--bg);
}
.term-final h2 {
  margin-left: auto;
  margin-right: auto;
}
.term-final p {
  max-width: 620px;
  margin: 18px auto 24px;
  color: var(--ink-soft);
  font-size: 18px;
}
.term-final a {
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--teal), var(--fuchsia));
  border-color: transparent;
  color: #fff;
}
.term-footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px;
  color: var(--ink-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .term-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .term-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .term-header nav a { flex: 0 0 auto }
  .term-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .term-side { position: static }
}
@media (max-width: 620px) {
  .term-container { width: min(100% - 32px, 1120px) }
  .term-hero h1 { font-size: clamp(48px, 17vw, 72px) }
  .term-lead { font-size: 17px }
  .term-definition,
  .term-layout,
  .term-final { padding-top: 52px; padding-bottom: 62px }
  .mini-marquee-track { font-size: 15px }
}
