:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", monospace;
  --black: #030303;
  --black-soft: #080808;
  --white: #f3f3ef;
  --silver: #a7a7a2;
  --silver-soft: rgba(232, 232, 226, 0.48);
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.045);
  --orange: #f2a900;
  --orange-hot: #ffc338;
  --orange-soft: rgba(242, 169, 0, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow-x: hidden;
  overflow-y: auto;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(242, 169, 0, 0.075), transparent 19%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(180deg, #020202 0%, #060606 50%, #020202 100%);
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
}

.site-shell::before {
  top: 14%;
  left: -18%;
  width: 38vw;
  height: 38vw;
  background: rgba(242, 169, 0, 0.035);
}

.site-shell::after {
  right: -18%;
  bottom: 4%;
  width: 44vw;
  height: 44vw;
  background: rgba(255, 255, 255, 0.025);
}

.visual-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: clamp(48px, 5vw, 82px) clamp(48px, 5vw, 82px);
  mask-image: radial-gradient(circle at 50% 48%, #000 8%, transparent 72%);
  pointer-events: none;
}

.noise-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.58'/%3E%3C/svg%3E");
  pointer-events: none;
}

.scan-beam {
  position: absolute;
  top: -32%;
  bottom: -32%;
  left: -24%;
  z-index: -1;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.017), rgba(242, 169, 0, 0.035), transparent);
  transform: skewX(-18deg);
  animation: scanAcross 10s linear infinite;
  pointer-events: none;
}

.outer-frame {
  position: absolute;
  inset: clamp(10px, 1.5vw, 24px);
  z-index: 15;
  border: 1px solid var(--line);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.01),
    0 0 80px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.outer-frame::before,
.outer-frame::after {
  content: "";
  position: absolute;
  inset: clamp(8px, 1vw, 16px);
  border: 1px solid var(--line-soft);
}

.outer-frame::after {
  inset: clamp(26px, 2.4vw, 42px);
  opacity: 0.75;
}

.corner {
  position: absolute;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-color: rgba(242, 169, 0, 0.58);
  border-style: solid;
  filter: drop-shadow(0 0 7px rgba(242, 169, 0, 0.22));
}

.corner-tl {
  top: 14px;
  left: 14px;
  border-width: 1px 0 0 1px;
}

.corner-tr {
  top: 14px;
  right: 14px;
  border-width: 1px 1px 0 0;
}

.corner-bl {
  bottom: 14px;
  left: 14px;
  border-width: 0 0 1px 1px;
}

.corner-br {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
}

.signal-header,
.site-footer {
  position: relative;
  z-index: 4;
  width: min(100% - clamp(58px, 8vw, 124px), 1520px);
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-geist-mono), "Courier New", monospace;
  font-size: clamp(11px, 0.75vw, 14px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding-top: clamp(12px, 1.4vw, 21px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.signal-id,
.header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(242, 169, 0, 0.7);
  animation: statusPulse 2.2s ease-in-out infinite;
}

.header-meta {
  justify-self: end;
}

.meta-separator {
  color: rgba(242, 169, 0, 0.62);
}

.header-frequency {
  height: 21px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-frequency i {
  width: 2px;
  height: 28%;
  display: block;
  background: rgba(242, 169, 0, 0.78);
  box-shadow: 0 0 7px rgba(242, 169, 0, 0.25);
  animation: miniWave 1.8s ease-in-out infinite;
}

.header-frequency i:nth-child(2),
.header-frequency i:nth-child(8) {
  animation-delay: 0.1s;
}

.header-frequency i:nth-child(3),
.header-frequency i:nth-child(7) {
  animation-delay: 0.2s;
}

.header-frequency i:nth-child(4),
.header-frequency i:nth-child(6) {
  animation-delay: 0.3s;
}

.header-frequency i:nth-child(5) {
  animation-delay: 0.4s;
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(36px, 4vw, 68px) clamp(34px, 6vw, 100px);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: entrance 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 clamp(18px, 2.2vw, 29px);
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-geist-mono), "Courier New", monospace;
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
}

.eyebrow span {
  width: clamp(30px, 6vw, 84px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 169, 0, 0.54), transparent);
}

.logo-gateway {
  position: relative;
  width: min(80vw, 760px);
  display: block;
  padding: clamp(18px, 2.1vw, 29px) clamp(22px, 3.1vw, 44px) clamp(16px, 1.8vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.095);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
    rgba(2, 2, 2, 0.74);
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.8),
    inset 0 0 42px rgba(255, 255, 255, 0.012);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.logo-gateway::before,
.logo-gateway::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 8%;
  right: 8%;
  height: 1px;
  transform: scaleX(0.34);
  transition: transform 0.35s ease;
}

.logo-gateway::before {
  top: -1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.logo-gateway::after {
  bottom: -1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
}

.logo-gateway:hover,
.logo-gateway:focus-visible {
  border-color: rgba(242, 169, 0, 0.44);
  box-shadow:
    0 42px 118px rgba(0, 0, 0, 0.88),
    0 0 58px rgba(242, 169, 0, 0.075),
    inset 0 0 48px rgba(242, 169, 0, 0.025);
  transform: translateY(-5px) scale(1.005);
  outline: none;
}

.logo-gateway:hover::before,
.logo-gateway:hover::after,
.logo-gateway:focus-visible::before,
.logo-gateway:focus-visible::after {
  transform: scaleX(1);
}

.logo-glow {
  position: absolute;
  top: 20%;
  right: 9%;
  bottom: 20%;
  left: 9%;
  z-index: -1;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(55px);
  opacity: 0.16;
  transition: opacity 0.3s ease;
}

.logo-gateway:hover .logo-glow,
.logo-gateway:focus-visible .logo-glow {
  opacity: 0.28;
}

.logo-bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(242, 169, 0, 0.52);
  border-style: solid;
}

.bracket-tl {
  top: 9px;
  left: 9px;
  border-width: 1px 0 0 1px;
}

.bracket-tr {
  top: 9px;
  right: 9px;
  border-width: 1px 1px 0 0;
}

.bracket-bl {
  bottom: 9px;
  left: 9px;
  border-width: 0 0 1px 1px;
}

.bracket-br {
  right: 9px;
  bottom: 9px;
  border-width: 0 1px 1px 0;
}

.dwr-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter:
    brightness(1.07)
    contrast(1.04)
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.11));
  user-select: none;
  transition: filter 0.3s ease;
}

.logo-gateway:hover .dwr-logo,
.logo-gateway:focus-visible .dwr-logo {
  filter:
    brightness(1.15)
    contrast(1.08)
    drop-shadow(0 0 25px rgba(255, 255, 255, 0.16));
}

.logo-action {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(6px, 1vw, 12px);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-geist-mono), "Courier New", monospace;
  font-size: clamp(11px, 0.85vw, 14px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.logo-action b {
  color: var(--orange);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  text-indent: 0;
}

.logo-gateway:hover .logo-action,
.logo-gateway:focus-visible .logo-action {
  color: rgba(255, 255, 255, 0.9);
}

.migration-copy {
  width: min(100%, 820px);
  margin-top: clamp(19px, 2.4vw, 31px);
}

.copy-rule {
  width: min(92%, 500px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 13px;
}

.copy-rule span {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.copy-rule i {
  width: 5px;
  height: 5px;
  display: block;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(242, 169, 0, 0.42);
  transform: rotate(45deg);
}

.migration-kicker {
  margin: 0 0 7px;
  color: var(--orange);
  font-family: var(--font-geist-mono), "Courier New", monospace;
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
}

.migration-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 550;
  line-height: 1.65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.domain-gateway {
  width: min(100%, 760px);
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: clamp(18px, 2vw, 26px);
  padding: 17px 22px;
  border: 1px solid rgba(242, 169, 0, 0.28);
  background: rgba(242, 169, 0, 0.028);
  color: var(--white);
  text-align: left;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.domain-gateway:hover,
.domain-gateway:focus-visible {
  background: rgba(242, 169, 0, 0.09);
  border-color: rgba(242, 169, 0, 0.68);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
  outline: none;
}

.domain-label,
.domain-arrow {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-geist-mono), "Courier New", monospace;
  font-size: clamp(10px, 0.75vw, 13px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.domain-label {
  max-width: 115px;
}

.domain-gateway strong {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-geist-mono), "Courier New", monospace;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.domain-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
}

.domain-arrow b {
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.25s ease;
}

.domain-gateway:hover .domain-arrow b,
.domain-gateway:focus-visible .domain-arrow b {
  transform: translateX(4px);
}

.genre-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(18px, 2vw, 26px) 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-geist-mono), "Courier New", monospace;
  font-size: clamp(10px, 0.75vw, 13px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.genre-line i {
  width: 3px;
  height: 3px;
  display: inline-block;
  border-radius: 50%;
  background: rgba(242, 169, 0, 0.58);
}

.site-footer {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: clamp(11px, 1.3vw, 19px);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: clamp(9px, 0.65vw, 12px);
  letter-spacing: 0.15em;
}

.site-footer > span:last-child {
  justify-self: end;
}

.footer-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-center i {
  width: 14px;
  height: 2px;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(242, 169, 0, 0.5));
}

@keyframes entrance {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scanAcross {
  from {
    transform: translateX(-20vw) skewX(-18deg);
  }
  to {
    transform: translateX(160vw) skewX(-18deg);
  }
}

@keyframes miniWave {
  0%,
  100% {
    height: 22%;
  }
  50% {
    height: 100%;
  }
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .site-shell {
    overflow-y: auto;
  }

  .outer-frame {
    inset: 8px;
  }

  .outer-frame::before {
    inset: 7px;
  }

  .outer-frame::after {
    inset: 21px;
  }

  .corner {
    width: 26px;
    height: 26px;
  }

  .corner-tl,
  .corner-tr {
    top: 10px;
  }

  .corner-bl,
  .corner-br {
    bottom: 10px;
  }

  .corner-tl,
  .corner-bl {
    left: 10px;
  }

  .corner-tr,
  .corner-br {
    right: 10px;
  }

  .signal-header,
  .site-footer {
    width: calc(100% - 54px);
  }

  .signal-header {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding-top: 10px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .header-frequency {
    display: none;
  }

  .header-meta {
    gap: 7px;
  }

  .hero {
    padding: 35px 29px 31px;
  }

  .eyebrow {
    gap: 8px;
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .eyebrow span {
    min-width: 22px;
  }

  .logo-gateway {
    width: min(100%, 610px);
    padding: 17px 17px 14px;
  }

  .logo-action {
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }

  .migration-copy {
    margin-top: 20px;
  }

  .migration-kicker {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .migration-text {
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.07em;
  }

  .domain-gateway {
    min-height: 104px;
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    margin-top: 19px;
    padding: 13px 15px;
  }

  .domain-label {
    max-width: none;
    grid-column: 1 / -1;
    font-size: 9px;
  }

  .domain-gateway strong {
    font-size: clamp(14px, 4vw, 17px);
    letter-spacing: 0.09em;
    text-align: left;
  }

  .domain-arrow {
    justify-self: end;
    font-size: 9px;
  }

  .genre-line {
    max-width: 310px;
    gap: 7px;
    margin-top: 18px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .site-footer {
    min-height: 58px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3px;
    padding-bottom: 9px;
    text-align: center;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .site-footer > span:last-child {
    justify-self: center;
  }

  .footer-center {
    display: none;
  }
}

@media (max-width: 410px) {
  .signal-id span:last-child {
    max-width: 116px;
  }

  .header-meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
  }

  .meta-separator {
    display: none;
  }

  .hero {
    padding-right: 26px;
    padding-left: 26px;
  }

  .eyebrow {
    line-height: 1.7;
  }

  .domain-arrow {
    letter-spacing: 0.1em;
  }
}

@media (max-height: 770px) and (min-width: 761px) {
  .signal-header {
    min-height: 56px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .eyebrow {
    margin-bottom: 15px;
  }

  .logo-gateway {
    width: min(70vw, 640px);
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .migration-copy {
    margin-top: 16px;
  }

  .domain-gateway {
    min-height: 82px;
    margin-top: 15px;
  }

  .genre-line {
    margin-top: 14px;
  }

  .site-footer {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
