@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/assets/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/assets/fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-main: #f7f7f8;
  --bg-soft: #efeff1;
  --bg-deep: #0c0c0d;
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.9);
  --surface-deep: #111214;
  --surface-code: #0f1012;
  --border: rgba(9, 9, 12, 0.16);
  --border-strong: rgba(9, 9, 12, 0.3);
  --text-strong: #101114;
  --text-main: #232428;
  --text-muted: #5c5e65;
  --text-on-deep: #f5f5f7;
  --brand: #c8102e;
  --brand-2: #8e0c22;
  --brand-3: #6a0a18;
  --danger: #d85166;
  --warning: #d68621;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.12);
  --shadow-hard: 0 26px 70px rgba(0, 0, 0, 0.2);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% -12%, rgba(200, 16, 46, 0.18), transparent 42%),
    radial-gradient(circle at 96% 2%, rgba(0, 0, 0, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f3f3f5 44%, #ececef 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 25% 0%, black 30%, transparent 70%);
}

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

a {
  color: inherit;
}

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

.body-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.body-link:hover,
.body-link:focus-visible {
  color: var(--brand-2);
  outline: none;
}

.container {
  width: min(1160px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1100;
  background: #ffffff;
  color: var(--text-strong);
  padding: 10px 14px;
  border-radius: 0 0 12px 12px;
}

.skip-link:focus {
  left: 14px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 1200;
  background: linear-gradient(90deg, #c8102e, #8e0c22, #131316);
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.34);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
}

.header-shell {
  width: min(1240px, 96vw);
  margin: 16px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: margin-top 0.32s ease, border-radius 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.site-header.is-scrolled .header-shell {
  margin-top: 8px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-strong);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.brand span,
.brand-word {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.nav-button {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-main);
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: 10px;
  position: relative;
  transition: background 0.24s ease, color 0.24s ease;
}

.nav-link::after,
.nav-button::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.nav-link:hover,
.nav-button:hover,
.nav-link:focus-visible,
.nav-button:focus-visible {
  color: var(--text-strong);
  background: rgba(200, 16, 46, 0.1);
  outline: none;
}

.nav-link:hover::after,
.nav-button:hover::after,
.nav-link:focus-visible::after,
.nav-button:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--text-strong);
  background: rgba(200, 16, 46, 0.12);
}

.nav-item {
  position: relative;
  z-index: 8;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 270px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 12;
}

.nav-item.is-open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 11px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: rgba(200, 16, 46, 0.12);
  color: var(--text-strong);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 19px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(112deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 34px rgba(200, 16, 46, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(200, 16, 46, 0.42);
}

.btn-secondary {
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.1), rgba(255, 255, 255, 0.82));
  border-color: rgba(200, 16, 46, 0.24);
  color: var(--text-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(200, 16, 46, 0.34);
  box-shadow: 0 14px 30px rgba(200, 16, 46, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 239, 239, 0.92));
  border-color: rgba(0, 0, 0, 0.26);
  color: var(--text-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(0, 0, 0, 0.34);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text-main);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 0, 0, 0.28);
}

.btn-small {
  padding: 10px 15px;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.menu-toggle svg {
  width: 21px;
  height: 21px;
  color: var(--text-strong);
}

.mobile-panel {
  position: fixed;
  top: 84px;
  left: 14px;
  right: 14px;
  max-height: calc(100vh - 98px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hard);
  padding: 16px;
  display: grid;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scale(0.99);
  transition: opacity 0.24s ease, transform 0.24s ease;
  z-index: 1090;
}

.mobile-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

body.menu-open {
  overflow: hidden;
}

.mobile-link {
  display: block;
  padding: 11px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-link:hover,
.mobile-link:focus-visible,
.mobile-link.is-active {
  background: rgba(200, 16, 46, 0.12);
  color: var(--text-strong);
  outline: none;
}

.mobile-details {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 8px;
}

.mobile-details summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: var(--text-muted);
  margin: 4px 12px 6px;
}

.mobile-details summary::-webkit-details-marker {
  display: none;
}

main {
  padding-top: 108px;
}

.section {
  padding: 76px 0;
  position: relative;
}

.section-tone {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 245, 247, 0.9) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-shell {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--brand);
  background: rgba(200, 16, 46, 0.11);
  border: 1px solid rgba(200, 16, 46, 0.2);
  margin-bottom: 14px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c8102e;
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.42);
  animation: ping 1.7s infinite;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.42);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(200, 16, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
  }
}

.section-title,
.hero-title {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  line-height: 1.1;
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.section-title {
  font-size: clamp(1.6rem, 3.1vw, 2.7rem);
}

.gradient-word {
  background: linear-gradient(105deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle,
.section-lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-muted);
  max-width: 68ch;
  margin-top: 14px;
}

.hero {
  position: relative;
  padding: 46px 0 74px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 8% auto auto 58%;
  width: 42vw;
  max-width: 460px;
  height: 42vw;
  max-height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.18) 0%, rgba(200, 16, 46, 0) 70%);
  filter: blur(10px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 3.2vw, 42px);
}

.hero-grid > * {
  min-width: 0;
}

.grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.hero-metrics > *,
.kpi-grid > *,
.steps-grid > *,
.tool-grid > *,
.dev-grid > *,
.community-grid > *,
.blog-grid > *,
.repo-grid > *,
.footer-grid > * {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 100%;
  padding-right: clamp(0px, 1.4vw, 16px);
}

.hero-copy .hero-subtitle {
  max-width: 58ch;
}

.hero-code-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-meta-stack {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 18px;
}

.hero-meta-stack .hero-tags {
  margin-top: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  border: 1px solid rgba(200, 16, 46, 0.26);
  background:
    radial-gradient(circle at 22% 0%, rgba(200, 16, 46, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.9);
  color: var(--text-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions + .status-pill,
.hero-actions + .scroll-cue {
  margin-top: 18px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue::before {
  content: '';
  width: 20px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(200, 16, 46, 0.36);
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.1), transparent);
}

.hero-metrics {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-code-stack .hero-metrics {
  margin-top: 2px;
}

.metric-pill {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 12px 14px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.metric-pill strong {
  display: block;
  font-family: 'Sora', sans-serif;
  color: var(--text-strong);
  font-size: 1.02rem;
}

.metric-pill span {
  font-size: 0.79rem;
  color: var(--text-muted);
}

.code-shell,
.terminal,
.code-block {
  background: var(--surface-code);
  color: #f2f2f4;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 16, 46, 0.26);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
  min-width: 0;
}

.hero .code-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.code-top,
.terminal-head,
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(200, 16, 46, 0.24);
  background: rgba(20, 20, 22, 0.9);
}

.code-dots,
.terminal-dots {
  display: inline-flex;
  gap: 6px;
}

.code-dots span,
.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.code-dots span:nth-child(1),
.terminal-dots span:nth-child(1) {
  background: #ff6a81;
}

.code-dots span:nth-child(2),
.terminal-dots span:nth-child(2) {
  background: #f6c058;
}

.code-dots span:nth-child(3),
.terminal-dots span:nth-child(3) {
  background: #4ed393;
}

.code-label,
.terminal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #d3a8b2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(200, 16, 46, 0.2);
  background: rgba(14, 14, 16, 0.85);
}

.code-tab {
  border: 1px solid rgba(200, 16, 46, 0.28);
  background: transparent;
  color: #e9b4be;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}

.code-tab.is-active {
  color: #ffffff;
  border-color: rgba(235, 124, 143, 0.8);
  background: rgba(200, 16, 46, 0.3);
}

.code-panel,
.tab-pane {
  display: none;
}

.code-panel.is-active,
.tab-pane.is-active {
  display: block;
}

.hero .code-shell pre {
  height: clamp(300px, 44vh, 430px);
  overflow: auto;
}

[data-scroll-cinematic] {
  overflow: clip;
}

[data-scroll-layer] {
  will-change: transform, opacity;
  transform-origin: center top;
}

.hero-copy[data-scroll-layer] {
  transform-origin: left top;
}

.code-shell pre,
.terminal pre,
.code-block pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: 0.83rem;
  line-height: 1.72;
  font-family: 'JetBrains Mono', monospace;
}

.code-shell code,
.terminal code,
.code-block code {
  font-family: inherit;
}

pre .kw {
  color: #8b8cff;
}

pre .ty {
  color: #c3a4ff;
}

pre .str {
  color: #f6c177;
}

pre .cm {
  color: #8a8d95;
  font-style: italic;
}

pre .fn {
  color: #57d6ad;
}

pre .op {
  color: #d6d7dc;
}

pre .num {
  color: #7dd7f0;
}

.code-shell .tk-kw,
.terminal .tk-kw,
.code-block .tk-kw {
  color: #8b8cff;
}

.code-shell .tk-ty,
.terminal .tk-ty,
.code-block .tk-ty {
  color: #c3a4ff;
}

.code-shell .tk-str,
.terminal .tk-str,
.code-block .tk-str {
  color: #f6c177;
}

.code-shell .tk-cm,
.terminal .tk-cm,
.code-block .tk-cm {
  color: #8a8d95;
  font-style: italic;
}

.code-shell .tk-fn,
.terminal .tk-fn,
.code-block .tk-fn {
  color: #57d6ad;
}

.code-shell .tk-num,
.terminal .tk-num,
.code-block .tk-num {
  color: #7dd7f0;
}

.code-shell .tk-op,
.terminal .tk-op,
.code-block .tk-op {
  color: #d6d7dc;
}

.code-shell .tk-err,
.terminal .tk-err,
.code-block .tk-err {
  color: #ff4d5f;
  text-decoration: underline wavy rgba(255, 77, 95, 0.75);
  text-underline-offset: 2px;
}

.typing-cursor {
  display: inline-block;
  color: #ff8a9e;
  animation: typing-cursor-blink 1s steps(1, end) infinite;
}

@keyframes typing-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.tabs-wrap {
  margin-top: 16px;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tab-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-main);
  border-radius: 999px;
  padding: 9px 13px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.tab-button.is-active {
  background: linear-gradient(110deg, rgba(200, 16, 46, 0.18), rgba(0, 0, 0, 0.12));
  border-color: rgba(200, 16, 46, 0.35);
  color: var(--text-strong);
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  min-width: 0;
}

.card h3,
.card h4 {
  font-family: 'Sora', sans-serif;
  color: var(--text-strong);
  line-height: 1.25;
}

.card p {
  margin-top: 10px;
  color: var(--text-main);
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  margin-top: 12px;
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
}

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 34px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--brand);
  background: rgba(200, 16, 46, 0.11);
  border: 1px solid rgba(200, 16, 46, 0.22);
}

.list-clean {
  list-style: none;
  display: grid;
  gap: 11px;
}

.list-clean li {
  color: var(--text-main);
  display: flex;
  gap: 10px;
}

.list-clean li::before {
  content: '•';
  color: var(--brand);
  font-weight: 700;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
}

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

th,
td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(248, 248, 249, 0.94);
}

tbody tr:hover {
  background: rgba(200, 16, 46, 0.05);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.tag {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-main);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 10px;
}

.sdk-lang-logos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sdk-lang-logo {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 4px;
  object-fit: contain;
}

.kpi-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kpi {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 14px;
  min-width: 0;
}

.kpi-label {
  color: var(--text-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'JetBrains Mono', monospace;
}

.kpi-value {
  margin-top: 8px;
  color: var(--text-strong);
  font-family: 'Sora', sans-serif;
  font-size: 1.16rem;
}

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

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-width: 0;
}

.step-index {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: rgba(200, 16, 46, 0.11);
  border: 1px solid rgba(200, 16, 46, 0.22);
  margin-bottom: 10px;
}

.step-card p {
  margin: 10px 0 14px;
}

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

.tool-card {
  text-decoration: none;
}

.tool-card:hover {
  border-color: rgba(200, 16, 46, 0.34);
  transform: translateY(-2px);
}

.tool-card .card-link {
  margin-top: 14px;
}

.detail-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.sdk-grid {
  align-items: stretch;
  gap: 20px;
}

.detail-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.detail-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.detail-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-brand h3 {
  margin-top: 6px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.detail-meta-item:first-child {
  grid-column: 1 / -1;
}

.detail-meta-item {
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  background: rgba(255, 255, 255, 0.62);
  min-width: 0;
}

.detail-meta-item span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-meta-item strong {
  display: block;
  margin-top: 7px;
  color: var(--text-strong);
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

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

.detail-block {
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  padding: 14px;
}

.detail-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.detail-block p {
  margin-top: 7px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.detail-card > .detail-actions,
.detail-card .detail-actions:last-child {
  margin-top: auto;
  padding-top: 16px;
}

.install-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 15, 17, 0.96), rgba(27, 15, 18, 0.96));
  border: 1px solid rgba(200, 16, 46, 0.24);
  color: #f3f3f6;
  font-size: 0.78rem;
  overflow-x: auto;
}

.card .install-chip {
  color: #ffffff;
  margin-top: 14px;
  -webkit-text-fill-color: currentColor;
}

.sdk-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  flex: 0 0 auto;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 242, 0.88));
  border: 1px solid rgba(200, 16, 46, 0.16);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sdk-mark img,
.brand-logo {
  display: block;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  visibility: visible;
}

.brand-logo-wide {
  width: 32px;
  height: 32px;
}

.brand-logo-mono {
  width: 26px;
  height: 26px;
}

.integration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.integration-card {
  padding: 24px;
  border-radius: 20px;
}

.integration-card .detail-actions {
  margin-top: auto;
  padding-top: 16px;
}

.integration-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 242, 0.9));
}

.integration-mark img {
  width: 30px;
  height: 30px;
}

.integration-stack {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.integration-row {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.integration-entry {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 15, 17, 0.96), rgba(27, 15, 18, 0.96));
  border: 1px solid rgba(200, 16, 46, 0.24);
  color: #ffffff;
  font-size: 0.76rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  -webkit-text-fill-color: currentColor;
}

.integration-copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

#sdks .section-head,
#frameworks .section-head {
  max-width: 920px;
}

.callout {
  background: linear-gradient(105deg, rgba(200, 16, 46, 0.11), rgba(0, 0, 0, 0.07));
  border: 1px solid rgba(200, 16, 46, 0.24);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.callout h3 {
  font-family: 'Sora', sans-serif;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.callout p {
  color: var(--text-main);
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
}

.copy-row + .copy-row {
  margin-top: 10px;
}

.copy-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-family: 'JetBrains Mono', monospace;
}

.copy-value {
  margin-top: 5px;
  color: var(--text-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  word-break: break-all;
}

.copy-btn {
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  min-width: 78px;
}

.copy-btn.is-copied {
  color: #ffffff;
  background: linear-gradient(110deg, #0b8d57, #17bb7a);
  border-color: transparent;
}

.verify-card {
  background: var(--surface-code);
  color: #d0e4ff;
  border: 1px solid rgba(200, 16, 46, 0.26);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.verify-card label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d79aa6;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 10px;
}

.verify-card textarea {
  width: 100%;
  min-height: 150px;
  border-radius: 12px;
  border: 1px solid rgba(200, 16, 46, 0.32);
  background: rgba(2, 14, 30, 0.76);
  color: #e1ecff;
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  resize: vertical;
}

.verify-card textarea:focus {
  outline: 2px solid rgba(200, 16, 46, 0.4);
  border-color: rgba(200, 16, 46, 0.5);
}

.verify-result {
  margin-top: 14px;
  border-radius: 11px;
  padding: 12px;
  font-size: 0.88rem;
  display: none;
}

.verify-result.is-visible {
  display: block;
}

.verify-result.is-success {
  background: rgba(15, 165, 101, 0.15);
  border: 1px solid rgba(15, 165, 101, 0.5);
  color: #b8ffd8;
}

.verify-result.is-error {
  background: rgba(216, 81, 102, 0.16);
  border: 1px solid rgba(216, 81, 102, 0.5);
  color: #ffd0d7;
}

.dev-grid,
.community-grid,
.blog-grid,
.repo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.repo-card {
  text-decoration: none;
}

.repo-card h4 {
  font-size: 1rem;
}

.site-footer {
  margin-top: 86px;
  background: linear-gradient(160deg, #080809 0%, #1a0b0f 72%);
  color: var(--text-on-deep);
  padding: 62px 0 28px;
  border-top: 1px solid rgba(200, 16, 46, 0.28);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand {
  max-width: 320px;
  color: var(--text-on-deep);
}

.footer-brand .brand-word,
.footer-brand .brand span {
  color: #ffffff;
}

.footer-brand p {
  margin-top: 12px;
  color: #c3c3c9;
  font-size: 0.94rem;
}

.footer-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #e597a5;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #ededf0;
  font-size: 0.89rem;
  line-height: 1.4;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(200, 16, 46, 0.22);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #c7c7cd;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-bottom a {
  color: #f1f1f3;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #ffffff;
  outline: none;
}

.footer-bottom > p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 68ch;
}

.footer-bottom > p:last-child,
.footer-bottom > p:last-child a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-bottom > p:last-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom > p:last-child a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.footer-bottom > p:last-child span {
  color: rgba(241, 241, 243, 0.6);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.inline-search {
  margin-top: 24px;
  position: relative;
  max-width: 580px;
}

.inline-search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  padding: 14px 48px 14px 44px;
  color: var(--text-strong);
  font-size: 0.95rem;
}

.inline-search input:focus {
  outline: 2px solid rgba(200, 16, 46, 0.24);
  border-color: rgba(200, 16, 46, 0.4);
}

.inline-search .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.inline-search .search-hint {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.67rem;
  color: var(--text-muted);
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.78);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 16, 46, 0.24);
  background: rgba(200, 16, 46, 0.12);
  color: var(--brand);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy .status-pill {
  position: relative;
  z-index: 1;
}

.hero-copy > .hero-actions + .status-pill,
.hero-copy > .hero-actions + .scroll-cue {
  margin-top: 22px;
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.hero-stack {
  display: grid;
  gap: 14px;
}

.testnet-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(200, 16, 46, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(200, 16, 46, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 242, 242, 0.8));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.testnet-band-copy h3 {
  margin-top: 8px;
  font-family: 'Sora', sans-serif;
  color: var(--text-strong);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.testnet-band-copy p:last-child {
  margin-top: 12px;
  max-width: 60ch;
}

.testnet-band-stats {
  display: grid;
  gap: 10px;
}

.testnet-band-stat {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.testnet-band-stat span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.testnet-band-stat strong {
  display: block;
  margin-top: 7px;
  color: var(--text-strong);
  font-size: 0.95rem;
}

.testnet-feature-grid {
  gap: 18px;
}

.testnet-feature-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 243, 0.84));
  border: 1px solid rgba(200, 16, 46, 0.16);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.testnet-feature-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.85), rgba(200, 16, 46, 0.16));
}

.testnet-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, 0.28);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.1);
}

.testnet-feature-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testnet-card-kicker {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.testnet-feature-card h3 {
  margin-top: 14px;
  font-size: 1.05rem;
}

.testnet-feature-card .tag-list {
  margin-top: auto;
  padding-top: 14px;
}

.testnet-network-shell {
  display: grid;
  gap: 18px;
}

.testnet-operational-shell {
  display: grid;
  gap: 18px;
}

.testnet-operational-intro,
.testnet-network-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(200, 16, 46, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 16, 46, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 241, 0.82));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.testnet-operational-intro h3,
.testnet-network-intro h3 {
  margin-top: 8px;
  font-family: 'Sora', sans-serif;
  color: var(--text-strong);
  font-size: clamp(1.3rem, 1.8vw, 1.72rem);
}

.testnet-operational-intro p:last-child,
.testnet-network-intro p:last-child {
  margin-top: 12px;
  max-width: 58ch;
}

.testnet-operational-pillbox,
.testnet-network-pillbox {
  display: grid;
  gap: 10px;
}

.testnet-operational-pill,
.testnet-network-pill {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.testnet-operational-pill span,
.testnet-network-pill span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.testnet-operational-pill strong,
.testnet-network-pill strong {
  display: block;
  margin-top: 7px;
  color: var(--text-strong);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.testnet-operational-grid,
.testnet-network-grid {
  gap: 18px;
}

.operational-card,
.network-config-card {
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 243, 0.84));
  border: 1px solid rgba(200, 16, 46, 0.16);
}

.operational-card .list-clean,
.operational-card .tag-list {
  margin-top: 14px;
}

.operational-card h3 {
  margin-top: 14px;
}

.network-config-head {
  margin-bottom: 16px;
}

.network-config-head h3 {
  margin-top: 8px;
}

.network-config-card .copy-row {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(200, 16, 46, 0.14);
}

.network-config-card .copy-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 240, 0.9));
  border-color: rgba(200, 16, 46, 0.24);
}

.testnet-operational-callout,
.testnet-network-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(200, 16, 46, 0.2);
  background: linear-gradient(105deg, rgba(200, 16, 46, 0.09), rgba(255, 255, 255, 0.78));
}

.testnet-operational-callout h3,
.testnet-network-note h3 {
  font-family: 'Sora', sans-serif;
  color: var(--text-strong);
}

.testnet-operational-callout p:last-of-type,
.testnet-network-note p {
  margin-top: 8px;
  max-width: 62ch;
}

.testnet-operational-callout .tag-list {
  margin-top: 14px;
}

.hero-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  padding: 14px;
}

.hero-card h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.96rem;
  color: var(--text-strong);
}

.hero-card p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.stack-reset-top {
  margin-top: 0;
}

.stack-top-8 {
  margin-top: 8px;
}

.stack-top-10 {
  margin-top: 10px;
}

.stack-top-12 {
  margin-top: 12px;
}

.stack-top-14 {
  margin-top: 14px;
}

.stack-top-16 {
  margin-top: 16px;
}

.stack-bottom-14 {
  margin-bottom: 14px;
}

.stack-bottom-16 {
  margin-bottom: 16px;
}

.detail-tags {
  margin-top: 14px;
}

.inline-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.inline-note {
  font-size: 0.74rem;
  line-height: 1.6;
}

.page-home .hero {
  padding-bottom: 64px;
}

.page-home .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .hero-title {
  max-width: 11ch;
}

.page-home .hero-subtitle {
  max-width: 60ch;
  line-height: 1.72;
}

.page-home .hero-code-stack {
  align-content: center;
  gap: 16px;
}

.page-home .hero .code-shell {
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.26);
}

.page-home .section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-home .section-title {
  font-size: clamp(1.82rem, 3vw, 2.95rem);
  line-height: 1.04;
}

.page-home .section-lead {
  max-width: 66ch;
}

.page-home .steps-grid,
.page-home .tool-grid,
.page-home .community-grid {
  align-items: stretch;
}

.page-home .step-card,
.page-home .tool-card,
.page-home .community-grid .card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-home .step-card p,
.page-home .tool-card p,
.page-home .community-grid .card p {
  line-height: 1.65;
}

.page-home .step-card .terminal,
.page-home .tool-card .card-link,
.page-home .community-grid .card .card-link {
  margin-top: auto;
}

.page-home .kpi-grid {
  align-items: stretch;
}

.page-home .kpi {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 242, 0.86));
}

.page-home .callout {
  align-items: end;
  background: linear-gradient(115deg, rgba(200, 16, 46, 0.11), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-home .callout .btn {
  min-width: 184px;
}

.page-tools .hero,
.page-developers .hero,
.page-community .hero {
  padding-bottom: 64px;
}

.page-tools .hero-grid,
.page-developers .hero-grid,
.page-community .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-tools .hero-subtitle,
.page-developers .hero-subtitle,
.page-community .hero-subtitle {
  max-width: 64ch;
  line-height: 1.72;
}

.page-tools .section-head,
.page-developers .section-head,
.page-community .section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-tools .section-title,
.page-developers .section-title,
.page-community .section-title {
  font-size: clamp(1.82rem, 3vw, 2.95rem);
  line-height: 1.04;
}

.page-tools .section-lead,
.page-developers .section-lead,
.page-community .section-lead {
  max-width: 66ch;
}

.page-tools .eyebrow,
.page-tools .detail-kicker,
.page-tools .detail-label,
.page-tools .kpi-label,
.page-tools .copy-label,
.page-developers .eyebrow,
.page-developers .detail-kicker,
.page-developers .detail-label,
.page-developers .kpi-label,
.page-community .eyebrow,
.page-community .kpi-label {
  letter-spacing: 0.11em;
}

.page-tools .hero-card,
.page-developers .hero-card,
.page-community .hero-card {
  padding: 18px 18px 19px;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.page-tools .hero-title {
  max-width: 9ch;
}

.page-developers .hero-title {
  max-width: 10ch;
}

.page-community .hero-title {
  max-width: 9ch;
}

.page-tools .terminal,
.page-tools .code-block,
.page-developers .terminal,
.page-developers .code-block,
.page-community .code-block {
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.26);
}

.page-tools .btn-outline,
.page-community .btn-outline {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 239, 239, 0.92));
  border-color: rgba(200, 16, 46, 0.2);
}

.page-tools .callout,
.page-developers .callout,
.page-community .callout {
  align-items: end;
  background: linear-gradient(115deg, rgba(200, 16, 46, 0.11), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-tools .callout .btn,
.page-developers .callout .btn,
.page-community .callout .btn {
  min-width: 168px;
}

.page-tools .detail-card,
.page-tools .integration-card,
.page-tools .repo-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
  border-color: rgba(200, 16, 46, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.page-tools .detail-card:hover,
.page-tools .integration-card:hover,
.page-tools .repo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, 0.26);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.page-tools .detail-card h3,
.page-tools .integration-card h3,
.page-tools .repo-card h4 {
  font-size: 1.14rem;
  line-height: 1.22;
}

.page-tools .detail-card p,
.page-tools .integration-copy,
.page-tools .repo-card p {
  line-height: 1.65;
}

.page-tools .detail-meta-item,
.page-tools .detail-block,
.page-tools .integration-row {
  background: rgba(255, 255, 255, 0.72);
}

.page-tools #developer-tools .grid-2,
.page-tools #cli .grid-2,
.page-tools #vscode .grid-3,
.page-tools #verifier .grid-4,
.page-tools #local-dev .grid-4,
.page-tools .sdk-grid,
.page-tools .integration-grid,
.page-tools .repo-grid {
  align-items: stretch;
}

.page-tools #cli .grid-2 .card,
.page-tools #vscode .grid-3 .card,
.page-tools #verifier .grid-4 .card,
.page-tools #local-dev .grid-4 .card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 242, 0.86));
}

.page-tools #cli .grid-2 .card h3 {
  font-size: 0.84rem;
  line-height: 1.55;
  word-break: break-word;
}

.page-tools .verify-card {
  padding: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.page-tools .inline-note {
  color: #a8c4ef;
}

.page-tools .repo-card {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-tools #github .btn.btn-primary {
  min-width: 176px;
}

.page-developers #quickstart .tabs-wrap {
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 240, 240, 0.82));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-developers .tab-buttons {
  gap: 10px;
  margin-bottom: 16px;
}

.page-developers .tab-button {
  padding: 10px 15px;
  border-color: rgba(200, 16, 46, 0.22);
  background: rgba(255, 255, 255, 0.82);
}

.page-developers .tab-button.is-active {
  background: linear-gradient(110deg, rgba(200, 16, 46, 0.18), rgba(0, 0, 0, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.page-developers #contracts .card,
.page-developers #frameworks .card,
.page-developers #api .grid-3 .card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
}

.page-developers #contracts .card h3,
.page-developers #frameworks .card h3 {
  font-size: 1.12rem;
  line-height: 1.22;
}

.page-developers #api .grid-3 {
  align-items: stretch;
}

.page-developers #api .kpi-value {
  font-size: clamp(1.04rem, 1.6vw, 1.34rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.page-developers #api .table-wrap,
.page-developers #modules .table-wrap {
  border-radius: 22px;
  border-color: rgba(200, 16, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.page-developers #api table {
  min-width: 760px;
}

.page-developers #modules table {
  min-width: 720px;
}

.page-developers #api th,
.page-developers #modules th {
  padding: 14px 16px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  background: rgba(248, 245, 245, 0.96);
}

.page-developers #api td,
.page-developers #modules td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.58;
}

.page-developers #api tbody tr:nth-child(even),
.page-developers #modules tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.page-developers #api tbody tr:hover,
.page-developers #modules tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.page-developers #api td:first-child .tag {
  display: inline-flex;
  justify-content: center;
  min-width: 54px;
}

.page-developers #modules .sdk-lang-logos {
  gap: 10px;
}

.page-developers #modules .sdk-lang-logo {
  width: 20px;
  height: 20px;
}

.page-community #developer-community .community-grid,
.page-community #blog .blog-grid {
  gap: 18px;
  align-items: stretch;
}

.page-community #developer-community .card,
.page-community #blog .card,
.page-community #contributing .card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-community #developer-community .card h3,
.page-community #blog .card h3,
.page-community #contributing .card h3 {
  font-size: 1.12rem;
  line-height: 1.22;
}

.page-community #developer-community .card .card-link,
.page-community #blog .card .card-link,
.page-community #contributing .card .card-link {
  margin-top: auto;
  padding-top: 14px;
}

.page-community #developer-community .mono {
  display: block;
  margin-top: 12px;
  color: var(--brand-2);
  font-size: 0.84rem;
}

.page-community #blog .kpi-label {
  font-size: 0.67rem;
}

.page-community #aips .table-wrap {
  border-radius: 22px;
  border-color: rgba(200, 16, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.page-community #aips table {
  min-width: 640px;
}

.page-community #aips th {
  padding: 14px 16px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  background: rgba(248, 245, 245, 0.96);
}

.page-community #aips td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.58;
}

.page-community #aips tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.page-community #aips tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.page-community #aips td:last-child .tag {
  white-space: nowrap;
}

.page-sandbox .hero {
  padding-bottom: 64px;
}

.page-sandbox .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-sandbox .hero-subtitle {
  max-width: 64ch;
  line-height: 1.72;
}

.page-sandbox .section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-sandbox .section-title {
  font-size: clamp(1.82rem, 3vw, 2.95rem);
  line-height: 1.04;
}

.page-sandbox .section-lead {
  max-width: 66ch;
}

.page-sandbox .hero-title {
  max-width: 8ch;
}

.page-sandbox .eyebrow,
.page-sandbox .detail-kicker,
.page-sandbox .detail-label,
.page-sandbox .kpi-label {
  letter-spacing: 0.11em;
}

.page-sandbox .hero-card {
  padding: 18px 18px 19px;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.page-sandbox .detail-card,
.page-sandbox .step-card,
.page-sandbox .kpi {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
  border-color: rgba(200, 16, 46, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-sandbox .detail-card p,
.page-sandbox .step-card p,
.page-sandbox .kpi-value {
  line-height: 1.65;
}

.page-sandbox .kpi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
}

.page-sandbox #coverage .table-wrap {
  border-radius: 22px;
  border-color: rgba(200, 16, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.page-sandbox #coverage table {
  min-width: 760px;
}

.page-sandbox #coverage th {
  padding: 14px 16px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  background: rgba(248, 245, 245, 0.96);
}

.page-sandbox #coverage td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.58;
}

.page-sandbox #coverage tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.page-sandbox #coverage tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.page-sandbox .callout {
  align-items: end;
  background: linear-gradient(115deg, rgba(200, 16, 46, 0.11), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-sandbox .callout .btn {
  min-width: 168px;
}

.page-quiz .hero {
  padding-bottom: 64px;
}

.page-quiz .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-quiz .hero-title {
  max-width: 9ch;
}

.page-quiz .hero-subtitle {
  max-width: 64ch;
  line-height: 1.72;
}

.page-quiz .section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-quiz .section-title {
  font-size: clamp(1.82rem, 3vw, 2.95rem);
  line-height: 1.04;
}

.page-quiz .section-lead {
  max-width: 66ch;
}

.page-quiz .eyebrow,
.page-quiz .detail-kicker {
  letter-spacing: 0.11em;
}

.page-quiz .hero-card {
  padding: 18px 18px 19px;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.page-quiz .quiz-track-grid,
.page-quiz .review-grid {
  align-items: stretch;
}

.page-quiz .quiz-track-card,
.page-quiz .review-grid .card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-quiz .quiz-track-card {
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.page-quiz .quiz-track-card:hover,
.page-quiz .quiz-track-card:focus-visible,
.page-quiz .quiz-track-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(200, 16, 46, 0.34);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  outline: none;
}

.page-quiz .quiz-track-card p,
.page-quiz .review-grid .card p {
  line-height: 1.65;
}

.page-quiz .quiz-track-meta {
  margin-top: auto;
  padding-top: 14px;
}

.page-quiz .callout {
  align-items: end;
  background: linear-gradient(115deg, rgba(200, 16, 46, 0.11), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-quiz .callout .btn {
  min-width: 188px;
}

.page-quiz .quiz-runner {
  display: grid;
  gap: 16px;
}

.page-quiz .quiz-empty,
.page-quiz .quiz-stage,
.page-quiz .quiz-results {
  background: linear-gradient(145deg, rgba(15, 15, 18, 0.98), rgba(26, 12, 16, 0.98));
  color: #f2f2f5;
  border-radius: 26px;
  border: 1px solid rgba(200, 16, 46, 0.24);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.page-quiz .quiz-empty,
.page-quiz .quiz-stage {
  padding: 24px;
}

.page-quiz .quiz-results {
  padding: 28px 24px;
  text-align: center;
}

.page-quiz .quiz-empty h3,
.page-quiz .quiz-question-title,
.page-quiz .quiz-results h3 {
  font-family: 'Sora', sans-serif;
  color: #ffffff;
}

.page-quiz .quiz-empty p,
.page-quiz .quiz-results-text,
.page-quiz .quiz-stage-head p {
  color: #d3d8df;
}

.page-quiz .quiz-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.page-quiz .quiz-progress-bar {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-quiz .quiz-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6a81, #f6c058);
  transition: width 0.24s ease;
}

.page-quiz .quiz-progress-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e3b5bf;
}

.page-quiz .quiz-stage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.page-quiz .quiz-question-title {
  margin-top: 10px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.page-quiz .quiz-options {
  display: grid;
  gap: 12px;
}

.page-quiz .quiz-option {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(200, 16, 46, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #f4f4f6;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-quiz .quiz-option:hover:not([disabled]),
.page-quiz .quiz-option:focus-visible:not([disabled]) {
  transform: translateY(-1px);
  border-color: rgba(255, 160, 174, 0.55);
  background: rgba(200, 16, 46, 0.16);
  outline: none;
}

.page-quiz .quiz-option[disabled] {
  cursor: default;
}

.page-quiz .quiz-option.is-correct {
  border-color: rgba(78, 211, 147, 0.6);
  background: rgba(78, 211, 147, 0.14);
}

.page-quiz .quiz-option.is-incorrect {
  border-color: rgba(255, 106, 129, 0.6);
  background: rgba(255, 106, 129, 0.14);
}

.page-quiz .quiz-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.page-quiz .quiz-option.is-correct .quiz-option-letter {
  background: rgba(78, 211, 147, 0.3);
}

.page-quiz .quiz-option.is-incorrect .quiz-option-letter {
  background: rgba(255, 106, 129, 0.3);
}

.page-quiz .quiz-option-text {
  font-size: 0.96rem;
  line-height: 1.6;
}

.page-quiz .quiz-feedback {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(200, 16, 46, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.page-quiz .quiz-feedback.is-visible {
  display: block;
}

.page-quiz .quiz-feedback.is-correct {
  border-color: rgba(78, 211, 147, 0.56);
  background: rgba(78, 211, 147, 0.12);
}

.page-quiz .quiz-feedback.is-incorrect {
  border-color: rgba(255, 106, 129, 0.56);
  background: rgba(255, 106, 129, 0.12);
}

.page-quiz .quiz-feedback h4 {
  font-family: 'Sora', sans-serif;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-quiz .quiz-feedback p {
  color: #d3d8df;
  line-height: 1.65;
}

.page-quiz .quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.page-quiz .quiz-actions .btn {
  min-width: 146px;
}

.page-quiz .quiz-results-score {
  margin-top: 12px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #ffffff;
}

.page-quiz .quiz-results-text {
  margin-top: 10px;
}

.page-quiz .quiz-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 12px;
}

.page-quiz .quiz-results-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(200, 16, 46, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.page-quiz .quiz-results-card strong {
  display: block;
  margin-top: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
}

.page-testnet .hero {
  padding-bottom: 66px;
}

.page-testnet .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-testnet .hero-copy {
  justify-content: center;
  padding-block: 10px;
}

.page-testnet .hero-title {
  max-width: 12ch;
}

.page-testnet .hero-subtitle {
  max-width: 62ch;
  line-height: 1.72;
}

.page-testnet .hero-stack {
  align-content: center;
  gap: 16px;
}

.page-testnet .eyebrow,
.page-testnet .detail-kicker,
.page-testnet .kpi-label,
.page-testnet .copy-label {
  letter-spacing: 0.11em;
}

.page-testnet .section-title {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
}

.page-testnet .hero-card {
  padding: 18px 18px 19px;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.page-testnet .section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.page-testnet .section-lead {
  max-width: 66ch;
}

.page-testnet #specifications .grid-4 {
  gap: 14px;
}

.page-testnet #specifications .card {
  padding: 20px 20px 18px;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 242, 0.86));
}

.page-testnet #specifications .kpi-label {
  font-size: 0.67rem;
}

.page-testnet #specifications .kpi-value {
  margin-top: 12px;
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
  line-height: 1.12;
}

.page-testnet .testnet-band,
.page-testnet .testnet-operational-intro,
.page-testnet .testnet-network-intro {
  gap: 22px;
}

.page-testnet .testnet-band-copy h3,
.page-testnet .testnet-operational-intro h3,
.page-testnet .testnet-network-intro h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  max-width: 16ch;
}

.page-testnet .testnet-feature-card h3,
.page-testnet .operational-card h3,
.page-testnet .network-config-head h3 {
  font-size: 1.14rem;
  line-height: 1.22;
}

.page-testnet .testnet-band-stats,
.page-testnet .testnet-feature-grid,
.page-testnet .testnet-operational-grid,
.page-testnet .testnet-network-grid {
  align-items: stretch;
}

.page-testnet .testnet-feature-card,
.page-testnet .operational-card,
.page-testnet .network-config-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.page-testnet .testnet-feature-top {
  min-height: 34px;
}

.page-testnet .testnet-card-kicker {
  line-height: 1.45;
}

.page-testnet .card p,
.page-testnet .list-clean li,
.page-testnet .copy-value {
  line-height: 1.65;
}

.page-testnet #architecture .table-wrap {
  border-radius: 22px;
  border-color: rgba(200, 16, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.page-testnet #architecture table {
  min-width: 720px;
}

.page-testnet #architecture th {
  padding: 14px 16px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  background: rgba(248, 245, 245, 0.96);
}

.page-testnet #architecture td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.58;
}

.page-testnet #architecture tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.page-testnet #architecture tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.page-testnet #architecture td:last-child .tag {
  white-space: nowrap;
}

.page-testnet .network-config-card .copy-row {
  min-height: 84px;
  gap: 16px;
}

.page-testnet .copy-value {
  word-break: normal;
  overflow-wrap: anywhere;
}

.page-testnet .copy-btn {
  min-width: 88px;
  padding: 10px 14px;
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 241, 241, 0.92));
  border-color: rgba(200, 16, 46, 0.22);
  color: var(--text-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.page-testnet .testnet-operational-callout .btn[disabled] {
  min-width: 172px;
  padding: 12px 16px;
  border-radius: 999px;
  border-color: rgba(0, 0, 0, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 238, 238, 0.88));
  color: var(--text-strong);
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
}

.page-testnet .testnet-operational-callout,
.page-testnet .testnet-network-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.page-testnet .testnet-network-note .tag-list {
  justify-content: flex-end;
}

.page-testnet .testnet-callout-tags {
  margin-top: 14px;
}

@media (min-width: 1100px) {
  .hero {
    min-height: clamp(600px, 78vh, 760px);
    display: grid;
    align-items: center;
  }

  .hero-copy .hero-subtitle {
    max-width: 54ch;
  }

  .section-shell {
    padding: 40px;
  }
}

@media (max-width: 1200px) {
  .repo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-shell {
    gap: 14px;
    padding-inline: 12px;
  }

  .nav-link,
  .nav-button {
    padding-inline: 10px;
  }

  .nav-link::after,
  .nav-button::after {
    left: 10px;
    right: 10px;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .header-actions .btn-small {
    padding-inline: 13px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 440px;
  }

  .page-testnet #specifications .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .kpi-grid,
  .tool-grid,
  .repo-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .dev-grid,
  .community-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .detail-blocks {
    grid-template-columns: 1fr;
  }

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

  .detail-meta-item:first-child {
    grid-column: auto;
  }

  .testnet-band,
  .testnet-operational-intro,
  .testnet-network-intro {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 28px;
  }

  .hero::after {
    inset: 18% -8% auto auto;
  }

  .hero .code-shell {
    min-height: 0;
  }

  .hero .code-shell pre {
    height: clamp(280px, 40vh, 380px);
  }

  .page-home .hero {
    padding-bottom: 56px;
  }

  .page-home .section-head {
    margin-bottom: 28px;
  }

  .page-home .callout .btn {
    min-width: 0;
  }

  .page-tools .hero,
  .page-developers .hero,
  .page-community .hero,
  .page-sandbox .hero,
  .page-quiz .hero {
    padding-bottom: 56px;
  }

  .page-tools .section-head,
  .page-developers .section-head,
  .page-community .section-head,
  .page-sandbox .section-head,
  .page-quiz .section-head {
    margin-bottom: 28px;
  }

  .page-developers #quickstart .tabs-wrap {
    padding: 16px;
  }

  .page-tools .callout .btn,
  .page-developers .callout .btn,
  .page-community .callout .btn,
  .page-sandbox .callout .btn,
  .page-quiz .callout .btn {
    min-width: 0;
  }

  .page-quiz .quiz-stage-head {
    flex-direction: column;
  }

  .page-testnet .hero {
    padding-bottom: 58px;
  }

  .page-testnet .hero-copy {
    padding-block: 0;
  }

  .page-testnet .testnet-band,
  .page-testnet .testnet-operational-intro,
  .page-testnet .testnet-network-intro,
  .page-testnet .operational-card,
  .page-testnet .network-config-card,
  .page-testnet .testnet-feature-card {
    padding: 22px;
  }

  .page-testnet .testnet-band-stats,
  .page-testnet .testnet-operational-pillbox,
  .page-testnet .testnet-network-pillbox {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-testnet .testnet-operational-callout,
  .page-testnet .testnet-network-note {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .page-testnet .testnet-network-note .tag-list {
    justify-content: flex-start;
  }
}

@media (max-width: 880px) {
  .nav-primary,
  .header-actions .btn {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    gap: 0;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    border-color: rgba(200, 16, 46, 0.24);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  }

  .menu-toggle svg {
    color: var(--brand-2);
  }

  .header-shell {
    padding: 10px 10px 10px 12px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-word {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

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

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

  .testnet-feature-grid {
    grid-template-columns: 1fr;
  }

  .testnet-operational-callout,
  .testnet-network-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .hero-metrics,
  .kpi-grid,
  .tool-grid,
  .steps-grid,
  .repo-grid {
    grid-template-columns: 1fr;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .page-home .hero-grid,
  .page-home .hero-code-stack {
    gap: 18px;
  }

  .page-home .hero-title {
    max-width: none;
  }

  .page-tools .hero-grid,
  .page-developers .hero-grid,
  .page-community .hero-grid,
  .page-sandbox .hero-grid,
  .page-quiz .hero-grid {
    gap: 18px;
  }

  .page-tools .hero-title,
  .page-developers .hero-title,
  .page-community .hero-title,
  .page-sandbox .hero-title,
  .page-quiz .hero-title {
    max-width: none;
  }

  .page-quiz .quiz-results-grid {
    grid-template-columns: 1fr;
  }

  .page-testnet .hero {
    padding-bottom: 52px;
  }

  .page-testnet .hero-grid {
    gap: 18px;
  }

  .page-testnet .hero-title {
    max-width: none;
  }

  .page-testnet .hero-card {
    padding: 16px 16px 17px;
  }

  .page-testnet .testnet-band-stats,
  .page-testnet .testnet-operational-pillbox,
  .page-testnet .testnet-network-pillbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-testnet .testnet-operational-callout .btn[disabled] {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: 98px;
  }

  .section {
    padding: 58px 0;
  }

  .header-shell {
    margin-top: 10px;
    border-radius: 14px;
  }

  .container {
    width: min(1160px, 94vw);
  }

  .section-shell {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-actions {
    width: 100%;
  }

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

  .hero-tag {
    font-size: 0.67rem;
  }

  .hero .code-shell {
    min-height: 0;
  }

  .hero .code-shell pre {
    height: 290px;
  }

  .tab-buttons {
    gap: 6px;
  }

  .tab-button {
    flex: 1 1 auto;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .inline-search .search-hint {
    display: none;
  }

  .page-home .section-head {
    margin-bottom: 24px;
  }

  .page-home .section-title {
    font-size: clamp(1.58rem, 8vw, 2rem);
  }

  .page-home .callout .btn {
    width: 100%;
  }

  .footer-bottom > p:last-child {
    gap: 6px;
  }

  .page-tools .section-head,
  .page-developers .section-head,
  .page-community .section-head,
  .page-sandbox .section-head,
  .page-quiz .section-head {
    margin-bottom: 24px;
  }

  .page-tools .section-title,
  .page-developers .section-title,
  .page-community .section-title,
  .page-sandbox .section-title,
  .page-quiz .section-title {
    font-size: clamp(1.58rem, 8vw, 2rem);
  }

  .page-tools #cli .grid-2 .card h3 {
    font-size: 0.8rem;
  }

  .page-developers #quickstart .tabs-wrap {
    padding: 14px;
  }

  .page-developers #api table,
  .page-developers #modules table {
    min-width: 620px;
  }

  .page-community #aips table {
    min-width: 540px;
  }

  .page-tools .callout .btn,
  .page-developers .callout .btn,
  .page-community .callout .btn,
  .page-sandbox .callout .btn,
  .page-quiz .callout .btn {
    width: 100%;
  }

  .page-sandbox #coverage table {
    min-width: 620px;
  }

  .page-quiz .quiz-empty,
  .page-quiz .quiz-stage,
  .page-quiz .quiz-results {
    padding: 20px;
    border-radius: 22px;
  }

  .page-quiz .quiz-option {
    padding: 14px;
  }

  .page-quiz .quiz-actions {
    flex-direction: column;
  }

  .page-quiz .quiz-actions .btn {
    width: 100%;
  }

  .page-community #developer-community .mono {
    font-size: 0.8rem;
  }

  .page-testnet .section-head {
    margin-bottom: 24px;
  }

  .page-testnet .section-title {
    font-size: clamp(1.58rem, 8vw, 2rem);
  }

  .page-testnet .hero-subtitle,
  .page-testnet .section-lead,
  .page-testnet .card p,
  .page-testnet .copy-value {
    font-size: 0.92rem;
  }

  .page-testnet .testnet-band-copy h3,
  .page-testnet .testnet-operational-intro h3,
  .page-testnet .testnet-network-intro h3 {
    max-width: none;
    font-size: 1.3rem;
  }

  .page-testnet #specifications .grid-4,
  .page-testnet .testnet-band-stats,
  .page-testnet .testnet-operational-pillbox,
  .page-testnet .testnet-network-pillbox {
    grid-template-columns: 1fr;
  }

  .page-testnet .testnet-band,
  .page-testnet .testnet-operational-intro,
  .page-testnet .testnet-network-intro,
  .page-testnet .operational-card,
  .page-testnet .network-config-card,
  .page-testnet .testnet-feature-card {
    padding: 20px;
  }

  .page-testnet .network-config-card .copy-row,
  .page-testnet .copy-row {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .page-testnet .copy-btn {
    width: 100%;
  }

  .page-testnet .testnet-operational-callout .btn[disabled] {
    width: 100%;
  }

  .page-testnet .table-wrap {
    border-radius: 18px;
  }

  .page-testnet table {
    min-width: 540px;
  }

  .page-testnet th,
  .page-testnet td {
    padding: 11px 12px;
  }
}


.page-zk .hero,
.page-tee .hero,
.page-wallets .hero,
.page-grants .hero {
  padding-bottom: 64px;
}

.page-zk .hero-grid,
.page-tee .hero-grid,
.page-wallets .hero-grid,
.page-grants .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-zk .hero-title {
  max-width: 9ch;
}

.page-tee .hero-title {
  max-width: 8ch;
}

.page-wallets .hero-title {
  max-width: 10ch;
}

.page-grants .hero-title {
  max-width: 10ch;
}

.page-zk .hero-subtitle,
.page-tee .hero-subtitle,
.page-wallets .hero-subtitle,
.page-grants .hero-subtitle {
  max-width: 64ch;
  line-height: 1.72;
}

.page-zk .section-head,
.page-tee .section-head,
.page-wallets .section-head,
.page-grants .section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-zk .section-title,
.page-tee .section-title,
.page-wallets .section-title,
.page-grants .section-title {
  font-size: clamp(1.82rem, 3vw, 2.95rem);
  line-height: 1.04;
}

.page-zk .section-lead,
.page-tee .section-lead,
.page-wallets .section-lead,
.page-grants .section-lead {
  max-width: 66ch;
}

.page-zk .eyebrow,
.page-zk .detail-kicker,
.page-zk .detail-label,
.page-zk .kpi-label,
.page-tee .eyebrow,
.page-tee .detail-kicker,
.page-tee .detail-label,
.page-tee .kpi-label,
.page-wallets .eyebrow,
.page-wallets .detail-kicker,
.page-wallets .detail-label,
.page-wallets .kpi-label,
.page-wallets .copy-label,
.page-grants .eyebrow,
.page-grants .detail-kicker,
.page-grants .detail-label,
.page-grants .kpi-label {
  letter-spacing: 0.11em;
}

.page-zk .hero-card,
.page-tee .hero-card,
.page-wallets .hero-card,
.page-grants .hero-card {
  padding: 18px 18px 19px;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.page-zk .detail-card,
.page-zk .step-card,
.page-zk .kpi,
.page-tee .detail-card,
.page-tee .step-card,
.page-tee .kpi,
.page-wallets .detail-card,
.page-wallets .step-card,
.page-wallets .kpi,
.page-grants .detail-card,
.page-grants .step-card,
.page-grants .kpi,
.page-grants .grants-status-card,
.page-grants .faq-card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
  border-color: rgba(200, 16, 46, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-zk .detail-card p,
.page-zk .step-card p,
.page-zk .kpi-value,
.page-tee .detail-card p,
.page-tee .step-card p,
.page-tee .kpi-value,
.page-wallets .detail-card p,
.page-wallets .step-card p,
.page-wallets .kpi-value,
.page-wallets .card p,
.page-grants .detail-card p,
.page-grants .step-card p,
.page-grants .kpi-value,
.page-grants .card p,
.page-grants .faq-card p {
  line-height: 1.65;
}

.page-zk .kpi,
.page-tee .kpi,
.page-wallets .kpi,
.page-grants .kpi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
}

.page-zk .table-wrap,
.page-tee .table-wrap,
.page-wallets .table-wrap {
  border-radius: 22px;
  border-color: rgba(200, 16, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.page-zk #systems table,
.page-zk #hybrid table,
.page-tee #platforms table,
.page-tee #operations table,
.page-wallets #matrix table {
  min-width: 760px;
}

.page-zk th,
.page-tee th,
.page-wallets th {
  padding: 14px 16px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  background: rgba(248, 245, 245, 0.96);
}

.page-zk td,
.page-tee td,
.page-wallets td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.58;
}

.page-zk tbody tr:nth-child(even),
.page-tee tbody tr:nth-child(even),
.page-wallets tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.page-zk tbody tr:hover,
.page-tee tbody tr:hover,
.page-wallets tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.page-zk .callout,
.page-tee .callout,
.page-wallets .callout,
.page-grants .callout {
  align-items: end;
  background: linear-gradient(115deg, rgba(200, 16, 46, 0.11), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-zk .callout .btn,
.page-tee .callout .btn,
.page-wallets .callout .btn,
.page-grants .callout .btn {
  min-width: 188px;
}

.page-wallets .wallet-surface-grid,
.page-wallets .wallet-example-grid,
.page-wallets .wallet-flow-grid,
.page-wallets .wallet-security-grid {
  align-items: stretch;
}

.page-wallets .wallet-guardrails-card {
  gap: 14px;
}

.page-grants .grants-stat-grid,
.page-grants .grants-track-grid,
.page-grants .grants-process-grid,
.page-grants .grants-criteria-grid,
.page-grants .grants-status-grid {
  align-items: stretch;
}

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

.page-grants .grants-process-grid > .step-card:last-child {
  grid-column: 1 / -1;
}

.page-grants .grants-status-panel {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(200, 16, 46, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 238, 239, 0.9));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.page-grants .grants-status-panel h3 {
  margin: 16px 0 10px;
  font-size: clamp(1.42rem, 2.2vw, 1.95rem);
  line-height: 1.12;
  color: var(--text-strong);
}

.page-grants .grants-status-panel > p {
  max-width: 72ch;
  color: var(--text-muted);
}

.page-grants .grants-status-card {
  padding: 20px;
}

.page-grants .grants-status-card h4 {
  margin-top: 10px;
  font-size: 1.16rem;
  line-height: 1.2;
  color: var(--text-strong);
}

.page-grants .grants-status-card p {
  margin-top: 8px;
}

.page-grants .grants-faq {
  display: grid;
  gap: 14px;
}

.page-grants .faq-card {
  overflow: hidden;
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 20px;
}

.page-grants .faq-card[open] {
  border-color: rgba(200, 16, 46, 0.28);
}

.page-grants .faq-card summary {
  position: relative;
  padding: 20px 24px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-strong);
}

.page-grants .faq-card summary::-webkit-details-marker {
  display: none;
}

.page-grants .faq-card summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--brand);
}

.page-grants .faq-card[open] summary::after {
  content: '-';
}

.page-grants .faq-card p {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

.page-usecase-hub .hero,
.page-usecase .hero {
  padding-bottom: 64px;
}

.page-usecase-hub .hero-grid,
.page-usecase .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-usecase-hub .hero-title {
  max-width: 8ch;
}

.page-usecase .hero-title {
  max-width: 12ch;
}

.page-usecase.usecase-agent-to-agent .hero-title {
  max-width: 14ch;
}

.page-usecase-hub .hero-subtitle,
.page-usecase .hero-subtitle {
  max-width: 67ch;
  line-height: 1.72;
}

.page-usecase-hub .section-head,
.page-usecase .section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-usecase-hub .section-title,
.page-usecase .section-title {
  font-size: clamp(1.82rem, 3vw, 2.95rem);
  line-height: 1.04;
}

.page-usecase-hub .section-lead,
.page-usecase .section-lead {
  max-width: 66ch;
}

.page-usecase-hub .eyebrow,
.page-usecase-hub .detail-kicker,
.page-usecase .eyebrow,
.page-usecase .detail-kicker,
.page-usecase .detail-label {
  letter-spacing: 0.11em;
}

.page-usecase-hub .hero-card,
.page-usecase .hero-card {
  padding: 18px 18px 19px;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.page-usecase-hub .card,
.page-usecase .card,
.page-usecase .detail-card,
.page-usecase .step-card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.86));
  border-color: rgba(200, 16, 46, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-usecase-hub .card p,
.page-usecase .card p,
.page-usecase .detail-card p,
.page-usecase .step-card p {
  line-height: 1.66;
}

.page-usecase-hub .callout,
.page-usecase .callout {
  align-items: end;
  background: linear-gradient(115deg, rgba(200, 16, 46, 0.11), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-usecase-hub .callout .btn,
.page-usecase .callout .btn {
  min-width: 188px;
}

.usecase-topic-card,
.usecase-home-card {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.usecase-home-grid,
.usecase-hub-grid,
.usecase-surface-grid,
.usecase-pressure-grid,
.usecase-fit-grid,
.usecase-workflow-grid {
  align-items: stretch;
}

.page-usecase .usecase-table-wrap {
  border-radius: 22px;
  border-color: rgba(200, 16, 46, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.page-usecase .usecase-table-wrap table {
  min-width: 760px;
}

.page-usecase .usecase-table-wrap th {
  padding: 14px 16px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  background: rgba(248, 245, 245, 0.96);
}

.page-usecase .usecase-table-wrap td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.58;
}

.page-usecase .usecase-table-wrap tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.page-usecase .usecase-table-wrap tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.page-usecase.usecase-enterprise .hero-title {
  max-width: 11ch;
}

.page-usecase.usecase-enterprise .enterprise-diagram-shell {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(200, 16, 46, 0.15);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-usecase.usecase-enterprise .enterprise-diagram-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.page-usecase.usecase-enterprise .enterprise-diagram {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

.page-usecase.usecase-enterprise .enterprise-diagram-caption {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.62;
}

.page-usecase.usecase-enterprise .enterprise-boundary-grid {
  align-items: stretch;
}

.page-usecase.usecase-enterprise .enterprise-boundary-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-usecase.usecase-enterprise .enterprise-note {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.6vw, 24px);
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(200, 16, 46, 0.09), rgba(255, 255, 255, 0.94));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
}

.page-usecase.usecase-enterprise .enterprise-note strong {
  color: var(--text-strong);
}

.page-usecase.usecase-enterprise .enterprise-note p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.66;
}

.page-home .usecase-home-card {
  min-height: 100%;
}

.page-docs-hub .hero,
.page-glossary .hero,
.page-comparison .hero,
.page-digital-seal .hero {
  padding-bottom: 64px;
}

.page-docs-hub .hero-grid,
.page-glossary .hero-grid,
.page-comparison .hero-grid,
.page-digital-seal .hero-grid {
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
}

.page-docs-hub .hero-title,
.page-glossary .hero-title,
.page-comparison .hero-title,
.page-digital-seal .hero-title {
  max-width: 12ch;
}

.page-docs-hub .hero-subtitle,
.page-glossary .hero-subtitle,
.page-comparison .hero-subtitle,
.page-digital-seal .hero-subtitle {
  max-width: 69ch;
  line-height: 1.72;
}

.page-docs-hub .section-head,
.page-glossary .section-head,
.page-comparison .section-head,
.page-digital-seal .section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.page-docs-hub .section-title,
.page-glossary .section-title,
.page-comparison .section-title,
.page-digital-seal .section-title {
  font-size: clamp(1.82rem, 3vw, 2.95rem);
  line-height: 1.04;
}

.page-docs-hub .section-lead,
.page-glossary .section-lead,
.page-comparison .section-lead,
.page-digital-seal .section-lead {
  max-width: 66ch;
}

.page-docs-hub .hero-card,
.page-glossary .hero-card,
.page-comparison .hero-card,
.page-digital-seal .hero-card,
.page-docs-hub .card,
.page-glossary .card,
.page-comparison .card,
.page-digital-seal .card {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.page-docs-hub .card,
.page-glossary .card,
.page-comparison .card,
.page-digital-seal .card,
.page-digital-seal .detail-card,
.page-digital-seal .step-card {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 242, 242, 0.88));
  border-color: rgba(200, 16, 46, 0.16);
}

.page-docs-hub .callout,
.page-glossary .callout,
.page-comparison .callout,
.page-digital-seal .callout {
  align-items: end;
  background: linear-gradient(115deg, rgba(200, 16, 46, 0.11), rgba(255, 255, 255, 0.78));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.page-docs-hub .callout .btn,
.page-glossary .callout .btn,
.page-comparison .callout .btn,
.page-digital-seal .callout .btn {
  min-width: 188px;
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 108px;
}

.docs-nav {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.docs-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text-strong);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.docs-nav a:hover {
  background: rgba(200, 16, 46, 0.08);
  color: var(--brand);
}

.docs-content-stack {
  min-width: 0;
}

.docs-article-layout {
  align-items: start;
}

.docs-article {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.docs-nav-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.docs-anchor-section {
  scroll-margin-top: 112px;
  padding: clamp(20px, 2.6vw, 30px);
}

.docs-anchor-section > * + * {
  margin-top: 18px;
}

.docs-section-head {
  margin-bottom: 0;
}

.docs-anchor-section p {
  color: var(--text-muted);
  line-height: 1.7;
}

.docs-anchor-section h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.28;
  color: var(--text-strong);
}

.docs-quick-grid,
.docs-install-grid,
.docs-code-grid,
.docs-step-grid,
.docs-copy-grid,
.docs-surface-grid,
.docs-rollout-grid,
.docs-link-grid {
  align-items: stretch;
}

.docs-quick-card,
.docs-install-card,
.docs-step-card,
.docs-surface-card,
.docs-copy-card,
.docs-rollout-card,
.docs-link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.docs-link-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.docs-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 16, 46, 0.28);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.docs-kicker {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.docs-meta-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-meta-list li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(200, 16, 46, 0.12);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.74);
}

.docs-meta-list li strong {
  font-size: 0.84rem;
  color: var(--text-strong);
}

.docs-command {
  padding: 14px 16px;
  border: 1px solid rgba(200, 16, 46, 0.22);
  border-radius: 16px;
  background: var(--surface-code);
  color: #f2f2f4;
  overflow-x: auto;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.docs-note {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(200, 16, 46, 0.08), rgba(255, 255, 255, 0.92));
}

.docs-note strong {
  color: var(--text-strong);
}

.docs-note p {
  margin: 0;
}

.docs-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(200, 16, 46, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.docs-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.docs-table-wrap th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
  background: rgba(248, 245, 245, 0.96);
}

.docs-table-wrap td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.6;
  border-top: 1px solid rgba(200, 16, 46, 0.1);
}

.docs-table-wrap tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.docs-table-wrap tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.docs-copy-card .copy-row {
  margin: 0;
}

.docs-copy-card .copy-row:first-of-type {
  margin-top: 4px;
}

.docs-resource-grid,
.docs-mini-grid,
.seal-overview-grid,
.seal-field-grid,
.seal-step-grid,
.seal-side-grid,
.seal-application-grid,
.comparison-card-grid,
.comparison-fit-grid,
.glossary-grid {
  align-items: stretch;
}

.docs-resource-card,
.docs-mini-card,
.comparison-card,
.comparison-fit-card,
.seal-field-card,
.seal-side-card,
.seal-application-card,
.glossary-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seal-field-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.seal-field-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(200, 16, 46, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.seal-field-list li strong {
  color: var(--text-strong);
  font-size: 0.96rem;
}

.seal-field-list li span {
  color: var(--text-muted);
  line-height: 1.62;
}

.seal-field-list.compact li {
  padding: 12px 14px;
}

.seal-verify-table-wrap,
.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(200, 16, 46, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

.seal-verify-table-wrap table,
.comparison-table-wrap table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.seal-verify-table-wrap th,
.comparison-table-wrap th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
  background: rgba(248, 245, 245, 0.96);
}

.seal-verify-table-wrap td,
.comparison-table-wrap td {
  padding: 16px;
  vertical-align: top;
  font-size: 0.94rem;
  line-height: 1.58;
  border-top: 1px solid rgba(200, 16, 46, 0.1);
}

.seal-verify-table-wrap tbody tr:nth-child(even),
.comparison-table-wrap tbody tr:nth-child(even) {
  background: rgba(200, 16, 46, 0.025);
}

.seal-verify-table-wrap tbody tr:hover,
.comparison-table-wrap tbody tr:hover {
  background: rgba(200, 16, 46, 0.06);
}

.glossary-search-shell {
  margin-bottom: 18px;
}

.glossary-search-shell input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 242, 0.92));
  color: var(--text-strong);
  font-size: 1rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.05);
}

.glossary-search-shell input:focus {
  outline: none;
  border-color: rgba(200, 16, 46, 0.35);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.12);
}

.glossary-letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.glossary-letter-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(200, 16, 46, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-strong);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.04);
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.glossary-letter-nav a:hover,
.glossary-letter-nav a.is-active {
  background: rgba(200, 16, 46, 0.12);
  color: var(--brand);
  transform: translateY(-1px);
}

.glossary-section {
  margin-top: 28px;
}

.glossary-letter {
  margin-bottom: 18px;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
}

.glossary-item {
  gap: 8px;
}

.glossary-term {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
  line-height: 1.28;
  color: var(--text-strong);
}

.glossary-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.12);
  color: var(--brand);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.glossary-empty {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(200, 16, 46, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-strong);
}

[data-glossary-section][hidden],
[data-glossary-item][hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .page-zk .hero,
  .page-tee .hero,
  .page-wallets .hero,
  .page-grants .hero,
  .page-usecase-hub .hero,
  .page-usecase .hero,
  .page-docs-hub .hero,
  .page-glossary .hero,
  .page-comparison .hero,
  .page-digital-seal .hero {
    padding-bottom: 56px;
  }

  .page-zk .section-head,
  .page-tee .section-head,
  .page-wallets .section-head,
  .page-grants .section-head,
  .page-usecase-hub .section-head,
  .page-usecase .section-head,
  .page-docs-hub .section-head,
  .page-glossary .section-head,
  .page-comparison .section-head,
  .page-digital-seal .section-head {
    margin-bottom: 28px;
  }

  .page-zk .callout .btn,
  .page-tee .callout .btn,
  .page-wallets .callout .btn,
  .page-grants .callout .btn,
  .page-usecase-hub .callout .btn,
  .page-usecase .callout .btn,
  .page-docs-hub .callout .btn,
  .page-glossary .callout .btn,
  .page-comparison .callout .btn,
  .page-digital-seal .callout .btn {
    min-width: 0;
  }

  .page-grants .grants-process-grid > .step-card:last-child {
    grid-column: auto;
  }

  .page-usecase.usecase-enterprise .enterprise-diagram-shell {
    padding: 20px;
  }

  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-sidebar {
    position: static;
  }

  .docs-code-grid,
  .docs-copy-grid,
  .docs-rollout-grid,
  .docs-install-grid,
  .docs-link-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 880px) {
  .page-zk .hero-grid,
  .page-tee .hero-grid,
  .page-wallets .hero-grid,
  .page-grants .hero-grid,
  .page-usecase-hub .hero-grid,
  .page-usecase .hero-grid,
  .page-docs-hub .hero-grid,
  .page-glossary .hero-grid,
  .page-comparison .hero-grid,
  .page-digital-seal .hero-grid {
    gap: 18px;
  }

  .page-zk .hero-title,
  .page-tee .hero-title,
  .page-wallets .hero-title,
  .page-grants .hero-title,
  .page-usecase-hub .hero-title,
  .page-usecase .hero-title,
  .page-docs-hub .hero-title,
  .page-glossary .hero-title,
  .page-comparison .hero-title,
  .page-digital-seal .hero-title {
    max-width: none;
  }

  .page-grants .grants-process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-usecase.usecase-enterprise .enterprise-diagram-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .docs-mini-grid,
  .seal-field-grid,
  .seal-side-grid,
  .comparison-fit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs-anchor-section {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .page-zk .section-head,
  .page-tee .section-head,
  .page-wallets .section-head,
  .page-grants .section-head,
  .page-usecase-hub .section-head,
  .page-usecase .section-head,
  .page-docs-hub .section-head,
  .page-glossary .section-head,
  .page-comparison .section-head,
  .page-digital-seal .section-head {
    margin-bottom: 24px;
  }

  .page-zk .section-title,
  .page-tee .section-title,
  .page-wallets .section-title,
  .page-grants .section-title,
  .page-usecase-hub .section-title,
  .page-usecase .section-title,
  .page-docs-hub .section-title,
  .page-glossary .section-title,
  .page-comparison .section-title,
  .page-digital-seal .section-title {
    font-size: clamp(1.58rem, 8vw, 2rem);
  }

  .page-zk .callout .btn,
  .page-tee .callout .btn,
  .page-wallets .callout .btn,
  .page-grants .callout .btn,
  .page-usecase-hub .callout .btn,
  .page-usecase .callout .btn,
  .page-docs-hub .callout .btn,
  .page-glossary .callout .btn,
  .page-comparison .callout .btn,
  .page-digital-seal .callout .btn {
    width: 100%;
  }

  .page-zk #systems table,
  .page-zk #hybrid table,
  .page-tee #platforms table,
  .page-tee #operations table,
  .page-wallets #matrix table {
    min-width: 620px;
  }

  .page-grants .grants-status-card {
    padding: 18px;
  }

  .docs-command {
    padding: 13px 14px;
    font-size: 0.82rem;
  }

  .docs-table-wrap table {
    min-width: 640px;
  }

  .page-grants .faq-card summary,
  .page-grants .faq-card p {
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-grants .faq-card summary::after {
    right: 18px;
  }

  .page-usecase .usecase-table-wrap table {
    min-width: 620px;
  }

  .page-usecase.usecase-enterprise .enterprise-diagram-shell {
    padding: 16px;
    gap: 12px;
  }

  .page-usecase.usecase-enterprise .enterprise-diagram-caption,
  .page-usecase.usecase-enterprise .enterprise-note p {
    font-size: 0.92rem;
  }

  .seal-verify-table-wrap table,
  .comparison-table-wrap table {
    min-width: 680px;
  }

  .glossary-letter-nav {
    gap: 8px;
  }

  .glossary-letter-nav a {
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
  }

  .glossary-letter {
    font-size: 1.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
