:root {
  color-scheme: light;
  --ink: #334155;
  --ink-strong: #0f172a;
  --muted: #64748b;
  --paper: #f8fafc;
  --surface-raised: #ffffff;
  --surface-soft: #f1f5f9;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --link: #0f766e;
  --teal: #14b8a6;
  --teal-soft: #ccfbf1;
  --green: #3f8f46;
  --green-ink: #2f6d38;
  --green-soft: #e7f5dc;
  --green-fill: #2f6d38;
  --green-fill-hover: #3f8f46;
  --green-stroke: rgb(183 245 157 / 0.4);
  --on-green: #ffffff;
  --twitch: #6b21a8;
  --twitch-soft: #faf5ff;
  --twitch-line: #d8b4fe;
  --amber: #f59e0b;
  --tile: #101820;
  --on-tile: #eef4f0;
  --on-tile-muted: #b9c6cd;
  --glow-teal: rgb(20 184 166 / 0.12);
  --glow-warm: rgb(111 107 97 / 0.1);
  --shadow-sm: 0 0.0625rem 0.1875rem rgb(15 23 42 / 0.1);
  --shadow-lg: 0 1.125rem 3.75rem -1.875rem rgb(15 23 42 / 0.45);
  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: #cdc9c4;
  --ink-strong: #e8e6e3;
  --muted: #9e9892;
  --paper: #111315;
  --surface-raised: #1d1f20;
  --surface-soft: #1e2122;
  --line: rgb(69 72 74 / 0.72);
  --line-strong: rgb(104 108 111 / 0.78);
  --link: #5eead4;
  --teal: hsl(173 80% 44%);
  --teal-soft: rgb(20 184 166 / 0.14);
  --green: #8fd46f;
  --green-ink: #9ee37d;
  --green-soft: rgb(143 212 111 / 0.14);
  --green-fill: linear-gradient(150deg, #8fd46f, #3f8f46);
  --green-fill-hover: linear-gradient(150deg, #9ee37d, #4da356);
  --green-stroke: rgb(215 255 202 / 0.5);
  --on-green: #0b1d0f;
  --twitch: rgb(216 180 254);
  --twitch-soft: rgb(88 28 135 / 0.3);
  --twitch-line: rgb(168 85 247 / 0.42);
  --glow-teal: rgb(20 184 166 / 0.08);
  --glow-warm: rgb(111 107 97 / 0.09);
  --shadow-sm: 0 0.0625rem 0.1875rem rgb(0 0 0 / 0.38);
  --shadow-lg: 0 1.375rem 4.375rem -2.25rem rgb(0 0 0 / 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--glow-teal), transparent 28rem),
    radial-gradient(circle at top right, var(--glow-warm), transparent 30rem),
    var(--paper);
}

a {
  color: var(--link);
  text-decoration: none;
}

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

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 0.2rem solid var(--teal);
  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: var(--on-green);
  background: var(--green-fill);
  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);
}

.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(--green-soft), var(--teal-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;
}

.site-header nav a:hover {
  color: var(--link);
  background: var(--teal-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(--link);
  border-color: var(--teal);
}

.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(--green-ink);
  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(0, 1fr);
  justify-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;
  width: 100%;
  max-width: 64rem;
  min-width: 0;
  text-align: center;
}

.hero-copy .device-showcase {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

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

.hero-copy h1 {
  max-width: none;
}

.hero-copy .action-row,
.hero-copy .hero-facts {
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.42rem 0.95rem;
  color: var(--ink);
  border: 0.0625rem solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-raised) 70%, transparent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  content: "";
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  50% {
    opacity: 0.35;
  }
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
  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 transparent;
  border-radius: 0.75rem;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  color: var(--on-green);
  background: var(--green-fill);
  box-shadow:
    inset 0 0 0 0.0625rem var(--green-stroke),
    0 0.75rem 1.6rem rgb(47 109 56 / 0.28);
}

.button-primary:hover {
  color: var(--on-green);
  background: var(--green-fill-hover);
}

.button-secondary {
  color: var(--link);
  border-color: color-mix(in srgb, var(--teal) 55%, var(--line));
  background: var(--surface-raised);
}

.button-secondary:hover {
  color: var(--link);
  border-color: var(--teal);
}

.button-compact {
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 0.6rem;
  font-size: 0.88rem;
}

.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(--teal);
  content: "●";
}

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

.device-showcase__stage {
  position: relative;
  aspect-ratio: 8 / 5;
  isolation: isolate;
}

.device-showcase__glow {
  position: absolute;
  z-index: -1;
  inset: 4% -5% 0 5%;
  background:
    radial-gradient(circle at 65% 45%, rgb(20 184 166 / 0.43), transparent 28%),
    radial-gradient(circle at 35% 42%, rgb(121 200 94 / 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: 0;
  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: calc(0.85rem + 2.5%);
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.guide-figure {
  display: grid;
  justify-items: center;
  margin: 2rem 0 2.5rem;
}

.guide-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.guide-figure figcaption {
  max-width: 44rem;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  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: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.5rem;
  color: var(--ink);
  border: 0.0625rem solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.path-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.path-card__chip {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--green-ink);
  background: var(--green-soft);
  border-radius: 0.7rem;
}

.path-card__number {
  color: var(--green-ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.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__list {
  margin: 0;
  padding: 0 0 1.1rem;
  border-bottom: 0.0625rem solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.path-card__list li {
  padding-left: 1.5rem;
}

.path-card__list li + li {
  margin-top: 0.4rem;
}

.path-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--green-ink);
  font-size: 0.92rem;
  font-weight: 850;
}

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

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

.path-card--moderator .path-card__chip {
  color: var(--link);
  background: var(--teal-soft);
}

.path-card--moderator .path-card__number,
.path-card--moderator .path-card__cta {
  color: var(--link);
}

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

.path-card--server .path-card__chip {
  color: var(--twitch);
  background: var(--twitch-soft);
}

.path-card--server .path-card__number,
.path-card--server .path-card__cta {
  color: var(--twitch);
}

.path-card--server:hover {
  border-color: var(--twitch-line);
}

.feature-band {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  color: var(--on-tile);
  background:
    radial-gradient(
      circle at 85% 20%,
      rgb(20 184 166 / 0.28),
      transparent 28rem
    ),
    radial-gradient(
      circle at 10% 80%,
      rgb(143 212 111 / 0.17),
      transparent 24rem
    ),
    var(--tile);
}

.section-intro--light h2 {
  color: var(--on-tile);
}

.section-intro--light .eyebrow {
  color: #9ee37d;
}

.section-intro--light p:last-child {
  color: var(--on-tile-muted);
}

.feature-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 0.0625rem solid rgb(255 255 255 / 0.14);
  border-radius: 1.1rem;
  background: linear-gradient(
    145deg,
    rgb(20 184 166 / 0.2),
    rgb(255 255 255 / 0.04) 55%
  );
  backdrop-filter: blur(0.75rem);
}

.feature-spotlight h3 {
  color: white;
  font-size: 1.6rem;
}

.feature-spotlight p {
  max-width: 34rem;
  color: var(--on-tile-muted);
}

.feature-spotlight a {
  color: white;
  font-weight: 800;
}

.status-demo {
  padding: 1.15rem 1.25rem;
  border: 0.0625rem solid rgb(255 255 255 / 0.12);
  border-radius: 0.9rem;
  background: rgb(16 24 32 / 0.72);
  box-shadow: var(--shadow-lg);
}

.status-demo__title {
  margin-bottom: 0.7rem;
  color: var(--on-tile-muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-demo ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-demo li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem 0.55rem 1.7rem;
  border: 0.0625rem solid rgb(255 255 255 / 0.08);
  border-radius: 0.6rem;
  background: rgb(255 255 255 / 0.04);
  color: var(--on-tile);
  font-size: 0.88rem;
  font-weight: 650;
}

.status-demo li + li {
  margin-top: 0.45rem;
}

.status-demo li::before {
  position: absolute;
  left: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #8fd46f;
  box-shadow: 0 0 0.6rem rgb(143 212 111 / 0.8);
  content: "";
}

.status-demo li.is-warn::before {
  background: var(--amber);
  box-shadow: 0 0 0.6rem rgb(245 158 11 / 0.8);
}

.status-demo li span {
  color: var(--on-tile-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.tool-card--accent {
  background: linear-gradient(
    145deg,
    rgb(20 184 166 / 0.32),
    rgb(143 212 111 / 0.18)
  );
}

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

.tool-card p {
  color: var(--on-tile-muted);
  font-size: 0.95rem;
}

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

.feature-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.4rem;
  place-items: center;
  color: var(--tile);
  background: linear-gradient(150deg, #9ee37d, #5aab52);
  border-radius: 0.7rem;
  box-shadow: inset 0 0 0 0.0625rem rgb(215 255 202 / 0.55);
  font-weight: 950;
}

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

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

.directory {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  padding: 2rem;
  border: 0.0625rem solid var(--line);
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--surface-raised) 88%, transparent);
  box-shadow: var(--shadow-sm);
}

.directory-grid > div > p {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-grid li + li {
  margin-top: 0.15rem;
}

.directory-grid a {
  display: block;
  padding: 0.22rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.directory-grid a:hover {
  color: var(--link);
}

.directory-actions {
  margin-top: 2rem;
}

.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;
}

.anchor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.anchor-chips a {
  padding: 0.4rem 0.85rem;
  border: 0.0625rem solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
}

.anchor-chips a:hover,
.anchor-chips a:focus-visible {
  border-color: var(--teal);
  color: var(--link);
}

.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: var(--on-green);
  background: var(--green-fill);
  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(--green);
  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: 100%;
  padding-inline: clamp(1rem, 2.5vw, 3rem);
  padding-block: clamp(2rem, 3.5vw, 2.5rem) 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%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

.guide-layout .article-shell h1,
.guide-layout .lede {
  max-width: none;
}

.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;
}

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

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

.guide-sidebar__group > summary {
  display: grid;
  padding: 0.28rem 0.55rem;
  color: var(--muted);
  cursor: pointer;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

.guide-sidebar__group > summary::after {
  color: var(--green-ink);
  content: "+";
  font-size: 0.9rem;
  line-height: 1;
}

.guide-sidebar__group[open] > summary {
  color: var(--ink);
}

.guide-sidebar__group[open] > summary::after {
  content: "−";
}

.guide-sidebar__group > summary:hover {
  color: var(--link);
  background: var(--teal-soft);
}

.guide-sidebar__group > summary:focus-visible {
  outline: 0.15rem solid var(--green);
  outline-offset: 0.1rem;
}

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

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

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

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

.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(--green-soft), var(--teal-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(--green-soft));
}

.guide-card:nth-child(3n + 3) {
  background: linear-gradient(145deg, var(--surface-raised), var(--teal-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(--green-ink);
  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;
}

.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(--green);
  background: var(--surface-soft);
  border-radius: 0 0 1rem 1rem;
}

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

.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 h2:not(:first-child) {
  margin-top: clamp(1.25rem, 2vw, 2rem);
}

.guide-article > section p,
.guide-article > section li {
  max-width: 80ch;
}

.guide-article ol {
  margin: 0 0 1.25rem;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.guide-article ol li {
  position: relative;
  padding: 0.15rem 0 0.15rem 2.9rem;
  counter-increment: step;
}

.guide-article ol li::before {
  position: absolute;
  top: 0.1rem;
  left: 0;
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  color: var(--on-green);
  background: var(--green-fill);
  border-radius: 0.55rem;
  content: counter(step);
  font-size: 0.82rem;
  font-weight: 900;
}

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

.code-block,
.install-page pre {
  overflow-x: auto;
  margin-block: 1.25rem;
  padding: 1.2rem;
  color: #d7e3ea;
  border: 0.0625rem solid #223140;
  border-radius: 0.8rem;
  background: var(--tile);
  box-shadow: inset 0 0 0 0.0625rem rgb(152 245 255 / 0.05);
}

.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;
}

.privacy-page h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

.privacy-page h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
}

.privacy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.privacy-toc a {
  padding: 0.4rem 0.85rem;
  border: 0.0625rem solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
  border-color: var(--teal);
  color: var(--link);
}

.kv-list {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface-raised);
}

.kv-list dt {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--ink-strong);
  overflow-wrap: anywhere;
}

.kv-list dt:first-child {
  margin-top: 0;
}

.kv-list dd {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.privacy-preference-control {
  margin: 1.75rem 0;
  padding: 1.25rem 1.4rem;
  border: 0.0625rem solid var(--line-strong);
  border-radius: 0.9rem;
  background: var(--surface-soft);
}

.privacy-preference-control h3 {
  margin-top: 0;
}

.privacy-preference-control p:last-child {
  margin-bottom: 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(--green-soft), var(--teal-soft));
}

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

.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(--green) 45%, var(--line));
  background: var(--green-soft);
}

.status-panel__mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  place-items: center;
  color: var(--on-green);
  background: var(--green-fill);
  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,
.next-links li,
.next-links li + li {
  min-width: 0;
  margin: 0;
  --route-accent: var(--green-ink);
  --route-soft: var(--green-soft);
}

.install-index li:nth-child(even),
.next-links li:nth-child(even) {
  --route-accent: var(--link);
  --route-soft: var(--teal-soft);
}

.install-index a,
.next-links 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(--tile) 7%, transparent);
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.install-index a::after,
.next-links 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,
.next-links 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,
.next-links 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(--green-ink);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.site-footer {
  margin-top: 2rem;
  padding-bottom: 4rem;
  color: var(--on-tile-muted);
  background: var(--tile);
}

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

.footer-inner p {
  margin: 0;
}

.footer-brand {
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 1rem;
}

.footer-brand > div {
  min-width: 0;
}

.footer-mark {
  width: 2.4rem;
  flex: none;
  border-radius: 0.55rem;
}

.footer-title {
  color: white;
}

.footer-meta {
  margin-top: 0.35rem !important;
  overflow-wrap: anywhere;
  color: #8595a0;
  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;
}

.site-dock {
  position: fixed;
  z-index: 100;
  bottom: 1.1rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.45rem;
  border: 0.0625rem solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(16 24 32 / 0.92);
  box-shadow: 0 0.6rem 1.6rem rgb(0 0 0 / 0.35);
  transform: translateX(-50%);
  backdrop-filter: blur(0.5rem);
}

.site-dock__mark {
  width: 1.7rem;
  margin-left: 0.35rem;
  border-radius: 0.4rem;
}

.site-dock a {
  padding: 0.42rem 0.85rem;
  color: #d7e3ea;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
  white-space: nowrap;
}

.site-dock a:hover {
  color: white;
  background: rgb(255 255 255 / 0.1);
}

.site-dock a[aria-current="page"] {
  color: #101820;
  background: linear-gradient(150deg, #9ee37d, #5aab52);
}

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

  .device-showcase__phone {
    right: 0;
  }

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

@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;
  }

  .header-cta {
    display: none;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .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: auto minmax(0, 1fr) 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(--green-ink);
    border-radius: 50%;
    background: var(--green-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 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,
  .feature-spotlight {
    grid-template-columns: 1fr;
  }

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

  .device-showcase {
    order: -1;
  }

  .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;
  }

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

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

@media (max-width: 38rem) {
  .device-showcase__glow {
    inset-inline: 0;
  }

  .header-actions {
    align-items: flex-end;
  }

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

  .breadcrumb {
    margin-bottom: 0.75rem;
  }

  .guide-layout {
    padding-top: 1rem;
  }

  .guide-article .article-header .eyebrow {
    margin-bottom: 0.5rem;
  }

  .guide-article .article-header h1 {
    margin-bottom: 0.75rem;
    font-size: 2.4rem;
  }

  .guide-article .article-header .lede {
    margin-bottom: 0;
  }

  .anchor-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .anchor-chips a {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    font-size: 0.76rem;
    line-height: 1.25;
  }

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

  .device-showcase__stage {
    aspect-ratio: 3 / 2;
  }

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

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

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

  .site-dock__mark {
    display: none;
  }

  .site-dock a {
    padding: 0.38rem 0.6rem;
    font-size: 0.78rem;
  }
}

@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;
  }
}
