:root {
  --ink: #020711;
  --ink-deep: #01040b;
  --panel: rgba(7, 20, 40, 0.78);
  --panel-strong: rgba(7, 21, 44, 0.94);
  --paper: #f4f9ff;
  --muted: #8fa6bf;
  --blue: #2d9cff;
  --cyan: #64d9ff;
  --violet: #7767ff;
  --green: #6df0aa;
  --gold: #ffd882;
  --line: rgba(112, 188, 255, 0.2);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

.landing-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html {
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 280px;
  min-height: 100%;
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  appearance: none;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.landing-page {
  --shell-width: clamp(750px, 64vw, 1024px);
  width: 100%;
  height: 100svh;
  min-height: 680px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: 54px minmax(0, 1fr);
  gap: 0;
  padding: 12px clamp(16px, 2.2vw, 36px) 9px;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 113, 219, 0.22), transparent 28%),
    radial-gradient(circle at 82% 86%, rgba(75, 52, 190, 0.18), transparent 29%),
    linear-gradient(145deg, #020711 0%, #061428 50%, #020713 100%);
  transition: color 320ms ease, background 420ms ease;
}

html[data-theme="light"] .landing-page,
.landing-page[data-theme="light"] {
  --paper: #10263d;
  --muted: #58718a;
  --blue: #178bd8;
  --cyan: #078dcc;
  --violet: #6654d9;
  --green: #1fa76e;
  --line: rgba(34, 126, 185, 0.2);
  background:
    radial-gradient(circle at 12% 8%, rgba(69, 174, 239, 0.25), transparent 29%),
    radial-gradient(circle at 82% 86%, rgba(132, 112, 226, 0.16), transparent 31%),
    linear-gradient(145deg, #dfeffc 0%, #f8fbff 48%, #e8f0fb 100%);
}

.cosmos,
.star-canvas,
.nebula {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cosmos {
  z-index: -2;
  overflow: hidden;
}

.star-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.92;
  contain: strict;
}

.nebula {
  inset: auto;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.24;
  animation: nebula-breathe 8s ease-in-out infinite alternate;
}

.nebula-blue {
  width: 46vw;
  height: 30vw;
  top: -23vw;
  right: -2vw;
  background: #168dff;
}

.nebula-violet {
  width: 39vw;
  height: 31vw;
  bottom: -25vw;
  left: 10vw;
  background: #6045ef;
  animation-delay: -3s;
}

.topbar,
.page-content,
.hero-strip,
.gateway-panel,
.utility-panel,
.page-footer {
  width: min(var(--shell-width), 100%);
  position: relative;
  z-index: 3;
  margin-inline: auto;
}

.page-content {
  align-self: center;
  display: grid;
  grid-template-rows: 132px auto 117px;
  gap: 8px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  align-items: center;
  padding: 0;
}

.theme-toggle {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  color: rgba(223, 240, 253, 0.72);
  border: 1px solid rgba(112, 191, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 18, 38, 0.66);
  box-shadow: inset 0 1px rgba(232, 247, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
  cursor: pointer;
  font-weight: 850;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  position: relative;
  z-index: 2;
  color: var(--cyan);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 217, 255, 0.16), transparent 68%);
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-icon-sun {
  display: none;
}

.landing-page[data-theme="light"] .theme-icon-sun {
  display: block;
}

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

.theme-toggle:hover {
  color: #f5fbff;
  border-color: rgba(112, 203, 255, 0.42);
  box-shadow: inset 0 1px rgba(232, 247, 255, 0.1), 0 9px 25px rgba(0, 0, 0, 0.2), 0 0 18px rgba(64, 170, 255, 0.1);
}

.theme-toggle:hover::before {
  opacity: 1;
  transform: scale(1.12);
}

.brand {
  width: max-content;
  display: block;
}

.brand img {
  width: clamp(112px, 9vw, 128px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(42, 149, 255, 0.28));
}

.section-heading p i,
.site-state i {
  width: 6px;
  height: 6px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(109, 240, 170, 0.08), 0 0 11px rgba(109, 240, 170, 0.72);
  animation: status-pulse 2s ease-in-out infinite;
}

.hero-strip {
  min-height: 0;
  overflow: visible;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(72%, 880px);
  position: relative;
  z-index: 4;
  padding: 20px clamp(30px, 4vw, 52px);
  text-align: left;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 51px);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.hero-copy h1 span {
  color: transparent;
  background: linear-gradient(92deg, #d9f2ff, #49b2ff 42%, #9b7dff 73%, #d9f2ff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: title-shimmer 5.8s linear infinite;
}

.hero-copy h1 .title-brand {
  background-image: linear-gradient(92deg, #f5fbff, #91ddff 44%, #d3f1ff 72%, #f5fbff);
}

.hero-copy h1 .title-strength {
  background-image: linear-gradient(92deg, #d9f2ff, #49b2ff 42%, #9b7dff 73%, #d9f2ff);
}

.hero-copy > p {
  margin: 7px 0 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(220, 236, 251, 0.48);
  font-size: 10px;
  font-weight: 800;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-row svg {
  width: 11px;
  height: 11px;
  color: var(--cyan);
}

.navigation-core {
  width: 84px;
  height: 84px;
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(28px, 6vw, 90px);
  display: grid;
  place-items: center;
  transform: translateY(-50%);
}

.core-orbit,
.core-disc {
  position: absolute;
  border-radius: 50%;
}

.core-orbit {
  border: 1px solid rgba(103, 198, 255, 0.3);
  box-shadow: inset 0 0 14px rgba(59, 148, 255, 0.08);
}

.orbit-outer {
  inset: 0;
  border-style: dashed;
  animation: core-spin 16s linear infinite;
}

.orbit-inner {
  inset: 11px;
  border-color: rgba(134, 110, 255, 0.42);
  animation: core-spin 10s linear infinite reverse;
}

.core-orbit i {
  width: 6px;
  height: 6px;
  position: absolute;
  top: 9%;
  left: 27%;
  border-radius: 50%;
  background: #bdeaff;
  box-shadow: 0 0 11px 3px rgba(73, 177, 255, 0.78);
}

.core-orbit i:nth-child(2) { top: auto; right: 11%; bottom: 21%; left: auto; }
.core-orbit i:nth-child(3) { top: 48%; right: auto; left: -3px; }

.core-disc {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(121, 207, 255, 0.34);
  background: radial-gradient(circle at 35% 25%, rgba(92, 190, 255, 0.28), rgba(6, 25, 53, 0.96) 72%);
  box-shadow: 0 0 28px rgba(44, 139, 255, 0.2), inset 0 0 24px rgba(57, 157, 255, 0.12);
}

.core-disc::before,
.core-disc::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(113, 211, 255, 0.22);
}

.core-disc::before {
  inset: 10px;
}

.core-disc::after {
  inset: 20px;
  border-color: rgba(126, 104, 255, 0.32);
}

.core-pulse {
  width: 12px;
  height: 12px;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  background: #d4f4ff;
  box-shadow: 0 0 8px #8bdfff, 0 0 24px rgba(77, 174, 255, 0.88);
  animation: core-pulse 2.5s ease-in-out infinite;
}

.gateway-panel {
  min-height: 0;
  max-height: 430px;
  align-self: start;
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 9px;
  padding: 13px;
  border: 1px solid rgba(108, 185, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(7, 24, 49, 0.79), rgba(3, 13, 29, 0.9));
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.23), inset 0 1px rgba(224, 244, 255, 0.05);
  backdrop-filter: blur(17px);
}

.gateway-panel::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 22%, rgba(102, 211, 255, 0.75) 38%, transparent 54%, rgba(126, 101, 255, 0.5) 72%, transparent 86%);
  background-size: 260% 100%;
  opacity: 0.48;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: panel-edge-flow 8s linear infinite;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-kicker {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.section-heading h2 {
  margin: 2px 0 0;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px 1px 0;
  color: rgba(215, 233, 249, 0.4);
  font-size: 11px;
}

.section-heading p.is-warning i {
  background: #ffc766;
  box-shadow: 0 0 0 4px rgba(255, 199, 102, 0.1), 0 0 11px rgba(255, 199, 102, 0.64);
}

.no-script-message,
.loading-message {
  margin: 0;
  color: rgba(220, 237, 251, 0.68);
  font-size: 11px;
  line-height: 1.55;
}

.no-script-message {
  padding: 9px 11px;
  border: 1px solid rgba(255, 193, 94, 0.24);
  border-radius: 11px;
  background: rgba(84, 52, 10, 0.18);
}

.loading-message {
  grid-column: 1 / -1;
  place-self: center;
}

.sites-grid {
  width: 100%;
  min-height: 0;
  justify-self: center;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 96px);
  gap: 9px;
}

.site-card {
  --card-delay: 0s;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 10px 11px;
  text-align: left;
  border: 1px solid rgba(112, 192, 255, 0.21);
  border-radius: 15px;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.075), transparent 28%),
    radial-gradient(circle at 84% 9%, rgba(74, 180, 255, 0.22), transparent 34%),
    radial-gradient(circle at 12% 112%, rgba(81, 90, 216, 0.18), transparent 43%),
    linear-gradient(145deg, rgba(17, 49, 87, 0.97), rgba(5, 18, 39, 0.99));
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.2),
    inset 0 1px rgba(229, 247, 255, 0.1),
    inset 0 -18px 30px rgba(0, 4, 15, 0.2);
  cursor: pointer;
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-card:nth-child(2) { --card-delay: -0.65s; }
.site-card:nth-child(3) { --card-delay: -1.3s; }
.site-card:nth-child(4) { --card-delay: -1.95s; }
.site-card:nth-child(5) { --card-delay: -2.6s; }
.site-card:nth-child(6) { --card-delay: -3.25s; }

.site-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 120%, rgba(53, 168, 255, 0.25), transparent 57%);
  transition: opacity 220ms ease;
}

.site-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.32;
  background: repeating-linear-gradient(132deg, transparent 0 17px, rgba(171, 222, 255, 0.055) 18px, transparent 19px 36px);
  mask-image: linear-gradient(105deg, #000, transparent 68%);
  pointer-events: none;
}

.card-energy {
  width: 102px;
  height: 102px;
  position: absolute;
  z-index: 0;
  bottom: -58px;
  left: -38px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 211, 255, 0.42) 0, rgba(64, 150, 255, 0.15) 35%, transparent 70%);
  filter: blur(1px);
  opacity: 0.48;
  pointer-events: none;
  animation: energy-pulse 3.8s ease-in-out var(--card-delay) infinite;
}

.card-energy::before,
.card-energy::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(108, 210, 255, 0.3);
  animation: energy-ripple 3.8s ease-out var(--card-delay) infinite;
}

.card-energy::before { inset: 15px; }
.card-energy::after { inset: 29px; animation-delay: calc(var(--card-delay) - 1.15s); }

.site-card.is-pending .card-energy {
  display: none;
}

.site-card.is-pending .card-energy,
.site-card.is-pending .card-energy::before,
.site-card.is-pending .card-energy::after,
.site-card.is-pending .site-state i {
  animation: none;
}

.site-card:nth-child(even) .card-energy {
  left: auto;
  right: -38px;
  background: radial-gradient(circle, rgba(129, 111, 255, 0.34) 0, rgba(70, 111, 255, 0.12) 36%, transparent 70%);
}

.site-card:hover {
  z-index: 5;
  border-color: rgba(103, 204, 255, 0.58);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), 0 0 30px rgba(44, 154, 255, 0.17), inset 0 1px rgba(230, 248, 255, 0.16), inset 0 -18px 30px rgba(0, 4, 15, 0.16);
  transform: translateY(-4px) perspective(700px) rotateX(1.6deg);
}

.site-card:hover::before {
  opacity: 1;
}

.site-number {
  position: absolute;
  top: 8px;
  left: 11px;
  color: rgba(208, 237, 255, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(28px, 2.5vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
}

.site-state {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  color: rgba(218, 238, 253, 0.53);
  border: 1px solid rgba(118, 191, 255, 0.15);
  border-radius: 99px;
  background: rgba(4, 16, 34, 0.45);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.site-state i {
  width: 4px;
  height: 4px;
  background: #76c9ff;
  box-shadow: 0 0 8px rgba(72, 173, 255, 0.8);
}

.site-state.is-ready i {
  background: var(--green);
  box-shadow: 0 0 8px rgba(109, 240, 170, 0.8);
}

.site-card.is-pending {
  opacity: 0.72;
}

.site-card.is-pending:hover {
  opacity: 0.88;
}

.site-content {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.site-icon {
  width: 36px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(122, 205, 255, 0.25);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(55, 156, 244, 0.18), rgba(15, 54, 100, 0.14));
  box-shadow: inset 0 1px rgba(221, 244, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.site-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(105, 210, 255, 0.45);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.site-icon svg {
  width: 18px;
}

.site-card:hover .site-icon {
  box-shadow: 0 0 19px rgba(70, 183, 255, 0.24), inset 0 1px rgba(221, 244, 255, 0.13);
  transform: rotate(-5deg) scale(1.05);
}

.site-card:hover .site-icon::after {
  animation: icon-ripple 850ms ease-out;
}

.site-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: left;
}

.site-copy b {
  overflow: hidden;
  font-size: clamp(12px, 1.15vw, 17px);
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-copy small {
  overflow: hidden;
  color: rgba(210, 229, 246, 0.48);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-enter {
  position: relative;
  z-index: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: rgba(207, 233, 251, 0.46);
  font-size: 10px;
  font-weight: 850;
  transition: color 180ms ease;
}

.site-enter svg {
  width: 11px;
  transition: transform 180ms ease;
}

.site-card:hover .site-enter {
  color: #e7f7ff;
}

.site-card:hover .site-enter svg {
  transform: translate(2px, -2px);
}

.utility-panel {
  width: min(var(--shell-width), 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 54px);
  gap: 9px;
}

.utility-card {
  --utility-color: 55, 168, 255;
  --utility-border-light: 45, 139, 201;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 6px 13px;
  text-align: left;
  border: 1px solid rgba(var(--utility-color), 0.26);
  border-radius: 15px;
  background:
    radial-gradient(circle at 7% 50%, rgba(var(--utility-color), 0.18), transparent 34%),
    linear-gradient(135deg, rgba(11, 35, 66, 0.9), rgba(5, 17, 36, 0.92));
  box-shadow: inset 0 1px rgba(226, 246, 255, 0.05);
  cursor: pointer;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.utility-card::after {
  content: "";
  width: 30%;
  height: 200%;
  position: absolute;
  top: -50%;
  left: -45%;
  background: linear-gradient(90deg, transparent, rgba(221, 244, 255, 0.13), transparent);
  transform: rotate(16deg);
  transition: left 620ms ease;
}

.utility-card:hover {
  border-color: rgba(var(--utility-color), 0.56);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.26), 0 0 23px rgba(var(--utility-color), 0.1);
  transform: translateY(-3px);
}

.utility-card:hover::after {
  left: 125%;
}

.utility-card.is-pending {
  opacity: 0.72;
}

.utility-card.is-pending:hover {
  opacity: 0.9;
}

.utility-service {
  grid-column: 1 / -1;
  grid-row: 2;
}

.utility-android {
  --utility-color: 127, 214, 115;
  --utility-border-light: 64, 159, 87;
}

.utility-apple {
  --utility-color: 204, 221, 239;
  --utility-border-light: 104, 137, 169;
}

.utility-icon {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 12px;
  background: linear-gradient(145deg, #4db8ff, #276fd8);
  box-shadow: 0 8px 20px rgba(32, 115, 203, 0.26);
}

.utility-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(var(--utility-color), 0.48);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.utility-android .utility-icon {
  color: #0f2717;
  background: linear-gradient(145deg, #d9f58d, #79c956);
  box-shadow: 0 8px 20px rgba(95, 173, 68, 0.2);
}

.utility-apple .utility-icon {
  color: #172434;
  background: linear-gradient(145deg, #f7fbff, #aabed2);
  box-shadow: 0 8px 20px rgba(145, 174, 201, 0.19);
}

.utility-icon svg {
  width: 21px;
  height: 21px;
  position: relative;
  z-index: 1;
  stroke-width: 1.65;
}

.utility-card:hover .utility-icon::after {
  animation: utility-icon-ripple 850ms ease-out;
}

.utility-copy {
  min-width: 0;
  height: 38px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
}

.utility-copy small {
  color: rgba(var(--utility-color), 0.68);
  font-size: 10px;
  font-weight: 900;
  line-height: 10px;
  letter-spacing: 0.13em;
}

.utility-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 16px;
}

.utility-copy b {
  font-size: 12px;
  line-height: 16px;
}

.utility-copy em {
  overflow: hidden;
  color: rgba(211, 230, 247, 0.4);
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.utility-card > svg {
  width: 15px;
  position: relative;
  z-index: 2;
  color: rgba(217, 239, 255, 0.4);
  transition: transform 180ms ease, color 180ms ease;
}

.utility-card:hover > svg {
  color: #f2fbff;
  transform: translate(2px, -2px);
}

.page-footer {
  position: absolute;
  left: 50%;
  bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(210, 229, 247, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  transform: translateX(-50%);
}

.landing-page[data-theme="dark"] {
  --paper: #f2f7ff;
  --muted: #91a9c2;
  --line: rgba(111, 193, 255, 0.23);
  background:
    radial-gradient(ellipse at 50% -14%, rgba(42, 139, 231, 0.2), transparent 42%),
    radial-gradient(circle at 8% 16%, rgba(21, 92, 179, 0.17), transparent 29%),
    radial-gradient(circle at 88% 84%, rgba(91, 67, 205, 0.15), transparent 31%),
    linear-gradient(155deg, #061426 0%, #020813 52%, #08091c 100%);
  box-shadow: inset 0 0 150px rgba(0, 2, 10, 0.54);
}

.landing-page[data-theme="dark"] .cosmos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(176, 221, 255, 0.025), transparent 22%),
    radial-gradient(ellipse at 50% 48%, transparent 36%, rgba(0, 3, 12, 0.4) 100%);
}

.landing-page[data-theme="dark"] .star-canvas { opacity: 0.94; }
.landing-page[data-theme="dark"] .nebula { opacity: 0.2; }

.landing-page[data-theme="dark"] .brand img {
  filter: drop-shadow(0 8px 20px rgba(48, 155, 255, 0.34));
}

.landing-page[data-theme="dark"] .theme-toggle {
  color: rgba(226, 240, 253, 0.78);
  border-color: rgba(109, 191, 255, 0.27);
  background: linear-gradient(145deg, rgba(12, 37, 68, 0.86), rgba(4, 15, 32, 0.9));
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(235, 248, 255, 0.09),
    inset 0 0 0 1px rgba(51, 141, 211, 0.04);
}

.landing-page[data-theme="dark"] .theme-toggle:hover {
  color: #f5fbff;
  border-color: rgba(112, 203, 255, 0.46);
  box-shadow:
    0 11px 30px rgba(0, 0, 0, 0.29),
    0 0 18px rgba(64, 170, 255, 0.11),
    inset 0 1px rgba(235, 248, 255, 0.12);
}

.landing-page[data-theme="dark"] .trust-row,
.landing-page[data-theme="dark"] .section-heading p {
  color: rgba(210, 230, 247, 0.56);
}

.landing-page[data-theme="dark"] .gateway-panel {
  border-color: rgba(96, 181, 244, 0.23);
  background:
    radial-gradient(circle at 94% 4%, rgba(52, 138, 207, 0.09), transparent 34%),
    radial-gradient(circle at 4% 100%, rgba(83, 74, 196, 0.08), transparent 36%),
    linear-gradient(145deg, rgba(7, 26, 52, 0.91), rgba(2, 11, 25, 0.96));
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(58, 148, 215, 0.025),
    inset 0 1px rgba(226, 246, 255, 0.08),
    inset 0 -42px 70px rgba(0, 3, 13, 0.12);
}

.landing-page[data-theme="dark"] .gateway-panel::before {
  opacity: 0.35;
  animation-duration: 12s;
}

.landing-page[data-theme="dark"] .section-kicker {
  text-shadow: 0 0 18px rgba(83, 200, 255, 0.28);
}

.landing-page[data-theme="dark"] .site-state {
  color: rgba(220, 238, 252, 0.62);
  border-color: rgba(115, 195, 255, 0.19);
  background: rgba(3, 14, 31, 0.68);
  box-shadow: inset 0 1px rgba(231, 247, 255, 0.05);
}

.landing-page[data-theme="dark"] .site-card.is-pending { opacity: 0.84; }
.landing-page[data-theme="dark"] .site-card.is-pending:hover { opacity: 0.92; }

.landing-page[data-theme="dark"] .utility-card {
  border-color: rgba(var(--utility-color), 0.31);
  background:
    radial-gradient(circle at 8% 50%, rgba(var(--utility-color), 0.18), transparent 34%),
    linear-gradient(140deg, rgba(11, 38, 70, 0.95), rgba(3, 14, 31, 0.97));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(227, 246, 255, 0.09),
    inset 0 -18px 30px rgba(0, 4, 15, 0.1);
}

.landing-page[data-theme="dark"] .utility-card:hover {
  border-color: rgba(var(--utility-color), 0.6);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(var(--utility-color), 0.1),
    inset 0 1px rgba(231, 248, 255, 0.12);
}

.landing-page[data-theme="dark"] .utility-service {
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(45, 151, 255, 0.08),
    inset 0 1px rgba(227, 246, 255, 0.09);
}

.landing-page[data-theme="dark"] .utility-copy em,
.landing-page[data-theme="dark"] .utility-card > svg,
.landing-page[data-theme="dark"] .page-footer {
  color: rgba(205, 227, 245, 0.51);
}

.landing-page[data-theme="light"] .star-canvas { opacity: 0.68; }
.landing-page[data-theme="light"] .nebula { opacity: 0.12; }
.landing-page[data-theme="light"] .theme-toggle {
  color: rgba(25, 64, 96, 0.68);
  border-color: rgba(40, 126, 181, 0.2);
  background: rgba(247, 252, 255, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.8), 0 8px 22px rgba(44, 97, 133, 0.12);
}

.landing-page[data-theme="light"] .hero-copy h1 .title-brand {
  background-image: linear-gradient(92deg, #153958, #267fb8 45%, #174d74 74%, #153958);
}

.landing-page[data-theme="light"] .hero-copy h1 .title-strength {
  background-image: linear-gradient(92deg, #236fa9, #168fd2 42%, #6b59d5 73%, #236fa9);
}

.landing-page[data-theme="light"] .trust-row,
.landing-page[data-theme="light"] .section-heading p {
  color: rgba(34, 69, 99, 0.66);
}

.landing-page[data-theme="light"] .core-disc {
  border-color: rgba(32, 135, 195, 0.3);
  background: radial-gradient(circle at 35% 25%, rgba(113, 207, 255, 0.52), rgba(230, 245, 255, 0.94) 72%);
  box-shadow: 0 0 25px rgba(44, 139, 255, 0.16), inset 0 0 22px rgba(57, 157, 255, 0.12);
}

.landing-page[data-theme="light"] .gateway-panel {
  border-color: rgba(42, 128, 184, 0.2);
  background: linear-gradient(145deg, rgba(247, 252, 255, 0.9), rgba(226, 240, 250, 0.92));
  box-shadow: 0 20px 48px rgba(55, 99, 130, 0.14), inset 0 1px rgba(255, 255, 255, 0.9);
}

.landing-page[data-theme="light"] .gateway-panel::before { opacity: 0.3; }

.landing-page[data-theme="dark"] .site-card {
  border-color: rgba(104, 186, 246, 0.24);
  background:
    linear-gradient(150deg, rgba(66, 146, 209, 0.11), transparent 44%),
    radial-gradient(circle at 88% 10%, rgba(65, 165, 235, 0.17), transparent 38%),
    radial-gradient(circle at 8% 112%, rgba(94, 93, 214, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(15, 45, 79, 0.98), rgba(4, 15, 34, 0.99));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(223, 244, 255, 0.11),
    inset 0 0 0 1px rgba(29, 112, 176, 0.05),
    inset 0 -20px 32px rgba(0, 3, 14, 0.2);
}

.landing-page[data-theme="dark"] .site-card::after {
  opacity: 0.2;
  background: repeating-linear-gradient(132deg, transparent 0 20px, rgba(154, 215, 255, 0.05) 21px, transparent 22px 42px);
  mask-image: linear-gradient(105deg, #000, transparent 72%);
}

.landing-page[data-theme="dark"] .site-card:hover {
  border-color: rgba(104, 207, 255, 0.56);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(43, 151, 238, 0.13),
    inset 0 1px rgba(230, 248, 255, 0.16),
    inset 0 -18px 30px rgba(0, 4, 15, 0.15);
}

.landing-page[data-theme="light"] .site-card {
  border-color: rgba(42, 134, 193, 0.24);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.9), transparent 30%),
    radial-gradient(circle at 84% 9%, rgba(73, 177, 236, 0.18), transparent 35%),
    radial-gradient(circle at 12% 112%, rgba(111, 94, 215, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(241, 249, 255, 0.98), rgba(215, 233, 247, 0.98));
  box-shadow: 0 10px 25px rgba(50, 99, 132, 0.13), inset 0 1px #ffffff, inset 0 -16px 28px rgba(72, 127, 164, 0.08);
}

.landing-page[data-theme="light"] .site-card::after {
  background: repeating-linear-gradient(132deg, transparent 0 17px, rgba(22, 105, 157, 0.055) 18px, transparent 19px 36px);
}

.landing-page[data-theme="light"] .site-number { color: rgba(27, 91, 134, 0.13); }

.landing-page[data-theme="light"] .site-state {
  color: rgba(29, 69, 101, 0.7);
  border-color: rgba(44, 130, 185, 0.18);
  background: rgba(247, 252, 255, 0.68);
}

.landing-page[data-theme="light"] .site-copy small,
.landing-page[data-theme="light"] .site-enter {
  color: rgba(39, 79, 111, 0.7);
}

.landing-page[data-theme="light"] .site-card.is-pending { opacity: 0.9; }
.landing-page[data-theme="light"] .site-card.is-pending:hover { opacity: 0.94; }

.landing-page[data-theme="light"] .utility-card {
  border-color: rgba(var(--utility-border-light), 0.29);
  background:
    radial-gradient(circle at 7% 50%, rgba(var(--utility-color), 0.17), transparent 35%),
    linear-gradient(135deg, rgba(248, 252, 255, 0.96), rgba(224, 237, 248, 0.94));
  box-shadow: 0 9px 24px rgba(49, 94, 126, 0.11), inset 0 1px rgba(255, 255, 255, 0.9);
}

.landing-page[data-theme="light"] .utility-card:hover {
  border-color: rgba(var(--utility-border-light), 0.52);
  box-shadow: 0 13px 28px rgba(49, 94, 126, 0.16), 0 0 20px rgba(var(--utility-border-light), 0.1), inset 0 1px rgba(255, 255, 255, 0.96);
}

.landing-page[data-theme="light"] .utility-service {
  box-shadow: 0 16px 38px rgba(47, 96, 131, 0.2), 0 0 24px rgba(45, 151, 255, 0.13), inset 0 1px rgba(255, 255, 255, 0.95);
}

.landing-page[data-theme="light"] .utility-android .utility-copy small {
  color: rgba(49, 137, 75, 0.82);
}

.landing-page[data-theme="light"] .utility-apple .utility-copy small {
  color: rgba(38, 78, 110, 0.68);
}

.landing-page[data-theme="light"] .utility-service .utility-copy small {
  color: rgba(31, 126, 196, 0.76);
}

.landing-page[data-theme="light"] .utility-copy em,
.landing-page[data-theme="light"] .utility-card > svg,
.landing-page[data-theme="light"] .page-footer {
  color: rgba(34, 72, 102, 0.64);
}

.page-footer p {
  margin: 0;
}

.toast {
  min-width: min(390px, calc(100vw - 30px));
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #f6fbff;
  border: 1px solid rgba(215, 241, 255, 0.72);
  border-radius: 13px;
  background: linear-gradient(120deg, #43acff, #296fd7);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 10px;
  font-weight: 800;
}

.toast svg {
  width: 17px;
  flex: 0 0 auto;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes nebula-breathe {
  to { opacity: 0.35; transform: scale(1.14) translate3d(2%, 1%, 0); }
}

@keyframes panel-edge-flow {
  to { background-position: -260% 0; }
}

@keyframes status-pulse {
  50% { opacity: 0.55; transform: scale(0.8); }
}

@keyframes title-shimmer {
  to { background-position: -220% 0; }
}

@keyframes core-spin {
  to { transform: rotate(360deg); }
}

@keyframes core-pulse {
  0%, 100% { opacity: 0.58; transform: scale(0.72); }
  50% { opacity: 1; transform: scale(1.16); }
}

@keyframes energy-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.82); }
  50% { opacity: 0.68; transform: scale(1.12); }
}

@keyframes energy-ripple {
  0% { opacity: 0; transform: scale(0.55); }
  25% { opacity: 0.72; }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes icon-ripple {
  from { opacity: 0.8; transform: scale(1); }
  to { opacity: 0; transform: scale(1.45); }
}

@keyframes utility-icon-ripple {
  from { opacity: 0.78; transform: scale(1); }
  to { opacity: 0; transform: scale(1.6); }
}

@media (max-height: 760px) and (min-width: 721px) {
  .landing-page {
    min-height: 620px;
    grid-template-rows: 48px minmax(0, 1fr);
    gap: 0;
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .brand img { width: 118px; }
  .page-content { grid-template-rows: 116px auto 108px; gap: 8px; }
  .hero-copy { padding-block: 14px; }
  .hero-copy h1 { font-size: clamp(31px, 2.8vw, 44px); }
  .hero-copy > p { margin-block: 5px 6px; }
  .navigation-core { width: 84px; height: 84px; top: 50%; }
  .core-disc { width: 50px; height: 50px; }
  .gateway-panel { gap: 6px; padding: 10px; }
  .sites-grid { grid-template-rows: repeat(2, minmax(74px, 90px)); }
  .site-card { padding: 9px 11px; }
  .site-content { margin-top: 22px; }
  .site-icon { width: 35px; height: 35px; }
  .utility-panel { grid-template-rows: repeat(2, 50px); gap: 8px; }
  .utility-icon { width: 38px; height: 38px; }
  .page-footer { bottom: 5px; }
}

@media (max-width: 1080px) and (min-width: 721px) {
  .hero-copy { width: 76%; }
  .navigation-core { right: 18px; }
  .utility-android .utility-copy em,
  .utility-apple .utility-copy em { display: none; }
}

@media (min-width: 721px) and (max-width: 760px) and (min-height: 761px) {
  .sites-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 96px;
  }
}

@media (min-width: 1280px) and (min-height: 761px) {
  .page-content {
    align-self: center;
    grid-template-rows: 154px auto 117px;
    gap: 10px;
    margin-top: 0;
  }

  .hero-strip {
    min-height: 154px;
  }
}

@media (max-width: 720px) {
  .landing-page {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding:
      max(10px, env(safe-area-inset-top))
      max(11px, env(safe-area-inset-right))
      max(22px, env(safe-area-inset-bottom))
      max(11px, env(safe-area-inset-left));
  }

  .nebula,
  .hero-copy h1 span,
  .gateway-panel::before,
  .card-energy,
  .card-energy::before,
  .card-energy::after {
    animation: none;
  }

  .gateway-panel {
    backdrop-filter: none;
  }

  .topbar {
    flex: 0 0 auto;
    height: 54px;
    grid-template-columns: 1fr;
    margin-bottom: 10px;
  }

  .page-content {
    width: 100%;
    flex: 1 0 auto;
    display: block;
  }

  .brand img { width: 120px; }

  .hero-strip {
    min-height: 142px;
    align-items: end;
    margin-bottom: 10px;
  }

  .hero-copy {
    width: 100%;
    padding: 12px 14px 11px;
    text-align: left;
  }

  .trust-row { justify-content: flex-start; }

  .hero-copy h1 {
    font-size: clamp(27px, 6.6vw, 34px);
    line-height: 1.02;
    white-space: normal;
  }

  .hero-copy h1 span { display: block; }
  .hero-copy > p {
    margin: 7px 0 6px;
    font-size: 10px;
    line-height: 1.45;
  }

  .trust-row {
    gap: 10px;
    font-size: 10px;
  }

  .navigation-core {
    width: 64px;
    height: 64px;
    top: 9px;
    right: 12px;
    opacity: 0.66;
    transform: none;
  }

  .core-disc { width: 38px; height: 38px; }

  .gateway-panel {
    max-height: none;
    display: block;
    margin-bottom: 10px;
    padding: 13px;
    border-radius: 19px;
  }

  .section-heading { margin-bottom: 11px; }
  .section-heading p { display: none; }
  .section-heading h2 { font-size: 23px; }

  .sites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 8px;
  }

  .site-card {
    height: 96px;
    padding: 9px;
  }

  .site-number { font-size: 25px; }
  .site-state { top: 8px; right: 8px; }
  .site-content { gap: 8px; }
  .site-icon { width: 31px; height: 31px; }
  .site-copy b { font-size: 12px; }
  .site-enter { display: none; }

  .utility-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 56px);
    gap: 8px;
  }

  .utility-card {
    min-height: 56px;
  }

  .utility-android .utility-copy em,
  .utility-apple .utility-copy em { display: none; }

  .utility-copy small {
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .page-footer {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    flex: 0 0 auto;
    margin-top: auto;
    padding: 10px 3px 0;
    text-align: center;
    line-height: 1.9;
    font-size: 10px;
    transform: none;
  }

  .page-footer span { display: block; }
  .toast { bottom: 18px; }
}

@media (max-width: 420px) {
  .theme-toggle { right: 1px; padding-inline: 8px; }
  .hero-strip { min-height: 136px; }
  .hero-copy { padding: 11px 12px 10px; }
  .hero-copy h1 { font-size: 27px; }
  .trust-row { gap: 9px; }
  .navigation-core { width: 58px; height: 58px; }
  .core-disc { width: 34px; height: 34px; }
  .site-card { height: 90px; }
  .site-icon { width: 29px; height: 29px; border-radius: 9px; }
  .site-state { font-size: 10px; }
  .site-copy small { font-size: 10px; }
}

@media (max-width: 359px) {
  .utility-card {
    gap: 8px;
    padding-inline: 9px;
  }

  .utility-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .utility-copy small {
    display: none;
    line-height: 8px;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .utility-copy b {
    font-size: 11px;
  }

  .utility-card > svg {
    width: 12px;
  }
}

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

}
