@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("assets/fonts/Satoshi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #0e0e0e;
  --surface: #171717;
  --surface-2: #212121;
  --surface-3: #282828;
  --ink: #f5f5f5;
  --muted: #b8b8b8;
  --line: #303030;
  --line-strong: #4a4a4a;
  --gold: #e9c45c;
  --gold-hover: #f4d779;
  --gold-soft: #e9c45c12;
  --hotmart: #f26a3d;
  --hotmart-soft: #f26a3d12;
  --green: #93cfaf;
  --green-soft: #93cfaf12;
  --danger: #f0a2a2;
  --focus: #f1d88b;
  --sidebar: #090909;
  --sidebar-ink: #f5f5f5;
  --sidebar-muted: #8e9197;
  --sidebar-number: #666;
  --sidebar-panel: #121212;
  --sidebar-line: #2a2a2a;
  --sidebar-hover: #171717;
  --nav-active-gradient: linear-gradient(120deg, #efd078, #e9c45c 48%, #ddb34b);
  --nav-active-line: #c49d3c;
  --nav-active-ink: #17140d;
  --shadow: 0 28px 80px #0007;
  --radius: 22px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --surface-3: #e5e9ef;
  --ink: #171a21;
  --muted: #56606e;
  --line: #dce1e8;
  --line-strong: #b9c1cc;
  --gold: #b98516;
  --gold-hover: #91670f;
  --gold-soft: #f5c94414;
  --hotmart: #c74820;
  --hotmart-soft: #f26a3d0f;
  --green: #307253;
  --green-soft: #3072530d;
  --danger: #a83a42;
  --focus: #6b5a20;
  --sidebar: #ffffff;
  --sidebar-ink: #171a21;
  --sidebar-muted: #626c7a;
  --sidebar-number: #7b8796;
  --sidebar-panel: #f7f8fa;
  --sidebar-line: #dce1e8;
  --sidebar-hover: #eef1f5;
  --nav-active-gradient: linear-gradient(120deg, #f8d56e, #f5c747 48%, #eaba34);
  --nav-active-line: #bd941c;
  --nav-active-ink: #17140d;
  --shadow: 0 20px 55px #1e273314;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--gold) 8%, transparent), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: color-mix(in srgb, var(--gold) 32%, transparent);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--gold);
  color: #17130b;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 21px;
  height: 100vh;
  padding: 28px 24px 22px;
  overflow-y: auto;
  border-right: 1px solid var(--sidebar-line);
  background: var(--sidebar);
  color: var(--sidebar-ink);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: var(--sidebar-ink);
  text-decoration: none;
}

.brand img {
  width: 158px;
  height: auto;
}

.brand-light {
  display: none;
}

.brand span {
  color: var(--sidebar-muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.platform-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--sidebar-line);
  border-radius: 14px;
  background: var(--sidebar-panel);
}

.platform-summary img {
  width: 108px;
  height: auto;
}

.platform-summary span {
  color: var(--sidebar-muted);
  font-size: 11px;
}

.summary-light {
  display: none;
}

.all-guides-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 11px;
  border: 1px solid var(--sidebar-line);
  border-radius: 11px;
  color: var(--sidebar-ink);
  text-decoration: none;
}

.all-guides-link:hover {
  border-color: var(--gold);
  background: var(--sidebar-hover);
}

.all-guides-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--sidebar-hover);
  color: var(--gold);
  font-size: 16px;
}

.all-guides-link > span:last-child {
  display: grid;
  gap: 1px;
}

.all-guides-link strong {
  font-size: 11px;
  font-weight: 650;
}

.all-guides-link small {
  color: var(--sidebar-muted);
  font-size: 9px;
}

.theme-light {
  display: none;
}

:root[data-theme="light"] .theme-dark {
  display: none;
}

:root[data-theme="light"] .theme-light {
  display: inline;
}

:root[data-theme="light"] .sidebar .brand-dark,
:root[data-theme="light"] .sidebar .summary-dark {
  display: none;
}

:root[data-theme="light"] .sidebar .brand-light,
:root[data-theme="light"] .sidebar .summary-light {
  display: block;
}

.toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 9px;
  color: var(--sidebar-muted);
  font-size: 12px;
  text-decoration: none;
  transition: background .16s, color .16s;
}

.toc a span {
  color: var(--sidebar-number);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.toc a:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-ink);
}

.toc a.is-active {
  border: 1px solid var(--nav-active-line);
  background: var(--nav-active-gradient);
  color: var(--nav-active-ink);
  font-weight: 600;
  box-shadow: inset 0 1px 0 #ffffff30, inset 0 -1px 0 #9b72291f;
}

.toc a.is-active span {
  color: var(--nav-active-ink);
}

.progress-card {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--sidebar-line);
}

.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--sidebar-ink);
  font-size: 11px;
}

.progress-heading button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sidebar-muted);
  font-size: 10px;
}

.progress-heading button:hover {
  color: var(--gold);
}

.progress-track {
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sidebar-line);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width .24s ease;
}

.button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.button-primary {
  border-color: color-mix(in srgb, var(--gold) 72%, #a88020);
  background: linear-gradient(135deg, #f3d887, var(--gold) 58%, #dfb84e);
  color: #1b170c;
  box-shadow: inset 0 1px 0 #fff7;
}

.button-primary:hover {
  background: var(--gold-hover);
}

main {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto;
  padding: 38px 48px 78px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid #303030;
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 18%, #e9c45c24, transparent 31%),
    linear-gradient(145deg, #1b1b1b, #111);
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .hero {
  border-color: var(--line);
  background:
    radial-gradient(circle at 86% 18%, #f5c9442e, transparent 31%),
    linear-gradient(145deg, #fff, #f1f3f6);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(#ffffff18 1px, transparent 1px),
    linear-gradient(90deg, #ffffff18 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to left, #000, transparent 72%);
}

:root[data-theme="light"] .hero::after {
  background-image:
    linear-gradient(#0000000c 1px, transparent 1px),
    linear-gradient(90deg, #0000000c 1px, transparent 1px);
}

.hero-simple {
  padding: 26px 32px;
}

.hero-simple-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hero-simple .eyebrow {
  margin-top: 18px;
}

.hero-simple h1 {
  max-width: 820px;
  margin-top: 5px;
  font-size: clamp(32px, 3.7vw, 46px);
  line-height: 1.02;
}

.hero-simple .hero-copy {
  max-width: 690px;
  font-size: 14px;
}

.mini-brands {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #0b0b0b;
}

.brand-controls {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  align-items: center;
  gap: 9px;
}

.mini-brands img {
  width: auto;
  max-width: 112px;
  height: 26px;
  object-fit: contain;
}

.mini-brands .hotmart-wordmark {
  max-width: 94px;
  height: 22px;
}

.mini-brands span {
  color: var(--gold);
  font-size: 16px;
}

.theme-switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #0b0b0b;
}

.switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d887, var(--gold) 58%, #dfb84e);
  color: #17130b;
  font-size: 11px;
  box-shadow: inset 0 1px 0 #fff8;
  transition: transform .2s var(--oz-ease);
}

.theme-switch[aria-checked="true"] .switch-thumb {
  transform: translateX(20px);
}

.hero-topline,
.hero-grid,
.journey {
  position: relative;
  z-index: 1;
}

.hero-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.hero-topline i {
  color: var(--line-strong);
  font-style: normal;
}

.guide-badge {
  margin-left: auto;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 250px);
  gap: 32px;
  align-items: center;
  padding-top: 35px;
}

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 10px 0 14px;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-copy {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.meta-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
}

.meta-row strong {
  color: var(--ink);
}

.brand-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.brand-tile {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 116px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #0d0d0d;
  box-shadow: inset 0 1px 0 #ffffff0b;
}

.brand-tile img {
  width: min(100%, 112px);
  max-height: 73px;
  object-fit: contain;
}

.brand-tile .brand-light {
  display: none;
}

.hotmart-tile img {
  width: min(100%, 98px);
}

.plus {
  color: var(--gold);
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.journey div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
}

.journey div > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #17130b;
  font-size: 9px;
  font-weight: 800;
}

.journey strong {
  font-size: 11px;
}

.journey small {
  color: var(--muted);
  font-size: 9px;
}

.journey > i {
  color: var(--line-strong);
  font-style: normal;
}

.prerequisite {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  margin: 26px 0 44px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.prerequisite h2,
.steps-intro h2,
.troubleshooting h2,
.reference-note h2 {
  margin: 5px 0 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.prerequisite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  align-content: center;
}

.prerequisite-grid span {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
}

.prerequisite-grid span::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.steps-intro {
  margin-bottom: 20px;
}

.steps-intro p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.step-card {
  scroll-margin-top: 24px;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px #0001;
  transition: border-color .18s, background .18s;
}

.step-card.is-complete {
  border-color: color-mix(in srgb, var(--green) 36%, var(--line));
  background: color-mix(in srgb, var(--green) 3%, var(--surface));
}

.step-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.step-index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.step-card.is-complete .step-index {
  background: var(--green);
  color: #0e1b14;
}

.system-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.system-chip.ozires {
  border-color: color-mix(in srgb, var(--gold) 35%, var(--line));
  background: var(--gold-soft);
  color: var(--gold);
}

.system-chip.hotmart {
  border-color: color-mix(in srgb, var(--hotmart) 35%, var(--line));
  background: var(--hotmart-soft);
  color: var(--hotmart);
}

.step-head h2 {
  margin: 7px 0 5px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.step-head p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.complete-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.complete-control:has(input:checked) {
  border-color: color-mix(in srgb, var(--green) 45%, var(--line));
  color: var(--green);
}

.complete-control input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--green);
}

.figure {
  margin: 23px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #090909;
}

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

.figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding: 9px 13px;
  color: #999;
  font-size: 10px;
}

.figure figcaption strong {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.step-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}

.step-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.step-notes strong {
  color: var(--ink);
}

.next-link {
  flex: none;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.next-link:hover {
  color: var(--gold-hover);
}

.instruction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.instruction-grid > div {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.instruction-grid > div > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid color-mix(in srgb, var(--gold) 34%, var(--line));
  border-radius: 50%;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
}

.instruction-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.instruction-grid strong {
  color: var(--ink);
}

.warning {
  margin-top: 15px;
  padding: 15px 17px;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, var(--line));
  border-radius: 12px;
  background: var(--gold-soft);
}

.warning strong {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.warning p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.comparison > div {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.comparison-label {
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.comparison h3 {
  margin: 5px 0;
  font-size: 17px;
}

.comparison p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.success-panel {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 17px;
  border: 1px solid color-mix(in srgb, var(--green) 38%, var(--line));
  border-radius: 12px;
  background: var(--green-soft);
}

.check-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #0e1b14;
  font-weight: 800;
}

.success-panel strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

.success-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.troubleshooting {
  margin-top: 34px;
}

.troubleshooting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.troubleshooting-grid article {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.troubleshooting-grid h3 {
  margin: 0 0 5px;
  font-size: 14px;
}

.troubleshooting-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.reference-note {
  margin-top: 36px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.reference-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.reference-note p + p {
  margin-top: 7px;
}

@media (max-width: 1050px) {
  .layout {
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 18px;
  }

  main {
    padding-inline: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .brand-pair {
    max-width: 420px;
  }

  .journey {
    grid-template-columns: 1fr 1fr;
  }

  .journey > i {
    display: none;
  }

  .troubleshooting-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .layout {
    display: block;
  }

  .sidebar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    height: auto;
    padding: 18px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .brand img {
    width: 128px;
  }

  .brand span {
    display: none;
  }

  .platform-summary {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
  }

  .platform-summary img {
    width: 90px;
  }

  .toc {
    display: flex;
    flex-direction: row;
    grid-column: 1 / -1;
    gap: 6px;
    padding-bottom: 3px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .toc a {
    display: flex;
    flex: none;
    gap: 6px;
    min-width: max-content;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #111;
    color: #c4c4c4;
    font-size: 10px;
    scroll-snap-align: start;
  }

  .toc a.is-active {
    border-color: var(--nav-active-line);
    background: var(--nav-active-gradient);
    box-shadow: none;
    color: var(--nav-active-ink);
    font-weight: 600;
  }

  .progress-card {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 12px;
  }

  main {
    padding: 22px 16px 54px;
  }

  .hero {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .hero-simple-head {
    flex-direction: column-reverse;
    gap: 17px;
  }

  .hero-simple .brand-controls {
    align-self: flex-start;
  }

  .hero-simple h1 {
    margin-top: 10px;
  }

  .hero-grid {
    gap: 25px;
    padding-top: 25px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .brand-pair {
    grid-template-columns: 1fr 24px 1fr;
  }

  .brand-tile {
    min-height: 96px;
    padding: 14px;
  }

  .journey {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .prerequisite {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .prerequisite-grid,
  .instruction-grid,
  .comparison,
  .figure-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 20px;
    border-radius: 17px;
  }

  .step-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .step-index {
    width: 38px;
    height: 38px;
  }

  .step-head h2 {
    font-size: 21px;
  }

  .complete-control {
    grid-column: 2;
    justify-self: start;
  }

  .step-foot {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 470px) {
  .hero-topline {
    flex-wrap: wrap;
  }

  .guide-badge {
    margin-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  :root,
  :root[data-theme="light"] {
    --bg: #fff;
    --surface: #fff;
    --surface-2: #f4f4f4;
    --surface-3: #ececec;
    --ink: #161616;
    --muted: #505050;
    --line: #d7d7d7;
    --line-strong: #a9a9a9;
    --gold: #765812;
    --green: #286448;
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #161616;
  }

  .layout {
    display: block;
  }

  .sidebar,
  .skip-link,
  .complete-control,
  .next-link,
  .button,
  .icon-button {
    display: none !important;
  }

  main {
    max-width: none;
    padding: 0;
  }

  .hero,
  .step-card,
  .prerequisite,
  .checklist,
  .troubleshooting-grid article {
    break-inside: avoid;
    background: #fff;
    box-shadow: none;
  }

  .hero {
    background: linear-gradient(145deg, #fff, #f5f1e7);
  }

  .hero::after {
    display: none;
  }

  .brand-tile {
    background: #111;
  }

  .brand-pair .brand-dark {
    display: none;
  }

  .brand-pair .brand-light {
    display: block;
  }

  .figure,
  .step-card,
  .checklist {
    break-inside: avoid;
  }

  .figure img {
    max-height: 115mm;
    object-fit: contain;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}
