:root {
  color-scheme: light;
  --bg: #f7f8f8;
  --paper: #ffffff;
  --ink: #121820;
  --muted: #67707c;
  --quiet: #8d949d;
  --line: rgba(18, 24, 32, 0.13);
  --line-strong: rgba(18, 24, 32, 0.22);
  --gold: #b28a46;
  --gold-soft: rgba(178, 138, 70, 0.16);
  --teal: #1e6a78;
  --shadow: 0 24px 70px rgba(18, 24, 32, 0.09);
  --max: 1180px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at var(--cursor-x, 72%) var(--cursor-y, 20%), rgba(30, 106, 120, 0.08), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, var(--bg) 52%, #eef3f2 100%);
  color: var(--ink);
}

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

button {
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transform: translateY(-150%);
}

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

.site-header,
.hub-shell,
.status-strip,
.site-detail,
.site-footer,
.privacy-page {
  width: min(var(--max), calc(100% - 44px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-size: 18px;
  font-weight: 560;
}

.brand-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, rgba(178, 138, 70, 0.08));
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.72);
}

.site-nav {
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.hub-shell {
  display: grid;
  min-height: calc(100vh - 190px);
  grid-template-columns: minmax(280px, 0.78fr) minmax(460px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  padding: clamp(34px, 5vw, 70px) 0 42px;
}

.hub-copy h1,
.privacy-page h1,
.redirect-page h1 {
  max-width: 610px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6.2vw, 78px);
  font-weight: 580;
  letter-spacing: 0;
  line-height: 1.03;
}

.hub-copy p,
.privacy-page > p,
.redirect-page p {
  max-width: 470px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.privacy-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 34px !important;
  color: var(--quiet) !important;
  font-size: 14px !important;
}

.privacy-note svg {
  width: 18px;
  color: var(--gold);
}

.privacy-note path,
.node-icon path,
.node-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hub-visual {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  justify-self: end;
}

.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-lines circle,
.orbit-lines path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
}

.orbit-lines > circle {
  stroke-dasharray: 2 8;
}

.orbit-lines .pin {
  fill: var(--gold);
  stroke: rgba(178, 138, 70, 0.35);
  stroke-width: 7;
}

.node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  width: 118px;
  height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 248, 0.82)),
    var(--paper);
  box-shadow: 0 18px 42px rgba(18, 24, 32, 0.08);
  transform: translate(-50%, -50%);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease);
}

.node:hover,
.node:focus-visible,
.node.is-selected {
  border-color: rgba(178, 138, 70, 0.62);
  box-shadow: 0 22px 54px rgba(18, 24, 32, 0.13);
  outline: none;
  transform: translate(-50%, -50%) scale(1.035);
}

.node-hub {
  --x: 50%;
  --y: 50%;
  width: 154px;
  height: 154px;
  border-color: rgba(178, 138, 70, 0.78);
  box-shadow:
    0 24px 64px rgba(18, 24, 32, 0.11),
    0 0 0 14px rgba(178, 138, 70, 0.07);
}

.node-games {
  --x: 50%;
  --y: 18%;
}

.node-tools {
  --x: 82%;
  --y: 39%;
}

.node-saas {
  --x: 72%;
  --y: 76%;
}

.node-experiments {
  --x: 28%;
  --y: 76%;
}

.node-utility {
  --x: 18%;
  --y: 39%;
}

.node-icon {
  width: 27px;
  color: var(--teal);
}

.node-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 580;
  line-height: 1.08;
  text-align: center;
}

.node-hub .node-title {
  max-width: 116px;
  font-size: 22px;
}

.node-meta {
  color: var(--quiet);
  font-size: 11px;
}

.status-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.strip-label {
  color: var(--ink);
  font-size: 15px;
}

.status-strip button {
  display: grid;
  min-height: 58px;
  gap: 6px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.status-strip button + button {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.status-strip span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 570;
}

.status-strip small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.site-detail {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 28px;
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
}

.site-detail span {
  min-width: 130px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 680;
  text-transform: uppercase;
}

.site-detail p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 13px;
}

.privacy-page {
  max-width: 920px;
  padding: clamp(52px, 9vw, 110px) 0 80px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--gold);
  font-size: 14px;
}

.privacy-rules {
  display: grid;
  gap: 1px;
  margin-top: 52px;
  border: 1px solid var(--line);
  background: var(--line);
}

.privacy-rules article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.privacy-rules h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 620;
}

.privacy-rules p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.redirect-page main {
  width: min(620px, calc(100% - 44px));
}

.redirect-page .brand {
  margin-bottom: 40px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease,
    transform 520ms var(--ease);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header,
  .hub-shell,
  .status-strip,
  .site-detail,
  .site-footer,
  .privacy-page {
    width: min(100% - 28px, var(--max));
  }

  .brand {
    font-size: 16px;
  }

  .site-nav {
    gap: 22px;
    font-size: 13px;
  }

  .hub-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 30px;
  }

  .hub-visual {
    width: min(100%, 430px);
    justify-self: center;
  }

  .node {
    width: 82px;
    height: 82px;
  }

  .node-hub {
    width: 106px;
    height: 106px;
  }

  .node-icon {
    width: 21px;
  }

  .node-title {
    font-size: 12px;
  }

  .node-hub .node-title {
    max-width: 74px;
    font-size: 18px;
  }

  .node-meta {
    font-size: 10px;
  }

  .status-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .status-strip button + button {
    border-left: 0;
    padding-left: 0;
  }

  .site-detail {
    display: block;
  }

  .site-detail p {
    margin-top: 10px;
  }

  .site-footer {
    gap: 12px;
  }
}

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