@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/barlow-semi-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-semi-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-semi-condensed-700.woff2") format("woff2"); }

:root {
  --ink: #000000;
  --stage: #050608;
  --panel: #0a0c11;
  --panel-hover: #0f131a;
  --line: #1c212b;
  --edge: #232936;
  --paper: #ffffff;
  --paper-dark: #dde2ea;
  --text: #c3c9d6;
  --muted: #8b93a6;
  --blue: #2a5ea8;
  --blue-dark: #244f8e;
  --green: #4cc38a;
  --red: #e5484d;
  --bp: #071226;
  --bp-line: rgba(120, 160, 230, .12);
  --bp-edge: rgba(120, 160, 230, .25);
  --bp-mark: rgba(160, 190, 240, .8);
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow Semi Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background: var(--stage);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: calc(var(--gutter-l) + 8px);
  padding-right: calc(var(--gutter-r) + 8px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: var(--paper-dark); }
.btn-ghost { background: rgba(10, 12, 17, .8); color: var(--paper); box-shadow: inset 0 0 0 1px var(--edge); }
.btn-ghost:hover { background: var(--panel-hover); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(min(100vh, 1040px) + 480px);
  display: flex;
  align-items: flex-start;
  background: var(--ink);
}
.hero-video {
  position: absolute; left: 0; right: 0; top: calc(min(50vh, 520px) - 120px); bottom: -120px;
  width: 100%; height: calc(100% - min(50vh, 520px) + 240px); max-width: none; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 10%, #000 30%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 10%, #000 30%);
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, .55) 90%, #000 100%); }
.hero-still {
  position: absolute; left: 0; right: 0; top: 0; height: min(78vh, 811px);
  background: url("/media/hero-aurora.jpg") 50% 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0, 0, 0, 0) 100%);
}
.hero-still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(3, 8, 20, .35) 0%, rgba(3, 8, 20, .55) 60%, rgba(3, 8, 20, .4) 100%); }
.hero-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  text-align: center;
  padding-block: 72px 0;
  opacity: calc(1 - var(--hp, 0) * 1.4);
}
.hero-title {
  margin: 0;
  max-width: 18ch;
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 88px; line-height: .9; letter-spacing: .005em; text-transform: uppercase;
  text-wrap: balance;
}
.hero-sub {
  margin: 0;
  max-width: 760px;
  color: var(--paper);
  font-size: 22px; line-height: 1.45;
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }

.news-label {
  display: inline-flex; align-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 12, 17, .8);
  border: 1px solid var(--edge);
  color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
}
.news-label b { padding: 8px 12px; background: var(--blue); color: var(--paper); font-weight: 800; }
.news-label span, .news-label time { padding: 8px 14px; }
a.news-label { transition: background-color .15s; }
a.news-label:hover { background: var(--panel-hover); }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(10, 12, 17, .8);
  border: 1px solid var(--edge);
  color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status[data-state="online"] i { background: var(--green); }
.status[data-state="offline"] i { background: var(--red); }
.connect {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 8px;
  border-radius: 8px;
  background: rgba(10, 12, 17, .8);
  border: 1px solid var(--edge);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background-color .15s;
}
.connect:hover { background: var(--panel-hover); }
.connect kbd {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .06em;
}
.connect code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; color: var(--paper); }
.connect span {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--line);
  color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-inner .reveal:nth-child(2) { transition-delay: .1s; }
.hero-inner .reveal:nth-child(3) { transition-delay: .2s; }
.hero-inner .reveal:nth-child(4) { transition-delay: .3s; }
.hero-inner .reveal:nth-child(5) { transition-delay: .4s; }
.hero-inner .reveal:nth-child(6) { transition-delay: .5s; }

.section-inner, .news-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding-block: 144px;
  text-align: center;
}
.section-title {
  margin: 0;
  max-width: 14ch;
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 120px; line-height: .88; text-transform: uppercase;
  text-wrap: balance;
}
.section-sub {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--text);
  font-size: 22px; line-height: 1.45;
  text-wrap: balance;
}

.news { background: var(--ink); }
.news-card {
  width: 100%;
  margin-top: 40px;
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: stretch;
  aspect-ratio: 5 / 2;
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel);
  color: inherit;
  text-align: left;
  text-decoration: none;
  transition: background-color .2s;
}
.news-card:hover { background: var(--panel-hover); }
.news-media { margin: 0; min-height: 100%; overflow: hidden; background: var(--stage); }
.news-card + .news-card { margin-top: 24px; }
.news-media video, .news-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.news-card:hover .news-media video, .news-card:hover .news-media img { transform: scale(1.04); }
.news-copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 48px 40px;
  min-width: 0;
  overflow: hidden;
}
.news-title {
  margin: 0;
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .9; text-transform: uppercase;
  text-wrap: balance;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.news-text {
  margin: 0; font-size: 18px; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.news-copy .btn { margin-top: auto; }
.news-card:hover .btn { background: var(--paper-dark); }

.band {
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  padding-block: 56px;
  background-color: var(--bp);
  background-image: linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 32px 32px;
  border-block: 1px solid var(--bp-edge);
  user-select: none;
  pointer-events: none;
}
.band-row {
  display: flex; align-items: center; gap: 40px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-size: 104px; line-height: 1; text-transform: uppercase;
  will-change: transform;
}
.band-solid { color: var(--paper); }
.band-line { color: transparent; -webkit-text-stroke: 1.5px rgba(160, 190, 240, .45); }
.band-row b { position: relative; flex: none; width: 36px; height: 36px; }
.band-row b::before, .band-row b::after { content: ""; position: absolute; background: var(--bp-mark); }
.band-row b::before { left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; }
.band-row b::after { top: 50%; left: 0; right: 0; height: 2px; margin-top: -1px; }

.howto { background: var(--ink); }
.steps-grid {
  list-style: none;
  width: 100%;
  margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  text-align: left;
}
.step-tile {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 32px 28px;
  border-radius: 28px;
  background: var(--panel);
  transition: background-color .2s;
}
.step-tile:hover { background: var(--panel-hover); }
.tile-num {
  color: var(--blue);
  font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .8;
  font-variant-numeric: tabular-nums;
}
.tile-title {
  margin: 8px 0 0;
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 36px; line-height: .95; letter-spacing: .01em; text-transform: uppercase;
}
.tile-text { margin: 0; font-size: 17px; line-height: 1.5; }
.tile-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  transition: border-color .15s;
}
.tile-link:hover { border-color: var(--paper); }
.steps-grid .reveal:nth-child(3n+2), .feature-grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.steps-grid .reveal:nth-child(3n), .feature-grid .reveal:nth-child(3n) { transition-delay: .16s; }

.why { background: var(--panel); }
.feature-grid {
  list-style: none;
  width: 100%;
  margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  text-align: left;
}
.feature {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 28px;
  background: var(--stage);
}
.feature-wide { grid-column: span 2; }
.feature-full { grid-column: 1 / -1; min-height: 480px; }
.feature-img img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.feature-img::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 75%; z-index: -1;
  background: linear-gradient(to top, rgba(3, 8, 20, .95), rgba(3, 8, 20, .6) 45%, rgba(3, 8, 20, 0));
}
.feature-img:hover img { transform: scale(1.04); }
.feature-copy { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; max-width: 560px; }
.feature-copy .tile-text { color: var(--paper); }
.feature-logo { background: var(--bp); border: 1px solid var(--bp-edge); }
.feature-logo::before {
  content: "";
  position: absolute;
  left: 50%; top: 40%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 315 / 288;
  background: url(/img/switch-logo.png) center / contain no-repeat;
  opacity: .1;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  pointer-events: none;
}
.feature-logo:hover::before { opacity: .16; }

.cta, .site-footer {
  background-color: var(--bp);
  background-image: linear-gradient(var(--bp-line) 1px, transparent 1px), linear-gradient(90deg, var(--bp-line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
}
.cta { border-top: 1px solid var(--bp-edge); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-block: 128px; text-align: center; }
.cta-title {
  margin: 0;
  max-width: 14ch;
  color: var(--paper);
  font-family: var(--display); font-weight: 800; font-size: 96px; line-height: .9; text-transform: uppercase;
  text-wrap: balance;
}
.cta .section-sub { margin: 0; }

.footer-row { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 32px 16px; font-size: 14px; color: var(--muted); }
.footer-row img { width: 32px; height: 32px; }
.footer-discord {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  color: var(--muted);
  transition: color .2s, background-color .2s;
}
.footer-discord:hover { color: var(--paper); background: rgba(120, 160, 230, .12); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px;
  padding-block: 0 32px;
  font-size: 13px; color: var(--muted); text-align: center;
}

[data-hero-speed] { will-change: transform; }

@media (max-width: 960px) {
  .hero-title { font-size: 72px; }
  .section-title { font-size: 88px; }
  .cta-title { font-size: 64px; }
  .section-inner, .news-inner { padding-block: 96px; }
  .news-card { grid-template-columns: 1fr; aspect-ratio: auto; }
  .news-media { aspect-ratio: 16 / 9; }
  .news-title { font-size: 52px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-column: span 2; }
  .band-row { font-size: 72px; gap: 28px; }
  .band-row b { width: 26px; height: 26px; }
  .band { padding-block: 40px; }
  .cta-inner { padding-block: 96px; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-inner { padding-block: 48px 560px; gap: 20px; }
  .hero-title { font-size: 44px; }
  .hero-video { top: auto; bottom: -60px; height: 700px; -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 9%, #000 28%); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 9%, #000 28%); }
  .hero-still { height: calc(100% - 480px); background-position: 50% 40%; }
  .hero-sub, .section-sub { font-size: 17px; }
  .section-title { font-size: 56px; }
  .cta-title { font-size: 40px; }
  .section-inner, .news-inner { padding-block: 72px; }
  .news-card { border-radius: 20px; margin-top: 24px; }
  .news-card + .news-card { margin-top: 16px; }
  .news-copy { padding: 28px 20px; }
  .news-title { font-size: 40px; }
  .news-text { font-size: 16px; }
  .steps-grid, .feature-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .feature-wide, .feature-full { grid-column: auto; }
  .step-tile { border-radius: 20px; padding: 24px 20px; }
  .tile-num { font-size: 72px; }
  .tile-title { font-size: 30px; }
  .feature { min-height: 340px; border-radius: 20px; }
  .feature-copy { padding: 24px 20px; }
  .band-row { font-size: 48px; gap: 20px; }
  .band-row b { width: 18px; height: 18px; }
  .band { padding-block: 28px; gap: 8px; }
  .cta-inner { padding-block: 72px; }
  .connect code { font-size: 12px; }
  .footer-row { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .news-card, .step-tile, .connect { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .news-card:hover .news-media video, .news-card:hover .news-media img, .feature-img:hover img { transform: none; }
}

.vmodal {
  width: 100%; max-width: none;
  height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  transition: opacity .2s ease;
}
.vmodal[open] {
  display: flex; align-items: center; justify-content: center;
}
.vmodal.is-in { opacity: 1; }
.vmodal::backdrop {
  background: rgba(2, 3, 5, 0);
  transition: background-color .2s ease, backdrop-filter .2s ease;
}
.vmodal.is-in::backdrop {
  background: rgba(2, 3, 5, .88);
  backdrop-filter: blur(6px);
}
.vmodal-video {
  width: min(1100px, calc(100vw - 96px));
  max-height: calc(100vh - 128px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: var(--ink);
  outline: none;
}
.vmodal-close {
  position: fixed; top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  border: 2px solid var(--edge);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.vmodal-close:hover {
  background: rgba(229, 72, 77, .14);
  border-color: var(--red);
  color: var(--red);
}
.vmodal-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 720px) {
  .vmodal-video { width: calc(100vw - 32px); border-radius: 12px; }
  .vmodal-close { top: 16px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .vmodal, .vmodal::backdrop { transition: none; }
}
