/* =========================================================
   CDNPASS — Visual Direction B
   "Deep Space" · security control plane, high-contrast technical
   ========================================================= */

:root {
  --bg: #050a11;
  --bg-2: #070f18;
  --bg-3: #0a1521;
  --panel: #08131f;
  --panel-2: #0b1a28;
  --text: #e7f0f7;
  --text-soft: #b7c7d5;
  --muted: #a3b5c6;
  --muted-2: #5d7286;
  --line: rgba(134, 162, 186, 0.16);
  --line-strong: rgba(134, 162, 186, 0.3);
  --orange: #f6a521;
  --orange-bright: #ffb63c;
  --orange-dim: rgba(246, 165, 33, 0.12);
  --cyan: #5ad7e8;
  --cyan-dim: rgba(90, 215, 232, 0.12);
  --green: #55d6a8;
  --red: #ff7a66;
  --container: 1240px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  color: #061018;
  background: var(--orange);
}

img,
svg {
  display: block;
}

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

:focus-visible {
  outline: 1px solid var(--orange);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 2px;
  color: #071018;
  background: var(--orange);
  font-size: 12px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(88px, 9vw, 126px) 0;
}

/* ---------- Type & layout primitives ---------- */

.b-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.b-label::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(246, 165, 33, 0.7);
}

.b-label .slash {
  color: rgba(246, 165, 33, 0.8);
}

.b-h2 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(38px, 4.25vw, 58px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.b-h2 .dim {
  color: #667c8f;
}

.b-lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.b-section-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.b-section-head .head-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 44px;
  align-items: end;
}

.b-section-head .b-lede {
  padding-bottom: 5px;
}

.b-section-head .b-label {
  padding-top: 8px;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease),
    box-shadow 0.25s ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-primary {
  color: #12100a;
  background: var(--orange);
  box-shadow: 0 0 30px -10px rgba(246, 165, 33, 0.4);
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 0 36px -8px rgba(246, 165, 33, 0.55);
}

.btn-ghost {
  color: var(--text-soft);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(246, 165, 33, 0.55);
  background: rgba(246, 165, 33, 0.04);
  transform: translateY(-2px);
}

.btn-pill {
  border-radius: 999px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(5, 10, 17, 0.52);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(5, 10, 17, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: 148px;
  height: auto;
}

.brand-wordmark {
  display: inline-block;
  color: #e7f1fa;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: 0.05em;
}

.console-caption {
  margin: 0;
  padding: 8px 14px;
  color: #a8bbcb;
  font-size: 14px;
}

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

.main-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94a8b9;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav > a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -26px;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav > a:hover {
  color: var(--text);
}

.main-nav > a:hover::before {
  transform: scaleX(1);
}


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

.header-actions .btn {
  min-height: 38px;
  padding-inline: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  padding: 8px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 10, 17, 0.98);
  backdrop-filter: blur(18px);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 18px;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 6vw, 82px) 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -7%;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 93, 129, 0.3), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  background-image:
    linear-gradient(rgba(112, 144, 170, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 144, 170, 0.075) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 5%, transparent 68%);
  mask-image: radial-gradient(ellipse at 60% 45%, #000 5%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(32px, 4.2vw, 64px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: #91a7b9;
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-tag .live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(85, 214, 168, 0.8);
  animation: live-pulse 2.4s ease infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  max-width: 630px;
  font-family: var(--font-display);
  font-size: clamp(54px, 5.35vw, 78px);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.06;
}

.hero h1 .line {
  display: block;
}

.hero h1 em {
  position: relative;
  color: var(--orange);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.hero-lede {
  max-width: 510px;
  margin-top: 26px;
  color: #8da2b4;
  font-size: 17px;
  line-height: 1.9;
}

.hero-lede strong {
  color: #d8e5ee;
  font-weight: 500;
}

.hero-lede .nowrap {
  white-space: nowrap;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.hero-meta span::before {
  content: "//";
  color: rgba(246, 165, 33, 0.8);
  font-size: 11px;
}

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

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(114, 150, 178, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(114, 150, 178, 0.035),
    0 0 0 118px rgba(114, 150, 178, 0.022);
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(246, 165, 33, 0.65);
  border-right: 1px solid rgba(246, 165, 33, 0.65);
}

.console {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(138, 168, 193, 0.25);
  background: #06111c;
  box-shadow:
    0 38px 80px -36px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.015) inset,
    0 0 80px -30px rgba(52, 125, 162, 0.28);
}

.console::before,
.console::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  pointer-events: none;
}

.console::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--orange);
  border-left: 1px solid var(--orange);
}

.console::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

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

.console-bar .dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a4054;
}

.console-bar .dots span:first-child {
  background: rgba(246, 165, 33, 0.7);
}

.console-bar .path {
  color: #597185;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.console-bar .rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.console-bar .rec::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  animation: live-pulse 1.8s ease infinite;
}

.console-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}

.console-head .avatar {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(246, 165, 33, 0.4);
  color: var(--orange);
  background: rgba(246, 165, 33, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
}

.console-head .session-id {
  display: block;
  color: #6c8397;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.console-head strong {
  display: block;
  margin-top: 1px;
  color: #d9e7f1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}

.console-head .status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 3px 6px;
  border: 1px solid rgba(85, 214, 168, 0.25);
  color: var(--green);
  background: rgba(85, 214, 168, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.console-head .status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

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

.console-side {
  padding: 11px 9px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.console-side .side-label {
  color: #50697d;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.console-side .side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding: 5px 6px;
  color: #61798e;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
}

.console-side .side-item.active {
  color: var(--orange);
  background: rgba(246, 165, 33, 0.07);
  box-shadow: inset 2px 0 0 var(--orange);
}

.console-side .side-item span:last-child {
  opacity: 0.5;
}

.console-term {
  min-width: 0;
  padding: 12px 14px 10px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px) 0 0 / 100% 22px,
    #06101a;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.85;
}

.console-term p {
  color: #a3b5c6;
  overflow-wrap: anywhere;
}

.console-term .t {
  color: #516c81;
}

.console-term .g {
  color: var(--green);
}

.console-term .o {
  color: var(--orange);
}

.console-term .c {
  color: var(--cyan);
}

.console-term .dim {
  color: #50697d;
}

.console-term .blocked {
  display: inline-block;
  padding: 0 3px;
  color: #ffb1a4;
  background: rgba(255, 122, 102, 0.12);
}

.term-cursor {
  display: inline-block;
  width: 5px;
  height: 9px;
  margin-left: 2px;
  background: var(--green);
  vertical-align: -1px;
  animation: blink 1.1s steps(1) infinite;
}

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

.console-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.012);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.console-foot .risk {
  margin-left: auto;
  color: var(--green);
}

.console-foot .risk::before {
  content: "RISK ";
  color: #526c80;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 11px;
  border: 1px solid rgba(130, 162, 188, 0.25);
  background: rgba(7, 18, 29, 0.92);
  box-shadow: 0 16px 36px -20px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.hero-chip::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 9px;
  height: 9px;
  border-top: 1px solid var(--orange);
  border-left: 1px solid var(--orange);
}

.hero-chip .chip-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.hero-chip .chip-label::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.hero-chip strong {
  display: block;
  margin-top: 3px;
  color: #dce9f2;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.chip-a {
  top: -24px;
  right: -18px;
}

.chip-b {
  left: -24px;
  bottom: 31px;
}

.chip-b .chip-label::before {
  background: var(--orange);
}

.chip-b strong {
  color: var(--orange);
}

.hero-specs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.spec-item {
  padding: 17px 22px 18px;
  border-right: 1px solid var(--line);
}

.spec-item:first-child {
  padding-left: 0;
}

.spec-item:last-child {
  border-right: 0;
}

.spec-item span {
  display: block;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-item strong {
  display: block;
  margin-top: 4px;
  color: #b6c8d7;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #070e17;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  color: #587186;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker-group span::after {
  content: "◆";
  color: rgba(246, 165, 33, 0.65);
  font-size: 11px;
}

.ticker-group span em {
  color: #9db0c1;
  font-style: normal;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Threat model ---------- */

.threat {
  background:
    radial-gradient(circle at 100% 0, rgba(32, 76, 108, 0.24), transparent 35%),
    var(--bg);
}

.threat .b-section-head {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.threat-rows {
  border-top: 1px solid var(--line);
}

.threat-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.05fr) minmax(0, 1.1fr) 110px;
  gap: 30px;
  align-items: center;
  padding: 29px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.threat-row:hover {
  background: rgba(246, 165, 33, 0.035);
}

.threat-index {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.threat-index small {
  display: block;
  margin-top: 3px;
  color: #4f697e;
  font-size: 11px;
}

.threat-row h3 {
  color: #dbe8f1;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.threat-row p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.threat-code {
  justify-self: end;
  padding: 4px 7px;
  border: 1px solid rgba(255, 122, 102, 0.18);
  color: #cf8d81;
  background: rgba(255, 122, 102, 0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ---------- Modules ---------- */

.modules {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 100%, rgba(29, 68, 96, 0.22), transparent 38%),
    var(--bg-2);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module {
  position: relative;
  min-height: 258px;
  padding: 24px 23px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.008);
  transition: background 0.3s ease;
}

.module::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 28px;
  height: 1px;
  background: transparent;
  transition: background 0.3s ease;
}

.module:hover {
  background: rgba(246, 165, 33, 0.025);
}

.module:hover::before {
  background: var(--orange);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.module-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: #88a1b6;
  background: rgba(255, 255, 255, 0.015);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.module:hover .module-icon {
  color: var(--orange);
  border-color: rgba(246, 165, 33, 0.35);
}

.module-icon .icon {
  width: 17px;
  height: 17px;
}

.module-no {
  color: #496276;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.module h3 {
  color: #d9e6ef;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.module .en {
  display: block;
  margin-top: 4px;
  color: #506a7f;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 17px;
}

.module-tags span {
  padding: 2px 5px;
  border: 1px solid var(--line);
  color: #698297;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

/* ---------- Control plane tabs ---------- */

.control {
  background: var(--bg);
}

.console-tabs {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.console-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 47px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  color: #6c8498;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.console-tab:hover {
  color: #b5c8d7;
  background: rgba(255, 255, 255, 0.02);
}

.console-tab[aria-selected="true"] {
  color: var(--orange);
  background: rgba(246, 165, 33, 0.055);
}

.console-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--orange);
}

.console-tab .tab-index {
  color: #435e72;
  font-size: 11px;
}

.console-tab[aria-selected="true"] .tab-index {
  color: rgba(246, 165, 33, 0.65);
}

.console-tabs .tabs-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 0 17px;
  color: #557086;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.console-tabs .tabs-status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(85, 214, 168, 0.7);
}

.console-frame {
  border: 1px solid var(--line);
  background: #06111c;
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 37px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.frame-bar .dots {
  display: flex;
  gap: 4px;
}

.frame-bar .dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a4054;
}

.frame-bar .frame-title {
  color: #627c91;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.frame-bar .frame-meta {
  margin-left: auto;
  color: #486579;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.frame-body {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: 460px;
}

.frame-side {
  padding: 17px 14px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.frame-side-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #547086;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.frame-side-label span:last-child {
  color: #3f5b6f;
}

.tree-group {
  margin-bottom: 13px;
}

.tree-group > span {
  display: block;
  margin-bottom: 4px;
  color: #5f7b90;
  font-family: var(--font-mono);
  font-size: 11px;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  color: #738da1;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
}

.tree-item::before {
  content: "›";
  color: #415c70;
}

.tree-item.active {
  color: var(--orange);
  background: rgba(246, 165, 33, 0.06);
  box-shadow: inset 2px 0 0 var(--orange);
}

.tree-item.active::before {
  color: var(--orange);
}

.frame-side-foot {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.9;
}

.frame-main {
  min-width: 0;
  padding: 17px 19px 15px;
}

.frame-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.frame-main-head h3 {
  color: #d5e4ee;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.frame-main-head p {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}



.b-panel[hidden] {
  display: none;
}

.asset-rows {
  border-top: 1px solid var(--line);
}

.asset-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.7fr 0.9fr 0.6fr;
  gap: 12px;
  align-items: center;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  color: #718ca1;
  font-family: var(--font-mono);
  font-size: 12px;
}

.asset-row.head {
  padding-block: 6px;
  border-bottom-color: var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.asset-name {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c0d2df;
  font-size: 12px;
}

.asset-row > span,
.live-term,
.audit-search code {
  min-width: 0;
  overflow-wrap: anywhere;
}

.asset-name i {
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  box-shadow: 0 0 7px rgba(90, 215, 232, 0.5);
}

.asset-name i.db {
  background: var(--orange);
  box-shadow: 0 0 7px rgba(246, 165, 33, 0.5);
}

.asset-name i.k8s {
  background: #7b9cff;
  box-shadow: 0 0 7px rgba(123, 156, 255, 0.5);
}

.asset-state {
  color: var(--green);
  font-size: 11px;
}

.asset-state.hold {
  color: var(--orange);
}

.frame-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* live session panel */
.live-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 12px;
}

.live-list {
  border: 1px solid var(--line);
}

.live-item {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
}

.live-item:last-child {
  border-bottom: 0;
}

.live-item.active {
  background: rgba(246, 165, 33, 0.035);
  box-shadow: inset 2px 0 0 var(--orange);
}

.live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.live-top strong {
  color: #b9cddb;
  font-size: 13px;
  font-weight: 500;
}

.live-item p {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

.live-item p span {
  color: var(--orange);
}

.live-term {
  border: 1px solid var(--line);
  background: #050e17;
}

.live-term .live-term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.live-term .live-term-bar .rec {
  margin-left: auto;
  color: var(--orange);
}

.live-term .live-term-body {
  padding: 10px;
  color: #87a2b6;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
}

.live-term .g {
  color: var(--green);
}

.live-term .o {
  color: var(--orange);
}

.live-term .dim {
  color: #4f697e;
}

.live-alert {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(246, 165, 33, 0.22);
  color: #c99c52;
  background: rgba(246, 165, 33, 0.045);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
}

/* audit panel */
.audit-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  padding: 9px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
}

.audit-search .icon {
  width: 12px;
  height: 12px;
  color: var(--orange);
}

.audit-search code {
  color: #b6cdda;
  font-family: var(--font-mono);
  font-size: 12px;
}

.audit-search kbd {
  margin-left: auto;
  padding: 2px 5px;
  border: 1px solid var(--line);
  color: #587285;
  font-family: var(--font-mono);
  font-size: 11px;
}

.audit-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 62px;
  gap: 10px;
  align-items: center;
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
}

.audit-row .time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.audit-row code {
  display: block;
  color: #a7bdcb;
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.audit-row small {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.audit-tag {
  justify-self: end;
  padding: 2px 5px;
  border: 1px solid rgba(255, 122, 102, 0.22);
  color: #d5998f;
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.audit-tag.ok {
  border-color: rgba(85, 214, 168, 0.2);
  color: var(--green);
}

.audit-playback {
  margin-top: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line);
}

.audit-playback-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 25px;
  margin-top: 7px;
}

.waveform i {
  display: block;
  width: 2px;
  height: 28%;
  background: #294255;
}

.waveform i:nth-child(3n) {
  height: 66%;
  background: #3f637b;
}

.waveform i:nth-child(5n) {
  height: 94%;
  background: var(--orange);
}

.audit-progress {
  position: relative;
  height: 1px;
  margin-top: 5px;
  background: #233e51;
}

.audit-progress span {
  display: block;
  width: 44%;
  height: 100%;
  background: var(--orange);
}

.audit-progress span::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 44%;
  width: 5px;
  height: 5px;
  background: var(--orange);
}

/* ---------- Trust chain (amber band) ---------- */

.chain {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(68px, 7.5vw, 96px) 0;
  color: #081018;
  background: #f0a51f;
}

.chain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 13, 21, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 13, 21, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 74%);
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 74%);
  pointer-events: none;
}

.chain::after {
  content: "4A";
  position: absolute;
  right: -10px;
  bottom: -108px;
  color: rgba(6, 15, 23, 0.08);
  font-family: var(--font-display);
  font-size: 360px;
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
  pointer-events: none;
}

.chain-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 45px;
}

.chain .b-label {
  color: rgba(5, 14, 22, 0.56);
  margin-bottom: 17px;
}

.chain .b-label::before {
  background: #081018;
  box-shadow: none;
}

.chain .b-label .slash {
  color: rgba(5, 14, 22, 0.6);
}

.chain h2 {
  max-width: 720px;
  color: #081018;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.chain-head p {
  color: rgba(6, 16, 24, 0.62);
  font-size: 16px;
  line-height: 1.85;
}

.chain-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(6, 16, 24, 0.28);
}

.chain-step {
  position: relative;
  padding: 25px 25px 0 0;
  border-right: 1px solid rgba(6, 16, 24, 0.2);
}

.chain-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.chain-step:not(:first-child) {
  padding-left: 25px;
}

.chain-step .step-no {
  display: block;
  color: rgba(6, 16, 24, 0.28);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.chain-step .step-en {
  display: block;
  margin-top: 18px;
  color: rgba(6, 16, 24, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chain-step h3 {
  margin-top: 5px;
  color: #081018;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chain-step p {
  max-width: 220px;
  margin-top: 8px;
  color: rgba(6, 16, 24, 0.6);
  font-size: 15px;
  line-height: 1.8;
}

.chain-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(6, 16, 24, 0.28);
}

.chain-foot span {
  color: rgba(6, 16, 24, 0.52);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chain-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #081018;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chain-foot a .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.chain-foot a:hover .icon {
  transform: translateX(3px);
}

/* ---------- Profiles ---------- */

.profiles {
  background:
    radial-gradient(circle at 0 30%, rgba(28, 66, 93, 0.2), transparent 32%),
    var(--bg);
}

.profile-list {
  border-top: 1px solid var(--line);
}

.profile {
  display: grid;
  grid-template-columns: 78px minmax(200px, 0.9fr) minmax(0, 1.3fr) 168px;
  gap: 32px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background 0.3s ease,
    padding 0.3s var(--ease);
}

.profile:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: rgba(90, 215, 232, 0.025);
}

.profile-index {
  color: #506b7f;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.profile h3 {
  color: #d5e3ed;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.profile .en {
  display: block;
  margin-top: 3px;
  color: #4f6a7e;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 9px;
}

.profile-tags span {
  padding: 2px 5px;
  border: 1px solid var(--line);
  color: #607b90;
  font-family: var(--font-mono);
  font-size: 11px;
}

.profile-mark {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #637f94;
}

.profile-mark .icon {
  width: 30px;
  height: 30px;
  stroke-width: 0.9;
}

.profile-mark .arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  color: #7b94a7;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.profile-mark .arrow .icon {
  width: 13px;
  height: 13px;
}

.profile:hover .profile-mark .arrow {
  border-color: var(--orange);
  color: var(--orange);
}

.deploy-strip {
  display: flex;
  flex-wrap: wrap;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deploy-item {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 20%;
  min-height: 58px;
  padding: 0 17px;
  border-right: 1px solid var(--line);
  color: #7d96aa;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.deploy-item:last-child {
  border-right: 0;
}

.deploy-item .icon {
  width: 15px;
  height: 15px;
  color: #9b773b;
}

.deploy-item strong {
  display: block;
  color: #a9bdcb;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.deploy-item span {
  display: block;
  margin-top: 1px;
  color: #4e687c;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 118px;
}

.faq-intro .b-h2 {
  margin-top: 20px;
  font-size: clamp(36px, 3.75vw, 50px);
}

.faq-intro .b-lede {
  max-width: 350px;
  margin-top: 16px;
}



.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  color: #c7d7e3;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}

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

.faq-q {
  color: #48657a;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  flex: none;
}

.faq-plus {
  position: relative;
  width: 14px;
  height: 14px;
  margin-left: auto;
  flex: none;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 6.5px;
  left: 0;
  width: 14px;
  height: 1px;
  background: #617d91;
  transition:
    transform 0.3s var(--ease),
    background 0.3s ease;
}

.faq-plus::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(0);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after {
  background: var(--orange);
}

.faq-answer {
  padding: 0 36px 22px 35px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.faq-answer a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 58px 0 24px;
  border-top: 1px solid var(--line);
  background: #04090f;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto;
  gap: 44px;
  padding-bottom: 42px;
}

.footer-brand .brand-wordmark {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 280px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}




.footer-col h4 {
  margin-bottom: 13px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: #8299ab;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #506b7f;
  font-size: 11px;
}

.footer-bottom .legal {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom .status::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(85, 214, 168, 0.8);
}

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

@media (max-width: 1120px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav > a {
    font-size: 14px;
  }

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

  .hero-grid {
    gap: 32px;
  }

  .console-body {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .console-side {
    padding-inline: 7px;
  }

  .hero h1 {
    font-size: clamp(50px, 5vw, 70px);
  }

  .chip-a {
    right: -8px;
  }

  .chip-b {
    left: -10px;
  }

  .b-section-head {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }
}

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

  .main-nav,
  .header-actions .btn {
    display: none;
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 52px;
  }

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

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

  .hero h1 {
    font-size: clamp(52px, 8vw, 72px);
  }

  .hero-visual {
    width: min(660px, 100%);
  }

  .hero-specs {
    margin-top: 50px;
  }

  .b-section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 18px;
  }

  .b-section-head .head-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .b-section-head .b-label {
    padding-top: 0;
  }

  .b-section-head .b-lede {
    max-width: 540px;
    padding-bottom: 0;
  }

  .threat-row {
    grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .threat-code {
    grid-column: 2 / -1;
    justify-self: start;
  }

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

  .profile {
    grid-template-columns: 55px minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
  }

  .profile-mark {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

  .chain-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .chain-head p {
    max-width: 520px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro .b-lede {
    max-width: 520px;
  }





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

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



}

@media (max-width: 760px) {
  .frame-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .frame-side {
    display: none;
  }

  .console-tab {
    padding: 0 12px;
    font-size: 14px;
  }

  .console-tabs .tabs-status {
    display: none;
  }

  .console-tabs .console-tab {
    flex: 1;
    justify-content: center;
  }

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

  .chain-step,
  .chain-step:not(:first-child) {
    padding: 22px 18px 22px 0;
    border-top: 1px solid rgba(6, 16, 24, 0.28);
    border-right: 0;
  }

  .chain-step:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid rgba(6, 16, 24, 0.2);
  }

  .chain-step:nth-child(odd) {
    border-right: 1px solid rgba(6, 16, 24, 0.2);
  }

  .chain-step:nth-child(n + 3) {
    border-top: 1px solid rgba(6, 16, 24, 0.28);
  }

  .chain-step p {
    max-width: none;
  }

  .chain-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

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

  .spec-item {
    padding-inline: 16px;
    border-bottom: 1px solid var(--line);
  }

  .spec-item:nth-child(2n) {
    border-right: 0;
  }

  .spec-item:nth-child(2n + 1) {
    padding-left: 0;
  }

  .spec-item:nth-child(n + 3) {
    border-bottom: 0;
  }

  .threat-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px 16px;
    padding: 22px 0;
  }

  .threat-row h3 {
    font-size: 17px;
  }

  .threat-row p {
    grid-column: 2;
  }

  .threat-code {
    grid-column: 2;
    margin-top: 3px;
  }

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

  .module {
    min-height: 0;
  }

  .module-top {
    margin-bottom: 25px;
  }

  .profile {
    grid-template-columns: 38px 1fr;
    gap: 9px 16px;
    padding: 22px 0;
  }

  .profile > div:nth-child(3) {
    grid-column: 2;
  }

  .profile p,
  .profile-tags,
  .profile-mark {
    grid-column: 2;
  }

  .profile-mark {
    justify-content: flex-start;
    margin-top: 3px;
  }

  .deploy-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .deploy-item {
    border-bottom: 1px solid var(--line);
  }

  .deploy-item:nth-child(2n) {
    border-right: 0;
  }

  .deploy-item:nth-child(n + 3) {
    border-bottom: 0;
  }
}

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

  .header-inner {
    height: 68px;
  }

  .mobile-nav {
    top: 68px;
  }

  .hero {
    padding-top: 42px;
  }

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

  .hero h1 {
    font-size: clamp(43px, 12vw, 54px);
    letter-spacing: -0.06em;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 17px;
  }

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

  .hero-meta {
    gap: 6px;
  }

  .hero-meta span {
    font-size: 11px;
  }

  .hero-grid {
    gap: 40px;
  }

  .console-head .status {
    display: none;
  }

  .console-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .console-side {
    display: none;
  }

  .console-term {
    font-size: 11px;
    min-height: 235px;
  }

  .console-bar .path {
    font-size: 11px;
  }

  .chip-a,
  .chip-b {
    display: none;
  }

  .hero-specs {
    margin-top: 40px;
  }

  .spec-item {
    padding: 13px 10px 13px 0;
  }

  .spec-item strong {
    font-size: 12px;
  }

  .spec-item span {
    font-size: 11px;
  }

  .ticker {
    padding: 9px 0;
  }

  .ticker-group span {
    font-size: 11px;
  }

  .section {
    padding: 74px 0;
  }

  .b-h2 {
    font-size: 34px;
  }

  .b-section-head {
    margin-bottom: 34px;
  }

  .threat-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .threat-index {
    font-size: 11px;
  }

  .threat-row p {
    font-size: 16px;
  }

  .module {
    padding: 21px 19px;
  }

  .console-tab {
    padding: 0 6px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .console-tab .tab-index {
    display: none;
  }

  .console-tab .tab-label {
    font-size: 14px;
  }

  .frame-bar .frame-meta {
    display: none;
  }

  .frame-main {
    padding: 12px 11px;
  }

  .frame-main-head {
    flex-direction: column;
    gap: 8px;
  }


  .asset-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr) minmax(0, 0.9fr);
    gap: 7px;
  }

  .asset-row.head span:nth-child(4),
  .asset-row span:nth-child(4) {
    display: none;
  }

  .asset-row.extra {
    display: none;
  }

  .audit-row {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    gap: 6px;
  }

  .live-term .live-term-body {
    font-size: 12px;
  }

  .chain {
    padding: 62px 0;
  }

  .chain h2 {
    font-size: 33px;
  }

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

  .chain-step,
  .chain-step:not(:first-child),
  .chain-step:nth-child(even),
  .chain-step:nth-child(odd) {
    padding: 19px 0;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(6, 16, 24, 0.22);
  }

  .chain-step .step-no {
    display: inline-block;
    font-size: 28px;
    vertical-align: middle;
  }

  .chain-step .step-en {
    display: inline-block;
    margin: 0 0 0 10px;
  }

  .chain-step h3 {
    margin-top: 7px;
  }

  .chain-step p {
    margin-top: 6px;
  }

  .faq-item summary {
    gap: 11px;
    padding: 19px 0;
    font-size: 17px;
  }

  .faq-answer {
    padding: 0 0 20px 24px;
    font-size: 16px;
  }





  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
  }

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    line-height: 1.7;
  }

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

  .dialog-head,
  .demo-form {
    padding-left: 21px;
    padding-right: 21px;
  }

  .dialog-head h2 {
    font-size: 21px;
  }






}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
