

.has-band .site-header {
  margin-bottom: calc(-1 * var(--header-h));
}

.site-header.over-night {
  color-scheme: dark;
  --bg: #0a0f22;
  --surface: #111a33;
  --surface-2: #18223f;
  --surface-3: #212c4d;
  --border: rgba(185, 226, 255, 0.1);
  --border-strong: #334166;
  --text: #eef3ff;
  --text-muted: #b1bcd6;
  --text-faint: #8c99ba;
  --accent: #b9e2ff;
  --accent-text: #b9e2ff;
  --accent-soft: rgba(127, 196, 255, 0.12);
  --accent-line: rgba(156, 203, 255, 0.45);
  --focus: #b9e2ff;
  --control-edge: #7a8bb5;
  --btn-bg: #b9e2ff;
  --btn-bg-hover: #9ccbff;
  --btn-bg-press: #84b8f5;
  --btn-ink: #0a0f22;
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(2, 5, 18, 0.45), 0 8px 20px -10px rgba(2, 5, 18, 0.9);
}


.page-band {
  --radius-tile: 0;
  --band-sky: #1b2759;
  box-shadow: none;
  background-color: var(--band-sky);
  background-image:
    linear-gradient(180deg, rgba(7, 12, 31, 0) 45%, rgba(7, 12, 31, 0.42)),
    url("../img/home/night-wide-v4.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, max(100%, 1440px) auto;
  background-position: 0 0, right top min(0px, calc(var(--header-h) + 20px - 5.94vw));
  min-height: max(300px, calc(var(--header-h) + 60px + 9.06vw));
  padding-block: calc(var(--header-h) + clamp(36px, 4vw, 56px)) clamp(36px, 4vw, 56px);
}

.page-band > .container {
  position: relative;
  z-index: 1;
  padding-right: clamp(180px, calc(807px - 32.6vw), 413px);
}

.page-band h1 {
  max-width: 16ch;
  margin-bottom: 14px;
}

.page-band .band-lead {
  max-width: 36em;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-lead);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .page-band {
    background-image:
      linear-gradient(180deg, var(--band-sky) 16px, rgba(27, 39, 89, 0) 56px),
      linear-gradient(180deg, rgba(7, 12, 31, 0) 45%, rgba(7, 12, 31, 0.42)),
      url("../img/home/night-wide-v4.webp");
    background-size: 100% 100%, 100% 100%, 1100px auto;
    background-position: 0 0, 0 0, right top 16px;
    min-height: 0;
  }
  .page-band > .container {
    padding-right: 325px;
  }
}

@media (max-width: 700px) {
  .page-band {
    background-image:
      linear-gradient(180deg, rgba(7, 12, 31, 0) 45%, rgba(7, 12, 31, 0.42)),
      url("../img/home/night-tall-v5.webp");
    background-size: 100% 100%, 100% auto;
    background-position: 0 0, right top calc(var(--header-h) + 12px - 31.75vw);
    padding-block: calc(var(--header-h) + 30px + 6.35vw) 24px;
  }
  .page-band > .container {
    padding-right: var(--gutter);
  }
  .page-band h1 {
    margin-bottom: 10px;
  }
  .page-band .band-lead {
    font-size: 1.0625rem;
    line-height: 1.45;
  }
}


.page-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: clamp(28px, 3vw, 40px) 0;
}

.page-action .btn {
  flex: none;
}

.join-note {
  max-width: 34em;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-small);
  line-height: 1.5;
  text-wrap: pretty;
}

.page-action .join-note {
  flex: 1 1 22em;
}

.cta-row + .join-note {
  margin-top: -8px;
}

.big-link + .join-note {
  margin-top: 8px;
}

p:has(> .big-link) + .join-note {
  margin-top: -6px;
}

.page-side .join-note {
  margin-bottom: 1.2em;
  font-size: var(--step-caption);
}

@media (max-width: 640px) {
  .page-action {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .page-action .join-note {
    flex: none;
  }
}


.pic-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.prose .pic-steps {
  padding: 0;
}

.pic-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}

.pic-art {
  --radius-tile: var(--r-art);
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  padding: 14px;
  overflow: hidden;
}

.pic-art > * {
  position: relative;
}

.pic-art .shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  box-shadow: 0 0 0 1px var(--border-strong), 0 18px 40px -24px rgba(2, 5, 18, 0.9);
  background: #0a0e1c;
}

.pic-step h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--text);
  font-size: var(--step-title);
  line-height: 1.35;
}

.pic-step h3 > :not(.pic-n) {
  padding-top: 2px;
}

.prose .pic-step h3 {
  margin: 0 0 6px;
}

.pic-n {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pic-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-small);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .pic-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .pic-step {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .pic-art {
    grid-row: 1 / span 2;
    margin: 0;
    padding: 10px;
  }
  .pic-step h3 {
    margin-top: 2px;
  }
}

.pic-art {
  container-type: inline-size;
}

.draw-invite {
  display: grid;
  justify-items: center;
  gap: 4cqi;
  width: 78%;
  padding: 7cqi 6cqi 6cqi;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border-strong), 0 18px 40px -24px rgba(2, 5, 18, 0.9);
  text-align: center;
}

.draw-invite img {
  width: 22cqi;
  height: 22cqi;
  border-radius: 23.4%;
  box-shadow: var(--logo-ring);
}

.draw-invite b {
  color: var(--text);
  font-family: var(--font-display);
  font-size: max(11px, 8cqi);
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1;
}

.draw-invite small {
  color: var(--text-faint);
  font-size: max(9px, 5cqi);
  line-height: 1.2;
}

@container (max-width: 220px) {
  .draw-invite small {
    display: none;
  }
}

.draw-invite span {
  justify-self: stretch;
  padding: 3cqi 0;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: max(9px, 5.5cqi);
  font-weight: 700;
  line-height: 1.2;
}

.draw-pc {
  display: grid;
  justify-items: center;
  width: 84%;
}

.draw-pc .screen {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--border-strong);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
}

.draw-pc .stand {
  width: 22%;
  height: 7cqi;
  border-inline: 2px solid var(--border-strong);
}

.draw-pc .base {
  width: 40%;
  height: 2px;
  border-radius: 2px;
  background: var(--border-strong);
}

.draw-file {
  display: flex;
  align-items: center;
  gap: 3cqi;
  padding: 3.5cqi 4.5cqi;
  border-radius: 8px;
  background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--accent-line);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: max(9px, 5.6cqi);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.draw-file svg {
  width: max(12px, 8cqi);
  height: max(12px, 8cqi);
  color: var(--accent-text);
}

.steps-more {
  margin: 20px 0 0;
  color: var(--text-muted);
}


.short-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 24px clamp(20px, 3vw, 36px);
  margin: 0 0 1.2em;
  padding: 0;
  list-style: none;
}

.prose .short-tiles {
  padding: 0;
}

@media (min-width: 641px) {
  ol.short-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.short-tiles > li {
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--text);
}

.short-tiles h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px !important;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.short-tiles p {
  margin: 0;
  font-size: var(--step-small);
  line-height: 1.5;
}


.kit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: 20px;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.prose .kit-cards {
  padding: 0;
}

.kit-cards > li {
  margin: 0;
}

.kit-card {
  display: grid;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.kit-card:hover {
  border-color: var(--border-strong);
}

.kit-art {
  --radius-tile: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 14px;
  box-shadow: none;
}

.kit-art img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}

.kit-art img.kit-logo {
  height: 52%;
  border-radius: 23.4%;
}

.kit-text {
  display: grid;
  gap: 2px;
  padding: 12px 14px 14px;
}

.kit-text b {
  font-weight: 650;
  line-height: 1.35;
}

.kit-text small {
  color: var(--text-faint);
  font-size: var(--step-caption);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .kit-card:hover {
    transform: translateY(-2px);
  }
}


.discord-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 32px;
  align-items: center;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.discord-box h2 {
  margin: 0 0 6px;
  font-size: var(--step-sub);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.discord-box p {
  margin: 0;
  color: var(--text-muted);
}

.discord-box .cta-row {
  margin: 0;
}

.discord-box .join-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-faint);
}

@media (max-width: 760px) {
  .discord-box {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }
  .discord-box .cta-row .btn {
    flex: 1 1 auto;
  }
}


.phone-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.phone-extras .btn {
  flex: 1 1 auto;
  padding-inline: 14px;
}

.phone-extras .btn[hidden] {
  display: none;
}

.phone-note .share-fallback,
.phone-note .share-status {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: var(--step-small);
  line-height: 1.5;
}

.phone-note .share-fallback strong {
  color: var(--text);
}

.phone-note .share-fallback[hidden],
.phone-note .share-status:empty {
  display: none;
}

.phone-note .join-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: var(--step-small);
  line-height: 1.5;
}

.cta-tile .join-note {
  margin-top: 14px;
}

@media (hover: none) and (pointer: coarse) {
  .cta-tile h2 {
    margin-bottom: 14px;
  }
}
