:root {
  --ink: #17202a;
  --muted: #697586;
  --line: #e5e9ef;
  --soft: #f6f8fb;
  --accent: #4f46e5;
  --accent-soft: #eef0ff;
  --teal: #08a88a;
  --night: #080d1c;
  --night-soft: #111827;
  --header-height: 68px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.beginner-essentials {
  padding: 64px 32px;
  border-bottom: 1px solid var(--line);
  background: #f6f8fb;
}

.essentials-inner {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  align-items: end;
  gap: 64px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.essentials-heading p {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.essentials-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.05em;
}

.essentials-heading span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.essentials-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid #dce2eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .06);
  list-style: none;
  overflow: hidden;
}

.essentials-list li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid #dce2eb;
}

.essentials-list li:last-child { border-right: 0; }

.essentials-list li > span {
  display: block;
  color: var(--accent);
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.essentials-list li div { margin-top: 22px; }

.essentials-list strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.essentials-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.essentials-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  margin-top: auto;
  padding: 9px 15px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 7px 16px rgba(79, 70, 229, .18);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.essentials-action:hover,
.essentials-action:focus-visible {
  background: #4338ca;
  box-shadow: 0 10px 22px rgba(79, 70, 229, .24);
  transform: translateY(-1px);
}

.essentials-action b { font-size: 12px; }

a { color: inherit; }

button,
input { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 39px;
  object-fit: contain;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.topnav a {
  padding: 9px 10px;
  border-radius: 9px;
  color: #4d5969;
  text-decoration: none;
  font-size: 13px;
  font-weight: 620;
}

.topnav a:hover,
.topnav a.is-current {
  color: var(--accent);
  background: var(--accent-soft);
}

.auth-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.auth-actions a {
  padding: 9px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 680;
}

.login-link {
  border: 1px solid #d5dae3;
  color: #485365;
  background: #fff;
}

.register-link {
  border: 1px solid var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 5px 12px rgba(79, 70, 229, .2);
}

.mobile-menu-button,
.mobile-menu { display: none; }

.beginner-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    #070b18;
  background-size: 48px 48px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(84px);
  opacity: .2;
  pointer-events: none;
}

.hero-glow-one {
  top: 3%;
  left: -9%;
  width: 360px;
  height: 360px;
  background: #70f0a1;
}

.hero-glow-two {
  right: -8%;
  bottom: -28%;
  width: 440px;
  height: 440px;
  background: #3d72ff;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr);
  align-items: center;
  gap: 72px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 64px 32px 72px;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
  color: #8290a8;
  font-size: 12px;
}

.hero-breadcrumb a {
  color: #a9dc38;
  text-decoration: none;
  font-weight: 700;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #bbb8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-eyebrow span {
  width: 27px;
  height: 1px;
  background: linear-gradient(90deg, #a9dc38, #75dbff);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 5.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.hero-copy h1 span,
.hero-copy h1 strong { display: block; }

.hero-copy h1 strong {
  margin-top: 7px;
  color: transparent;
  background: linear-gradient(95deg, #b0ef50 3%, #65e6ce 48%, #7195ff 94%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-intro {
  max-width: 740px;
  margin: 28px 0 0;
  color: #aab5c9;
  font-size: 15px;
  line-height: 1.85;
}

.network-callout {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin-top: 30px;
  padding: 16px 20px 16px 16px;
  border: 1px solid #43516e;
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(169,220,56,.09), rgba(76,114,255,.08));
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.network-callout:hover {
  border-color: #7f9a62;
  background: linear-gradient(110deg, rgba(169,220,56,.14), rgba(76,114,255,.12));
  transform: translateY(-1px);
}

.network-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 78px;
  border-right: 1px solid #39445c;
}

.network-stat strong {
  color: #b4ee4e;
  font-size: 27px;
  line-height: 1;
}

.network-stat small {
  margin-top: 6px;
  color: #75839c;
  font-size: 9px;
  letter-spacing: .1em;
}

.network-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.network-copy > small {
  margin-bottom: 6px;
  color: #a9dc38;
  font-size: 10px;
  font-weight: 800;
}

.network-copy > strong {
  color: #eef2f8;
  font-size: 14px;
  line-height: 1.45;
}

.network-copy em {
  margin-top: 7px;
  color: #8d9ab0;
  font-size: 11px;
  font-style: normal;
}

.network-copy b { color: #6ee7d7; }

.hero-meta { margin-top: 18px; }

.hero-meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-meta > div span {
  padding: 7px 11px;
  border: 1px solid #35415a;
  border-radius: 999px;
  color: #aeb8ca;
  font-size: 10px;
}

.route-map {
  position: relative;
  display: grid;
  gap: 14px;
}

.route-line {
  position: absolute;
  top: 54px;
  bottom: 54px;
  left: 30px;
  width: 1px;
  background: linear-gradient(#a9dc38, #6fded3, #708cff);
}

.route-map a {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 100px;
  padding: 18px 21px;
  border: 1px solid #34405a;
  border-radius: 16px;
  color: #fff;
  background: #11192d;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}

.route-map a:hover {
  border-color: #65749a;
  transform: translateX(3px);
}

.route-map a > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #4c5b7a;
  border-radius: 50%;
  color: #b4ee4e;
  background: #10182a;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.route-map a div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.route-map a div strong { font-size: 17px; }

.route-map a div small {
  color: #929eb4;
  font-size: 11px;
}

.route-map a > b {
  color: #65728a;
  font: 700 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}

.site-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  width: min(1480px, 100%);
  min-height: calc(100vh - var(--header-height));
  margin: 0 auto;
  background: linear-gradient(115deg, rgba(238, 240, 255, .55), #fff 34%);
}

.sidebar {
  position: sticky;
  top: var(--header-height);
  align-self: start;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: rgba(248, 249, 255, .72);
  scrollbar-width: thin;
  scrollbar-color: #d9deeb transparent;
}

.sidebar-inner {
  position: static;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  padding: 38px 24px 24px;
  overflow: visible;
}

.sidebar-label {
  margin: 0 12px 14px;
  color: #939dac;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.category-nav {
  display: grid;
  gap: 5px;
}

.category-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  color: #596575;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 620;
}

.category-button:hover { background: var(--soft); }

.category-button.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.category-count {
  min-width: 26px;
  padding: 2px 7px;
  border: 1px solid #dfe4eb;
  border-radius: 999px;
  color: #8792a2;
  background: #fff;
  text-align: center;
  font-size: 11px;
}

.category-button.is-active .category-count {
  border-color: #d7defd;
  color: var(--accent);
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 38px;
  padding: 16px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.sidebar-brand span {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sidebar-brand small {
  color: #8b96a6;
  font-size: 11px;
}

.main-content {
  width: min(100%, 1040px);
  padding: 64px 68px 80px;
}

.intro { max-width: 720px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: #8d97a6;
  font-size: 12px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.intro h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.intro-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.search-panel {
  position: sticky;
  z-index: 10;
  top: var(--header-height);
  margin: 38px -10px 0;
  padding: 12px 10px 18px;
  background: linear-gradient(to bottom, #fff 76%, rgba(255,255,255,0));
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 16px;
  border: 1px solid #d7dde7;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 36, 58, 0.06);
  color: #8290a3;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.search-box:focus-within {
  border-color: #8096f5;
  box-shadow: 0 0 0 4px rgba(53, 89, 232, 0.1), 0 10px 26px rgba(25, 36, 58, 0.08);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.search-box input::placeholder { color: #9aa4b3; }

.search-box kbd {
  padding: 3px 8px;
  border: 1px solid #dce1e8;
  border-bottom-width: 2px;
  border-radius: 6px;
  color: #8b95a4;
  background: #f8f9fb;
  font-size: 12px;
}

.search-hint {
  margin: 9px 4px 0;
  color: #929cab;
  font-size: 12px;
}

.priority-install {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #dce1ee;
  border-radius: 14px;
  background: linear-gradient(120deg, #f4f5ff, #fff 58%, #f2fbfa);
}

.priority-install-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.priority-install-heading p {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.priority-install-heading h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -.025em;
}

.priority-install-heading > span {
  color: #8d97a7;
  font-size: 11px;
}

.priority-install-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.priority-install-list a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px 14px;
  border: 1px solid #dce1eb;
  border-radius: 11px;
  background: rgba(255,255,255,.88);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.priority-install-list a:hover {
  border-color: #abb7f5;
  box-shadow: 0 9px 22px rgba(61, 72, 126, .08);
  transform: translateY(-1px);
}

.priority-os {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  color: #fff;
  background: #4f62e8;
  font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .05em;
}

.priority-os-mac { background: #0b9f89; }

.priority-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}

.priority-copy strong {
  font-size: 13px;
  line-height: 1.4;
}

.priority-copy small {
  overflow: hidden;
  color: #737f91;
  font-size: 10px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.priority-arrow { color: #9ca6b5; }

.priority-install-list a:hover .priority-copy strong,
.priority-install-list a:hover .priority-arrow { color: var(--accent); }

.question-section {
  margin-top: 30px;
  scroll-margin-top: calc(var(--header-height) + 118px);
}

.result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 15px;
}

.result-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}

.result-heading h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.result-count {
  flex: 0 0 auto;
  margin: 0 0 2px;
  color: #8d97a5;
  font-size: 13px;
}

.result-count strong { color: #4f5c6d; }

.question-list {
  border-top: 1px solid var(--line);
}

.question-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 22px;
  min-height: 92px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .14s ease, padding .14s ease;
}

.question-row:hover {
  padding-right: 7px;
  padding-left: 17px;
  background: #f8faff;
}

.question-row[hidden] { display: none; }

.question-topic {
  color: #7b8797;
  font-size: 12px;
  font-weight: 720;
}

.question-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.question-copy strong {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.question-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.question-arrow {
  color: #a1aab7;
  font-size: 21px;
  transition: color .14s ease, transform .14s ease;
}

.question-row:hover .question-copy strong,
.question-row:hover .question-arrow { color: var(--accent); }

.question-row:hover .question-arrow { transform: translateX(2px); }

.empty-state {
  padding: 64px 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-state strong { font-size: 19px; }

.empty-state p {
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.empty-state button {
  padding: 9px 15px;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  color: #485568;
  background: #fff;
  cursor: pointer;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding-top: 22px;
}

.pagination[hidden] { display: none; }

.pagination > p {
  margin: 0;
  color: #8b95a4;
  font-size: 11px;
}

.pagination-controls,
.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination button {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  color: #596576;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.pagination button:hover:not(:disabled) {
  border-color: #b8c1f5;
  color: var(--accent);
  background: var(--accent-soft);
}

.pagination button.is-current {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.pagination button:disabled {
  color: #bcc3ce;
  background: #f7f8fa;
  cursor: not-allowed;
}

.help-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding: 24px 26px;
  border: 1px solid #dfe4ed;
  border-radius: 12px;
  background: var(--soft);
}

.help-strip strong { font-size: 16px; }

.help-strip p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.help-strip a {
  flex: 0 0 auto;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.community-section {
  padding: 96px 28px;
  background:
    radial-gradient(circle at 74% 28%, rgba(79, 70, 229, .1), transparent 29%),
    #f0f3ff;
}

.community-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 80px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 18px;
  color: #315ee8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.community-copy h2,
.next-section h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.045em;
}

.community-copy > p:not(.section-kicker) {
  max-width: 640px;
  margin: 24px 0 0;
  color: #637089;
  font-size: 16px;
  line-height: 1.85;
}

.community-copy strong { color: var(--ink); }

.community-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.community-tags span {
  padding: 8px 13px;
  border: 1px solid #cbd5ff;
  border-radius: 999px;
  color: #4c55b8;
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
}

.community-qr {
  margin: 0;
  padding: 28px 28px 20px;
  border: 1px solid #dce1ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 64px rgba(47, 56, 91, .12);
  text-align: center;
}

.community-qr img {
  display: block;
  width: min(100%, 270px);
  height: auto;
  margin: 0 auto;
}

.community-qr figcaption {
  margin-top: 16px;
  color: #8a95a8;
  font-size: 11px;
}

.next-section {
  padding: 76px 28px;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--night);
  background-size: 48px 48px;
}

.next-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.next-section p:not(.section-kicker) {
  margin: 20px 0 0;
  color: #9aa6bd;
  font-size: 14px;
}

.next-section a {
  flex: 0 0 auto;
  padding: 13px 18px;
  border-radius: 9px;
  color: #151b28;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.site-footer {
  padding: 58px 28px 28px;
  color: #c9d0dc;
  background: var(--night-soft);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 58px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-brand > a {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 38px;
}

.footer-brand p,
.footer-grid > div > p {
  margin: 13px 0 0;
  color: #8f9aad;
  font-size: 12px;
  line-height: 1.7;
}

.footer-grid h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
}

.footer-grid a:not(.footer-brand > a) {
  color: #929caf;
  text-decoration: none;
  font-size: 12px;
}

.footer-grid a:hover,
.footer-grid a.footer-current,
.footer-grid a.footer-contact { color: #a9dc38; }

.footer-copyright {
  margin: 42px 0 0;
  padding-top: 22px;
  border-top: 1px solid #273142;
  color: #707b8e;
  font-size: 11px;
}

@media (max-width: 1160px) {
  .topnav,
  .auth-actions { display: none; }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    color: #566174;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu-button:hover { background: #f3f4f7; }

  .mobile-menu {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    padding: 12px 20px 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 34px rgba(17, 24, 39, .09);
  }

  .mobile-menu:not([hidden]) { display: grid; }

  .mobile-menu > a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #566174;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
  }

  .mobile-menu > a.is-current {
    color: var(--accent);
    background: var(--accent-soft);
  }

  .mobile-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .mobile-auth-actions a {
    padding: 10px;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-auth-actions a:last-child {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 42px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .hero-copy h1 { font-size: clamp(48px, 5.2vw, 66px); }
}

@media (max-width: 900px) {
  .topbar-inner { padding: 0 20px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 52px 28px 58px;
  }

  .hero-copy h1 { max-width: 720px; font-size: 62px; }

  .route-map { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .route-line { display: none; }
  .route-map a {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 106px;
    padding: 15px;
  }
  .route-map a > span { width: 42px; height: 42px; }
  .route-map a div strong { font-size: 15px; }
  .route-map a div small { line-height: 1.45; }
  .route-map a > b { display: none; }

  .site-shell { grid-template-columns: 1fr; }

  .sidebar {
    position: sticky;
    z-index: 15;
    top: var(--header-height);
    align-self: stretch;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    scrollbar-width: none;
  }

  .sidebar::-webkit-scrollbar { display: none; }

  .sidebar-inner {
    position: static;
    display: block;
    height: auto;
    min-height: 0;
    padding: 10px 18px;
    overflow: visible;
  }

  .sidebar-label,
  .sidebar-brand { display: none; }

  .category-nav {
    display: flex;
    width: max-content;
    gap: 7px;
  }

  .category-button {
    width: auto;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid #e2e6ed;
    white-space: nowrap;
  }

  .main-content {
    width: 100%;
    padding: 46px 28px 64px;
  }

  .search-panel { top: 121px; }

  .priority-install-list a { grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 10px; }
  .priority-os { width: 42px; height: 42px; }

  .community-inner { grid-template-columns: minmax(0, 1fr) 310px; gap: 42px; }
  .community-qr { padding: 22px 20px 18px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .topbar-inner { padding: 0 16px; }
  .brand img { height: 34px; }

  .hero-inner { gap: 36px; padding: 38px 18px 46px; }
  .hero-breadcrumb { margin-bottom: 30px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 9px; }
  .hero-copy h1 { font-size: 40px; line-height: 1.1; }
  .hero-copy h1 strong { margin-top: 9px; }
  .hero-intro { margin-top: 22px; font-size: 13px; line-height: 1.75; }

  .network-callout {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding: 13px 14px 13px 10px;
  }
  .network-stat { min-height: 76px; }
  .network-stat strong { font-size: 23px; }
  .network-copy > strong { font-size: 12px; }
  .network-copy em { font-size: 10px; line-height: 1.45; }

  .hero-meta > div { gap: 6px; margin-top: 16px; }
  .hero-meta > div span { padding: 6px 9px; font-size: 9px; }

  .route-map { grid-template-columns: 1fr; }
  .route-map a { min-height: 84px; }

  .main-content { padding: 36px 18px 52px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 39px; }
  .intro-copy { margin-top: 13px; font-size: 15px; }
  .search-panel { margin-top: 27px; }
  .search-box { height: 54px; }
  .search-box kbd { display: none; }
  .search-hint { display: none; }
  .priority-install { margin-top: 22px; padding: 17px; }
  .priority-install-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .priority-install-list { grid-template-columns: 1fr; }
  .priority-install-list a { min-height: 76px; }
  .question-section { margin-top: 22px; }

  .result-heading { align-items: end; }
  .result-heading h2 { font-size: 19px; }
  .result-count { font-size: 12px; }

  .question-row {
    grid-template-columns: minmax(0, 1fr) 22px;
    gap: 12px;
    min-height: 84px;
    padding: 16px 4px;
  }

  .question-row:hover { padding-right: 2px; padding-left: 6px; }
  .question-topic { grid-column: 1; margin-bottom: -4px; font-size: 10px; }
  .question-copy { grid-column: 1; }
  .question-copy strong { font-size: 15px; }
  .question-copy small { font-size: 12px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .question-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }

  .help-strip { align-items: flex-start; flex-direction: column; gap: 14px; padding: 21px; }

  .pagination {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .community-section { padding: 64px 18px; }
  .community-inner { grid-template-columns: 1fr; gap: 36px; }
  .community-copy h2,
  .next-section h2 { font-size: 34px; }
  .community-copy > p:not(.section-kicker) { margin-top: 18px; font-size: 14px; }
  .community-qr { width: min(100%, 330px); margin: 0 auto; }

  .next-section { padding: 56px 18px; }
  .next-inner { align-items: flex-start; flex-direction: column; gap: 30px; }

  .site-footer { padding: 48px 18px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .beginner-essentials { padding: 54px 28px; }
  .essentials-inner { grid-template-columns: 1fr; gap: 30px; }
  .essentials-heading span { max-width: 560px; }
}

@media (max-width: 620px) {
  .beginner-essentials { padding: 46px 18px; }
  .essentials-list { grid-template-columns: 1fr; }
  .essentials-list li {
    min-height: 0;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid #dce2eb;
  }
  .essentials-list li:last-child { border-bottom: 0; }
  .essentials-list li div { margin-top: 16px; }
  .essentials-action { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
