:root {
  --ink: #f7fafc;
  --ink-2: #d9e4ef;
  --muted: #93a3b6;
  --line: rgba(226, 232, 240, 0.12);
  --line-strong: rgba(226, 232, 240, 0.2);
  --surface: #070a0f;
  --surface-2: #101720;
  --surface-3: #0c1119;
  --panel: rgba(13, 19, 29, 0.82);
  --teal: #2dd4bf;
  --blue: #78b7ff;
  --amber: #f6c453;
  --green: #42d392;
  --red: #fb7185;
  --violet: #a78bfa;
  --radius: 8px;
  --content: 1200px;
  --header-bg: rgba(7, 10, 15, 0.72);
  --header-bg-scrolled: rgba(7, 10, 15, 0.9);
  --button-primary-bg: #f8fafc;
  --button-primary-fg: #080a0f;
  --button-secondary-bg: rgba(255, 255, 255, 0.055);
  --button-secondary-border: rgba(226, 232, 240, 0.16);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] {
  --ink: #101722;
  --ink-2: #243244;
  --muted: #637083;
  --line: rgba(16, 23, 34, 0.12);
  --line-strong: rgba(16, 23, 34, 0.18);
  --surface: #eef3f8;
  --surface-2: #ffffff;
  --surface-3: #f7fafc;
  --panel: rgba(255, 255, 255, 0.88);
  --header-bg: rgba(238, 243, 248, 0.78);
  --header-bg-scrolled: rgba(255, 255, 255, 0.94);
  --button-primary-bg: #101722;
  --button-primary-fg: #ffffff;
  --button-secondary-bg: rgba(255, 255, 255, 0.68);
  --button-secondary-border: rgba(16, 23, 34, 0.14);
  --shadow: 0 24px 60px rgba(16, 23, 34, 0.16);
  --shadow-soft: 0 16px 40px rgba(16, 23, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 212, 191, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(120, 183, 255, 0.07), transparent 30rem),
    var(--surface);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.telegram-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: currentColor;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px max(clamp(20px, 5vw, 64px), calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
  background: var(--header-bg-scrolled);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  min-width: 170px;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.08);
  box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.035);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  justify-self: center;
  gap: clamp(14px, 1.8vw, 26px);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  opacity: 0.72;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  opacity: 1;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  content: "";
}

.nav-links a:hover::after {
  opacity: 0.85;
  transform: scaleX(1);
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-control,
.header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button-secondary-border);
  border-radius: 12px;
  background: var(--button-secondary-bg);
  color: var(--ink);
  cursor: pointer;
}

.icon-control {
  gap: 8px;
  padding: 0 14px;
}

.header-action {
  gap: 7px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
}

.icon-control:hover,
.header-action:hover,
.button-secondary:hover {
  border-color: rgba(45, 212, 191, 0.52);
  background: rgba(45, 212, 191, 0.08);
}

.control-icon {
  width: 16px;
  height: 16px;
}

.control-label {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.theme-icon-dark,
.header-action-short {
  display: none;
}

html[data-theme="light"] .theme-icon-light {
  display: none;
}

html[data-theme="light"] .theme-icon-dark {
  display: inline-flex;
}

.header-action-full {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 540px);
  gap: clamp(38px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
  padding: 128px max(clamp(20px, 5vw, 64px), calc((100vw - var(--content)) / 2)) 70px;
  color: #ffffff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-position: center;
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 78%, transparent 100%);
  opacity: 0.34;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0%, rgba(45, 212, 191, 0.07) 42%, transparent 74%),
    linear-gradient(180deg, rgba(246, 196, 83, 0.07) 0%, transparent 32%);
  mix-blend-mode: screen;
  opacity: 0.64;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.9) contrast(1.04);
  opacity: 0.68;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 7, 12, 0.98) 0%, rgba(5, 9, 15, 0.9) 36%, rgba(5, 9, 15, 0.46) 68%, rgba(4, 7, 12, 0.86) 100%),
    linear-gradient(0deg, rgba(4, 7, 12, 0.98) 0%, rgba(4, 7, 12, 0.22) 52%, rgba(4, 7, 12, 0.86) 100%);
}

html[data-theme="light"] .hero {
  color: #101722;
}

html[data-theme="light"] .hero-media img {
  opacity: 0.44;
}

html[data-theme="light"] .hero-shade {
  background:
    linear-gradient(90deg, rgba(238, 243, 248, 0.96) 0%, rgba(238, 243, 248, 0.84) 40%, rgba(238, 243, 248, 0.28) 70%, rgba(238, 243, 248, 0.76) 100%),
    linear-gradient(0deg, rgba(238, 243, 248, 0.96) 0%, rgba(238, 243, 248, 0.16) 52%, rgba(238, 243, 248, 0.66) 100%);
}

.hero-content,
.hero-console {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-content {
  max-width: 740px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.18);
  animation: pulse-dot 2s infinite;
}

.status-dot::before {
  position: absolute;
  inset: -6px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  content: "";
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: currentColor;
  font-size: clamp(52px, 5.55vw, 78px);
  font-weight: 820;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 span {
  display: block;
  max-width: 100%;
  white-space: normal;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.28vw, 18px);
  line-height: 1.78;
}

html[data-theme="light"] .hero-lede {
  color: rgba(16, 23, 34, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 780;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.button-primary {
  background: var(--button-primary-bg);
  color: var(--button-primary-fg);
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--button-secondary-border);
  background: var(--button-secondary-bg);
  color: currentColor;
}

.trust-strip {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(8, 11, 16, 0.34)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

html[data-theme="light"] .trust-strip {
  border-color: rgba(16, 23, 34, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.trust-strip div {
  min-width: 0;
  position: relative;
  padding: 17px 16px 18px;
}

.trust-strip div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip div::before {
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.trust-strip div:nth-child(2)::before {
  background: #60a5fa;
}

.trust-strip div:nth-child(3)::before {
  background: var(--amber);
}

.trust-strip div:nth-child(4)::before {
  background: #a78bfa;
}

html[data-theme="light"] .trust-strip div + div {
  border-left-color: rgba(16, 23, 34, 0.1);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: currentColor;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.1;
}

.trust-strip span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  overflow-wrap: anywhere;
}

html[data-theme="light"] .trust-strip span {
  color: rgba(16, 23, 34, 0.66);
}

.hero-console {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(9, 14, 24, 0.76)),
    var(--panel);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.console-top strong {
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.status-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.status-meter div {
  min-width: 0;
  padding: 22px 22px 24px;
}

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

.status-meter span,
.status-meter small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-meter strong {
  display: block;
  margin: 7px 0 4px;
  color: var(--ink);
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.1;
}

.verification-rail {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.08), rgba(120, 183, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.012);
}

.verification-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(226, 232, 240, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
}

html[data-theme="light"] .verification-step {
  border-color: rgba(16, 23, 34, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.verification-step span {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.verification-step.is-active span {
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.12);
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.08);
}

.verification-step strong,
.verification-step small {
  display: block;
}

.verification-step strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.verification-step small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.route-stack {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.route-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

html[data-theme="light"] .route-item {
  background: rgba(16, 23, 34, 0.03);
}

.route-item.is-active {
  border-color: rgba(45, 212, 191, 0.5);
  background:
    linear-gradient(90deg, rgba(45, 212, 191, 0.12), rgba(45, 212, 191, 0.045)),
    rgba(255, 255, 255, 0.035);
}

.route-item:hover {
  border-color: rgba(226, 232, 240, 0.2);
  transform: translateY(-1px);
}

.route-light {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(45, 212, 191, 0.8);
}

.route-light.amber {
  background: var(--amber);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.7);
}

.route-light.blue {
  background: var(--blue);
  box-shadow: 0 0 18px rgba(96, 165, 250, 0.72);
}

.route-item strong,
.route-item small {
  display: block;
  min-width: 0;
}

.route-item strong {
  color: var(--ink);
  font-size: 16px;
}

.route-item small {
  color: var(--muted);
  font-size: 13px;
}

.route-item b {
  position: relative;
  color: var(--muted);
  font-size: 12px;
}

.route-item.is-active b::after {
  position: absolute;
  right: -8px;
  content: "|";
  animation: blink 1s step-start infinite;
}

.section {
  position: relative;
  padding: clamp(86px, 10vw, 132px) max(clamp(20px, 5vw, 64px), calc((100vw - var(--content)) / 2));
}

.section-tight {
  padding-top: clamp(60px, 8vw, 92px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.principle-copy h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.section-heading p,
.principle-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

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

.signal-card,
.feature-row,
.category-card,
.merchant-panel,
.principle-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 46%),
    var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.signal-card::after,
.feature-row::after,
.category-card::after,
.merchant-panel::after,
.quality-grid article::after,
.assurance-grid article::after,
.principle-grid article::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%);
  opacity: 0;
  transition: opacity 0.2s ease;
  content: "";
}

.signal-card:hover::after,
.feature-row:hover::after,
.category-card:hover::after,
.merchant-panel:hover::after,
.quality-grid article:hover::after,
.assurance-grid article:hover::after,
.principle-grid article:hover::after {
  opacity: 1;
}

.signal-card,
.category-card,
.principle-grid article {
  padding: 26px;
}

.signal-index,
.category-card span,
.merchant-label {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card h3,
.category-card h3,
.feature-row h3,
.principle-grid h3 {
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 780;
  line-height: 1.2;
}

.signal-card p,
.category-card p,
.feature-row p,
.principle-grid p,
.roadmap-item p,
.merchant-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.product-band,
.flow-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 34%),
    var(--surface-3);
}

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

.category-card {
  min-height: 360px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card.is-featured {
  border-color: rgba(45, 212, 191, 0.42);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.12), transparent 42%),
    var(--surface-2);
  box-shadow: 0 24px 70px rgba(45, 212, 191, 0.1);
}

.category-card:hover,
.signal-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.category-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.category-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.category-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.relay-section,
.ledger-section,
.boundary-section {
  border-top: 1px solid var(--line);
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 420px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: 28px;
}

.merchant-panel {
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(120, 183, 255, 0.08), transparent 38%),
    var(--surface-2);
}

.merchant-panel strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
}

.merchant-panel p {
  margin-bottom: 22px;
}

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

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  min-height: 176px;
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-row:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.feature-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.13), rgba(45, 212, 191, 0.04)),
    var(--surface-3);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.quality-block {
  display: grid;
  gap: 24px;
  margin-top: 30px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(45, 212, 191, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(120, 183, 255, 0.06), transparent 28%),
    var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.quality-block .section-heading {
  margin-bottom: 0;
}

.quality-block .section-heading h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.1;
}

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

.quality-grid article,
.report-stack article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

html[data-theme="light"] .quality-grid article,
html[data-theme="light"] .report-stack article {
  background: rgba(16, 23, 34, 0.03);
}

.quality-grid article {
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.quality-grid article:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.quality-grid strong,
.report-stack strong,
.report-stack span {
  display: block;
}

.quality-grid strong {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.quality-grid p,
.report-stack p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.report-stack article {
  display: grid;
  grid-template-columns: minmax(100px, 0.32fr) minmax(220px, 0.82fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
}

.report-stack span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-stack strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.assurance-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.assurance-card,
.assurance-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 44%),
    var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.assurance-card {
  display: flex;
  min-height: 378px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  background:
    linear-gradient(160deg, rgba(45, 212, 191, 0.16), transparent 44%),
    linear-gradient(20deg, rgba(246, 196, 83, 0.08), transparent 36%),
    var(--surface-2);
}

.assurance-card span,
.assurance-grid span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assurance-card h3 {
  margin: 16px 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.06;
}

.assurance-card p,
.assurance-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.assurance-grid article {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.assurance-grid article:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.assurance-grid strong {
  display: block;
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

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

.roadmap-item {
  position: relative;
  padding: 28px 24px 4px 0;
  border-top: 2px solid var(--line);
}

.roadmap-item::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  content: "";
}

.roadmap-item.is-current {
  border-color: var(--teal);
}

.roadmap-item.is-current::before {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.2);
}

.roadmap-item span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.roadmap-item h3 {
  margin: 12px 0 9px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.education-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(120, 183, 255, 0.06), transparent 38%),
    var(--surface-3);
}

.education-copy h2 {
  max-width: 780px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.education-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

.education-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.education-points span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink-2);
  font-size: 14px;
}

.education-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(246, 196, 83, 0.1), transparent 42%),
    var(--surface-2);
  box-shadow: var(--shadow-soft);
}

.education-panel span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.education-panel strong {
  display: block;
  margin: 16px 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 0.98;
}

.education-panel p {
  color: var(--muted);
}

.boundary-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.principle-copy {
  max-width: 520px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 64px max(clamp(20px, 5vw, 64px), calc((100vw - var(--content)) / 2)) 44px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018)),
    var(--surface);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.footer-links {
  justify-items: end;
}

.site-footer strong,
.site-footer a {
  color: var(--ink);
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  will-change: opacity, transform;
}

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

@media (max-width: 1120px) {
  .nav-links {
    gap: 12px;
    font-size: 12px;
  }

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

@media (max-width: 1040px) {
  .resource-layout,
  .education-section,
  .boundary-section {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .platform-layout,
  .quality-grid,
  .roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .assurance-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-width: 1040px) {
  .hero {
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 24px;
    padding: 104px 28px 42px;
  }

  .hero-content {
    max-width: none;
  }

  h1 {
    font-size: clamp(42px, 6vw, 58px);
    line-height: 1.02;
  }

  .hero-lede {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-actions {
    margin-bottom: 20px;
  }

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

  .trust-strip strong,
  .trust-strip span {
    word-break: break-all;
  }

  .trust-strip div {
    padding: 12px;
  }

  .trust-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-strip div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-console {
    align-self: center;
  }

  .console-top {
    padding: 14px 16px;
  }

  .status-meter div {
    padding: 13px 12px;
  }

  .verification-rail,
  .route-stack {
    gap: 8px;
    padding: 12px;
  }

  .verification-step {
    grid-template-columns: 30px 1fr;
    padding: 8px 10px;
  }

  .verification-step span {
    width: 26px;
    height: 26px;
  }

  .route-item {
    padding: 10px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .header-action {
    display: none;
  }

  .header-controls {
    display: none;
  }

  .icon-control {
    width: 38px;
    min-height: 38px;
    padding: 0;
  }

  #theme-toggle .control-label {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 116px 18px 42px;
  }

  .hero-content,
  .hero-console {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 8, 13, 0.97) 0%, rgba(5, 8, 13, 0.86) 58%, rgba(5, 8, 13, 0.56) 100%),
      linear-gradient(0deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.42) 48%, rgba(5, 8, 13, 0.84) 100%);
  }

  html[data-theme="light"] .hero-shade {
    background:
      linear-gradient(90deg, rgba(238, 243, 248, 0.96) 0%, rgba(238, 243, 248, 0.84) 58%, rgba(238, 243, 248, 0.58) 100%),
      linear-gradient(0deg, rgba(238, 243, 248, 0.98) 0%, rgba(238, 243, 248, 0.44) 48%, rgba(238, 243, 248, 0.84) 100%);
  }

  h1 {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    font-size: clamp(28px, 7vw, 32px);
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  h1 span {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-lede {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero-lede span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

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

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

  .education-points {
    flex-direction: column;
  }

  .education-points span {
    width: 100%;
  }

  .status-meter,
  .signal-grid,
  .category-grid,
  .platform-layout,
  .quality-grid,
  .assurance-grid,
  .roadmap,
  .principle-grid {
    grid-template-columns: 1fr;
  }

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

  .quality-block {
    padding: 22px;
  }

  .status-meter div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-strip div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-strip div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .trust-strip div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .console-top {
    flex-direction: column;
    gap: 4px;
  }

  .section {
    padding: 64px 18px;
  }

  .feature-row {
    min-height: 0;
  }

  .route-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .route-item b {
    grid-column: 2;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-items: start;
  }
}

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

@keyframes pulse-ring {
  0% {
    opacity: 0.5;
    transform: scale(0.8);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
