:root {
  color-scheme: dark;
  --black: #07090A;
  --charcoal: #0E1113;
  --panel: rgba(255, 255, 246, .075);
  --panel-strong: rgba(255, 255, 246, .12);
  --line: rgba(236, 240, 224, .17);
  --text: #FBFBF4;
  --muted: #B6BDB8;
  --dim: #828C88;
  --yellow: #FFE47A;
  --amber: #F5B11B;
  --aqua: #42E8D5;
  --circuit: #00A8FF;
  --circuit-hot: #25D8FF;
  --ink: #151309;
  --radius: 8px;
  --shadow: 0 26px 84px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 8%, rgba(255, 228, 122, .14), transparent 28rem),
    radial-gradient(circle at 18% 16%, rgba(0, 168, 255, .12), transparent 24rem),
    radial-gradient(circle at 82% 72%, rgba(66, 232, 213, .08), transparent 24rem),
    linear-gradient(180deg, var(--black) 0%, #0B0F10 54%, var(--black) 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .13;
  background:
    linear-gradient(30deg, transparent 41%, rgba(255, 228, 122, .18) 42%, rgba(255, 228, 122, .18) 44%, transparent 45%),
    linear-gradient(150deg, transparent 41%, rgba(255, 228, 122, .18) 42%, rgba(255, 228, 122, .18) 44%, transparent 45%),
    linear-gradient(90deg, transparent 46%, rgba(255, 228, 122, .12) 47%, rgba(255, 228, 122, .12) 49%, transparent 50%);
  background-size: 64px 37px;
  mask-image: radial-gradient(circle at 76% 16%, #000 0, transparent 36rem);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
h2,
h3,
.brand,
.eyebrow,
.button,
.nav-cta,
.side-nav strong,
th {
  font-family: Rajdhani, Inter, "Segoe UI", Arial, sans-serif;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.45rem, 5vw, 4.85rem);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.12rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4.8vw, 62px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 10, .88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: .02em;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 228, 122, .24);
  background:
    url("/assets/wasplogic-mark.svg") center / 90% 90% no-repeat,
    #0B0D0E;
  color: transparent;
  font-size: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -14px 22px rgba(0, 0, 0, .45),
    0 16px 30px rgba(0, 0, 0, .32);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, .10), transparent 42%, rgba(0, 0, 0, .20) 82%);
  mix-blend-mode: screen;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 30px);
  color: var(--muted);
  font-family: Rajdhani, Inter, "Segoe UI", Arial, sans-serif;
  font-size: .91rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.topbar nav a,
.nav-cta {
  color: var(--muted);
  transition: color .18s ease, text-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.topbar nav a:hover {
  color: var(--circuit-hot);
  text-shadow: 0 0 18px rgba(0, 168, 255, .35);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 228, 122, .36);
  border-radius: var(--radius);
  color: var(--yellow);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-cta:hover {
  border-color: rgba(66, 232, 213, .55);
  background: rgba(66, 232, 213, .08);
  color: var(--circuit-hot);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  min-height: 720px;
  padding: 92px 6vw 56px;
  background:
    linear-gradient(135deg, rgba(14, 17, 19, .86), rgba(7, 9, 10, .40)),
    radial-gradient(circle at 78% 28%, rgba(255, 228, 122, .16), transparent 25rem);
}

.hero-copy {
  max-width: 980px;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-panel div,
.link-card,
.three-cols div,
.side-nav,
.related-links,
.proof {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 246, .075), rgba(255, 255, 246, .035)),
    rgba(7, 9, 10, .38);
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding: 20px;
}

.hero-panel strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
}

.hero-panel span {
  color: var(--muted);
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: clamp(28px, 5vw, 54px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 88px) 24px;
}

.article {
  min-width: 0;
}

.article > .eyebrow:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 228, 122, .26);
  border-radius: 999px;
  background: rgba(255, 228, 122, .07);
}

.article > .eyebrow:first-child::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 18px rgba(245, 177, 27, .72);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead {
  max-width: 820px;
  color: #E7E8DD;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(255, 228, 122, .78);
  background: linear-gradient(135deg, var(--yellow), var(--amber));
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(245, 177, 27, .18);
}

.button.ghost {
  border-color: rgba(66, 232, 213, .35);
  background: rgba(66, 232, 213, .06);
  color: var(--circuit-hot);
}

.section {
  padding: 72px 6vw;
  border-top: 1px solid rgba(247, 251, 247, .1);
}

.section-title {
  max-width: 950px;
  margin-bottom: 28px;
}

.three-cols,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.three-cols div,
.link-card,
.related-links,
.proof {
  padding: clamp(20px, 2.6vw, 28px);
}

.link-card h3,
.three-cols h3,
.related-links h2 {
  color: var(--text);
}

.link-card ul,
.related-links ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-card li,
.related-links li {
  margin: 0;
}

.link-card a,
.related-links a,
.article section a {
  color: var(--circuit-hot);
  text-decoration: underline;
  text-decoration-color: rgba(66, 232, 213, .32);
  text-underline-offset: 4px;
}

.link-card a:hover,
.related-links a:hover,
.article section a:hover,
.side-nav a:hover {
  color: var(--yellow);
  text-decoration-color: rgba(255, 228, 122, .70);
}

.proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.article section {
  margin-top: 46px;
}

.article section > h2 {
  position: relative;
  padding-left: 20px;
}

.article section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  bottom: .18em;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--yellow), var(--circuit-hot));
  box-shadow: 0 0 26px rgba(66, 232, 213, .18);
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1rem;
}

.article ol,
.article ul {
  padding-left: 1.35rem;
}

.article li::marker {
  color: var(--yellow);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 246, .035);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(247, 251, 247, .12);
}

th {
  color: var(--yellow);
  background: rgba(255, 228, 122, .08);
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.definition-block {
  border-left: 4px solid var(--yellow);
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 228, 122, .055);
}

.faq-list h3 {
  margin-top: 26px;
  color: var(--yellow);
}

.side-nav {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 11px;
  padding: 20px;
}

.side-nav strong {
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.side-nav a {
  display: block;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.32;
  transition: color .18s ease;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  border-top: 1px solid rgba(247, 251, 247, .12);
  color: var(--dim);
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar nav {
    justify-content: flex-start;
  }

  .hero,
  .content-shell,
  .three-cols,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .side-nav {
    position: static;
  }

  .proof,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .topbar,
  .content-shell,
  .section,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .topbar {
    gap: 14px;
  }

  .topbar nav {
    width: 100%;
    gap: 10px 14px;
    font-size: .8rem;
  }

  .nav-cta {
    width: 100%;
  }

  .content-shell,
  .article,
  .article section,
  .lead,
  .actions {
    display: block;
    min-width: 0;
    width: min(100%, 342px);
    max-width: 342px;
    overflow: hidden;
  }

  .content-shell {
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    max-width: 342px;
    font-size: clamp(1.75rem, 8vw, 2rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  h2 {
    max-width: 342px;
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  p,
  li {
    max-width: 342px;
    overflow-wrap: anywhere;
  }

  .actions,
  .button {
    width: 100%;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }
}
