:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #f6f7fc;
  background: #0c121b;
  font-synthesis: none;
  --muted: #b4becd;
  --text: #f6f7fc;
  --green: #45f092;
  --yellow: #ffce72;
  --red: #ff858c;
  --neutral: #a8b4c7;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 13, 21, .69) 0%, rgba(7, 13, 21, .73) 48%, rgba(7, 13, 21, .88) 100%),
    url("/assets/landscape.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 2px solid #ddb9ff; outline-offset: 5px; }
button, summary { font: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: .7rem; left: .7rem; z-index: 1; padding: .6rem 1rem; background: #222237; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 1.45vw, 1.6rem);
}
.wordmark { font-size: 1.24rem; font-weight: 750; letter-spacing: -.025em; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 1.65vw, 1.65rem); font-size: .98rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.landing {
  width: min(calc(100% - clamp(2.5rem, 6vw, 6.5rem)), 1520px);
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1.18fr) minmax(290px, .96fr);
  align-items: center;
  gap: clamp(1.15rem, 2vw, 2.15rem);
  margin: auto;
  padding: clamp(1.7rem, 6.1vh, 4.7rem) 0;
}
.intro { text-align: center; }
.intro h1 { margin: 0; font-size: clamp(2.8rem, 4vw, 4.3rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.tagline { margin: 1.4rem 0 0; font-size: clamp(1.02rem, 1.42vw, 1.37rem); line-height: 1.5; color: #eff0f5; text-wrap: balance; }
.benefits { margin: clamp(1.65rem, 4.5vh, 2.5rem) 0 clamp(1.3rem, 3.15vh, 1.85rem); font-size: clamp(.9rem, 1.1vw, 1.15rem); color: #e7eaf1; }
.benefits span { padding-inline: .08em; color: #d4bcfa; }
.download-actions { display: flex; flex-direction: column; align-items: center; }
.download-cta, .sponsor-cta { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid transparent; border-radius: 100vmax; text-decoration: none; font-weight: 760; }
.download-cta {
  min-height: 4.3rem;
  width: min(100%, 20rem);
  padding: .85rem 1.4rem;
  color: #0c1321;
  background: #f1f2f5;
  border-color: rgba(255, 255, 255, .4);
  box-shadow: 0 .7rem 1.85rem rgba(0, 0, 0, .2);
  font-size: clamp(1rem, 1.15vw, 1.22rem);
}
a.download-cta:hover { background: #fff; }
.download-cta[aria-disabled], .sponsor-cta[aria-disabled], .portable-link[aria-disabled] { opacity: .64; }
.portable-link { display: inline-block; margin-top: 1.55rem; font-size: .97rem; }
.portable-link[aria-disabled] { text-decoration: underline; text-underline-offset: .2em; }
.release-summary { margin: .65rem 0 0; min-height: 1.35em; color: var(--muted); font-size: .77rem; }
.release-details { margin: .65rem auto 0; width: min(100%, 21rem); color: var(--muted); font-size: .79rem; }
.release-details summary { cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.release-details ul { margin: .65rem 0 0; padding: .7rem 1rem; border: 1px solid #ffffff28; border-radius: .9rem; list-style: none; text-align: left; background: #101523ee; }
.release-details li + li { margin-top: .65rem; }
.release-label { display: flex; align-items: center; gap: .45rem; color: var(--text); font-weight: 700; }
.release-icon { width: 1.15rem; height: 1.15rem; object-fit: contain; }
.release-thumbnail { display: block; width: 100%; height: auto; max-height: 8rem; margin: .35rem 0; border-radius: .5rem; object-fit: cover; }
.release-links { display: flex; gap: .3rem .9rem; flex-wrap: wrap; margin-top: .3rem; }
.release-description { margin: .2rem 0 0; }

.robot-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.14;
  overflow: hidden;
  border: 1px solid #d9dbe942;
  padding: 6px;
  border-radius: clamp(1.4rem, 2.3vw, 2.35rem);
  background: #181929ba;
  margin: 0;
  box-shadow: 0 17px 44px #07091563, inset 0 0 12px #c0b2ea1e;
}
.robot-art img { display: block; width: 100%; height: 100%; border-radius: clamp(1.08rem, 1.95vw, 1.96rem); object-fit: cover; object-position: center 22%; }
.side-panels { display: grid; gap: clamp(.95rem, 2.6vh, 1.5rem); min-width: 0; }
.panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d6dfef3a;
  border-radius: clamp(1.05rem, 1.7vw, 1.7rem);
  background: linear-gradient(145deg, #1a2432d9, #101722e0 56%, #101927ed);
  box-shadow: 0 10px 36px #070b134d, inset 0 0 16px #d4e9ff13;
  backdrop-filter: blur(12px);
}
.panel-header { display: flex; gap: .6rem; align-items: center; justify-content: space-between; padding: .78rem clamp(.8rem, 1.45vw, 1.45rem); border-bottom: 1px solid #ffffff1a; }
.panel-header h2 { display: flex; gap: .52rem; align-items: center; margin: 0; font-size: clamp(.93rem, 1.05vw, 1.09rem); white-space: nowrap; }
.signal-icon { display: inline-grid; position: relative; place-items: start center; width: 1.25rem; height: 1.25rem; color: #d68eff; }
.signal-icon::before, .signal-icon::after { content: ""; position: absolute; top: .1rem; width: .46rem; height: .75rem; border-radius: 50%; border: 2px solid currentColor; }
.signal-icon::before { left: 0; border-color: transparent transparent transparent currentColor; }
.signal-icon::after { right: 0; border-color: transparent currentColor transparent transparent; }
.signal-icon i { position: relative; width: .31rem; height: .31rem; border-radius: 50%; margin-top: .27rem; background: currentColor; }
.signal-icon i::after { position: absolute; content: ""; top: .24rem; left: .095rem; width: .12rem; height: .49rem; background: currentColor; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; width: max-content; max-width: 100%; border-radius: 100vmax; }
.relay-badge { min-height: 1.9rem; padding: .2rem .65rem; background: color-mix(in srgb, var(--state) 14%, transparent); border: 1px solid color-mix(in srgb, var(--state) 22%, transparent); color: var(--state); font-size: .73rem; font-weight: 760; text-align: center; line-height: 1; }
.relay-badge::before { display: inline-block; content: ""; width: .56rem; height: .56rem; border-radius: 50%; flex: none; background: currentColor; }
[data-state="online"] { --state: var(--green); }
[data-state="degraded"] { --state: var(--yellow); }
[data-state="offline"] { --state: var(--red); }
[data-state="unknown"] { --state: var(--neutral); }
.relay-list { list-style: none; margin: 0; padding: 0 clamp(.8rem, 1.45vw, 1.45rem); }
.relay-row { display: grid; grid-template-columns: 1.8rem 1fr minmax(4rem, .85fr); align-items: center; gap: .65rem; min-height: clamp(4.65rem, 9.5vh, 5.5rem); padding: .8rem 0; }
.relay-row + .relay-row { border-top: 1px solid #ffffff1a; }
.server-icon { display: grid; width: 1.65rem; margin-inline: auto; color: #e5ebf6; }
.server-icon i { position: relative; height: .43rem; border: 1.25px solid currentColor; border-radius: 50%; }
.server-icon i:not(:first-child) { border-top: 0; margin-top: -.02rem; }
.server-icon i:not(:first-child)::after { position: absolute; content: ""; left: .29rem; bottom: .13rem; width: .22rem; height: 1px; background: currentColor; }
.relay-identity { min-width: 0; }
.relay-identity h3 { display: flex; align-items: baseline; gap: .28rem; flex-wrap: wrap; margin: 0 0 .32rem; font-size: clamp(.85rem, .95vw, 1rem); font-weight: 760; }
.region { padding: .075rem .3rem; border-radius: .19rem; color: #f0f2f7; background: #a8b4c53f; font-size: .63rem; font-weight: 650; }
.relay-meta { display: flex; flex-wrap: wrap; gap: .16rem .38rem; color: var(--muted); font-size: .68rem; }
.relay-state { color: var(--state); }
.relay-data { text-align: right; line-height: 1; }
.relay-value { color: var(--state); font-size: clamp(1rem, 1.8vw, 1.7rem); font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.relay-value small { margin-left: .18rem; font-size: .6em; }
.sparkline { display: block; width: 100%; height: 21px; margin-top: .3rem; }
.relay-note { padding: 0 .5rem .62rem; margin: -.18rem 0 0; color: var(--muted); text-align: center; font-size: .65rem; }

.sponsor-panel { padding: clamp(.88rem, 1.67vw, 1.45rem); }
.sponsor-badge { background: #604588; padding: .29rem .76rem; color: white; font-size: .68rem; font-weight: 790; }
.sponsor-badge span { font-size: 1rem; line-height: 1; }
.sponsor-profile { display: grid; grid-template-columns: 3.9rem 1fr; align-items: center; gap: .8rem; margin: 1.15rem 0 .65rem; }
.sponsor-icon { display: grid; place-items: center; border: 1px solid #bc8cf2; border-radius: 1rem; color: #f6e6fb; background: #29263de3; min-height: 3.75rem; font-family: ui-monospace, monospace; font-size: 1.75rem; font-weight: 700; }
.sponsor-profile h2 { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.1rem, 1.65vw, 1.68rem); font-weight: 770; letter-spacing: -.025em; }
.sponsor-profile p { margin: .4rem 0 0; color: #e0e4ef; font-size: clamp(.81rem, .98vw, .96rem); line-height: 1.42; }
.sponsor-thanks { margin: 0 0 .8rem; color: #c6cede; font-size: .75rem; line-height: 1.35; }
.sponsor-thanks span { color: #efa8cc; }
.sponsor-cta { width: 100%; min-height: 3.58rem; padding: .7rem 1rem; color: #100b1c; background: #b187f7; border-color: #d2b0ff75; font-size: clamp(.88rem, 1.15vw, 1.09rem); }
a.sponsor-cta:hover { background: #c5acf9; }

.site-footer { display: flex; justify-content: center; flex-wrap: wrap; align-items: baseline; gap: .2rem .85rem; min-height: 3.85rem; padding: .85rem 1rem 1.2rem; color: #c0c8d5; text-align: center; font-size: .83rem; }
.site-footer a { color: #f6f2fc; }

.agreement { width: min(740px, calc(100% - 2rem)); margin: 2rem auto 3rem; padding: clamp(1.35rem, 4vw, 2.4rem); line-height: 1.65; }
.agreement h1 { margin: .25rem 0 1.15rem; font-size: clamp(1.6rem, 4vw, 2.35rem); line-height: 1.2; }
.agreement h2 { margin: 1.75rem 0 .5rem; font-size: 1.18rem; }
.agreement p { margin: .5rem 0; color: #dfe4ef; }
.agreement a { color: #dabaff; }
.agreement + .site-footer { margin-top: auto; }

@media (min-width: 1100px) {
  .intro { transform: translateY(.85rem); }
  .robot-art { transform: translateY(-1.45rem); }
}
@media (min-width: 1580px) {
  .landing { width: min(calc(100% - 6rem), 1520px); margin-right: max(3.15rem, calc((100vw - 1620px) / 2)); }
  .intro { transform: translate(-.9rem, 2.65rem); }
  .robot-art { transform: translateY(-1.42rem); }
  .side-panels { transform: translateY(.85rem); }
}
@media (max-width: 1099px) {
  .landing { width: min(calc(100% - 3rem), 790px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .side-panels { grid-column: 1/-1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .intro h1 { font-size: clamp(2.65rem, 6vw, 4rem); }
  .sparkline { max-height: 24px; }
}
@media (max-width: 650px) {
  body { background-position: 60% top; }
  .landing { width: min(calc(100% - 2rem), 430px); grid-template-columns: minmax(0, 1fr); gap: 1.35rem; padding: 1.25rem 0 1.75rem; }
  .side-panels { grid-template-columns: minmax(0, 1fr); }
  .tagline { margin-top: .75rem; font-size: 1.06rem; }
  .desktop-break { display: none; }
  .benefits { margin: 1.2rem 0; }
  .download-cta { min-height: 3.45rem; }
  .portable-link { margin-top: .95rem; }
  .relay-row { grid-template-columns: 1.65rem 1fr minmax(4rem, .78fr); }
  .sponsor-panel { padding: 1rem; }
  .site-footer { min-height: 0; padding-bottom: 1.45rem; }
}
@media (max-width: 365px) {
  .landing { width: calc(100% - 1.5rem); }
  .relay-row { gap: .45rem; }
  .site-header { padding-inline: .75rem; }
  .site-header nav { font-size: .87rem; }
}
