:root {
  --bg: #0a0d10;
  --bg-elev: #11161c;
  --ink: #eef3f0;
  --muted: #8b978f;
  --line: rgba(238, 243, 240, 0.1);
  --signal: #b7f24a;
  --signal-dim: rgba(183, 242, 74, 0.16);
  --amber: #f0b429;
  --teal: #57d2c3;
  --danger: #ff6b6b;
  --radius: 18px;
  --font-display: "Syne", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Apple SD Gothic Neo", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
a {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-dim);
  display: inline-block;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn--primary {
  background: var(--signal);
  color: #10150c;
  font-weight: 700;
}

.btn--primary:hover {
  background: #c8ff5c;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: rgba(183, 242, 74, 0.45);
}

/* ---------- Boot ---------- */
.boot {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  overflow-x: clip;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
}

.boot__grid,
.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 243, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 243, 240, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  pointer-events: none;
}

.boot__glow,
.bg__mesh {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(183, 242, 74, 0.14), transparent 45%),
    radial-gradient(ellipse at 80% 10%, rgba(87, 210, 195, 0.12), transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(240, 180, 41, 0.08), transparent 50%);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.05); }
}

.boot__main,
.boot__disclaimer,
.boot__skip {
  position: relative;
  z-index: 1;
}

.boot__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 6vh, 4rem);
  position: relative;
  z-index: 40;
}

.boot__top-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  position: relative;
  z-index: 50;
}

.lang-switch__menu[hidden] {
  display: none !important;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 16, 0.65);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.lang-switch__btn:hover,
.lang-switch.is-open .lang-switch__btn {
  border-color: rgba(183, 242, 74, 0.4);
}

.lang-switch__icon {
  color: var(--signal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.04em;
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 190px;
  max-height: min(60vh, 360px);
  overflow: auto;
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 18, 22, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.lang-switch__menu button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.86rem;
}

.lang-switch__menu button em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.lang-switch__menu button:hover,
.lang-switch__menu button.is-active {
  background: rgba(183, 242, 74, 0.1);
}

.lang-switch__menu button.is-active em {
  color: var(--signal);
}

.boot__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.boot__brand em {
  font-style: normal;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.boot__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(183, 242, 74, 0.55);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(183, 242, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(183, 242, 74, 0); }
}

.boot__main {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

.boot__main h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.boot__sub {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.55;
}

.boot__stage {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.boot__panel,
.boot__stats,
.boot__progress,
.signal__panel,
.intel,
.modules article,
.access__inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.boot__panel {
  padding: 1.35rem 1.4rem 1.2rem;
}

.boot__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.boot__panel h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: 999px;
  background: rgba(240, 180, 41, 0.08);
}

.status.is-ready {
  color: var(--signal);
  border-color: rgba(183, 242, 74, 0.35);
  background: var(--signal-dim);
}

.boot__panel > p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.boot__list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.boot__list li {
  position: relative;
  padding-left: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--muted);
}

.boot__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(238, 243, 240, 0.25);
}

.boot__list li.done {
  color: var(--ink);
}

.boot__list li.done::before {
  background: var(--signal);
  border-color: var(--signal);
}

.boot__list li.active {
  color: var(--amber);
}

.boot__list li.active::before {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.12);
}

.boot__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.boot__meta span,
.stat span,
.boot__progress-head,
.boot__progress-foot,
.access__note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.boot__meta strong,
.stat strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.boot__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  overflow: hidden;
  padding: 0;
}

.stat {
  background: var(--bg-elev);
  padding: 1.15rem 1rem;
}

.boot__progress {
  padding: 1.1rem 1.25rem 1.25rem;
}

.boot__progress-head,
.boot__progress-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.boot__progress-head {
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.track i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--signal));
  border-radius: inherit;
  transition: width 0.35s ease;
}

.boot__progress-foot {
  margin-top: 0.65rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.chip.on {
  color: var(--ink);
  border-color: rgba(87, 210, 195, 0.45);
  background: rgba(87, 210, 195, 0.08);
}

.chip.ready.on {
  color: var(--signal);
  border-color: rgba(183, 242, 74, 0.45);
  background: var(--signal-dim);
}

.boot__disclaimer {
  margin: 1.5rem auto 0;
  max-width: 1100px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(139, 151, 143, 0.85);
  letter-spacing: 0.02em;
}

.boot__skip {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 5;
  border: 1px solid var(--line);
  background: rgba(10, 13, 16, 0.75);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.boot__skip:hover {
  color: var(--ink);
  border-color: rgba(183, 242, 74, 0.4);
}

.boot.is-leaving {
  animation: fadeOut 0.55s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* ---------- Site ---------- */
.site {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  overflow-y: visible;
}

.site[hidden] {
  display: none;
}

.site.is-in {
  animation: fadeIn 0.7s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg__orbit {
  position: absolute;
  width: min(70vw, 720px);
  aspect-ratio: 1;
  right: -12%;
  top: 8%;
  border-radius: 50%;
  border: 1px solid rgba(183, 242, 74, 0.12);
  box-shadow:
    inset 0 0 80px rgba(87, 210, 195, 0.05),
    0 0 120px rgba(183, 242, 74, 0.05);
  animation: spinSlow 48s linear infinite;
}

.bg__orbit::before,
.bg__orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(238, 243, 240, 0.08);
}

.bg__orbit::after {
  inset: 28%;
  border-style: solid;
  border-color: rgba(87, 210, 195, 0.12);
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.ticker,
.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.nav {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 1.4rem;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav__links a:hover {
  color: var(--ink);
}

.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-flex;
  gap: 2rem;
  padding: 0.7rem 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  animation: marquee 28s linear infinite;
}

.ticker__track b {
  color: var(--ink);
  font-weight: 500;
}

.ticker__track .up { color: var(--signal); }
.ticker__track .down { color: var(--danger); }

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

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100svh - 120px);
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}

.hero__brand {
  margin: 0 0 0.35rem;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: rgba(238, 243, 240, 0.92);
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.radar {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(183, 242, 74, 0.12), transparent 42%),
    radial-gradient(circle at center, transparent 48%, rgba(255, 255, 255, 0.02) 49%, transparent 50%);
  border: 1px solid rgba(238, 243, 240, 0.08);
}

.radar__ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(238, 243, 240, 0.08);
}

.radar__ring:nth-child(2) { inset: 24%; }
.radar__ring:nth-child(3) { inset: 36%; }

.radar__beam {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(183, 242, 74, 0.22) 40deg, transparent 70deg);
  animation: spinSlow 6s linear infinite;
  mask-image: radial-gradient(circle, transparent 35%, black 36%);
}

.radar__core {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(10, 13, 16, 0.85);
  border: 1px solid rgba(183, 242, 74, 0.35);
  box-shadow: 0 0 40px rgba(183, 242, 74, 0.12);
}

.radar__core span {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.4rem;
  line-height: 1;
}

.radar__core small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.radar__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--teal);
  transform: rotate(var(--a)) translateX(140px);
  box-shadow: 0 0 12px rgba(87, 210, 195, 0.8);
  animation: blink 2.4s ease-in-out infinite;
}

.radar__dot:nth-of-type(2) { animation-delay: 0.4s; background: var(--signal); }
.radar__dot:nth-of-type(3) { animation-delay: 0.9s; }
.radar__dot:nth-of-type(4) { animation-delay: 1.3s; background: var(--amber); }

@keyframes blink {
  0%, 100% { opacity: 0.35; transform: rotate(var(--a)) translateX(140px) scale(0.8); }
  50% { opacity: 1; transform: rotate(var(--a)) translateX(140px) scale(1.15); }
}

.hero__feed {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(100%, 260px);
  display: grid;
  gap: 0.45rem;
}

.feed-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 13, 16, 0.72);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  animation: rise 0.7s ease both;
}

.feed-row:nth-child(2) { animation-delay: 0.1s; }
.feed-row:nth-child(3) { animation-delay: 0.2s; }
.feed-row:nth-child(4) { animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.feed-row span { color: var(--muted); }
.feed-row b { color: var(--ink); font-weight: 500; }
.feed-row em { font-style: normal; color: var(--signal); }
.feed-row em.muted { color: var(--muted); }
.feed-row em.down { color: var(--danger); }

.section {
  padding: clamp(3.5rem, 9vh, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.section__head {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section__head h2,
.signal__copy h2,
.access__inner h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section__head p,
.signal__copy > p,
.access__inner > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 52ch;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.intel {
  padding: 1.35rem 1.2rem 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.intel:hover {
  border-color: rgba(183, 242, 74, 0.35);
  transform: translateY(-3px);
}

.intel__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal);
}

.intel h3,
.modules h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.intel p,
.modules p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.section--signal {
  padding-top: 1rem;
}

.signal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(183, 242, 74, 0.05), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.signal__list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.signal__list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink);
}

.signal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--signal);
}

.signal__panel {
  padding: 0;
  overflow: hidden;
}

.signal__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.signal__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
}

.signal__bar span:nth-child(2) { background: #febc2e; }
.signal__bar span:nth-child(3) { background: #28c840; }

.signal__bar b {
  margin-left: auto;
  font-weight: 500;
  color: var(--ink);
}

.signal__body {
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.line {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.line i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(238, 243, 240, 0.2);
}

.line em {
  font-style: normal;
  color: var(--muted);
}

.line.on {
  color: var(--ink);
}

.line.on i {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(240, 180, 41, 0.12);
  animation: pulse 1.6s ease-out infinite;
}

.line.on em {
  color: var(--amber);
}

.signal__meter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.signal__meter strong {
  color: var(--signal);
  font-size: 1.1rem;
}

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.modules article {
  padding: 1.4rem 1.25rem;
}

.access {
  padding-bottom: 4rem;
}

.access__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}

.access__inner h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.access__inner > p {
  margin: 0 auto 1.5rem;
}

.access__form {
  display: flex;
  gap: 0.65rem;
  max-width: 520px;
  margin: 0 auto 0.9rem;
}

.access__form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  padding: 0 1.1rem;
  outline: none;
}

.access__form input:focus {
  border-color: rgba(183, 242, 74, 0.5);
}

.access__form input::placeholder {
  color: rgba(139, 151, 143, 0.9);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.footer > div {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

@media (max-width: 980px) {
  .boot__stage,
  .hero,
  .signal,
  .intel-grid,
  .modules {
    grid-template-columns: 1fr;
  }

  .nav__links {
    display: none;
  }

  .boot__top {
    align-items: flex-start;
  }

  .boot__top-right {
    flex-direction: column;
    align-items: flex-end;
  }

  .boot__brand em {
    display: none;
  }

  .nav__actions .btn--ghost {
    display: none;
  }

  .boot__main h1,
  .hero h1 {
    max-width: none;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero__visual {
    min-height: 360px;
    order: -1;
  }

  .radar {
    width: min(100%, 300px);
  }

  .radar__dot {
    transform: rotate(var(--a)) translateX(110px);
  }

  @keyframes blink {
    0%, 100% { opacity: 0.35; transform: rotate(var(--a)) translateX(110px) scale(0.8); }
    50% { opacity: 1; transform: rotate(var(--a)) translateX(110px) scale(1.15); }
  }

  .hero__feed {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .access__form {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* iOS in-app → Safari guide (lanquans-style) */
.safari-guide {
  position: fixed;
  inset: 0;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
}

.safari-guide__mask {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  background: rgba(7, 17, 31, 0.7);
  backdrop-filter: blur(6px);
  padding: 76px 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.safari-guide__dot {
  position: fixed;
  top: 26px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #173f2b;
  color: #b6f23a;
  font-size: 22px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  padding-bottom: 10px;
  box-shadow: 0 8px 20px rgba(23, 63, 43, 0.35);
  animation: safariPulse 1.2s ease-in-out infinite;
  z-index: 10000;
}

.safari-guide__bubble {
  position: fixed;
  top: 82px;
  right: 18px;
  background: #173f2b;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 10000;
  white-space: nowrap;
}

.safari-guide__line {
  position: fixed;
  top: 116px;
  right: 52px;
  width: 2px;
  height: 110px;
  z-index: 10000;
  background: linear-gradient(to bottom, #b6f23a, transparent);
}

.safari-guide__line span {
  position: absolute;
  top: -8px;
  left: -5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #b6f23a;
}

.safari-guide__card {
  position: relative;
  width: min(380px, 88vw);
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  text-align: center;
  color: #111813;
}

.safari-guide__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #eef4ef;
  position: relative;
}

.safari-guide__icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid #173f2b;
}

.safari-guide__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 22px;
  margin: -11px 0 0 -5px;
  background: linear-gradient(to top, #173f2b 50%, #b6f23a 50%);
  clip-path: polygon(50% 0, 100% 55%, 50% 100%, 0 55%);
}

.safari-guide__title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
}

.safari-guide__sub {
  margin: 0 0 16px;
  font-size: 13px;
  color: #5c6a60;
  line-height: 1.45;
}

.safari-guide__steps {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  text-align: left;
}

.safari-guide__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #243528;
}

.safari-guide__steps em {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #173f2b;
  color: #b6f23a;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  display: grid;
  place-items: center;
}

.safari-guide__actions {
  display: grid;
  gap: 8px;
}

.safari-guide__btn {
  border: 0;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

.safari-guide__btn--primary {
  background: #173f2b;
  color: #b6f23a;
}

.safari-guide__btn--soft {
  background: #eef4ef;
  color: #173f2b;
}

.safari-guide__btn--ghost {
  background: transparent;
  color: #8a968c;
  font-weight: 500;
}

@keyframes safariPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}
