:root {
  color-scheme: light;
  --ink: #211936;
  --ink-strong: #120c22;
  --muted: #665e78;
  --paper: #f8f7fc;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #f0edfa;
  --line: #ded8ec;
  --line-strong: #c9c0df;
  --brand: #6d3cf0;
  --brand-strong: #4e21c7;
  --brand-soft: #ebe3ff;
  --mint: #0f9f8f;
  --mint-soft: #d9f7ef;
  --coral: #e95d67;
  --amber: #f3aa3d;
  --night: #171024;
  --on-night: #f8f5ff;
  --shadow-sm: 0 0.75rem 2rem rgb(45 29 78 / 0.08);
  --shadow-lg: 0 2rem 5rem rgb(45 29 78 / 0.16);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eee9fb;
  --ink-strong: #ffffff;
  --muted: #b5abc9;
  --paper: #0e0a17;
  --surface: #171120;
  --surface-raised: #1d162a;
  --surface-soft: #21182f;
  --line: #3b304b;
  --line-strong: #554466;
  --brand: #a985ff;
  --brand-strong: #c5afff;
  --brand-soft: #30234a;
  --mint: #55dac7;
  --mint-soft: #173c38;
  --coral: #ff8490;
  --amber: #ffc56a;
  --night: #08060e;
  --on-night: #f8f5ff;
  --shadow-sm: 0 0.75rem 2rem rgb(0 0 0 / 0.25);
  --shadow-lg: 0 2rem 5rem rgb(0 0 0 / 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgb(109 60 240 / 0.035) 0.0625rem, transparent 0.0625rem),
    linear-gradient(
      90deg,
      rgb(109 60 240 / 0.035) 0.0625rem,
      transparent 0.0625rem
    ),
    radial-gradient(
      circle at 12% -5%,
      rgb(109 60 240 / 0.16),
      transparent 29rem
    ),
    var(--paper);
  background-size:
    3rem 3rem,
    3rem 3rem,
    auto,
    auto;
}

a {
  color: var(--brand-strong);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 0.2rem solid var(--amber);
  outline-offset: 0.22rem;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink-strong);
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.25rem, 7vw, 6.9rem);
  letter-spacing: -0.065em;
}

h2 {
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--brand-strong);
  border-radius: 0.75rem;
  transform: translateY(-180%);
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 0.0625rem solid
    color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(1.25rem) saturate(140%);
}

.header-inner,
.footer-inner,
.section-shell,
.article-shell {
  width: min(100% - 2rem, 78rem);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand > span:last-child,
.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink-strong);
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark-wrap {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  background: linear-gradient(145deg, var(--brand-soft), var(--mint-soft));
  border: 0.0625rem solid var(--line);
  border-radius: 0.8rem;
  box-shadow: var(--shadow-sm);
}

.brand-mark {
  width: 2rem;
  aspect-ratio: 1;
}

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

.header-actions {
  gap: 1rem;
}

.site-header nav {
  gap: 0.25rem;
}

.site-header nav a {
  padding: 0.62rem 0.8rem;
  color: var(--ink);
  border-radius: 0.6rem;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.theme-toggle {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: none;
  padding: 0;
  color: var(--ink);
  background: var(--surface-raised);
  border: 0.0625rem solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  color: var(--brand-strong);
  border-color: var(--brand);
}

.theme-toggle .site-icon {
  grid-area: 1 / 1;
  width: 1.15rem;
  height: 1.15rem;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.theme-toggle__moon {
  opacity: 0;
  transform: rotate(-50deg) scale(0.5);
}

:root[data-theme="dark"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(50deg) scale(0.5);
}

:root[data-theme="dark"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

main {
  min-height: calc(100vh - 15rem);
  overflow: clip;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lede {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.12rem, 2.3vw, 1.42rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.78fr) minmax(34rem, 1.22fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: min(52rem, calc(100vh - 5.25rem));
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-copy .lede {
  max-width: 38rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.2rem;
  border: 0.125rem solid var(--brand-strong);
  border-radius: 0.75rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-0.12rem);
}

.button-primary {
  color: white;
  background: var(--brand-strong);
  box-shadow: 0 0.75rem 1.6rem rgb(78 33 199 / 0.2);
}

.button-primary:hover {
  color: white;
  background: var(--brand);
}

.button-secondary {
  color: var(--brand-strong);
  background: var(--surface-raised);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 0.0625rem solid var(--line);
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 700;
  list-style: none;
}

.hero-facts li::before {
  margin-right: 0.45rem;
  color: var(--mint);
  content: "●";
}

.device-showcase {
  min-width: 0;
  margin: 0;
}

.device-showcase__stage {
  position: relative;
  min-height: clamp(28rem, 43vw, 39rem);
  isolation: isolate;
}

.device-showcase__glow {
  position: absolute;
  z-index: -1;
  inset: 4% -5% 0 5%;
  background:
    radial-gradient(circle at 65% 45%, rgb(15 159 143 / 0.43), transparent 28%),
    radial-gradient(circle at 35% 42%, rgb(109 60 240 / 0.5), transparent 42%),
    radial-gradient(circle at 50% 70%, rgb(243 170 61 / 0.28), transparent 34%);
  filter: blur(2rem);
  border-radius: 50%;
  opacity: 0.82;
}

:root[data-theme="dark"] .device-showcase__glow {
  opacity: 1;
  filter: blur(2.5rem) saturate(130%);
}

.device-showcase__laptop,
.device-showcase__phone {
  position: absolute;
  filter: drop-shadow(0 2rem 2rem rgb(16 8 33 / 0.2));
}

.device-showcase__laptop {
  z-index: 1;
  top: 8%;
  left: -2%;
  width: 96%;
}

.device-showcase__phone {
  z-index: 2;
  right: -2%;
  bottom: -4%;
  width: 29%;
  filter: drop-shadow(0 1.5rem 1.5rem rgb(16 8 33 / 0.36));
}

.device-showcase__fallback {
  width: 90%;
}

.device-showcase figcaption {
  position: relative;
  z-index: 3;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.role-strip {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 0.0625rem solid var(--line);
}

.section-intro {
  max-width: 49rem;
  margin-bottom: 2.5rem;
}

.section-intro h2 {
  margin-top: 0;
}

.section-intro p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.path-card {
  display: grid;
  min-height: 13rem;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem;
  color: var(--ink);
  border: 0.0625rem solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.path-card:hover {
  color: var(--ink);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.35rem);
}

.path-card > span:nth-child(2) {
  grid-column: 1 / -1;
}

.path-card strong,
.path-card small {
  display: block;
}

.path-card strong {
  color: var(--ink-strong);
  font-size: 1.3rem;
}

.path-card small {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.path-card__number {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.path-card--moderator {
  background: linear-gradient(145deg, var(--surface-raised), var(--mint-soft));
}

.path-card--server {
  background: linear-gradient(145deg, var(--surface-raised), var(--brand-soft));
}

.feature-band {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  color: var(--on-night);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgb(109 60 240 / 0.45),
      transparent 28rem
    ),
    radial-gradient(
      circle at 10% 80%,
      rgb(15 159 143 / 0.25),
      transparent 24rem
    ),
    var(--night);
}

.section-intro--light h2,
.section-intro--light .eyebrow {
  color: var(--on-night);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bento-card {
  min-height: 16rem;
  padding: 1.5rem;
  border: 0.0625rem solid rgb(255 255 255 / 0.12);
  border-radius: 1.1rem;
  background: rgb(255 255 255 / 0.07);
  backdrop-filter: blur(0.75rem);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card--accent {
  background: linear-gradient(
    145deg,
    rgb(109 60 240 / 0.48),
    rgb(15 159 143 / 0.26)
  );
}

.bento-card h3,
.bento-card a {
  color: white;
}

.bento-card p {
  color: #cfc7dd;
}

.bento-card a {
  font-weight: 800;
}

.feature-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 2rem;
  place-items: center;
  color: var(--night);
  background: var(--amber);
  border-radius: 0.7rem;
  font-weight: 950;
}

.site-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.path-card > .site-icon {
  width: 1.3rem;
  height: 1.3rem;
  align-self: start;
}

.feature-icon .site-icon {
  width: 1.3rem;
  height: 1.3rem;
}

.docs-callout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.6fr);
  align-items: end;
  gap: 3rem;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.docs-callout h2 {
  margin-top: 0;
}

.docs-callout p:last-child {
  max-width: 54rem;
  color: var(--muted);
}

.docs-callout__actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
}

.text-link {
  font-weight: 850;
}

.media-figure {
  margin: 0;
}

.media-figure img {
  width: 100%;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}

.media-figure figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.article-shell {
  max-width: 58rem;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.article-shell--wide {
  max-width: 78rem;
}

.article-header {
  margin-bottom: 3.5rem;
}

.article-header--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  align-items: end;
  gap: 3rem;
}

.article-shell h1 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.article-shell section + section {
  padding-top: 1.25rem;
}

.article-shell li + li {
  margin-top: 0.75rem;
}

.article-shell .media-figure {
  margin-block: 3rem 4rem;
}

.process-list {
  display: grid;
  gap: 1rem;
  margin: 0 0 5rem;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.process-list h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.process-list p:not(.eyebrow) {
  color: var(--muted);
}

.process-list--timeline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-list--timeline li {
  min-height: 20rem;
  grid-template-columns: 2.5rem 1fr;
}

.step-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: white;
  background: var(--brand-strong);
  border-radius: 0.75rem;
  font-weight: 900;
}

.explain-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(24rem, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-block: 4rem;
}

.explain-grid h2 {
  margin-top: 0;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  content: "✓";
  font-weight: 950;
}

.breadcrumb {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.guide-layout {
  display: grid;
  width: min(100% - 2rem, 78rem);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  grid-template-columns: minmax(11.5rem, 13.5rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.guide-layout > .article-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.guide-sidebar {
  position: sticky;
  top: 6.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding: 1rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--surface-raised) 92%, transparent);
  box-shadow: var(--shadow-sm);
}

.guide-sidebar__title {
  margin-bottom: 0.65rem;
  color: var(--ink-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-sidebar__disclosure > summary {
  display: none;
}

.guide-sidebar__index,
.guide-sidebar__group a {
  display: block;
  padding: 0.38rem 0.55rem;
  color: var(--muted);
  border-radius: 0.45rem;
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
  text-decoration: none;
}

.guide-sidebar__index {
  color: var(--ink);
  font-weight: 850;
}

.guide-sidebar__group {
  margin-top: 1.1rem;
}

.guide-sidebar__group > p {
  margin: 0 0 0.28rem 0.55rem;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.guide-sidebar__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-sidebar__group li + li {
  margin-top: 0.1rem;
}

.guide-sidebar a:hover {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

.guide-sidebar a.active,
.guide-sidebar a[aria-current="page"] {
  color: var(--ink-strong);
  background: var(--brand-soft);
  box-shadow: inset 0.18rem 0 var(--brand);
}

.guide-launch {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
  padding: 2rem;
  border: 0.0625rem solid var(--line-strong);
  border-radius: 1.25rem;
  background: linear-gradient(125deg, var(--brand-soft), var(--mint-soft));
}

.guide-launch h2 {
  margin-top: 0;
}

.guide-launch p:last-child {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 5rem;
}

.guide-card {
  position: relative;
  min-height: 17rem;
  padding: 1.35rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.guide-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, var(--surface-raised), var(--brand-soft));
}

.guide-card:nth-child(3n + 3) {
  background: linear-gradient(145deg, var(--surface-raised), var(--mint-soft));
}

.guide-card h3 a {
  color: var(--ink-strong);
}

.guide-card p:last-of-type {
  color: var(--muted);
}

.guide-card__number {
  display: block;
  margin-bottom: 2.4rem;
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.guide-card__arrow {
  position: absolute;
  right: 1.3rem;
  bottom: 1.15rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.help-grid > div {
  padding: 1.7rem;
  border-top: 0.3rem solid var(--brand);
  background: var(--surface-soft);
  border-radius: 0 0 1rem 1rem;
}

.help-grid > div:last-child {
  border-color: var(--mint);
}

.help-grid h2 {
  margin-top: 0;
  font-size: 1.65rem;
}

.guide-article > section {
  padding-block: 1.75rem 2.5rem;
  border-bottom: 0.0625rem solid var(--line);
}

.guide-article > section h2 {
  margin-top: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.guide-article > section p,
.guide-article > section li {
  max-width: 48rem;
}

.link-list {
  padding-left: 1.25rem;
}

.code-block,
.install-page pre {
  overflow-x: auto;
  margin-block: 1.25rem;
  padding: 1.2rem;
  color: #f2edff;
  border: 0.0625rem solid #3c3150;
  border-radius: 0.8rem;
  background: #120d1d;
  box-shadow: inset 0 0 0 0.0625rem rgb(255 255 255 / 0.03);
}

.code-block code,
.install-page code {
  font-family:
    ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.doc-note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 0.3rem solid var(--amber);
  color: var(--ink);
  background: color-mix(in srgb, var(--amber) 10%, var(--surface-raised));
  border-radius: 0 0.7rem 0.7rem 0;
}

.doc-note p {
  margin: 0;
}

.next-panel {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
}

.next-panel h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.next-panel--strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(125deg, var(--brand-soft), var(--mint-soft));
}

.status-panel,
.install-index {
  margin-block: 2rem;
  padding: 1.4rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1rem;
  background: var(--surface-soft);
}

.status-panel--ready {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-color: color-mix(in srgb, var(--mint) 45%, var(--line));
  background: var(--mint-soft);
}

.status-panel__mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  place-items: center;
  color: white;
  background: var(--mint);
  border-radius: 50%;
  font-weight: 950;
}

.status-panel h2,
.install-index h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.status-panel p,
.install-index ul {
  margin-bottom: 0;
}

.install-index ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.install-index li,
.install-index li + li {
  min-width: 0;
  margin: 0;
  --route-accent: var(--brand-strong);
  --route-soft: var(--brand-soft);
}

.install-index li:nth-child(even) {
  --route-accent: var(--mint);
  --route-soft: var(--mint-soft);
}

.install-index a {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.7rem 0.7rem 1rem;
  color: var(--ink-strong);
  border: 0.0625rem solid
    color-mix(in srgb, var(--route-accent) 25%, var(--line));
  border-radius: 0.8rem;
  background: linear-gradient(
    135deg,
    var(--surface-raised),
    color-mix(in srgb, var(--route-soft) 65%, var(--surface-raised))
  );
  box-shadow: 0 0.35rem 1rem color-mix(in srgb, var(--night) 7%, transparent);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.install-index a::after {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  place-items: center;
  color: var(--route-accent);
  background: var(--route-soft);
  border-radius: 0.55rem;
  content: "→";
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.install-index a:hover {
  color: var(--ink-strong);
  border-color: var(--route-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-0.15rem);
}

.install-index a:hover::after {
  color: var(--paper);
  background: var(--route-accent);
  transform: translateX(0.12rem);
}

.install-page > section {
  padding-block: 2.5rem;
  border-top: 0.0625rem solid var(--line);
}

.install-page > section h2 {
  margin-top: 0;
}

.section-number {
  margin-bottom: 0.45rem;
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.site-footer {
  margin-top: 2rem;
  color: #d7cee8;
  background: var(--night);
}

.footer-inner {
  display: flex;
  min-height: 10rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner p {
  margin: 0;
}

.footer-title {
  color: white;
}

.footer-meta {
  margin-top: 0.35rem !important;
  color: #a99fbb;
  font-size: 0.84rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 1.1rem;
}

.footer-inner nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-inner nav .site-icon {
  width: 1rem;
  height: 1rem;
}

.footer-inner a {
  color: white;
  font-weight: 750;
}

@media (max-width: 68rem) {
  .hero {
    grid-template-columns: minmax(18rem, 0.85fr) minmax(28rem, 1.15fr);
  }

  .device-showcase__phone {
    right: 0;
  }

  .guide-grid,
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 52rem) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .site-header nav {
    overflow-x: auto;
  }

  .site-header nav a {
    white-space: nowrap;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
    max-height: none;
    overflow: hidden;
    padding: 0.8rem;
  }

  .guide-sidebar__title {
    display: none;
  }

  .guide-sidebar__disclosure > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem;
    color: var(--ink-strong);
    cursor: pointer;
    list-style: none;
    font-size: 0.82rem;
    font-weight: 850;
  }

  .guide-sidebar__disclosure > summary::-webkit-details-marker {
    display: none;
  }

  .guide-sidebar__disclosure > summary::after {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    color: var(--brand-strong);
    border-radius: 50%;
    background: var(--brand-soft);
    content: "−";
    font-size: 1rem;
  }

  .guide-sidebar__disclosure:not([open]) > summary::after {
    content: "+";
  }

  .guide-sidebar__current {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 650;
    text-align: right;
  }

  .guide-sidebar__current strong {
    color: var(--ink-strong);
    font-weight: 850;
  }

  .guide-sidebar__links {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.55rem;
    padding-top: 0.8rem;
    border-top: 0.0625rem solid var(--line);
  }

  .guide-sidebar__group {
    display: block;
    margin-top: 0;
  }

  .guide-sidebar__group > p {
    display: block;
  }

  .guide-sidebar__group ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem 0.35rem;
  }

  .guide-sidebar__group li + li {
    margin-top: 0;
  }

  .guide-sidebar__index,
  .guide-sidebar__group a {
    overflow-wrap: anywhere;
  }

  .hero,
  .article-header--split,
  .explain-grid,
  .docs-callout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .device-showcase {
    order: -1;
  }

  .device-showcase__stage {
    min-height: clamp(21rem, 76vw, 31rem);
  }

  .device-showcase__laptop {
    left: 0;
    width: 94%;
  }

  .device-showcase__phone {
    right: 1%;
    bottom: -2%;
    width: 28%;
  }

  .path-grid,
  .process-list--timeline,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    min-height: 11rem;
  }

  .guide-launch,
  .next-panel--strong {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 38rem) {
  .header-actions {
    align-items: flex-end;
  }

  .site-header nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .device-showcase__stage {
    min-height: 19rem;
  }

  .device-showcase__phone {
    right: -1%;
    width: 31%;
  }

  .guide-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--wide {
    grid-column: auto;
  }

  .guide-card {
    min-height: 15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
