/* ============================================================
   UuDbg / UuDrv 官方网站
   Dark sci-fi editorial UI · local-only assets, no external deps
   ============================================================ */

:root {
  --bg: #050810;
  --bg-deep: #03060c;
  --bg-soft: #080d18;
  --surface: rgba(11, 18, 32, 0.76);
  --surface-strong: rgba(13, 22, 39, 0.94);
  --surface-soft: rgba(15, 24, 44, 0.48);
  --line: rgba(125, 158, 204, 0.15);
  --line-bright: rgba(116, 203, 235, 0.24);
  --text: #eaf5ff;
  --text-soft: #c4d4e5;
  --muted: #8ea3ba;
  --dim: #657b94;
  --cyan: #22e4ff;
  --cyan-bright: #8febff;
  --blue: #1fd8ff;
  --purple: #8b6cff;
  --purple-soft: #c9b8ff;
  --pink: #ff5ba7;
  --mint: #4dffc3;
  --amber: #ffbe5c;
  --danger: #ff9ca0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --container: 1320px;
  --header-h: 88px;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Microsoft YaHei UI",
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI",
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Code", "Cascadia Mono", "Consolas", "SFMono-Regular",
    "Liberation Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-panel: 0 28px 80px rgba(0, 0, 0, 0.36);
  --gradient-cyan: linear-gradient(105deg, #1fd8ff 0%, #22e4ff 42%, #7c5cff 100%);
  --gradient-violet: linear-gradient(105deg, #9b7bff 0%, #7c5cff 52%, #ff5ba7 110%);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(34, 228, 255, 0.32);
  color: #ffffff;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  color: inherit;
  font: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  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;
  z-index: 200;
  top: 12px;
  left: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #041018;
  font-size: 16px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Ambient background
   ------------------------------------------------------------ */

.backdrop {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 118%, rgba(124, 92, 255, 0.1), transparent 44rem),
    linear-gradient(180deg, #050810 0%, #04070e 56%, #050810 100%);
}

.backdrop-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(118, 157, 205, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 157, 205, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, #000 0%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, #000 0%, transparent 82%);
}

.backdrop-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.85;
}

.backdrop-glow--cyan {
  width: 44rem;
  height: 44rem;
  top: -22rem;
  left: -14rem;
  background: radial-gradient(circle, rgba(34, 228, 255, 0.11), transparent 67%);
}

.backdrop-glow--violet {
  width: 50rem;
  height: 50rem;
  top: -18rem;
  right: -22rem;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.15), transparent 68%);
}

.backdrop-glow--pink {
  width: 30rem;
  height: 30rem;
  top: 48%;
  right: 4%;
  background: radial-gradient(circle, rgba(255, 77, 157, 0.055), transparent 68%);
}

.backdrop-stars {
  position: absolute;
  inset: 0;
  opacity: 0.52;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(160, 239, 255, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 12%, rgba(201, 184, 255, 0.68) 0 1px, transparent 1.6px),
    radial-gradient(circle at 61% 34%, rgba(143, 235, 255, 0.5) 0 1px, transparent 1.4px),
    radial-gradient(circle at 32% 57%, rgba(255, 91, 167, 0.48) 0 1px, transparent 1.5px),
    radial-gradient(circle at 90% 66%, rgba(143, 235, 255, 0.42) 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 86%, rgba(201, 184, 255, 0.4) 0 1px, transparent 1.5px);
  background-size: 420px 350px, 520px 440px, 390px 330px, 610px 510px, 470px 390px, 540px 460px;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(5, 8, 16, 0.5);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  border-bottom-color: var(--line);
  background: rgba(5, 8, 16, 0.9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  border-radius: 8px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 12px rgba(34, 228, 255, 0.24));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  color: #f5fbff;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: 0.015em;
  line-height: 1.15;
}

.brand-sub {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.2;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 550;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.primary-nav a:hover {
  background: rgba(34, 228, 255, 0.055);
  color: var(--text);
}

.primary-nav a[aria-current="page"] {
  color: var(--cyan-bright);
}

.primary-nav a[aria-current="page"]::after {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  content: "";
  transform: translateX(-50%);
}

.header-cta {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  margin-left: 6px;
  padding: 11px 18px;
  border: 1px solid rgba(34, 228, 255, 0.34);
  border-radius: 9px;
  background: linear-gradient(110deg, rgba(34, 228, 255, 0.14), rgba(124, 92, 255, 0.14));
  color: #dff9ff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta:hover {
  border-color: rgba(34, 228, 255, 0.7);
  background: linear-gradient(110deg, rgba(34, 228, 255, 0.22), rgba(124, 92, 255, 0.22));
  box-shadow: 0 0 24px rgba(34, 228, 255, 0.12);
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-bright);
  border-radius: 9px;
  background: rgba(34, 228, 255, 0.045);
  cursor: pointer;
}

.nav-toggle-box {
  display: flex;
  width: 18px;
  height: 14px;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle-box span {
  display: block;
  width: 100%;
  height: 1px;
  border-radius: 2px;
  background: var(--cyan-bright);
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Buttons and shared atoms
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    transform 0.2s var(--ease-out),
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

.btn--primary {
  background: var(--gradient-cyan);
  color: #021017;
  box-shadow: 0 10px 28px rgba(34, 228, 255, 0.14);
}

.btn--primary:hover {
  box-shadow: 0 12px 34px rgba(34, 228, 255, 0.22);
}

.btn--violet {
  background: var(--gradient-violet);
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 92, 255, 0.2);
}

.btn--violet:hover {
  box-shadow: 0 12px 34px rgba(124, 92, 255, 0.3);
}

.btn--ghost {
  border-color: rgba(137, 182, 215, 0.26);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
}

.btn--ghost:hover {
  border-color: rgba(34, 228, 255, 0.52);
  background: rgba(34, 228, 255, 0.06);
  color: var(--text);
}

.btn--ghost-violet {
  border-color: rgba(173, 147, 255, 0.34);
  background: rgba(124, 92, 255, 0.075);
  color: var(--purple-soft);
}

.btn--ghost-violet:hover {
  border-color: rgba(201, 184, 255, 0.62);
  background: rgba(124, 92, 255, 0.14);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan-bright);
  font-size: 16px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(34, 228, 255, 0.34);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: #fff;
  text-decoration-color: var(--cyan);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(34, 228, 255, 0.25);
  border-radius: 99px;
  background: rgba(34, 228, 255, 0.055);
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  white-space: nowrap;
}

.pill--violet {
  border-color: rgba(158, 132, 255, 0.3);
  background: rgba(124, 92, 255, 0.08);
  color: var(--purple-soft);
}

.pill--muted {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(77, 255, 195, 0.1), 0 0 10px rgba(77, 255, 195, 0.5);
}

.status-dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 228, 255, 0.1), 0 0 10px rgba(34, 228, 255, 0.55);
}

.status-dot--violet {
  background: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12), 0 0 10px rgba(124, 92, 255, 0.5);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow .status-dot {
  width: 5px;
  height: 5px;
}

.eyebrow-sep {
  color: #34475e;
}

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

.mono {
  font-family: var(--font-mono);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5.4vw, 78px) 0 52px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: min(1080px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 228, 255, 0.22), transparent);
  content: "";
  transform: translateX(-50%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 80px;
  right: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(124, 92, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(124, 92, 255, 0.022),
    0 0 0 140px rgba(34, 228, 255, 0.012);
  content: "";
  pointer-events: none;
}

.hero-mast {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr);
  gap: clamp(32px, 5.2vw, 84px);
  align-items: end;
}

.hero-copy > * {
  animation: hero-rise 0.78s var(--ease-out) both;
}

.hero-copy .eyebrow {
  animation-delay: 0.04s;
}

.hero-copy h1 {
  max-width: 1040px;
  margin-top: 20px;
  color: #f4fbff;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.25vw, 5.15rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.1;
  text-wrap: balance;
  animation-delay: 0.09s;
}

.hero-copy h1 .text-gradient {
  background: linear-gradient(100deg, #a5f5ff 0%, #22e4ff 34%, #a78bfa 72%, #ff85c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 880px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.9;
  animation-delay: 0.14s;
  text-wrap: pretty;
}

.hero-lede strong {
  color: var(--text-soft);
  font-weight: 650;
}

.hero-meta {
  position: relative;
  margin-bottom: 3px;
  padding: 5px 0 5px 28px;
  border-left: 1px solid rgba(34, 228, 255, 0.18);
  animation: hero-rise 0.78s 0.2s var(--ease-out) both;
}

.meta-label {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 27px;
  margin-top: 17px;
}

.hero-stats div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.hero-stats dt {
  color: var(--dim);
  font-size: 13px;
  line-height: 1.4;
}

.hero-stats dd {
  overflow: hidden;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-note {
  margin-top: 19px;
  color: #71869d;
  font-size: 14px;
  line-height: 1.7;
}

.hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px;
  align-items: stretch;
  margin-top: 46px;
}

.product-card {
  --accent: var(--cyan);
  --accent-soft: rgba(34, 228, 255, 0.12);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 528px;
  flex-direction: column;
  overflow: hidden;
  padding: 33px 36px 27px;
  border: 1px solid rgba(128, 164, 207, 0.17);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(15, 28, 48, 0.82), rgba(7, 13, 24, 0.86)),
    radial-gradient(circle at 88% 12%, var(--accent-soft), transparent 45%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 28px 70px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease-out);
}

.product-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  opacity: 0.72;
}

.product-card::after {
  position: absolute;
  z-index: -1;
  right: -92px;
  bottom: -130px;
  width: 360px;
  height: 360px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(34, 228, 255, 0.022),
    0 0 0 90px rgba(34, 228, 255, 0.014);
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.product-card:hover {
  border-color: color-mix(in srgb, var(--accent) 44%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 30px 92px rgba(0, 0, 0, 0.32),
    0 0 48px color-mix(in srgb, var(--accent) 7%, transparent);
  transform: translateY(-2px);
}

.product-card--violet {
  --accent: var(--purple);
  --accent-soft: rgba(124, 92, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(20, 22, 48, 0.82), rgba(8, 12, 23, 0.88)),
    radial-gradient(circle at 88% 12%, var(--accent-soft), transparent 45%);
}

.product-card--violet::after {
  border-radius: 22%;
  transform: rotate(25deg);
  box-shadow:
    0 0 0 44px rgba(124, 92, 255, 0.024),
    0 0 0 90px rgba(255, 91, 167, 0.012);
  opacity: 0.2;
}

.product-watermark {
  position: absolute;
  z-index: -1;
  top: -22px;
  right: 24px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(130px, 16vw, 210px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}

.product-card-grid {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 55%;
  height: 70%;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(135deg, transparent 15%, #000 100%);
  -webkit-mask-image: linear-gradient(135deg, transparent 15%, #000 100%);
  opacity: 0.04;
  pointer-events: none;
}

.product-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-mark {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(34, 228, 255, 0.16));
}

.product-mark--violet {
  filter: drop-shadow(0 0 14px rgba(124, 92, 255, 0.2));
}

.product-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.sdk-hex {
  display: flex;
  width: 56px;
  height: 60px;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  background: linear-gradient(145deg, rgba(201, 184, 255, 0.9), rgba(124, 92, 255, 0.22) 45%, rgba(255, 91, 167, 0.58));
  color: #090b1a;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.product-body {
  position: relative;
  z-index: 2;
  margin-top: 24px;
}

.product-kicker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.product-title {
  margin-top: 4px;
  color: #f6fcff;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 4.15vw, 3.5rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.product-subtitle {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.product-desc {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.product-audience {
  max-width: 560px;
  margin-top: 12px;
  padding-left: 13px;
  border-left: 2px solid rgba(158, 132, 255, 0.42);
  color: #a49dc2;
  font-size: 15px;
  line-height: 1.85;
  text-wrap: pretty;
}

.cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}

.cap-tags li {
  padding: 5px 10px;
  border: 1px solid rgba(139, 176, 216, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: #9eb1c5;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  white-space: nowrap;
}

.product-card--violet .cap-tags li {
  border-color: rgba(173, 147, 255, 0.17);
  color: #b7a8db;
}

.product-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: auto;
  padding-top: 30px;
}

.product-actions .btn {
  min-height: 51px;
  padding: 12px 19px;
  font-size: 15px;
}

.product-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(128, 164, 207, 0.1);
  color: #5f748c;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #637a93;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-scroll::before {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  content: "";
}

.hero-scroll:hover {
  color: var(--cyan-bright);
}

.hero-context {
  color: #62768d;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-align: right;
}

/* ------------------------------------------------------------
   Signal strip
   ------------------------------------------------------------ */

.signal-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(8, 14, 25, 0.32), rgba(13, 21, 40, 0.52), rgba(8, 14, 25, 0.32));
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal {
  position: relative;
  min-width: 0;
  padding: 28px 29px;
}

.signal + .signal {
  border-left: 1px solid var(--line);
}

.signal-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.signal strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal small {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #657a91;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: normal;
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */

.section {
  position: relative;
  padding: clamp(84px, 8.6vw, 136px) 0;
}

.section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section + .section {
  border-top: 1px solid rgba(125, 158, 204, 0.09);
}

.section--violet {
  background:
    radial-gradient(ellipse 65% 48% at 88% 0%, rgba(124, 92, 255, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(10, 12, 28, 0.28), transparent 70%);
}

.section--download {
  overflow: hidden;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(41px, 4.6vw, 64px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 31px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 228, 255, 0.5);
  content: "";
}

.section--violet .section-kicker {
  color: var(--purple-soft);
}

.section--violet .section-kicker::before {
  background: var(--purple);
  box-shadow: 0 0 8px rgba(124, 92, 255, 0.55);
}

.section-heading h2 {
  color: #f2f9ff;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.1vw, 3.7rem);
  font-weight: 730;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-wrap: balance;
}

.section-heading h2 .accent-cyan {
  color: var(--cyan-bright);
}

.section-heading h2 .accent-violet {
  color: var(--purple-soft);
}

.section-lead {
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

.section-lead strong {
  color: var(--text-soft);
  font-weight: 600;
}

.section-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  color: #6f849b;
  font-size: 14px;
  line-height: 1.75;
}

.section-note::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

/* reveal animation (armed by JS only) */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal-ready .reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal-ready .reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ------------------------------------------------------------
   UuDbg detail
   ------------------------------------------------------------ */

.debugger-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 4.2vw, 56px);
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.feature-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 23px 24px;
  background: rgba(8, 14, 25, 0.88);
  transition: background 0.25s ease;
}

.feature-item::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  content: "";
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-item:hover {
  background: rgba(13, 23, 40, 0.92);
}

.feature-item:hover::after {
  opacity: 0.8;
}

.feature-index {
  padding-top: 3px;
  color: #53748d;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.feature-body h3 {
  color: #e5f2fc;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.feature-body p {
  margin-top: 6px;
  color: #7e93aa;
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}

/* Console illustration */

.console-figure {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
}

.console-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 228, 255, 0.2);
  border-radius: 18px;
  background: rgba(4, 9, 17, 0.92);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.015) inset,
    0 0 70px rgba(34, 228, 255, 0.055);
}

.console-window::before,
.console-window::after {
  position: absolute;
  z-index: 2;
  width: 23px;
  height: 23px;
  border-color: rgba(34, 228, 255, 0.55);
  border-style: solid;
  content: "";
  pointer-events: none;
}

.console-window::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.console-window::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.console-bar {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid #16233a;
  background: #080d18;
}

.console-dots {
  display: flex;
  gap: 5px;
}

.console-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2e4057;
}

.console-dots i:first-child {
  background: rgba(255, 91, 167, 0.72);
}

.console-dots i:nth-child(2) {
  background: rgba(255, 190, 92, 0.65);
}

.console-dots i:nth-child(3) {
  background: rgba(77, 255, 195, 0.62);
}

.console-bar-title {
  overflow: hidden;
  flex: 1;
  color: #75889d;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-bar-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #70c7d4;
  font-family: var(--font-mono);
  font-size: 9px;
  white-space: nowrap;
}

.console-body {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 505px;
}

.console-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-right: 1px solid #131f33;
  background: #070b14;
}

.console-rail-mark {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 9px;
  place-items: center;
  border: 1px solid rgba(34, 228, 255, 0.28);
  border-radius: 6px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(34, 228, 255, 0.08);
}

.console-rail-item {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: #576b82;
  font-family: var(--font-mono);
  font-size: 10px;
}

.console-rail-item.is-active {
  border: 1px solid rgba(34, 228, 255, 0.24);
  background: rgba(34, 228, 255, 0.08);
  color: var(--cyan);
}

.console-main {
  min-width: 0;
  padding: 16px;
}

.console-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 15px;
  border: 1px solid rgba(34, 228, 255, 0.16);
  border-radius: 9px;
  background:
    linear-gradient(90deg, rgba(34, 228, 255, 0.08), rgba(124, 92, 255, 0.06), transparent),
    #09111e;
}

.console-target-label {
  display: block;
  color: #5f8a9b;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.console-target-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: #dff7ff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}

.console-target-meta {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
}

.console-chip {
  padding: 2px 6px;
  border: 1px solid rgba(34, 228, 255, 0.22);
  border-radius: 4px;
  background: rgba(34, 228, 255, 0.055);
  color: #85e5f3;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.5;
  white-space: nowrap;
}

.console-chip--violet {
  border-color: rgba(124, 92, 255, 0.25);
  background: rgba(124, 92, 255, 0.08);
  color: #c3b4ff;
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.console-stat {
  padding: 8px 9px;
  border: 1px solid rgba(128, 164, 207, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.017);
}

.console-stat span {
  display: block;
  color: #556b84;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.console-stat strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #acd9e6;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-tabs {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  border-bottom: 1px solid #142136;
  font-family: var(--font-mono);
  font-size: 9px;
}

.console-tab {
  padding: 0 0 8px;
  color: #60768e;
}

.console-tab.is-active {
  border-bottom: 1px solid var(--cyan);
  color: #a8f3ff;
}

.console-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #7993aa;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.09em;
}

.console-section-title span:last-child {
  color: #4d7481;
  letter-spacing: 0.02em;
}

.console-registers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 5px;
  border: 1px solid rgba(128, 164, 207, 0.1);
  border-radius: 6px;
  background: rgba(128, 164, 207, 0.09);
}

.console-reg {
  min-width: 0;
  padding: 6px 7px;
  background: #070e19;
}

.console-reg span {
  display: block;
  color: #536a7f;
  font-family: var(--font-mono);
  font-size: 7px;
}

.console-reg strong {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #c6f4ff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-reg:nth-child(4n + 2) strong {
  color: #d9cbff;
}

.console-reg:nth-child(4n + 3) strong {
  color: #b7f9d7;
}

.console-log {
  margin-top: 11px;
  padding: 9px 11px;
  border: 1px solid rgba(128, 164, 207, 0.1);
  border-radius: 6px;
  background: #060c15;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.9;
}

.console-log-line {
  display: flex;
  gap: 7px;
  white-space: nowrap;
}

.console-log-line em {
  color: #486071;
  font-style: normal;
}

.console-log-line span {
  overflow: hidden;
  color: #7d9ab0;
  text-overflow: ellipsis;
}

.console-log-line strong {
  color: #78e1d3;
  font-weight: 500;
}

.console-log-line:nth-child(2) strong {
  color: #d3c3ff;
}

.console-log-line:nth-child(3) strong {
  color: #ffd08a;
}

.console-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  color: #5b7087;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
}

.console-caption span:last-child {
  flex: 0 0 auto;
  color: #506b78;
}

/* UuDbg use cases */

.usecase-block {
  margin-top: clamp(41px, 4.6vw, 58px);
}

.usecase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(125, 158, 204, 0.1);
}

.usecase-head h3 {
  color: #d5e8f4;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.usecase-head p {
  max-width: 460px;
  color: #637b90;
  font-size: 14px;
  line-height: 1.75;
  text-align: right;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 21px;
}

.usecase-card {
  position: relative;
  overflow: hidden;
  padding: 23px 23px 21px;
  border: 1px solid rgba(128, 164, 207, 0.12);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(11, 19, 32, 0.78), rgba(7, 12, 21, 0.84));
  transition:
    border-color 0.24s ease,
    background 0.24s ease;
}

.usecase-card::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 228, 255, 0.3), transparent);
  content: "";
  opacity: 0.65;
}

.usecase-card:hover {
  border-color: rgba(34, 228, 255, 0.26);
  background: linear-gradient(145deg, rgba(13, 23, 39, 0.86), rgba(7, 13, 23, 0.9));
}

.usecase-label {
  color: #50758b;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.usecase-card h4 {
  margin-top: 12px;
  color: #c7dde9;
  font-size: 16px;
  font-weight: 620;
  line-height: 1.5;
}

.usecase-card p:last-child {
  margin-top: 5px;
  color: #73899d;
  font-size: 14px;
  line-height: 1.8;
}

/* ------------------------------------------------------------
   UuDrv SDK
   ------------------------------------------------------------ */

.sdk-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, 0.78fr);
  gap: clamp(29px, 3.9vw, 46px);
  align-items: stretch;
}

.sdk-manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4.3vw, 46px);
  border: 1px solid rgba(160, 137, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 95% 0%, rgba(124, 92, 255, 0.14), transparent 50%),
    linear-gradient(145deg, rgba(16, 18, 39, 0.82), rgba(7, 11, 22, 0.88));
}

.sdk-manifesto::after {
  position: absolute;
  top: -72px;
  right: -72px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(158, 132, 255, 0.18);
  border-radius: 26%;
  content: "";
  transform: rotate(21deg);
  pointer-events: none;
}

.manifesto-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #af9dff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.manifesto-label::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px rgba(124, 92, 255, 0.7);
  content: "";
}

.sdk-manifesto h3 {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-top: 17px;
  color: #f2efff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.05vw, 2.5rem);
  font-weight: 690;
  letter-spacing: -0.035em;
  line-height: 1.35;
  text-wrap: balance;
}

.sdk-manifesto h3 span {
  color: var(--purple-soft);
}

.sdk-manifesto > p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-top: 16px;
  color: #9298b8;
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

.sdk-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 15px;
  margin-top: 27px;
}

.sdk-points li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  color: #8288a7;
  font-size: 15px;
  line-height: 1.8;
}

.sdk-points li::before {
  display: grid;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  place-items: center;
  border: 1px solid rgba(158, 132, 255, 0.25);
  border-radius: 5px;
  color: #bbaaff;
  content: "·";
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.sdk-points strong {
  color: #d8d2ee;
  font-weight: 600;
}

.sdk-warning {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 27px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 190, 92, 0.18);
  border-radius: 9px;
  background: rgba(255, 190, 92, 0.045);
  color: #b4a480;
  font-size: 14px;
  line-height: 1.8;
}

.sdk-warning strong {
  flex: 0 0 auto;
  color: #ffd28c;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.sdk-apply {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(29px, 3.7vw, 39px);
  border: 1px solid rgba(158, 132, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(30, 26, 58, 0.7), rgba(8, 11, 22, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(255, 91, 167, 0.07), transparent 52%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.sdk-apply::before {
  position: absolute;
  top: 0;
  left: 14%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  content: "";
}

.sdk-apply-label {
  color: #8e7ad6;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.sdk-apply h3 {
  margin-top: 12px;
  color: #f2edff;
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.sdk-apply > p {
  margin-top: 10px;
  color: #8f90a9;
  font-size: 15px;
  line-height: 1.8;
}

.apply-checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.apply-checklist li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  color: #8e91aa;
  font-size: 14px;
  line-height: 1.7;
}

.apply-checklist li span {
  color: #7668ac;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.apply-checklist strong {
  color: #c6bfe1;
  font-weight: 600;
}

.apply-channel {
  margin-top: auto;
  padding-top: 24px;
}

.channel-box {
  padding: 15px 16px;
  border: 1px solid rgba(158, 132, 255, 0.18);
  border-radius: 8px;
  background: rgba(124, 92, 255, 0.055);
}

.channel-box span {
  display: block;
  color: #77699f;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.channel-box strong {
  display: block;
  margin-top: 5px;
  color: #c9c2df;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.7;
}

.channel-box strong.channel-value {
  margin-top: 6px;
  color: #e8e2ff;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.channel-box em {
  display: block;
  margin-top: 7px;
  color: #8b84a8;
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

.apply-channel .btn {
  width: 100%;
  margin-top: 12px;
}

.apply-footnote {
  margin-top: 11px;
  color: #5d5976;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

/* Capability matrix */

.capability-block {
  margin-top: clamp(58px, 6.5vw, 85px);
}

.matrix-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 26px;
}

.matrix-heading h3 {
  color: #e6e0ff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.45vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.matrix-heading p {
  max-width: 520px;
  color: #7a7f99;
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
}

.matrix-shell {
  overflow: hidden;
  border: 1px solid rgba(158, 132, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(9, 12, 24, 0.76);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.matrix-table th {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(158, 132, 255, 0.13);
  background: rgba(19, 19, 38, 0.6);
  color: #746c8c;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: left;
  text-transform: uppercase;
}

.matrix-table th:nth-child(1) {
  width: 30%;
}

.matrix-table th:nth-child(2) {
  width: 29%;
}

.matrix-table th:nth-child(3) {
  width: 41%;
}

.matrix-table td {
  padding: 21px 24px;
  border-bottom: 1px solid rgba(128, 164, 207, 0.08);
  color: #83869e;
  font-size: 15px;
  line-height: 1.75;
  vertical-align: top;
}

.matrix-table tbody tr {
  transition: background 0.22s ease;
}

.matrix-table tbody tr:hover {
  background: rgba(124, 92, 255, 0.045);
}

.matrix-table tbody tr:last-child td {
  border-bottom: 0;
}

.matrix-name {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 13px;
}

.matrix-index {
  flex: 0 0 auto;
  color: #5f4e89;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.9;
}

.matrix-name strong {
  display: block;
  color: #ded7f4;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.matrix-name em {
  display: block;
  margin-top: 2px;
  color: #5e5875;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.matrix-mechanism {
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid rgba(34, 228, 255, 0.18);
  border-radius: 4px;
  background: rgba(34, 228, 255, 0.045);
  color: #8bdbe7;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  white-space: nowrap;
}

.matrix-table td p {
  margin-top: 6px;
  color: #777d96;
  font-size: 14px;
  line-height: 1.75;
}

.matrix-scope {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 17px;
  color: #5f667e;
  font-size: 14px;
  line-height: 1.7;
}

.matrix-scope span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.matrix-scope span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5a5773;
  content: "";
}

.scope-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 29px;
}

.scope-card {
  padding: 22px 23px;
  border: 1px solid rgba(125, 158, 204, 0.12);
  border-radius: 10px;
  background: rgba(9, 13, 24, 0.58);
}

.scope-card-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9184c3;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.scope-card-label::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
  content: "";
}

.scope-card h4 {
  margin-top: 9px;
  color: #d6d0e7;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.scope-card p {
  margin-top: 4px;
  color: #73778c;
  font-size: 14px;
  line-height: 1.75;
}

/* ------------------------------------------------------------
   Architecture & workflow
   ------------------------------------------------------------ */

.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 27px;
  align-items: stretch;
}

.architecture-panel,
.workflow-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.7vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(10, 17, 30, 0.82), rgba(6, 10, 18, 0.9)),
    radial-gradient(ellipse at 0% 0%, rgba(34, 228, 255, 0.055), transparent 55%);
}

.architecture-panel::before,
.workflow-panel::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 228, 255, 0.36), transparent);
  content: "";
}

.panel-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #688097;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.panel-eyebrow span:last-child {
  color: #4a5e73;
  letter-spacing: 0.04em;
}

.panel-title {
  margin-top: 12px;
  color: #e3f0fd;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.stack-diagram {
  display: grid;
  gap: 8px;
  margin-top: 27px;
}

.stack-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stack-box {
  position: relative;
  padding: 15px 16px;
  border: 1px solid rgba(128, 164, 207, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.stack-box strong {
  display: block;
  color: #bcd4e8;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.stack-box small {
  display: block;
  margin-top: 3px;
  color: #5f758b;
  font-size: 10px;
  line-height: 1.6;
}

.stack-box--debugger {
  border-color: rgba(34, 228, 255, 0.18);
  background: rgba(34, 228, 255, 0.04);
}

.stack-box--sdk {
  border-color: rgba(158, 132, 255, 0.18);
  background: rgba(124, 92, 255, 0.045);
}

.stack-connector {
  display: flex;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: #41586e;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
}

.stack-connector::before,
.stack-connector::after {
  width: 1px;
  height: 8px;
  margin: 0 10px;
  background: linear-gradient(180deg, transparent, #36556e);
  content: "";
}

.stack-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 17px;
  border: 1px solid rgba(128, 164, 207, 0.12);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(13, 23, 38, 0.92), rgba(8, 13, 23, 0.92));
}

.stack-layer-copy strong {
  display: block;
  color: #b9cddd;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.stack-layer-copy small {
  display: block;
  margin-top: 3px;
  color: #5d7387;
  font-size: 10px;
  line-height: 1.6;
}

.stack-layer--core {
  border-color: rgba(34, 228, 255, 0.2);
  background:
    linear-gradient(90deg, rgba(34, 228, 255, 0.085), rgba(124, 92, 255, 0.08)),
    #08101c;
}

.stack-layer--core strong {
  color: #bdefff;
}

.layer-tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid rgba(34, 228, 255, 0.2);
  border-radius: 4px;
  color: #7edeea;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
}

.stack-layer--target {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.016);
}

.stack-layer--target strong {
  color: #8fa7ba;
}

.stack-caption {
  margin-top: 18px;
  color: #566b80;
  font-size: 11px;
  line-height: 1.7;
}

.workflow-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 21px;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

.workflow-step::before {
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 13px;
  width: 1px;
  background: linear-gradient(180deg, rgba(34, 228, 255, 0.25), rgba(34, 228, 255, 0.04));
  content: "";
}

.workflow-step:last-child::before {
  display: none;
}

.workflow-number {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(34, 228, 255, 0.24);
  border-radius: 50%;
  background: #07111c;
  color: #87e2ed;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 0 12px rgba(34, 228, 255, 0.05);
}

.workflow-body {
  padding-top: 1px;
}

.workflow-body h3 {
  color: #cbdde9;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.workflow-body p {
  margin-top: 2px;
  color: #697e92;
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.workflow-footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(128, 164, 207, 0.1);
  color: #6a7f93;
  font-size: 14px;
  line-height: 1.75;
}

.workflow-footnote::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

/* ------------------------------------------------------------
   Download
   ------------------------------------------------------------ */

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  overflow: hidden;
  border: 1px solid rgba(34, 228, 255, 0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(34, 228, 255, 0.085), transparent 38%),
    linear-gradient(145deg, rgba(10, 22, 35, 0.88), rgba(6, 11, 20, 0.94));
  box-shadow: var(--shadow-panel);
}

.download-panel::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  content: "";
  opacity: 0.6;
}

.download-main {
  min-width: 0;
  padding: clamp(34px, 4.9vw, 56px);
}

.download-main h2 {
  margin-top: 10px;
  color: #f1fbff;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.25vw, 3.7rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.download-main > p {
  max-width: 640px;
  margin-top: 17px;
  color: #7f9ab0;
  font-size: 16px;
  line-height: 1.9;
}

.file-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid rgba(128, 164, 207, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.016);
}

.file-meta div {
  min-width: 0;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(128, 164, 207, 0.1);
}

.file-meta div:nth-child(odd) {
  border-right: 1px solid rgba(128, 164, 207, 0.1);
}

.file-meta div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.file-meta div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(128, 164, 207, 0.1);
  border-right: 0;
}

.file-meta dt {
  color: #5e778d;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.file-meta dd {
  overflow: hidden;
  margin-top: 4px;
  color: #c7dce9;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-meta dd span {
  color: #5f758a;
  font-size: 10px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.download-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(29px, 3.7vw, 39px);
  border-left: 1px solid rgba(34, 228, 255, 0.13);
  background:
    radial-gradient(ellipse at 100% 100%, rgba(124, 92, 255, 0.11), transparent 58%),
    rgba(4, 9, 16, 0.48);
}

.checksum-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checksum-head span {
  color: #7b98af;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.11em;
}

.copy-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(34, 228, 255, 0.23);
  border-radius: 6px;
  background: rgba(34, 228, 255, 0.055);
  color: #8beaf6;
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.copy-btn:hover {
  border-color: rgba(34, 228, 255, 0.55);
  background: rgba(34, 228, 255, 0.11);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

.copy-btn.is-copied {
  border-color: rgba(77, 255, 195, 0.4);
  background: rgba(77, 255, 195, 0.08);
  color: var(--mint);
}

.sha-value {
  display: block;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(128, 164, 207, 0.11);
  border-radius: 7px;
  background: #050b13;
  color: #a4c6d7;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}

.hash-note {
  margin-top: 16px;
  color: #586f84;
  font-size: 11.5px;
  line-height: 1.8;
}

.hash-note code {
  display: block;
  overflow-x: auto;
  margin-top: 7px;
  padding: 9px 11px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.026);
  color: #829bb0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  white-space: nowrap;
}

.copy-status {
  min-height: 20px;
  margin-top: 10px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

.download-file-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 27px;
  color: #637a8f;
  font-size: 11.5px;
  line-height: 1.75;
}

.download-file-note::before {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.install-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 22px;
}

.install-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px 20px;
  border: 1px solid rgba(128, 164, 207, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
}

.install-note-index {
  flex: 0 0 auto;
  color: #4c667b;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.8;
}

.install-note h3 {
  color: #b4c9d8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.install-note p {
  margin-top: 2px;
  color: #677c90;
  font-size: 14px;
  line-height: 1.7;
}

/* ------------------------------------------------------------
   Legal cards & footer
   ------------------------------------------------------------ */

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.legal-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 29px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(12, 20, 34, 0.82), rgba(7, 11, 20, 0.9)),
    radial-gradient(ellipse at 100% 0%, rgba(34, 228, 255, 0.055), transparent 50%);
  transition:
    transform 0.25s var(--ease-out),
    border-color 0.25s ease,
    background 0.25s ease;
}

.legal-card:hover {
  border-color: rgba(34, 228, 255, 0.33);
  background:
    linear-gradient(145deg, rgba(14, 25, 42, 0.9), rgba(7, 12, 22, 0.94)),
    radial-gradient(ellipse at 100% 0%, rgba(34, 228, 255, 0.08), transparent 50%);
  transform: translateY(-3px);
}

.legal-card::before {
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 228, 255, 0.36), transparent);
  content: "";
}

.legal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-card-index {
  color: #4f6c82;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.legal-card-arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(128, 164, 207, 0.13);
  border-radius: 6px;
  color: #7893a8;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease-out);
}

.legal-card-arrow svg {
  width: 14px;
  height: 14px;
}

.legal-card:hover .legal-card-arrow {
  border-color: rgba(34, 228, 255, 0.4);
  color: var(--cyan);
  transform: translate(1px, -1px);
}

.legal-card h3 {
  margin-top: 32px;
  color: #d8e8f4;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.legal-card p {
  margin-top: 9px;
  color: #74899c;
  font-size: 14px;
  line-height: 1.8;
  text-wrap: pretty;
}

.legal-card-foot {
  margin-top: auto;
  padding-top: 21px;
  color: #5c7589;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.docx-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 21px;
  margin-top: 23px;
  padding: 20px 23px;
  border: 1px solid rgba(128, 164, 207, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.018);
}

.docx-download-copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.docx-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(34, 228, 255, 0.2);
  border-radius: 6px;
  background: rgba(34, 228, 255, 0.055);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}

.docx-download h3 {
  color: #c7dae8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.docx-download p {
  margin-top: 2px;
  color: #61798d;
  font-size: 13.5px;
  line-height: 1.6;
}

.legal-crossnote {
  margin-top: 22px;
  color: #62788c;
  font-size: 14px;
  line-height: 1.8;
}

.legal-crossnote strong {
  color: #93a9ba;
  font-weight: 550;
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 75% 100%, rgba(124, 92, 255, 0.075), transparent 42%),
    rgba(4, 8, 14, 0.72);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) minmax(170px, 0.7fr) minmax(230px, 1fr);
  gap: clamp(34px, 5vw, 82px);
  padding: 55px 0 42px;
}

.footer-brand .brand {
  display: inline-flex;
}

.footer-brand > p {
  max-width: 440px;
  margin-top: 17px;
  color: #7b91a3;
  font-size: 17px;
  line-height: 1.85;
}

.footer-scope {
  margin-top: 19px;
  color: #6d8497;
  font-family: var(--font-mono);
  font-size: 15.5px;
  letter-spacing: 0.01em;
  line-height: 1.8;
}

.footer-operator {
  margin-top: 17px;
  color: #8ea4b6;
  font-size: 16px;
  line-height: 1.75;
}

.footer-contact {
  margin-top: 5px;
  color: #b9cbdb;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.footer-col h2 {
  color: #93aabe;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 17px;
}

.footer-links a {
  width: fit-content;
  padding: 4px 0;
  color: #8ba1b3;
  font-size: 16px;
  line-height: 1.65;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan-bright);
}

.footer-note {
  margin-top: 19px;
  color: #71889b;
  font-size: 15px;
  line-height: 1.8;
}

.footer-note strong {
  color: #9db2c3;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding: 22px 0 27px;
  border-top: 1px solid rgba(125, 158, 204, 0.09);
  color: #7a8fa2;
  font-family: var(--font-mono);
  font-size: 15.5px;
  line-height: 1.7;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links a {
  color: #8ba1b3;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--cyan-bright);
}

/* ------------------------------------------------------------
   Legal pages
   ------------------------------------------------------------ */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7.4vw, 96px) 0 clamp(41px, 4.4vw, 56px);
  border-bottom: 1px solid rgba(125, 158, 204, 0.1);
}

.legal-hero::after {
  position: absolute;
  top: -130px;
  right: 4%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(34, 228, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(34, 228, 255, 0.018),
    0 0 0 120px rgba(124, 92, 255, 0.01);
  content: "";
  pointer-events: none;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6e8498;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.legal-back svg {
  width: 14px;
  height: 14px;
}

.legal-back:hover {
  color: var(--cyan-bright);
}

.legal-hero .section-kicker {
  margin-top: 29px;
  margin-bottom: 15px;
}

.legal-hero h1 {
  max-width: 960px;
  color: #f1f9ff;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.9vw, 4.1rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.2;
  text-wrap: balance;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 22px;
  color: #5f768a;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-meta span::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4e687d;
  content: "";
}

.legal-hero-note {
  max-width: 820px;
  margin-top: 24px;
  color: #748ba0;
  font-size: 15px;
  line-height: 1.85;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 4.4vw, 54px);
  align-items: start;
  padding: clamp(41px, 5.4vw, 70px) 0 clamp(74px, 8.6vw, 120px);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 26px);
  min-width: 0;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 13, 23, 0.68);
}

.legal-toc-title {
  color: #687f93;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.legal-toc nav {
  margin-top: 15px;
}

.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc a {
  display: block;
  padding: 6px 9px;
  border-radius: 5px;
  color: #6f8397;
  font-size: 14px;
  line-height: 1.55;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.legal-toc a:hover {
  background: rgba(34, 228, 255, 0.055);
  color: var(--cyan-bright);
}

.legal-toc-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(128, 164, 207, 0.1);
  color: #50687c;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
}

.legal-doc {
  min-width: 0;
  padding: clamp(27px, 4.9vw, 61px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(10, 17, 29, 0.86), rgba(6, 10, 18, 0.92)),
    radial-gradient(ellipse at 100% 0%, rgba(34, 228, 255, 0.035), transparent 48%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.legal-callout {
  padding: 20px 22px;
  border: 1px solid rgba(34, 228, 255, 0.17);
  border-left: 2px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: rgba(34, 228, 255, 0.045);
  color: #91a8b9;
  font-size: 15px;
  line-height: 1.85;
}

.legal-callout strong {
  color: #cbeeff;
  font-weight: 600;
}

.legal-callout--violet {
  border-color: rgba(158, 132, 255, 0.2);
  border-left-color: var(--purple);
  background: rgba(124, 92, 255, 0.055);
  color: #a49fbe;
}

.legal-callout--violet strong {
  color: #d9d1ff;
}

.legal-doc-section {
  padding-top: 41px;
}

.legal-doc-section + .legal-doc-section {
  margin-top: 34px;
  border-top: 1px solid rgba(128, 164, 207, 0.1);
}

.legal-doc-section h2 {
  color: #e4f1fb;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.legal-doc-section h3 {
  margin-top: 26px;
  color: #c8dce9;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.legal-doc-section p {
  margin-top: 11px;
  color: #91a2b3;
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

.legal-doc-section strong {
  color: #cddfe9;
  font-weight: 600;
}

.legal-doc-section a {
  color: var(--cyan-bright);
  text-decoration: underline;
  text-decoration-color: rgba(34, 228, 255, 0.3);
  text-underline-offset: 3px;
}

.legal-doc-section a:hover {
  color: #fff;
}

.legal-numbered {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.legal-numbered li {
  position: relative;
  padding-left: 18px;
  color: #8ea1b2;
  font-size: 17px;
  line-height: 1.9;
}

.legal-numbered li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 4px;
  height: 1px;
  background: #5e7c91;
  content: "";
}

.legal-alpha {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.legal-alpha li {
  position: relative;
  padding-left: 20px;
  color: #8ea1b2;
  font-size: 17px;
  line-height: 1.9;
}

.legal-alpha li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #5f7e92;
  font-family: var(--font-mono);
  font-size: 11px;
  content: "·";
}

.legal-danger {
  margin-top: 18px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 156, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 156, 160, 0.045);
  color: #b8999b;
  font-size: 15px;
  line-height: 1.85;
}

.legal-danger strong {
  color: #ffc2c4;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.legal-actions .btn {
  min-height: 48px;
  padding: 11px 17px;
  font-size: 15px;
}

.legal-doc-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(128, 164, 207, 0.12);
  color: #536b80;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
}

.legal-doc-end a {
  color: #7892a6;
}

.legal-doc-end a:hover {
  color: var(--cyan-bright);
}

.legal-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 31px;
}

.legal-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 17px;
  border: 1px solid rgba(128, 164, 207, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.017);
  color: #8ca1b4;
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.legal-related a:hover {
  border-color: rgba(34, 228, 255, 0.3);
  color: var(--cyan-bright);
}

.legal-related svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1180px) {
  .primary-nav a {
    padding-inline: 10px;
    font-size: 15px;
  }

  .header-cta {
    padding-inline: 15px;
  }

  .product-card {
    padding-inline: 31px;
  }

  .matrix-heading p {
    max-width: 460px;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-h: 78px;
  }

  .container {
    width: min(var(--container), calc(100% - 44px));
  }

  .nav-wrap {
    gap: 16px;
  }

  .nav-ready .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-ready .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 22px;
    left: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    margin-left: 0;
    padding: 14px;
    border: 1px solid var(--line-bright);
    border-radius: 12px;
    background: rgba(6, 11, 20, 0.98);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }

  .nav-ready .primary-nav.is-open {
    display: flex;
  }

  .nav-ready .primary-nav a {
    min-height: 50px;
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-ready .primary-nav a[aria-current="page"]::after {
    top: 50%;
    right: 14px;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }

  .nav-ready .nav-wrap .header-cta {
    display: none;
  }

  .hero-mast {
    grid-template-columns: minmax(0, 1.36fr) minmax(220px, 0.64fr);
    gap: 38px;
  }

  .hero-stats {
    gap: 12px 20px;
  }

  .product-card {
    min-height: 548px;
    padding: 29px 27px 24px;
  }

  .product-badges .pill--optional {
    display: none;
  }

  .section-heading {
    gap: 32px;
  }

  .debugger-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
  }

  .feature-item {
    padding: 20px 21px;
  }

  .console-body {
    min-height: 470px;
  }

  .console-main {
    padding: 13px;
  }

  .console-target-meta .console-chip--violet {
    display: none;
  }

  .console-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-registers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .console-reg:nth-child(4n + 2) strong,
  .console-reg:nth-child(4n + 3) strong {
    color: #c6f4ff;
  }

  .console-reg:nth-child(3n + 2) strong {
    color: #d9cbff;
  }

  .console-reg:nth-child(3n + 3) strong {
    color: #b7f9d7;
  }

  .sdk-intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.85fr);
  }

  .matrix-table th,
  .matrix-table td {
    padding-inline: 19px;
  }

  .matrix-mechanism {
    white-space: normal;
  }

  .footer-top {
    grid-template-columns: minmax(240px, 1.3fr) minmax(150px, 0.7fr) minmax(210px, 0.9fr);
    gap: 38px;
  }
}

@media (max-width: 800px) {
  .hero {
    padding-top: 40px;
  }

  .hero-mast {
    display: block;
  }

  .hero-copy h1 {
    max-width: 800px;
    font-size: clamp(2.4rem, 7.8vw, 3.9rem);
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 12px 28px;
    margin-top: 32px;
    padding: 17px 0 0;
    border-top: 1px solid rgba(34, 228, 255, 0.12);
    border-left: 0;
  }

  .meta-label {
    grid-column: 1 / -1;
  }

  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2px;
  }

  .hero-note {
    margin-top: 0;
    text-align: right;
  }

  .hero-products {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .product-card {
    min-height: 0;
    padding: 32px 34px 27px;
  }

  .product-desc {
    max-width: 620px;
  }

  .product-actions {
    padding-top: 28px;
  }

  .product-foot {
    margin-top: 22px;
  }

  .hero-bottom {
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .hero-context {
    text-align: left;
  }

  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal:nth-child(3) {
    border-left: 0;
  }

  .signal:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-heading {
    display: block;
  }

  .section-lead {
    max-width: 780px;
    margin-top: 21px;
  }

  .debugger-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .console-figure {
    position: relative;
    top: auto;
  }

  .console-body {
    min-height: 465px;
  }

  .sdk-intro-grid {
    grid-template-columns: 1fr;
  }

  .sdk-apply {
    min-height: 0;
  }

  .matrix-heading {
    display: block;
  }

  .matrix-heading p {
    max-width: none;
    margin-top: 9px;
    text-align: left;
  }

  .matrix-table th:nth-child(1) {
    width: 29%;
  }

  .matrix-table th:nth-child(2) {
    width: 27%;
  }

  .matrix-table th:nth-child(3) {
    width: 44%;
  }

  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .usecase-head {
    display: block;
  }

  .usecase-head p {
    max-width: none;
    margin-top: 5px;
    text-align: left;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-side {
    border-top: 1px solid rgba(34, 228, 255, 0.13);
    border-left: 0;
  }

  .download-file-note {
    margin-top: 19px;
    padding-top: 0;
  }

  .install-notes {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    min-height: 196px;
  }

  .legal-card h3 {
    margin-top: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-top: 46px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand > p {
    max-width: 580px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 34px;
  }

  .legal-toc {
    position: static;
    overflow: hidden;
    padding: 16px 17px;
  }

  .legal-toc nav {
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .legal-toc ul {
    flex-direction: row;
    gap: 3px;
    width: max-content;
  }

  .legal-toc a {
    padding: 6px 10px;
    white-space: nowrap;
  }

  .legal-toc-foot {
    display: none;
  }

  .legal-doc {
    padding: 30px 25px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-sub {
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  .nav-ready .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding: 31px 0 40px;
  }

  .eyebrow {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .hero-copy h1 {
    margin-top: 17px;
    font-size: clamp(2.3rem, 11vw, 3.25rem);
    letter-spacing: -0.04em;
  }

  .hero-lede {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.85;
  }

  .hero-meta {
    display: block;
    margin-top: 21px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 11px 19px;
    margin-top: 14px;
  }

  .hero-note {
    margin-top: 14px;
    text-align: left;
  }

  .hero-products {
    margin-top: 29px;
    gap: 18px;
  }

  .product-card {
    padding: 26px 23px 22px;
    border-radius: 17px;
  }

  .product-mark,
  .product-mark img {
    width: 56px;
    height: 56px;
  }

  .sdk-hex {
    width: 50px;
    height: 54px;
    font-size: 12px;
  }

  .product-body {
    margin-top: 19px;
  }

  .product-title {
    font-size: 2.6rem;
  }

  .product-subtitle {
    font-size: 16px;
  }

  .product-desc {
    margin-top: 12px;
    font-size: 15px;
  }

  .cap-tags {
    margin-top: 16px;
  }

  .cap-tags li {
    padding: 4px 9px;
    font-size: 11px;
  }

  .product-actions {
    gap: 9px;
    padding-top: 24px;
  }

  .product-actions .btn {
    min-height: 48px;
    flex: 1 1 auto;
    padding: 11px 14px;
    font-size: 14px;
  }

  .product-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin-top: 19px;
    padding-top: 15px;
    font-size: 10px;
  }

  .hero-bottom {
    margin-top: 24px;
  }

  .hero-context {
    font-size: 10px;
  }

  .signal {
    padding: 20px 19px;
  }

  .signal strong {
    font-size: 15px;
  }

  .signal small {
    font-size: 10px;
  }

  .section {
    padding: 70px 0;
  }

  .section-kicker {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .section-heading {
    margin-bottom: 33px;
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 8.5vw, 2.8rem);
  }

  .section-lead {
    margin-top: 16px;
    font-size: 16px;
  }

  .feature-item {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 17px;
  }

  .feature-body h3 {
    font-size: 17px;
  }

  .feature-body p {
    font-size: 15px;
  }

  .console-window {
    border-radius: 14px;
  }

  .console-body {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 435px;
  }

  .console-rail {
    gap: 9px;
  }

  .console-rail-item {
    width: 24px;
    height: 26px;
    font-size: 9px;
  }

  .console-rail-mark {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }

  .console-main {
    padding: 10px;
  }

  .console-target {
    padding: 9px 11px;
  }

  .console-target-name {
    font-size: 9px;
  }

  .console-target-meta {
    display: none;
  }

  .console-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 7px;
  }

  .console-stat {
    padding: 6px 7px;
  }

  .console-stat strong {
    font-size: 9px;
  }

  .console-tabs {
    margin-top: 12px;
    gap: 14px;
  }

  .console-registers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .console-reg {
    padding: 5px 6px;
  }

  .console-reg strong {
    font-size: 8px;
  }

  .console-log {
    margin-top: 10px;
    padding: 7px 8px;
    font-size: 7px;
  }

  .console-caption {
    flex-direction: column;
    gap: 2px;
    font-size: 9px;
  }

  .sdk-manifesto,
  .sdk-apply {
    padding: 27px 23px;
    border-radius: 16px;
  }

  .sdk-manifesto h3 {
    font-size: 1.7rem;
  }

  .sdk-manifesto > p {
    font-size: 16px;
  }

  .sdk-warning {
    display: block;
  }

  .sdk-warning strong {
    display: block;
    margin-bottom: 4px;
  }

  .matrix-shell {
    border: 0;
    background: transparent;
  }

  .matrix-table,
  .matrix-table tbody,
  .matrix-table tr,
  .matrix-table td {
    display: block;
    width: 100%;
  }

  .matrix-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .matrix-table tr {
    margin-bottom: 12px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(158, 132, 255, 0.16);
    border-radius: 10px;
    background: rgba(9, 12, 24, 0.76);
  }

  .matrix-table td {
    padding: 0;
    border: 0;
    font-size: 14px;
  }

  .matrix-table td + td {
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid rgba(128, 164, 207, 0.08);
  }

  .matrix-table td::before {
    display: block;
    margin-bottom: 4px;
    color: #5f5b76;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    content: attr(data-label);
  }

  .matrix-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .matrix-name strong {
    font-size: 16px;
  }

  .matrix-mechanism {
    margin-bottom: 2px;
  }

  .matrix-table td p {
    font-size: 14px;
  }

  .scope-cards {
    grid-template-columns: 1fr;
    margin-top: 19px;
  }

  .architecture-panel,
  .workflow-panel {
    padding: 24px 22px;
    border-radius: 16px;
  }

  .stack-top {
    grid-template-columns: 1fr;
  }

  .stack-layer {
    align-items: flex-start;
  }

  .download-main {
    padding: 29px 23px;
  }

  .download-main h2 {
    font-size: 2.45rem;
  }

  .file-meta {
    grid-template-columns: 1fr;
  }

  .file-meta div {
    border-right: 0 !important;
  }

  .file-meta div:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(128, 164, 207, 0.1);
  }

  .file-meta div:last-child {
    border-bottom: 0;
  }

  .download-actions {
    flex-direction: column;
  }

  .download-actions .btn {
    width: 100%;
  }

  .download-side {
    padding: 25px 23px;
  }

  .sha-value {
    font-size: 10px;
  }

  .legal-card {
    padding: 24px 22px;
    min-height: 0;
  }

  .legal-card h3 {
    margin-top: 21px;
  }

  .legal-card-foot {
    padding-top: 16px;
  }

  .docx-download {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }

  .docx-download .btn {
    width: 100%;
  }

  .footer-top {
    display: block;
    padding: 40px 0 30px;
  }

  .footer-brand {
    margin-bottom: 30px;
  }

  .footer-col + .footer-col {
    margin-top: 27px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 18px;
  }

  .footer-brand > p {
    font-size: 15px;
  }

  .footer-scope {
    font-size: 14.5px;
  }

  .footer-operator,
  .footer-contact,
  .footer-links a {
    font-size: 15.5px;
  }

  .footer-note {
    margin-top: 11px;
    font-size: 14.5px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0 22px;
    font-size: 15px;
  }

  .legal-hero {
    padding-top: 39px;
  }

  .legal-hero .section-kicker {
    margin-top: 23px;
  }

  .legal-hero h1 {
    font-size: clamp(2.2rem, 9.8vw, 2.95rem);
  }

  .legal-hero-note {
    font-size: 14px;
  }

  .legal-meta {
    gap: 5px 13px;
    font-size: 10px;
  }

  .legal-layout {
    padding-bottom: 72px;
  }

  .legal-doc {
    padding: 27px 19px;
    border-radius: 14px;
  }

  .legal-callout {
    padding: 16px 17px;
    font-size: 14px;
  }

  .legal-doc-section {
    padding-top: 34px;
  }

  .legal-doc-section + .legal-doc-section {
    margin-top: 27px;
  }

  .legal-doc-section p,
  .legal-numbered li,
  .legal-alpha li {
    font-size: 15px;
    line-height: 1.9;
  }

  .legal-related {
    grid-template-columns: 1fr;
  }

  .legal-doc-end {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand-sub {
    display: none;
  }

  .primary-nav {
    right: 16px;
    left: 16px;
  }

  .product-actions .btn {
    flex-basis: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .console-section-title span:last-child {
    display: none;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.65;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: pulse-soft 3.2s ease-in-out infinite;
  }
}

@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;
    transition-delay: 0ms !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .product-card:hover,
  .legal-card:hover,
  .btn:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .backdrop,
  .footer-bottom,
  .legal-toc,
  .legal-actions,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .legal-doc,
  .legal-hero {
    border: 0;
    box-shadow: none;
    background: #fff;
    color: #111;
  }

  .legal-doc-section h2,
  .legal-doc-section h3,
  .legal-hero h1,
  .legal-doc-section strong {
    color: #111;
  }

  .legal-doc-section p,
  .legal-numbered li,
  .legal-alpha li {
    color: #222;
  }
}
