:root {
  --ink: #f4f7f5;
  --paper: #050706;
  --muted: #a6b0aa;
  --line: #24302a;
  --green: #62f08d;
  --green-soft: #9df7b7;
  --panel: #0d1110;
  --panel-2: #121816;
  --white: #ffffff;
  --scroll-ratio: 0;
  --hero-x: 0;
  --hero-y: 0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: dark;
  font-family: "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at calc(70% + var(--hero-x) * 1px) calc(18% + var(--hero-y) * 1px), rgba(98, 240, 141, 0.15), transparent 30%),
    linear-gradient(180deg, #020403 0%, #080c0a 42%, #050706 100%);
}

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

button {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(98, 240, 141, 0.18);
  background: rgba(5, 7, 6, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(98, 240, 141, 0.35));
}

.brand-name {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-name span {
  letter-spacing: 0.08em;
}

.brand-name small {
  color: var(--green-soft);
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.08em;
}

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

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(98, 240, 141, 0.12);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 68px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.72), rgba(5, 7, 6, 0.34)),
    url("/assets/darktopology-hero.png") center / cover no-repeat;
  transform: translate3d(calc(var(--hero-x) * -0.8px), calc((var(--scroll-ratio) * -70px) + var(--hero-y) * -0.55px), 0) scale(1.06);
  transition: transform 120ms linear;
}

.hero-glass {
  position: absolute;
  inset: 12% 4% auto auto;
  width: min(38vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(98, 240, 141, 0.16);
  background: linear-gradient(135deg, rgba(244, 247, 245, 0.08), rgba(98, 240, 141, 0.03));
  transform: translateY(calc(var(--scroll-ratio) * 90px)) rotate(8deg);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
  gap: 56px;
  align-items: center;
  padding: 68px 0;
}

.hero-content {
  position: relative;
}

.eyebrow,
.kicker,
.label {
  display: block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title-en {
  display: block;
  margin-top: 10px;
  color: rgba(244, 247, 245, 0.64);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: none;
}

h2 {
  font-size: 2rem;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 660px;
  margin-top: 20px;
  color: rgba(244, 247, 245, 0.86);
  font-size: 1.08rem;
}

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

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 720;
}

.button.primary {
  background: var(--green);
  color: #07110b;
}

.button.secondary {
  color: var(--ink);
  border: 1px solid rgba(220, 226, 223, 0.28);
  background: rgba(220, 226, 223, 0.08);
}

.button.ghost {
  color: var(--muted);
  border: 1px solid rgba(220, 226, 223, 0.2);
  background: transparent;
}

.brand-orb-stage {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  transform: perspective(900px) rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * -1deg));
  transition: transform 160ms ease;
}

.brand-orb {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(98, 240, 141, 0.26);
  background:
    radial-gradient(circle at 38% 30%, rgba(244, 247, 245, 0.14), transparent 23%),
    radial-gradient(circle at 62% 58%, rgba(98, 240, 141, 0.18), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(5, 7, 6, 0.12), rgba(5, 7, 6, 0.78) 68%),
    #050706;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 70px rgba(98, 240, 141, 0.08),
    0 0 46px rgba(98, 240, 141, 0.14);
  overflow: hidden;
}

.brand-orb::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    linear-gradient(rgba(98, 240, 141, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 240, 141, 0.09) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.42;
  transform: rotate(18deg);
}

.brand-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 28%, rgba(0, 0, 0, 0.24) 70%);
  pointer-events: none;
}

.brand-orb-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.brand-orb.is-webgl-ready::before {
  opacity: 0.18;
}

.brand-orb.is-webgl-ready .orb-ring,
.brand-orb.is-webgl-ready .orb-line,
.brand-orb.is-webgl-ready .orb-dot {
  opacity: 0;
}

.orb-ring,
.orb-line,
.orb-dot,
.orb-token,
.orb-core {
  position: absolute;
  z-index: 1;
}

.orb-ring {
  inset: 13%;
  border: 1px solid rgba(98, 240, 141, 0.48);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(98, 240, 141, 0.16);
}

.ring-a {
  animation: ring-a 10s linear infinite;
}

.ring-b {
  animation: ring-b 13s linear infinite;
}

.ring-c {
  inset: 23%;
  animation: ring-c 8s linear infinite;
}

.orb-line {
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(98, 240, 141, 0.78), transparent);
  transform-origin: center;
}

.line-one {
  top: 42%;
  animation: line-drift 4.8s ease-in-out infinite;
}

.line-two {
  top: 61%;
  animation: line-drift 5.6s ease-in-out infinite reverse;
  opacity: 0.58;
}

.orb-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(98, 240, 141, 0.72);
}

.dot-a {
  left: 20%;
  top: 32%;
  animation: dot-pulse 2.2s ease-in-out infinite;
}

.dot-b {
  right: 22%;
  top: 26%;
  animation: dot-pulse 2.7s ease-in-out infinite;
}

.dot-c {
  right: 30%;
  bottom: 22%;
  animation: dot-pulse 2.4s ease-in-out infinite;
}

.orb-token {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 247, 245, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(5, 8, 7, 0.68);
  color: rgba(244, 247, 245, 0.82);
  font-size: 0.82rem;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.token-a {
  left: 10%;
  top: 24%;
}

.token-b {
  right: 8%;
  top: 46%;
}

.token-c {
  left: 18%;
  bottom: 20%;
}

.orb-core {
  left: 50%;
  top: 50%;
  width: min(260px, 72%);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  text-shadow:
    0 0 18px rgba(98, 240, 141, 0.42),
    0 16px 36px rgba(0, 0, 0, 0.55);
}

.orb-core strong {
  color: var(--ink);
  font-size: 1.46rem;
  font-weight: 860;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.orb-core span {
  color: rgba(157, 247, 183, 0.9);
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

@keyframes ring-a {
  from {
    transform: rotateX(68deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(68deg) rotateZ(360deg);
  }
}

@keyframes ring-b {
  from {
    transform: rotateY(66deg) rotateZ(0deg);
  }
  to {
    transform: rotateY(66deg) rotateZ(360deg);
  }
}

@keyframes ring-c {
  from {
    transform: rotateX(18deg) rotateY(72deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(18deg) rotateY(72deg) rotateZ(-360deg);
  }
}

@keyframes line-drift {
  50% {
    transform: translateY(18px) rotate(-8deg);
  }
}

@keyframes dot-pulse {
  50% {
    transform: scale(1.5);
    opacity: 0.58;
  }
}

.hero-laptop {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  transform: perspective(900px) rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * -1deg));
  transition: transform 160ms ease;
}

.laptop-lid {
  position: relative;
  z-index: 1;
  padding: 12px;
  border: 1px solid rgba(98, 240, 141, 0.24);
  border-radius: 12px 12px 7px 7px;
  background:
    linear-gradient(145deg, rgba(244, 247, 245, 0.14), rgba(98, 240, 141, 0.035)),
    #070a09;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.46),
    inset 0 0 34px rgba(98, 240, 141, 0.06);
}

.laptop-screen {
  position: relative;
  height: 356px;
  overflow: hidden;
  border: 1px solid rgba(220, 226, 223, 0.16);
  border-radius: 7px;
  background: #040807;
}

.game-world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 38%, rgba(72, 181, 255, 0.18), transparent 28%),
    radial-gradient(circle at 76% 70%, rgba(234, 177, 72, 0.16), transparent 26%),
    linear-gradient(135deg, #06110d, #0b1714 46%, #050807);
}

.map-grid {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(rgba(98, 240, 141, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 240, 141, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  transform: rotateX(62deg) rotateZ(45deg) translateY(calc(var(--scroll-ratio) * -42px));
  animation: map-drift 9s linear infinite;
}

.map-light {
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid rgba(98, 240, 141, 0.22);
  transform: rotate(45deg);
}

.light-a {
  left: 12%;
  top: 22%;
  background: rgba(98, 240, 141, 0.06);
}

.light-b {
  right: 8%;
  bottom: 8%;
  background: rgba(72, 181, 255, 0.055);
}

.player-unit {
  position: absolute;
  left: 40%;
  top: 48%;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid rgba(98, 240, 141, 0.82);
  border-radius: 50%;
  background: rgba(98, 240, 141, 0.12);
  box-shadow: 0 0 28px rgba(98, 240, 141, 0.38);
  animation: unit-pulse 2.4s ease-in-out infinite;
}

.player-unit span {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--green);
}

.target-unit {
  position: absolute;
  right: 28%;
  top: 34%;
  width: 28px;
  aspect-ratio: 1;
  border: 1px solid rgba(234, 177, 72, 0.86);
  border-radius: 50%;
  background: rgba(234, 177, 72, 0.22);
  box-shadow: 0 0 24px rgba(234, 177, 72, 0.25);
}

.game-hud,
.game-bars,
.tool-overlay {
  position: absolute;
  border: 1px solid rgba(244, 247, 245, 0.13);
  border-radius: 8px;
  background: rgba(5, 8, 7, 0.74);
  backdrop-filter: blur(10px);
}

.game-hud {
  left: 16px;
  top: 16px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.game-hud strong {
  color: var(--ink);
}

.game-hud span {
  color: rgba(244, 247, 245, 0.68);
  font-size: 0.82rem;
}

.game-bars {
  left: 16px;
  bottom: 16px;
  width: 178px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.game-bars span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(98, 240, 141, 0.12));
}

.game-bars span:nth-child(2) {
  width: 76%;
  background: linear-gradient(90deg, #48b5ff, rgba(72, 181, 255, 0.12));
}

.game-bars span:nth-child(3) {
  width: 58%;
  background: linear-gradient(90deg, #eab148, rgba(234, 177, 72, 0.12));
}

.tool-overlay {
  right: 18px;
  bottom: 18px;
  width: min(250px, calc(100% - 36px));
  display: grid;
  gap: 10px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.overlay-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.overlay-title strong {
  color: var(--ink);
}

.overlay-title span,
.overlay-row span {
  color: var(--green-soft);
  font-size: 0.82rem;
}

.overlay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(244, 247, 245, 0.1);
  border-radius: 6px;
  background: rgba(244, 247, 245, 0.045);
}

.overlay-row strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.overlay-pulse {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: pulse-line 1.8s ease-in-out infinite;
}

.laptop-base {
  height: 26px;
  width: 88%;
  margin: -2px auto 0;
  border: 1px solid rgba(98, 240, 141, 0.18);
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(90deg, transparent 38%, rgba(244, 247, 245, 0.14) 50%, transparent 62%),
    linear-gradient(180deg, rgba(244, 247, 245, 0.12), rgba(5, 7, 6, 0.78));
  box-shadow: 0 32px 46px rgba(0, 0, 0, 0.36);
}

.hero-laptop {
  min-height: 470px;
  align-items: center;
}

.laptop-lid {
  padding: 8px;
  border-color: rgba(220, 226, 223, 0.18);
  border-radius: 18px 18px 10px 10px;
  background:
    linear-gradient(135deg, rgba(248, 250, 249, 0.26), rgba(118, 132, 125, 0.1) 46%, rgba(23, 29, 27, 0.82)),
    #111615;
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.laptop-bezel {
  position: relative;
  padding: 18px 12px 12px;
  border-radius: 13px 13px 7px 7px;
  background: #050706;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.laptop-camera {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(220, 226, 223, 0.46);
  box-shadow: 0 0 8px rgba(98, 240, 141, 0.5);
  transform: translateX(-50%);
}

.laptop-screen {
  height: 314px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 62% 38%, rgba(98, 240, 141, 0.18), transparent 32%),
    linear-gradient(135deg, #06100d, #0b1110 48%, #030504);
}

.brand-desktop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(98, 240, 141, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 240, 141, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 80% 18%, rgba(98, 240, 141, 0.18), transparent 32%),
    #050807;
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.brand-halo {
  position: absolute;
  right: -44px;
  top: 34px;
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid rgba(98, 240, 141, 0.38);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(98, 240, 141, 0.18);
  animation: unit-pulse 3.2s ease-in-out infinite;
}

.brand-console {
  position: absolute;
  left: 22px;
  top: 26px;
  width: min(288px, calc(100% - 44px));
  min-height: 184px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(244, 247, 245, 0.13);
  border-radius: 10px;
  background: rgba(6, 10, 9, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.brand-console-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 780;
}

.brand-console-head img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 10px rgba(98, 240, 141, 0.38));
}

.brand-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.brand-metrics div,
.brand-side-panel div {
  border: 1px solid rgba(244, 247, 245, 0.1);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.045);
}

.brand-metrics div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
}

.brand-metrics strong,
.brand-side-panel strong {
  color: var(--ink);
  font-size: 0.9rem;
  white-space: nowrap;
}

.brand-metrics span,
.brand-side-panel span {
  color: var(--green-soft);
  font-size: 0.76rem;
  white-space: nowrap;
}

.brand-metrics strong {
  font-size: 0.84rem;
}

.brand-metrics span {
  font-size: 0.7rem;
}

.brand-signal {
  height: 36px;
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.46fr;
  align-items: center;
  gap: 8px;
}

.brand-signal span {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), transparent);
  animation: pulse-line 1.8s ease-in-out infinite;
}

.brand-signal span:nth-child(2) {
  animation-delay: 160ms;
}

.brand-signal span:nth-child(3) {
  animation-delay: 320ms;
}

.brand-side-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.brand-side-panel div {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  padding: 0 10px;
  background: rgba(6, 10, 9, 0.7);
  backdrop-filter: blur(10px);
}

.brand-side-panel strong {
  font-size: 0.82rem;
}

.brand-side-panel span {
  font-size: 0.68rem;
}

.laptop-deck {
  position: relative;
  z-index: 0;
  width: 94%;
  min-height: 106px;
  margin: -1px auto 0;
  border: 1px solid rgba(220, 226, 223, 0.16);
  border-radius: 0 0 26px 26px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #242b29, #111514 54%, #070908);
  box-shadow:
    0 34px 58px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.keyboard-grid {
  width: 66%;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.keyboard-grid span {
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(244, 247, 245, 0.18), rgba(244, 247, 245, 0.06));
}

.trackpad {
  width: 34%;
  height: 34px;
  margin: 12px auto 0;
  border: 1px solid rgba(244, 247, 245, 0.14);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.055);
}

.laptop-shadow {
  width: 92%;
  height: 24px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.48);
  filter: blur(18px);
}

@keyframes map-drift {
  to {
    background-position: 48px 48px;
  }
}

@keyframes unit-pulse {
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 42px rgba(98, 240, 141, 0.5);
  }
}

@keyframes pulse-line {
  50% {
    opacity: 0.42;
    transform: translateX(10px);
  }
}

.hero-device {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(98, 240, 141, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(220, 226, 223, 0.08), rgba(5, 7, 6, 0.36));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35), inset 0 0 60px rgba(98, 240, 141, 0.05);
  overflow: hidden;
  transform: perspective(900px) rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * -1deg));
  transition: transform 160ms ease;
}

.device-topbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.55);
}

.device-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 247, 245, 0.35);
}

.device-screen {
  position: relative;
  height: 376px;
  overflow: hidden;
}

.screen-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(98, 240, 141, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 240, 141, 0.14) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.42;
  transform: translateY(calc(var(--scroll-ratio) * -32px));
}

.status-stack {
  position: absolute;
  left: 28px;
  top: 28px;
  display: grid;
  gap: 10px;
}

.status-pill {
  width: 116px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 247, 245, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.status-pill.active {
  color: #07110b;
  background: var(--green);
}

.signal-ring {
  position: absolute;
  right: 72px;
  bottom: 62px;
  width: 160px;
  aspect-ratio: 1;
  border: 1px solid rgba(98, 240, 141, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(98, 240, 141, 0.28);
}

.signal-line {
  position: absolute;
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(98, 240, 141, 0.92), transparent);
  transform-origin: center;
}

.line-a {
  right: -40px;
  top: 180px;
  transform: rotate(-18deg);
}

.line-b {
  right: 20px;
  bottom: 120px;
  transform: rotate(24deg);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--green), transparent);
  transform: translateX(-50%);
}

.marquee-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(13, 17, 16, 0.78);
}

.marquee-track {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  color: rgba(244, 247, 245, 0.72);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: marquee 26s linear infinite;
}

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

.section {
  padding: 86px 0;
}

.section.muted {
  background: rgba(18, 24, 22, 0.82);
  border-block: 1px solid var(--line);
}

.announcement-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(98, 240, 141, 0.08), transparent 46%),
    rgba(7, 11, 10, 0.94);
}

.announcement-layout {
  min-height: 94px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.announcement-heading {
  display: grid;
  gap: 6px;
}

.announcement-heading span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.announcement-heading strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.announcement-list {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
}

.announcement-item {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(244, 247, 245, 0.1);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(244, 247, 245, 0.04);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.announcement-item:hover {
  border-color: rgba(98, 240, 141, 0.34);
  background: rgba(98, 240, 141, 0.08);
  transform: translateY(-1px);
}

.announcement-item.primary {
  border-color: rgba(98, 240, 141, 0.28);
  background: rgba(98, 240, 141, 0.08);
}

.announcement-item time {
  flex: 0 0 auto;
  color: var(--green-soft);
  font-size: 0.76rem;
  font-weight: 820;
  white-space: nowrap;
}

.announcement-item span {
  min-width: 0;
  color: rgba(244, 247, 245, 0.84);
  font-size: 0.9rem;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.immersive {
  min-height: 760px;
  display: grid;
  align-items: center;
}

.product-focus {
  min-height: min(820px, 100svh);
  display: grid;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 42%, rgba(98, 240, 141, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.2), rgba(5, 7, 6, 0.92));
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: center;
}

.product-copy p {
  max-width: 520px;
  margin-top: 18px;
  font-size: 1.08rem;
}

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

.product-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(98, 240, 141, 0.2);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(98, 240, 141, 0.08);
  color: rgba(244, 247, 245, 0.84);
  font-size: 0.86rem;
  font-weight: 700;
}

.tool-log-dropdown {
  max-width: 520px;
  margin-top: 22px;
  border: 1px solid rgba(98, 240, 141, 0.22);
  border-radius: 8px;
  background: rgba(8, 13, 11, 0.74);
  box-shadow: inset 0 0 24px rgba(98, 240, 141, 0.04);
  overflow: hidden;
}

.tool-log-dropdown summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 44px 0 16px;
  cursor: pointer;
  list-style: none;
}

.tool-log-dropdown summary::-webkit-details-marker {
  display: none;
}

.tool-log-dropdown summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(157, 247, 183, 0.78);
  border-bottom: 2px solid rgba(157, 247, 183, 0.78);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.tool-log-dropdown[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.tool-log-dropdown summary span {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 820;
}

.tool-log-dropdown summary strong {
  min-width: 0;
  color: rgba(244, 247, 245, 0.88);
  font-size: 0.9rem;
  font-weight: 760;
  text-align: right;
}

.tool-log-list {
  max-height: 232px;
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
  overflow-y: auto;
  scrollbar-color: rgba(98, 240, 141, 0.55) rgba(244, 247, 245, 0.08);
  scrollbar-width: thin;
}

.tool-log-entry {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(244, 247, 245, 0.1);
  border-radius: 8px;
  background: rgba(244, 247, 245, 0.045);
}

.tool-log-date {
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 780;
}

.tool-log-entry strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.tool-log-entry ul {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 18px;
}

.tool-log-entry li {
  color: rgba(244, 247, 245, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.product-display {
  min-height: 460px;
}

.product-window {
  height: 100%;
  min-height: 460px;
  border: 1px solid rgba(98, 240, 141, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(220, 226, 223, 0.08), rgba(5, 7, 6, 0.36));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
}

.window-chrome {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.62);
}

.window-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 247, 245, 0.35);
}

.app-preview {
  min-height: 416px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
  background: #f4f6f8;
  color: #1d2733;
}

.app-titlebar,
.app-auth-row,
.app-target-row,
.app-context-row,
.app-tabs,
.event-strip {
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
}

.app-titlebar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
}

.app-titlebar strong {
  color: #1d2733;
}

.app-titlebar span {
  color: #647386;
  font-size: 0.86rem;
}

.app-auth-row,
.app-target-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
}

.app-context-row {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.app-context-row span,
.app-context-row em {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #f4f6f8;
  color: #647386;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 720;
}

.app-context-row strong {
  flex: 1;
  color: #246b5b;
  font-size: 0.9rem;
}

.auth-badge,
.inject-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 760;
}

.auth-badge {
  border: 1px solid #d4a04f;
  background: #fff7e8;
  color: #8a5a10;
}

.inject-badge {
  border: 1px solid #d8dee7;
  background: #f4f6f8;
  color: #647386;
}

.field-label {
  color: #647386;
  font-size: 0.88rem;
  white-space: nowrap;
}

.mock-input,
.mock-select {
  min-width: 0;
  min-height: 30px;
  border: 1px solid #d8dee7;
  border-radius: 6px;
  background: #fbfcfd;
}

.mock-input {
  flex: 1 1 150px;
}

.mock-select {
  flex: 1 1 190px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #647386;
  font-size: 0.88rem;
}

.mock-button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee7;
  border-radius: 6px;
  padding: 0 11px;
  background: #ffffff;
  color: #1d2733;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.mock-button.primary {
  border-color: #246b5b;
  background: #246b5b;
  color: #ffffff;
}

.app-tabs {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.app-tabs button,
.app-tabs span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid #d8dee7;
  background: #ffffff;
  color: #647386;
  font-size: 0.88rem;
  font-weight: 720;
  cursor: pointer;
}

.app-tabs button:hover {
  color: #246b5b;
  background: #f4f9f7;
}

.app-tabs button:last-child,
.app-tabs span:last-child {
  border-right: 0;
}

.app-tabs button.active,
.app-tabs .active {
  background: #e8f3ef;
  color: #246b5b;
}

.preview-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.preview-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: panel-in 180ms ease;
}

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

.rule-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
}

.rule-card span {
  color: #1d2733;
  font-weight: 760;
}

.rule-card strong {
  grid-column: 1;
  color: #647386;
  font-size: 0.88rem;
}

.rule-card em {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e8f3ef;
  color: #246b5b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
}

.event-strip {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

.event-strip strong {
  color: #1d2733;
  white-space: nowrap;
}

.event-strip span {
  color: #647386;
  font-size: 0.9rem;
}

.assist-table {
  display: grid;
  gap: 10px;
}

.assist-table div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
}

.assist-table span {
  color: #1d2733;
  font-weight: 760;
}

.assist-table strong {
  color: #647386;
  font-size: 0.88rem;
}

.assist-table em {
  border-radius: 999px;
  padding: 5px 10px;
  background: #e8f3ef;
  color: #246b5b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
}

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

.safety-grid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #e8f3ef 0 5px, transparent 5px),
    #ffffff;
  color: #1d2733;
  font-weight: 720;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.immersive-layout,
.split,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.immersive-copy {
  position: sticky;
  top: 120px;
}

.immersive-copy p,
.split p,
.two-column p {
  margin-top: 16px;
  max-width: 620px;
}

.tool-stage {
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.stage-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 40%, rgba(98, 240, 141, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(220, 226, 223, 0.07), rgba(5, 7, 6, 0.42));
}

.stage-window {
  position: absolute;
  inset: 32px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(244, 247, 245, 0.12);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 240ms ease, transform 240ms ease;
}

.stage-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stage-label {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-window strong {
  display: block;
  font-size: 2rem;
}

.stage-window p {
  max-width: 360px;
}

.stage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(220, 226, 223, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.stage-tabs button.active {
  border-color: rgba(98, 240, 141, 0.72);
  color: var(--ink);
  background: rgba(98, 240, 141, 0.12);
}

.section-heading {
  max-width: 640px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 10px;
}

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

.tool-catalog {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
}

.tool-card,
.info-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(220, 226, 223, 0.06), rgba(98, 240, 141, 0.035));
}

.tool-card.primary-card {
  background:
    linear-gradient(180deg, rgba(98, 240, 141, 0.18), rgba(220, 226, 223, 0.05)),
    #0b100e;
}

.muted-card {
  opacity: 0.86;
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(98, 240, 141, 0.22);
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(244, 247, 245, 0.82);
  background: rgba(98, 240, 141, 0.07);
  font-size: 0.78rem;
  font-weight: 720;
}

.card-link {
  align-self: end;
  color: var(--green-soft);
  font-weight: 760;
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(220, 226, 223, 0.06), rgba(220, 226, 223, 0.02));
}

.feature-row span {
  color: var(--muted);
}

.feature-row strong {
  color: var(--ink);
  text-align: right;
}

.page-hero {
  padding: 90px 0 62px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.96), rgba(5, 7, 6, 0.74)),
    url("/assets/darktopology-hero.png") center / cover no-repeat;
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p {
  max-width: 700px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.release-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.release-row {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.9fr 1.35fr 1.15fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.release-row:first-child {
  border-top: 0;
}

.release-row.header {
  background: var(--panel-2);
  font-weight: 760;
}

.release-row span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-left: 1px solid var(--line);
}

.release-row span:first-child {
  border-left: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(220, 226, 223, 0.06), rgba(220, 226, 223, 0.02));
}

.timeline-item time {
  color: var(--green-soft);
  font-weight: 760;
}

.timeline-item h2 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.timeline-item p {
  margin-top: 10px;
}

.account-section {
  padding-top: 54px;
}

.account-app {
  display: grid;
  gap: 16px;
}

.account-app.is-signed-out .account-layout {
  grid-template-columns: minmax(300px, 640px);
  justify-content: center;
}

.account-status {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(98, 240, 141, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: rgba(244, 247, 245, 0.78);
  background: rgba(98, 240, 141, 0.07);
  font-size: 0.92rem;
}

.account-status.error {
  border-color: rgba(255, 112, 112, 0.38);
  color: #ffc6c6;
  background: rgba(255, 112, 112, 0.08);
}

.account-status.success {
  border-color: rgba(98, 240, 141, 0.38);
  color: var(--green-soft);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  align-items: start;
}

.account-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(220, 226, 223, 0.06), rgba(98, 240, 141, 0.03)),
    rgba(7, 10, 9, 0.88);
}

.account-entitlements {
  min-height: 420px;
}

.account-panel-heading {
  display: grid;
  gap: 8px;
}

.account-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(220, 226, 223, 0.04);
}

.account-mode-switch button {
  min-height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.account-mode-switch button:first-child {
  border-left: 0;
}

.account-mode-switch button.active {
  color: #07110b;
  background: var(--green);
  font-weight: 760;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form-panels {
  display: grid;
  gap: 14px;
}

.account-form-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(220, 226, 223, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(98, 240, 141, 0.12), transparent 34%),
    rgba(0, 0, 0, 0.16);
  animation: panel-in 180ms ease;
}

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

.account-form-intro {
  display: grid;
  gap: 7px;
  padding-bottom: 2px;
}

.account-form-intro h3 {
  color: var(--ink);
  font-size: 1.3rem;
}

.account-form-intro p {
  color: rgba(244, 247, 245, 0.66);
  font-size: 0.92rem;
  line-height: 1.65;
}

.account-form label {
  display: grid;
  gap: 7px;
}

.account-form label span {
  color: rgba(244, 247, 245, 0.74);
  font-size: 0.88rem;
  font-weight: 680;
}

.account-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(220, 226, 223, 0.2);
  border-radius: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.22);
  outline: none;
}

.account-form input:focus {
  border-color: rgba(98, 240, 141, 0.72);
  box-shadow: 0 0 0 3px rgba(98, 240, 141, 0.12);
}

.account-link-button {
  justify-self: start;
  min-height: 30px;
  border: 0;
  padding: 0;
  color: var(--green-soft);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.account-link-button:hover {
  color: var(--ink);
}

.account-dev-link {
  justify-self: start;
  color: var(--green-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.turnstile-slot {
  min-height: 65px;
  display: grid;
  align-items: center;
}

.account-management {
  display: grid;
  gap: 12px;
}

.account-subpanel {
  border: 1px solid rgba(220, 226, 223, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.15);
}

.account-subpanel-heading {
  display: grid;
  gap: 5px;
}

.account-subpanel-heading h3 {
  color: var(--ink);
  font-size: 1.08rem;
}

.account-subpanel-heading p {
  color: rgba(244, 247, 245, 0.62);
  font-size: 0.86rem;
  line-height: 1.6;
}

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

.email-verification-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(98, 240, 141, 0.24);
  border-radius: 8px;
  padding: 16px;
  background: rgba(98, 240, 141, 0.07);
}

.email-verification-box[hidden] {
  display: none;
}

.email-verification-box strong {
  color: var(--ink);
}

.email-verification-box p {
  margin-top: 4px;
  color: rgba(244, 247, 245, 0.66);
  font-size: 0.88rem;
  line-height: 1.6;
}

.member-summary div,
.entitlement-empty,
.member-tool-item,
.member-license-item {
  border: 1px solid rgba(220, 226, 223, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
}

.member-summary span,
.member-license-item span,
.member-tool-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.member-summary strong,
.member-license-item strong,
.member-tool-item strong,
.entitlement-empty strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.license-claim-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.member-tool-list,
.member-license-list {
  display: grid;
  gap: 10px;
}

.member-tool-item,
.member-license-item {
  display: grid;
  gap: 8px;
}

.member-tool-item.available {
  border-color: rgba(98, 240, 141, 0.38);
  background: rgba(98, 240, 141, 0.08);
}

.member-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.member-tool-tags em {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(98, 240, 141, 0.2);
  border-radius: 999px;
  padding: 0 9px;
  color: rgba(244, 247, 245, 0.76);
  font-size: 0.74rem;
  font-style: normal;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: #030504;
  color: rgba(244, 247, 245, 0.72);
}

.footer-inner {
  min-height: 136px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  justify-content: space-between;
  gap: 28px;
  padding-block: 24px;
}

.footer-main {
  display: grid;
  align-content: start;
  gap: 4px;
}

.footer-main strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.footer-main span {
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.12em;
}

.footer-legal {
  display: grid;
  gap: 6px;
}

.footer-legal p {
  color: rgba(244, 247, 245, 0.62);
  font-size: 0.78rem;
  line-height: 1.55;
}

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

@media (prefers-reduced-motion: reduce) {
  .brand-orb .ring-a {
    animation-duration: 18s !important;
    animation-iteration-count: infinite !important;
  }

  .brand-orb .ring-b {
    animation-duration: 22s !important;
    animation-iteration-count: infinite !important;
  }

  .brand-orb .ring-c {
    animation-duration: 16s !important;
    animation-iteration-count: infinite !important;
  }

  .brand-orb .orb-line,
  .brand-orb .orb-dot {
    animation-duration: 6s !important;
    animation-iteration-count: infinite !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout,
  .product-layout,
  .immersive-layout,
  .account-layout,
  .split,
  .two-column,
  .tool-grid,
  .columns,
  .tool-catalog {
    grid-template-columns: 1fr;
  }

  .hero-device {
    min-height: 320px;
  }

  .brand-orb-stage {
    min-height: 390px;
  }

  .brand-orb {
    width: min(380px, 100%);
  }

  .hero-laptop {
    min-height: 340px;
  }

  .laptop-screen {
    height: 300px;
  }

  .brand-console {
    width: min(300px, calc(100% - 34px));
    left: 17px;
    top: 22px;
  }

  .brand-side-panel {
    right: 17px;
    bottom: 20px;
  }

  .laptop-deck {
    min-height: 92px;
  }

  .tool-overlay {
    right: 14px;
    bottom: 14px;
  }

  .product-display,
  .product-window {
    min-height: 360px;
  }

  .app-auth-row,
  .app-target-row,
  .app-context-row {
    flex-wrap: wrap;
  }

  .reaction-rules,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .assist-table div {
    grid-template-columns: 1fr auto;
  }

  .assist-table strong {
    grid-column: 1;
  }

  .device-screen {
    height: 276px;
  }

  .immersive-copy {
    position: static;
  }

  h1 {
    font-size: 3rem;
  }

  .release-row {
    grid-template-columns: 1fr;
  }

  .release-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .release-row span:first-child {
    border-top: 0;
  }

  .account-entitlements {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    gap: 10px;
  }

  h1 {
    font-size: 2.15rem;
    line-height: 1.28;
  }

  h2 {
    font-size: 1.65rem;
  }

  .section {
    padding: 56px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 22px;
  }

  .footer-legal p {
    font-size: 0.76rem;
  }

  .account-panel {
    padding: 18px;
  }

  .member-summary,
  .license-claim-form,
  .email-verification-box {
    grid-template-columns: 1fr;
  }

  .account-mode-switch button,
  .account-form input,
  .account-form .button {
    width: 100%;
  }

  .announcement-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 18px;
  }

  .announcement-list {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 26px;
    padding: 42px 0 34px;
  }

  .hero-device {
    min-height: 260px;
  }

  .brand-orb-stage {
    min-height: 300px;
  }

  .brand-orb {
    width: min(302px, 100%);
  }

  .orb-core {
    width: min(230px, 72%);
    gap: 6px;
  }

  .orb-core strong {
    font-size: 1.18rem;
  }

  .orb-core span {
    font-size: 0.74rem;
  }

  .orb-token {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .token-a {
    left: 7%;
    top: 22%;
  }

  .token-b {
    right: 5%;
  }

  .token-c {
    left: 12%;
    bottom: 18%;
  }

  .hero-laptop {
    min-height: 310px;
  }

  .laptop-lid {
    padding: 8px;
  }

  .laptop-screen {
    height: 256px;
  }

  .brand-console {
    left: 12px;
    top: 16px;
    width: calc(100% - 24px);
    min-height: 158px;
    gap: 10px;
    padding: 13px;
  }

  .brand-metrics {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .brand-metrics div {
    min-height: 42px;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 8px 10px;
  }

  .brand-side-panel {
    display: none;
  }

  .brand-halo {
    right: -78px;
    top: 44px;
  }

  .laptop-deck {
    min-height: 76px;
    border-radius: 0 0 20px 20px;
  }

  .keyboard-grid {
    width: 72%;
    margin-top: 12px;
    gap: 4px;
  }

  .keyboard-grid span {
    height: 7px;
  }

  .trackpad {
    height: 24px;
    margin-top: 9px;
  }

  .game-hud {
    left: 10px;
    top: 10px;
    padding: 9px 10px;
  }

  .game-bars {
    display: none;
  }

  .player-unit {
    left: 34%;
    top: 46%;
  }

  .tool-overlay {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 11px;
  }

  .overlay-row {
    min-height: 28px;
  }

  .product-focus {
    padding: 64px 0;
  }

  .product-display,
  .product-window {
    min-height: 320px;
  }

  .app-preview {
    gap: 10px;
    padding: 12px;
  }

  .tool-log-dropdown summary {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-block: 10px;
  }

  .tool-log-dropdown summary strong {
    text-align: left;
  }

  .tool-log-list {
    max-height: 246px;
  }

  .tool-log-entry {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .app-titlebar,
  .app-context-row,
  .event-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
  }

  .mock-input,
  .mock-select {
    flex-basis: 100%;
  }

  .app-tabs button,
  .app-tabs span {
    flex: 1 1 0;
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .rule-card {
    min-height: 74px;
  }

  .assist-table div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 12px;
  }

  .device-screen {
    height: 216px;
  }

  .signal-ring {
    right: 34px;
    width: 110px;
  }

  .feature-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .feature-row strong {
    text-align: left;
  }
}
