:root {
  color-scheme: dark;
  --ink: #f1fbff;
  --ink-soft: #bfd2da;
  --paper: #000000;
  --paper-warm: #05090b;
  --panel: rgba(8, 16, 20, 0.84);
  --panel-solid: #080d10;
  --line: rgba(201, 238, 250, 0.13);
  --line-strong: rgba(201, 238, 250, 0.24);
  --teal: #38c4e8;
  --teal-accessible: #79ddf5;
  --cyan: #4bc8ea;
  --sky: #8be2fe;
  --dark: #000000;
  --muted: rgba(220, 242, 249, 0.68);
  --shadow-sm: 0 12px 36px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.58);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --content: min(1320px, calc(100% - 64px));
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a,
input {
  font: inherit;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

::selection {
  background: var(--cyan);
  color: #061b25;
}

:focus-visible {
  outline: 3px solid var(--teal-accessible);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: none;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 14%, rgba(25, 153, 190, 0.42), transparent 48%),
    linear-gradient(145deg, #000000 0%, #061b25 54%, #0b4357 100%);
}

.site-backdrop__orb {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.48;
  animation: drift 18s ease-in-out infinite alternate;
}

.site-backdrop__orb--one {
  top: -340px;
  right: -180px;
  background: rgba(91, 208, 238, 0.42);
}

.site-backdrop__orb--two {
  bottom: -390px;
  left: -240px;
  background: rgba(0, 87, 121, 0.5);
  animation-delay: -8s;
}

.site-backdrop__grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

@keyframes drift {
  to { transform: translate3d(54px, 30px, 0) scale(1.08); }
}

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

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 100;
  pointer-events: none;
}

.nav-shell {
  width: min(1280px, calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
  padding: 8px 9px 8px 14px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto;
  transition: width 220ms var(--ease), background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease;
}

.site-header.is-scrolled .nav-shell,
.site-header.is-open .nav-shell {
  width: min(1230px, calc(100% - 48px));
  border-color: var(--line);
  background: rgba(0, 0, 0, 0.82);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.brand img,
.brand picture {
  width: 40px;
  height: 40px;
}

.primary-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink);
}

.primary-nav__links,
.primary-nav__actions {
  display: flex;
  align-items: center;
}

.primary-nav__links { gap: 3px; }
.primary-nav__actions { gap: 12px; }

.primary-nav__links a,
.nav-signin {
  min-height: 42px;
  padding: 10px 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 650;
  transition: background-color 160ms ease;
}

.primary-nav__links a:hover,
.nav-signin:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 50px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 170ms var(--ease), box-shadow 170ms ease, background-color 170ms ease, border-color 170ms ease;
}

.button:hover:not([aria-disabled="true"]) {
  transform: translateY(-2px);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button__arrow {
  font-size: 1.08rem;
  transition: transform 170ms ease;
}

.button:hover:not([aria-disabled="true"]) .button__arrow { transform: translateX(3px); }
.button--nav { min-height: 46px; padding: 10px 16px; border-color: rgba(255, 255, 255, .22); background: #74dcf5; color: #001014; box-shadow: none; }
.button--primary { border-color: rgba(255, 255, 255, .2); background: #74dcf5; color: #001014; box-shadow: none; }
.button--primary:hover:not([aria-disabled="true"]) { background: #91e6f8; box-shadow: none; }
.button--secondary { border-color: var(--line-strong); background: rgba(8, 20, 25, 0.72); color: var(--ink); backdrop-filter: blur(10px); }
.button--on-dark { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #f2fbff; }
.button[aria-disabled="true"] { opacity: 0.7; cursor: not-allowed; box-shadow: none; }

.hero {
  width: var(--content);
  min-height: 900px;
  margin: 0 auto;
  padding: 166px 0 105px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(560px, 1.06fr);
  align-items: center;
  gap: 64px;
}

.hero__copy { padding-bottom: 20px; color: #f1fbff; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: #a6edff; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow > span { width: 7px; height: 7px; flex: 0 0 auto; align-self: center; border-radius: 50%; background: #a6edff; box-shadow: 0 0 0 5px rgba(139, 226, 254, 0.12), 0 0 16px rgba(75, 200, 234, 0.55); animation: signal-blink 2.2s ease-in-out infinite; }
@keyframes signal-blink {
  0%, 100% { opacity: .52; transform: scale(.82); box-shadow: 0 0 0 4px rgba(139, 226, 254, 0.08), 0 0 8px rgba(75, 200, 234, 0.25); }
  42% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 6px rgba(139, 226, 254, 0.14), 0 0 20px rgba(75, 200, 234, 0.72); }
  58% { opacity: .88; transform: scale(.94); }
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { margin: 0; font-weight: 860; letter-spacing: -0.038em; line-height: 1.05; text-wrap: balance; }
h1 { max-width: 780px; color: var(--ink); font-size: clamp(2.75rem, 3.5vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.06; text-wrap: pretty; }
h1 em, h2 em { color: rgba(226, 247, 255, 0.68); font-style: normal; font-weight: 820; }
.hero__intro { max-width: 660px; margin: 29px 0 0; color: rgba(226, 247, 255, 0.78); font-size: clamp(1.02rem, 1.4vw, 1.17rem); line-height: 1.62; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 11px; }
.hero__proof { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; color: rgba(226, 247, 255, 0.72); font-size: 0.78rem; font-weight: 700; }
.hero__proof li { display: flex; align-items: center; gap: 7px; }
.hero__proof span { width: 5px; height: 5px; border-radius: 50%; background: #087a9d; }

/* Light hero type sits directly on a darker, lower-opacity blue field. */
.hero__copy .eyebrow { color: #b9f1ff; }
.hero__copy .eyebrow > span { background: #8be2fe; }
.hero__copy h1 { color: #f7fdff; text-shadow: 0 1px 3px rgba(0, 0, 0, .26); }
.hero__copy h1 em { color: rgba(226, 247, 255, .76); }
.hero__copy .hero__intro { color: rgba(235, 249, 255, .88); font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .24); }
.hero__copy .hero__proof { color: rgba(231, 248, 252, .82); }
.hero__copy .hero__proof span { background: #75dbf4; }
.hero__copy .button--secondary { border-color: rgba(149, 230, 250, .35); background: #031218; color: #f1fbff; box-shadow: none; }

.hero-visual { position: relative; min-height: 560px; perspective: 1500px; }
.discord-window { position: absolute; inset: 28px 0 0 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.52); border-radius: 22px; background: #202225; color: #efeff1; box-shadow: 0 42px 110px rgba(3, 39, 54, 0.3); transform: rotateY(-4deg) rotateX(1deg); transform-origin: left center; }
.window-bar { height: 49px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #18191c; font-size: 0.72rem; font-weight: 700; }
.window-bar__dots { display: flex; gap: 5px; }
.window-bar__dots i { width: 8px; height: 8px; border-radius: 50%; background: #4f545c; }
.window-bar__live { justify-self: end; display: flex; align-items: center; gap: 6px; color: #9bebb4; }
.window-bar__live i, .event-panel__latency i, .developer-code__head small i { width: 7px; height: 7px; border-radius: 50%; background: #42d274; box-shadow: 0 0 0 4px rgba(66, 210, 116, 0.12); }
.discord-layout { min-height: 478px; display: grid; grid-template-columns: 125px 1fr; }
.channel-list { padding: 20px 10px; display: flex; flex-direction: column; gap: 3px; background: #2b2d31; color: #949ba4; font-size: 0.63rem; }
.channel-list__server { width: 38px; height: 38px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #0084ac, #8be2fe); color: #061b25; font-weight: 900; }
.channel-list p { margin: 0 5px 5px; color: #b5bac1; font-size: 0.52rem; font-weight: 800; letter-spacing: 0.08em; }
.channel-list > span:not(.channel-list__server) { padding: 7px 7px; border-radius: 5px; }
.channel-list .is-active { background: #404249; color: #f2f3f5; }
.alert-feed { min-width: 0; background: #313338; }
.feed-heading { height: 54px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #242529; box-shadow: 0 2px 5px rgba(0,0,0,.15); }
.feed-heading div { display: flex; align-items: baseline; gap: 8px; }
.feed-heading span { font-size: 0.76rem; font-weight: 750; }
.feed-heading small, .feed-heading__members { color: #949ba4; font-size: 0.54rem !important; font-weight: 500 !important; }
.alert-card { position: relative; margin: 27px 20px 0; padding: 17px 17px 13px; border: 1px solid #1e1f22; border-radius: 6px; background: #2b2d31; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16); }
.alert-card__accent { position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 6px 0 0 6px; background: linear-gradient(#3ac5e8, #8be2fe); }
.alert-card__author { display: flex; align-items: center; gap: 10px; }
.avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 0.57rem; font-weight: 850; }
.alert-card .avatar { width: 31px; height: 31px; }
.avatar--blue { background: linear-gradient(135deg, #1665ad, #3dbad9); }
.avatar--violet { background: linear-gradient(135deg, #804fd6, #c58cee); }
.avatar--cyan { background: linear-gradient(135deg, #0084ac, #4bc8ea); }
.alert-card__author div { display: flex; flex-direction: column; }
.alert-card__author strong { font-size: 0.7rem; }
.alert-card__author small { color: #949ba4; font-size: 0.53rem; }
.alert-card > p { margin: 13px 0; color: #dbdee1; font-size: 0.65rem; line-height: 1.5; }
.alert-card__meta { display: flex; justify-content: space-between; color: #72d5f0; font-size: 0.53rem; }
.alert-card__meta span:last-child { color: #949ba4; }
.alert-card__footer { margin-top: 13px; padding-top: 10px; display: flex; align-items: center; gap: 6px; border-top: 1px solid #3b3d44; color: #949ba4; font-size: 0.48rem; }
.alert-card__footer img { border-radius: 5px; }
.alert-card__footer time { margin-left: auto; }
.alert-card--compact { margin-top: 12px; }
.alert-card--compact > p { margin-bottom: 2px; }
.event-panel { position: absolute; right: -24px; bottom: -14px; width: 310px; overflow: hidden; border: 1px solid rgba(148, 222, 244, 0.32); border-radius: 15px; background: rgba(4, 21, 28, 0.96); color: #eafaff; box-shadow: 0 24px 65px rgba(0, 30, 42, 0.34); transform: rotate(1.5deg); }
.event-panel__bar { height: 43px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.64rem; font-weight: 700; }
.event-panel__bar span { display: flex; align-items: center; gap: 7px; }
.event-panel__bar i { width: 7px; height: 7px; border-radius: 50%; background: #38d37a; }
.event-panel__bar code { color: #6edbf4; font-size: 0.58rem; }
.event-panel pre { margin: 0; padding: 16px 17px 10px; overflow: hidden; font: 0.62rem/1.68 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-muted { color: #8da6b1; }
.code-key { color: #75d7ed; }
.code-value { color: #b9e79d; }
.code-purple { color: #d7a6ff; }
.code-blue { color: #78d5ee; }
.event-panel__latency { margin: 0 16px 15px; display: flex; align-items: center; gap: 7px; color: #a9bbc3; font-size: 0.54rem; }

.section {
  width: 100%;
  padding: 120px max(32px, calc((100% - 1280px) / 2));
  background: var(--paper);
}

.section-heading { max-width: 820px; }
.section-heading--center { margin: 0 auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
h2 { font-size: clamp(2.3rem, 3.35vw, 3.55rem); }
.section-heading > p:last-child { max-width: 620px; margin: 25px auto 0; color: var(--muted); font-size: 1.05rem; }

.product { padding-top: 135px; border-radius: 0; }
.feature-grid { margin-top: 68px; display: grid; grid-template-columns: 1.15fr .925fr .925fr; align-items: stretch; gap: 18px; }
.feature-card { position: relative; min-height: 465px; padding: 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(155deg, #0a1114, #050809); box-shadow: var(--shadow-sm); }
.feature-card--large { min-height: 465px; }
.feature-card__icon { width: 48px; height: 48px; margin-bottom: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #0d171b; color: var(--teal-accessible); }
.feature-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-kicker { margin: 0 0 10px; color: var(--teal-accessible); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.feature-card h3 { max-width: 540px; margin: 0; font-size: clamp(1.55rem, 2.5vw, 2.2rem); letter-spacing: -0.045em; line-height: 1.1; }
.feature-card > p:not(.card-kicker) { max-width: 530px; margin: 17px 0 0; color: var(--muted); font-size: 0.94rem; }
.text-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--teal-accessible); font-size: 0.86rem; font-weight: 750; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform 150ms ease; }
.mini-embed { position: absolute; right: 34px; bottom: 33px; left: 34px; height: 122px; padding: 22px 22px 20px 30px; border-radius: 9px; background: #2b2d31; box-shadow: 0 18px 40px rgba(5, 22, 30, 0.2); }
.mini-embed__line { position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: 9px 0 0 9px; background: linear-gradient(#2fb9df, #8be2fe); }
.mini-embed div { display: grid; gap: 8px; }
.mini-embed b { height: 7px; border-radius: 99px; background: #dadde2; opacity: 0.8; }
.mini-embed b:nth-child(1) { width: 38%; background: #61d5ef; }
.mini-embed b:nth-child(2) { width: 82%; }
.mini-embed b:nth-child(3) { width: 64%; }
.mini-embed i { position: absolute; right: 20px; bottom: 18px; width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #0084ac, #8be2fe); }

.steps { background: #030506; }
.step-list { margin: 65px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); list-style: none; }
.step-list li { position: relative; min-height: 310px; padding: 34px 34px 20px 0; border-right: 1px solid var(--line); }
.step-list li + li { padding-left: 34px; }
.step-list li:last-child { border: 0; }
.step-list__number { position: absolute; top: -14px; left: 0; padding-right: 10px; background: var(--paper-warm); color: var(--teal-accessible); font: 700 0.69rem/1 ui-monospace, monospace; }
.step-list li + li .step-list__number { left: 34px; }
.step-list__icon { width: 47px; height: 47px; margin: 15px 0 38px; display: grid; place-items: center; border-radius: 14px; background: var(--panel-solid); color: var(--teal-accessible); box-shadow: var(--shadow-sm); }
.step-list__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step-list h3 { margin: 0; font-size: 1.32rem; letter-spacing: -0.035em; }
.step-list p { margin: 13px 0 0; color: var(--muted); font-size: 0.9rem; }

.discord-section { display: grid; grid-template-columns: 0.83fr 1.17fr; align-items: center; gap: 80px; }
.discord-section__copy > p:not(.eyebrow) { margin: 25px 0 0; color: var(--muted); font-size: 1rem; }
.check-list { margin: 29px 0 34px; padding: 0; display: grid; gap: 13px; list-style: none; color: var(--ink-soft); font-size: 0.91rem; font-weight: 600; }
.check-list li { display: flex; align-items: center; gap: 11px; }
.check-list span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--cyan) 24%, transparent); color: var(--teal-accessible); font-size: 0.69rem; font-weight: 900; }
.command-console { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #313338; color: #f2f3f5; box-shadow: var(--shadow-lg); }
.command-console__head { height: 54px; padding: 0 19px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #242529; background: #1e1f22; font-size: 0.68rem; }
.command-console__head > span { display: flex; gap: 5px; }
.command-console__head > span i { width: 8px; height: 8px; border-radius: 50%; background: #56595f; }
.command-console__head small { justify-self: end; color: #74df9a; }
.command-console__body { min-height: 350px; padding: 44px 32px; }
.command-line, .command-reply { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.command-line .avatar { width: 38px; height: 38px; }
.command-line strong, .command-reply strong { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; }
.command-line strong i { color: #949ba4; font-size: 0.57rem; font-style: normal; font-weight: 400; }
.command-line p { margin: 7px 0 0; color: #dbdee1; font-size: 0.68rem; }
.command-line p b { padding: 3px 5px; border-radius: 4px; background: #5865f2; color: #fff; }
.command-line p span { margin-left: 5px; color: #b5bac1; }
.command-line p code { color: #6dd8f1; }
.command-reply { margin: 28px 0 0 50px; padding: 17px; border-left: 4px solid #42c9e8; border-radius: 5px; background: #2b2d31; }
.command-reply img { border-radius: 9px; }
.command-reply strong span { padding: 1px 4px; border-radius: 3px; background: #5865f2; font-size: 0.48rem; }
.command-reply p { margin: 8px 0; color: #dbdee1; font-size: 0.66rem; }
.command-reply small { display: flex; align-items: center; gap: 6px; color: #74df9a; font-size: 0.55rem; }
.command-reply small i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.developer-section { min-height: 720px; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 80px; background: #000000; color: #edfaff; }
.developer-code { overflow: hidden; border: 1px solid rgba(159, 226, 247, 0.2); border-radius: var(--radius-md); background: #091f29; box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34); }
.developer-code__head { height: 54px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.09); color: #a8bec8; font: 0.7rem/1 ui-monospace, monospace; }
.developer-code__head small { display: flex; align-items: center; gap: 7px; color: #8edca8; }
.developer-code pre { margin: 0; padding: 35px 30px 40px; overflow-x: auto; color: #d8e9ef; font: 0.78rem/1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.developer-section .eyebrow { color: #8be2fe; }
.developer-section h2 { color: #edfaff; }
.developer-section h2 em { color: rgba(224, 247, 255, 0.55); }
.developer-section__copy > p:not(.eyebrow) { margin: 25px 0 0; color: rgba(224, 247, 255, 0.67); }
.developer-points { margin: 33px 0; display: grid; gap: 17px; }
.developer-points div { padding: 0 0 17px; display: grid; gap: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.developer-points strong { font-size: 0.86rem; }
.developer-points span { color: rgba(224, 247, 255, 0.59); font-size: 0.8rem; }

.final-cta { position: relative; width: 100%; margin: 0; padding: 110px max(32px, calc((100% - 1280px) / 2)); display: flex; align-items: end; justify-content: space-between; gap: 50px; overflow: hidden; border: 0; border-radius: 0; background: #030607; color: var(--ink); box-shadow: none; }
.final-cta::after { content: ""; position: absolute; width: 520px; height: 520px; right: -150px; top: -300px; border-radius: 50%; background: rgba(33, 176, 214, 0.28); filter: blur(35px); }
.final-cta > * { position: relative; z-index: 1; }
.final-cta .eyebrow { color: #9ce9fc; }
.final-cta h2 { max-width: 820px; font-size: clamp(2.3rem, 3.2vw, 3.5rem); }
.final-cta h2 em { color: rgba(218, 244, 251, 0.7); }
.final-cta__actions { width: 245px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.final-cta__actions .button { width: 100%; }

.site-footer { padding: 48px max(32px, calc((100% - 1280px) / 2)) 30px; border-top: 1px solid var(--line); background: var(--paper); }
.site-footer__main { padding-bottom: 42px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.site-footer__main > p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; font-size: 0.79rem; font-weight: 650; }
.site-footer nav a:hover, .site-footer__bottom a:hover { color: var(--teal-accessible); }
.site-footer__bottom { padding-top: 23px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }

/* Layered brand atmosphere and product-specific interface graphics. */
.site-backdrop {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 2% -8%, rgba(139, 226, 254, .48) 0%, rgba(22, 168, 207, .24) 28%, transparent 49%),
    radial-gradient(ellipse at 95% 0%, rgba(76, 148, 255, .47) 0%, rgba(28, 99, 184, .25) 31%, transparent 56%),
    radial-gradient(ellipse at 66% 31%, rgba(31, 191, 235, .4) 0%, rgba(0, 132, 172, .2) 28%, transparent 49%),
    radial-gradient(ellipse at 3% 73%, rgba(0, 132, 172, .46) 0%, rgba(0, 78, 119, .26) 30%, transparent 47%),
    radial-gradient(ellipse at 87% 91%, rgba(82, 202, 246, .47) 0%, rgba(35, 115, 226, .3) 30%, transparent 50%),
    radial-gradient(ellipse at 43% 102%, rgba(31, 136, 224, .38) 0%, transparent 36%),
    linear-gradient(126deg, #000 0%, #010d14 19%, #031e30 43%, #053b59 65%, #075f7d 84%, #011722 100%);
}
.site-backdrop::before,
.site-backdrop::after { content: ""; position: absolute; pointer-events: none; }
.site-backdrop::before { z-index: 1; width: 125vw; height: 44vw; top: -9vw; left: -12vw; border-radius: 48% 52% 61% 39% / 55% 45% 55% 45%; background: conic-gradient(from 244deg at 58% 52%, transparent 0 8%, rgba(139,226,254,.58) 16%, rgba(66,153,255,.4) 28%, rgba(0,132,172,.44) 39%, transparent 48% 57%, rgba(75,200,234,.52) 67%, rgba(139,226,254,.38) 77%, rgba(30,116,224,.34) 85%, transparent 92%); filter: blur(52px) saturate(118%); mix-blend-mode: screen; opacity: .74; transform: rotate(-8deg); animation: aurora-sweep 18s ease-in-out infinite alternate; }
.site-backdrop::after { z-index: 1; width: 76vw; height: 62vw; right: -22vw; bottom: -33vw; border-radius: 39% 61% 54% 46% / 61% 39% 61% 39%; background: conic-gradient(from 196deg, rgba(0,132,172,.38), rgba(75,200,234,.56), rgba(42,128,235,.46), rgba(139,226,254,.5), rgba(17,95,196,.46), rgba(0,132,172,.38)); filter: blur(64px) saturate(120%); mix-blend-mode: screen; opacity: .68; animation: aurora-turn 26s linear infinite; }
.site-backdrop__orb { z-index: 2; filter: blur(68px); mix-blend-mode: screen; will-change: transform; }
.site-backdrop__orb--one { width: 760px; height: 560px; top: -300px; right: -120px; border-radius: 58% 42% 37% 63% / 47% 61% 39% 53%; background: rgba(92, 174, 255, .46); animation: mesh-float-a 17s ease-in-out infinite alternate; }
.site-backdrop__orb--two { width: 680px; height: 790px; bottom: -470px; left: -190px; border-radius: 43% 57% 62% 38% / 55% 39% 61% 45%; background: rgba(0, 132, 172, .48); animation: mesh-float-b 22s ease-in-out -6s infinite alternate; }
.site-backdrop__orb--three { width: 500px; height: 340px; top: 23%; left: 30%; border-radius: 67% 33% 52% 48% / 43% 58% 42% 57%; background: rgba(75, 200, 234, .42); opacity: .82; animation: mesh-float-b 19s ease-in-out -11s infinite alternate; }
.site-backdrop__orb--four { width: 590px; height: 390px; top: 48%; right: -2%; border-radius: 66% 34% 50% 50% / 47% 58% 42% 53%; background: rgba(38, 119, 235, .46); animation: mesh-float-a 24s ease-in-out -4s infinite alternate-reverse; }
.site-backdrop__mesh { position: absolute; z-index: 3; inset: -22%; background: repeating-radial-gradient(ellipse 115% 72% at 78% -10%, transparent 0 51px, rgba(139,226,254,.11) 53px 54px, transparent 56px 94px), repeating-radial-gradient(ellipse 88% 64% at 8% 86%, transparent 0 66px, rgba(75,200,234,.08) 68px 69px, transparent 71px 116px), radial-gradient(circle at 24% 34%, rgba(194,244,255,.26) 0 1px, transparent 2px), radial-gradient(circle at 72% 65%, rgba(139,226,254,.17) 0 1px, transparent 2px), linear-gradient(112deg, transparent 29%, rgba(139,226,254,.07) 46%, rgba(54,142,226,.06) 54%, transparent 67%); background-size: 100% 100%, 100% 100%, 46px 46px, 62px 62px, 100% 100%; mask-image: radial-gradient(ellipse at 52% 38%, #000 0%, rgba(0,0,0,.9) 48%, transparent 77%); opacity: .32; animation: wave-drift 24s ease-in-out infinite alternate; }
.site-backdrop__grid { z-index: 4; opacity: .065; background-size: 66px 66px; }
@keyframes aurora-sweep { to { transform: translate3d(7vw, 5vw, 0) rotate(4deg) scale(1.08); } }
@keyframes aurora-turn { to { transform: rotate(360deg) scale(1.07); } }
@keyframes mesh-float-a { to { transform: translate3d(-82px, 72px, 0) rotate(8deg) scale(1.12); } }
@keyframes mesh-float-b { to { transform: translate3d(96px, -58px, 0) rotate(-11deg) scale(.92); } }
@keyframes wave-drift { to { transform: translate3d(42px, 26px, 0) scale(1.025); } }

.nav-signin { gap: 7px; }
.nav-signin svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-card code { padding: .12em .38em; border-radius: 5px; background: var(--paper-warm); color: var(--teal-accessible); font: .82em ui-monospace, SFMono-Regular, Menlo, monospace; }

.hero-visual { min-height: 610px; }
.discord-window { inset: 18px 0 0 16px; }
.discord-layout { min-height: 540px; }
.alert-feed { position: relative; overflow: hidden; }
.alert-stream { padding: 13px 0 40px; }
.alert-card { margin: 11px 15px 0; padding: 13px 14px 11px 17px; }
.alert-card__author { display: grid; grid-template-columns: auto 1fr auto; }
.alert-card__author > div { min-width: 0; }
.alert-card__author strong, .alert-card__author small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-kind { padding: 3px 6px; border: 1px solid rgba(114,213,240,.3); border-radius: 5px; color: #72d5f0; font: 700 .44rem ui-monospace, monospace; letter-spacing: .05em; }
.alert-card > p { margin: 10px 0; }
.alert-card > p b { color: #71b7ff; font-weight: 700; }
.alert-reference { margin: 9px 0 2px; padding: 9px 10px; border-left: 3px solid #5e626b; border-radius: 3px; background: #383a40; }
.alert-reference strong { color: #e7e9ec; font-size: .57rem; }
.alert-reference strong span { color: #71b7ff; }
.alert-reference p { margin: 4px 0 0; color: #b7bbc1; font-size: .52rem; line-height: 1.38; }
.alert-card--reply .alert-card__accent { background: linear-gradient(#8064db, #caa8ff); }
.alert-card--quote .alert-card__accent { background: linear-gradient(#3cc787, #84e5b2); }
.avatar--green { background: linear-gradient(135deg, #16885a, #50d394); }
.event-panel { bottom: -18px; }

.embed-stack { position: relative; height: 205px; margin-top: 30px; }
.embed-stack__card { position: absolute; right: 0; left: 0; min-height: 72px; padding: 13px 14px; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; border: 1px solid #191b1f; border-left: 4px solid #4bc8ea; border-radius: 8px; background: #2b2d31; color: #eef0f2; box-shadow: 0 14px 30px rgba(5,22,30,.2); }
.embed-stack__card--one { top: 0; transform: rotate(-1.1deg); }
.embed-stack__card--two { top: 65px; right: 11px; left: 8px; border-left-color: #a084e8; transform: rotate(.7deg); }
.embed-stack__card--three { top: 132px; right: 4px; left: 17px; border-left-color: #52d497; transform: rotate(-.35deg); }
.embed-stack__avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #176ca5, #43c7e6); color: #fff; font-size: .53rem; font-weight: 850; }
.embed-stack__avatar--violet { background: linear-gradient(135deg, #7352c6, #b98fe9); }
.embed-stack__avatar--green { background: linear-gradient(135deg, #16885a, #50d394); }
.embed-stack__card strong { display: block; font-size: .64rem; }
.embed-stack__card p { margin: 3px 0 0; color: #b7bbc1; font-size: .55rem; }
.embed-stack__card > i { color: #8c939d; font-size: .5rem; font-style: normal; }
.api-route-graphic { position: relative; margin-top: 30px; padding: 12px; display: grid; grid-template-columns: 43px 1fr; gap: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-warm); }
.api-route-graphic span { padding: 4px 6px; border-radius: 5px; background: color-mix(in srgb, var(--cyan) 18%, transparent); color: var(--teal-accessible); font: 800 .55rem ui-monospace, monospace; text-align: center; }
.api-route-graphic code { overflow: hidden; background: transparent; color: var(--ink-soft); font-size: .61rem; line-height: 1.7; text-overflow: ellipsis; white-space: nowrap; }
.api-route-graphic i { position: absolute; top: 50%; left: 24px; width: 1px; height: 12px; background: var(--line-strong); }
.routing-graphic { position: relative; margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.routing-graphic > div { display: grid; gap: 6px; }
.routing-graphic span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper-warm); color: var(--ink-soft); font: .54rem ui-monospace, monospace; }
.routing-graphic svg { width: 100%; min-width: 105px; fill: none; stroke: color-mix(in srgb, var(--teal-accessible) 65%, transparent); stroke-width: 1.5; }
.routing-graphic circle { fill: var(--panel-solid); stroke-width: 2; }

.step-list li { min-height: 430px; }
.step-list p code { padding: .13em .36em; border-radius: 5px; background: var(--panel-solid); color: var(--teal-accessible); font: .83em ui-monospace, SFMono-Regular, Menlo, monospace; }
.step-diagram { margin-top: 28px; min-height: 92px; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--panel-solid) 78%, transparent); box-shadow: var(--shadow-sm); }
.step-diagram--server { padding: 14px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; }
.step-diagram--server > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #0084ac, #8be2fe); color: #061b25; font-size: .65rem; font-weight: 900; }
.step-diagram--server > div { display: grid; gap: 5px; }
.step-diagram--server i { padding: 3px 7px; border-radius: 5px; background: var(--paper-warm); color: var(--ink-soft); font-size: .57rem; font-style: normal; }
.step-diagram--server i:first-child { background: color-mix(in srgb, var(--cyan) 20%, var(--paper-warm)); color: var(--teal-accessible); }
.step-diagram--command { padding: 15px; display: grid; gap: 12px; }
.step-diagram--command code { overflow: hidden; color: var(--ink); font: .58rem ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.step-diagram--command > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .56rem; }
.step-diagram--command i { width: 6px; height: 6px; border-radius: 50%; background: #35c979; box-shadow: 0 0 0 4px rgba(53,201,121,.1); }
.step-diagram--alert { padding: 14px; display: grid; grid-template-columns: 5px 1fr; gap: 12px; }
.step-diagram--alert > span { border-radius: 99px; background: linear-gradient(#8267d9, #4bc8ea); }
.step-diagram--alert > div { display: grid; align-content: center; gap: 4px; }
.step-diagram--alert b { font-size: .65rem; }
.step-diagram--alert i { color: var(--muted); font-size: .55rem; font-style: normal; }
.step-diagram--alert em { color: var(--teal-accessible); font-size: .56rem; font-style: normal; font-weight: 700; }

.check-list span { width: 29px; height: 29px; flex: 0 0 auto; }
.check-list svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.command-console__body { min-height: 510px; padding: 34px 28px; }
.command-line p b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.command-line p code { margin-left: 5px; padding: 3px 5px; border: 1px solid #51545c; border-radius: 4px; background: #3b3d44; color: #d8dbe0; }
.command-reply { margin-top: 20px; }
.command-reply__sources { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.command-reply__sources span { padding: 5px 7px; border: 1px solid #45484f; border-radius: 6px; color: #c9cdd3; font: .54rem ui-monospace, monospace; }
.command-reply__sources i { margin-left: 5px; color: #75dc9a; font-style: normal; }
.command-line--followup { margin-top: 25px; }
.command-status { margin: 20px 0 0 50px; padding: 15px; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; border: 1px solid #45484f; border-left: 4px solid #51d293; border-radius: 6px; background: #2b2d31; }
.command-status__icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(81,210,147,.13); color: #70dda4; }
.command-status__icon svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.command-status strong { font-size: .66rem; }
.command-status p { margin: 5px 0 0; color: #b7bbc1; font-size: .58rem; line-height: 1.45; }
.command-status small { color: #70dda4; font: .5rem ui-monospace, monospace; }

.developer-section__copy > p code, .developer-points code { color: #8be2fe; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }
.developer-points div { padding-bottom: 14px; display: flex; align-items: flex-start; gap: 12px; }
.developer-points div > p { margin: 0; display: grid; gap: 4px; }
.developer-points__icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(139,226,254,.18); border-radius: 9px; background: rgba(139,226,254,.07); color: #8be2fe; }
.developer-points__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.final-cta { background: radial-gradient(circle at 13% 12%, rgba(36,169,205,.16), transparent 35%), radial-gradient(circle at 88% 0%, rgba(75,200,234,.2), transparent 39%), linear-gradient(145deg, #071015, #010203 68%); }
.final-cta__copy { max-width: 600px; margin: 20px 0 0; color: rgba(222,244,250,.76); font-size: .92rem; }

[data-reveal] { opacity: 1; transform: none; }
.reveal-ready [data-reveal] { opacity: 0; transform: none; transition: opacity 600ms ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; }

/* Shared sign-in and not-found layouts. */
.subpage { min-height: 100vh; background: transparent; }
.subpage-topbar { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding-top: 26px; display: flex; align-items: center; justify-content: space-between; }
.subpage-topbar__actions { display: flex; align-items: center; gap: 13px; }
.back-link { min-height: 42px; padding: 8px 10px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; color: var(--ink); font-size: 0.82rem; font-weight: 700; }
.back-link:hover { background: rgba(255, 255, 255, 0.2); }
.auth-page .subpage-topbar { position: absolute; inset: 0 0 auto; z-index: 10; }
.auth-shell { position: relative; isolation: isolate; z-index: 1; width: 100%; min-height: 100vh; min-height: 100svh; margin: 0; padding: 108px 24px 38px; display: flex; align-items: center; }
.auth-shell::before { content: ""; position: absolute; inset: 0; z-index: 0; background: #000; clip-path: polygon(0 0, 64% 0, 52% 100%, 0 100%); pointer-events: none; }
.auth-shell::after { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .52; background: repeating-radial-gradient(ellipse at 92% 42%, transparent 0 65px, rgba(139, 226, 254, .11) 66px 68px, transparent 69px 118px); mask-image: linear-gradient(90deg, transparent 42%, #000 68%); pointer-events: none; }
.auth-card { position: relative; z-index: 1; width: min(100%, 1180px); margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.auth-card__inner { width: min(41vw, 430px); padding: 24px 0; }
.auth-card__heading .eyebrow { margin-bottom: 19px; }
.auth-card__heading h1 { font-size: clamp(2.7rem, 3.6vw, 3.65rem); font-weight: 860; }
.auth-card__heading p { margin: 13px 0 0; color: var(--muted); font-size: .9rem; }
.auth-form { margin-top: 32px; display: grid; gap: 18px; }
.auth-field { display: grid; gap: 8px; color: var(--ink-soft); font-size: 0.74rem; font-weight: 760; }
.auth-field input { width: 100%; height: 54px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 11px; outline: 0; background: #080d10; color: var(--ink); font-size: 0.9rem; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.auth-field input::placeholder { color: rgba(191, 210, 218, .58); }
.auth-field input:focus { border-color: var(--teal-accessible); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 24%, transparent); }
.password-input { position: relative; }
.password-input input { padding-right: 52px; }
.password-input button { position: absolute; inset: 5px 5px 5px auto; width: 42px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.password-input button:hover { background: var(--paper-warm); }
.password-input svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auth-submit { width: 100%; margin-top: 3px; }
.auth-submit[aria-busy="true"] { cursor: wait; opacity: 0.75; }
.auth-status { min-height: 22px; margin: -6px 0 0; color: #ff9ead; font-size: 0.76rem; }
.auth-help { margin-top: 25px; padding-top: 20px; display: grid; gap: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }
.auth-help a { color: var(--teal-accessible); font-weight: 750; }
.auth-legal { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: 0.66rem; }
.auth-legal a { text-decoration: underline; text-underline-offset: 2px; }
.not-found-shell { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); min-height: calc(100vh - 86px); margin: 0 auto; display: grid; place-items: center; text-align: center; }
.not-found-content { max-width: 720px; }
.not-found-content .eyebrow { justify-content: center; }
.not-found-content h1 { font-size: clamp(4.5rem, 12vw, 9rem); }
.not-found-content > p:not(.eyebrow) { max-width: 480px; margin: 24px auto 0; color: var(--muted); }
.not-found-actions { margin-top: 33px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (max-width: 1050px) {
  .hero { min-height: auto; padding-top: 150px; grid-template-columns: minmax(0, 1fr); gap: 55px; }
  .hero__copy { min-width: 0; max-width: 780px; }
  .hero-visual { width: min(100%, 760px); min-height: 590px; margin: 0 auto; }
  .discord-section { grid-template-columns: 1fr; }
  .discord-section__copy { max-width: 680px; }
  .developer-section { grid-template-columns: 1fr; }
  .developer-code { order: 2; }
  .developer-section__copy { max-width: 700px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card--large { grid-column: 1 / -1; }
  .final-cta { padding: 58px; align-items: flex-start; flex-direction: column; }
  .final-cta__actions { justify-content: flex-start; }
}

@media (max-width: 960px) {
  .site-header { inset: 12px 0 auto; }
  .nav-shell, .site-header.is-scrolled .nav-shell, .site-header.is-open .nav-shell { width: calc(100% - 24px); }
  .nav-shell { position: relative; gap: 8px; }
  .site-header.is-open .nav-shell { border-radius: 18px 18px 0 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { min-height: 44px; margin-left: auto; padding: 8px 11px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: 0.78rem; font-weight: 750; }
  .menu-toggle i, .menu-toggle i::after { width: 17px; height: 2px; display: block; border-radius: 2px; background: currentColor; transition: transform 170ms ease; }
  .menu-toggle i { position: relative; }
  .menu-toggle i::after { content: ""; position: absolute; top: 5px; }
  .site-header.is-open .menu-toggle i { transform: translateY(2px) rotate(45deg); }
  .site-header.is-open .menu-toggle i::after { transform: translateY(-5px) rotate(-90deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; width: auto; padding: 12px; visibility: hidden; flex: none; align-items: stretch; flex-direction: column; gap: 9px; opacity: 0; pointer-events: none; transform: translateY(-10px); border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: rgba(0, 0, 0, 0.92); box-shadow: var(--shadow-sm); transition: opacity 180ms ease, transform 180ms var(--ease), visibility 180ms; }
  .site-header.is-open .primary-nav { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .primary-nav__links { display: grid; align-items: stretch; }
  .primary-nav__links a { width: 100%; min-height: 48px; }
  .primary-nav__actions { padding-top: 9px; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
  .primary-nav__actions .nav-signin,
  .primary-nav__actions .button--nav { width: 100%; }
}

@media (max-width: 760px) {
  :root { --content: min(1320px, calc(100% - 32px)); }
  .hero { width: calc(100% - 32px); max-width: calc(100vw - 32px); min-width: 0; padding: 135px 0 76px; }
  .hero__copy { width: 100%; max-width: 100%; min-width: 0; }
  .hero__copy > * { max-width: 100%; }
  .hero__copy h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); line-height: 1.08; text-wrap: balance; }
  .hero__copy .hero__intro { overflow-wrap: anywhere; }
  .hero__actions { width: 100%; }
  h2 { font-size: clamp(2.15rem, 8.6vw, 3rem); }
  .hero-visual { min-height: 480px; }
  .discord-window { inset: 20px 0 0; transform: none; }
  .discord-layout { grid-template-columns: 1fr; }
  .channel-list { display: none; }
  .event-panel { right: -6px; bottom: -10px; width: min(90%, 310px); }
  .section { padding: 88px 16px; }
  .product { padding-top: 95px; border-radius: 0; }
  .feature-grid { margin-top: 45px; grid-template-columns: 1fr; }
  .feature-card--large { grid-column: auto; min-height: 465px; }
  .step-list { grid-template-columns: 1fr; border-top: 0; }
  .step-list li, .step-list li + li { min-height: 0; padding: 27px 0 40px 64px; border-top: 1px solid var(--line-strong); border-right: 0; }
  .step-list__number, .step-list li + li .step-list__number { top: 34px; left: 0; background: transparent; }
  .step-list__icon { margin: 0 0 22px; }
  .command-console__body { padding: 32px 20px; }
  .command-reply { margin-left: 0; }
  .command-status { margin-left: 0; }
  .developer-section { gap: 50px; }
  .developer-code pre { padding: 27px 20px 32px; font-size: 0.66rem; }
  .final-cta { width: 100%; margin: 0; padding: 70px 16px; border-radius: 0; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .site-footer__bottom { gap: 10px; flex-direction: column; }
  .subpage-topbar { width: calc(100% - 32px); }
  .auth-shell { width: 100%; padding: 110px 16px 38px; align-items: flex-start; }
  .auth-shell::before { clip-path: polygon(0 0, 100% 0, 100% 84%, 0 94%); }
  .auth-shell::after { mask-image: linear-gradient(to bottom, transparent 68%, #000 92%); }
  .auth-card__inner { width: min(100%, 470px); margin: 0 auto; padding: 24px 0 125px; }
}

@media (max-width: 640px) {
  .site-header { inset: 0 0 auto; }
  .nav-shell,
  .site-header.is-scrolled .nav-shell,
  .site-header.is-open .nav-shell { width: 100%; border-radius: 0; }
  .primary-nav { right: -1px; left: -1px; width: calc(100% + 2px); padding: 10px 0 12px; border-right: 0; border-left: 0; }
  .primary-nav__links a { padding-inline: 28px; border-radius: 0; }
  .primary-nav__actions { margin: 6px 12px 0; }
}

@media (max-width: 520px) {
  .primary-nav__actions { flex-wrap: wrap; }
  .primary-nav__actions .button--nav { flex: 1; }
  .hero__actions .button { width: 100%; }
  .hero__proof { display: grid; }
  .hero-visual { min-height: 435px; }
  .discord-window { height: 405px; }
  .discord-layout { min-height: 355px; }
  .alert-card { margin: 19px 12px 0; padding: 14px; }
  .alert-card--compact, .alert-card--quote { display: none; }
  .feed-heading { padding: 0 12px; }
  .feed-heading small, .feed-heading__members { display: none; }
  .event-panel { width: 92%; }
  .feature-card { padding: 28px 24px; }
  .mini-embed { right: 24px; left: 24px; }
  .embed-stack { right: 22px; left: 22px; }
  .routing-graphic { right: 20px; left: 20px; }
  .routing-graphic svg { min-width: 74px; }
  .command-line p span, .command-line p code { display: block; margin: 7px 0 0; }
  .command-status { grid-template-columns: 30px 1fr; }
  .command-status small { grid-column: 2; }
  .final-cta__actions, .final-cta__actions .button { width: 100%; }
  .subpage-topbar .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
