:root {
  color-scheme: light;
  --ink: #171a1f;
  --ink-soft: #4e5661;
  --paper: #ffffff;
  --paper-soft: #f6f7f8;
  --line: #d8dde2;
  --line-strong: #aeb6bf;
  --accent: #e5f542;
  --accent-soft: #f5fac2;
  --accent-dark: #737b00;
  --success: #17643a;
  --planned: #6b4f00;
  --danger: #9a2d26;
  --shadow: 0 14px 35px rgb(23 26 31 / 8%);
  --radius-sm: 4px;
  --radius: 8px;
  --max-width: 1280px;
  --header-height: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary,
[role="button"] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--accent);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  transform: translateY(-150%);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--ink);
  font-weight: 750;
}

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

.container,
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 95%);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  background-image: radial-gradient(circle, var(--accent) 0 2px, transparent 2.5px);
  background-position: 6px 6px;
  background-size: 12px 12px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 12%);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.primary-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  color: #333941;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current] {
  background: var(--paper-soft);
  color: var(--ink);
}

.primary-nav a[aria-current] {
  box-shadow: inset 0 -3px 0 var(--accent);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.menu-toggle::before {
  width: 1.2rem;
  height: 0.8rem;
  border-block: 2px solid currentColor;
  content: "";
  box-shadow: inset 0 2px 0 transparent;
}

.menu-toggle::after {
  position: absolute;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: #454c55;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 0.3rem;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3,
h4 {
  margin-block: 0 0.6em;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.025em;
}

p,
ul,
ol,
dl,
figure,
blockquote {
  margin-block: 0 1.25rem;
}

.lead {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.home-hero {
  display: grid;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: min(760px, calc(100vh - var(--header-height)));
  margin-inline: auto;
  padding-block: clamp(4rem, 9vw, 8rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.home-hero h1 {
  max-width: 12ch;
}

.home-hero__copy {
  max-width: 700px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button,
.button-secondary,
button.button,
button.button-secondary {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.05rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button:hover,
button.button:hover {
  background: #303640;
  text-decoration: none;
}

.button-secondary,
button.button-secondary {
  background: var(--paper);
  color: var(--ink);
}

.button-secondary:hover,
button.button-secondary:hover {
  background: var(--accent);
  text-decoration: none;
}

.hero-schematic {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow: var(--shadow);
  color: var(--paper);
  isolation: isolate;
}

.hero-schematic::before,
.hero-schematic::after {
  position: absolute;
  content: "";
}

.hero-schematic::before {
  inset: 15% 12%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow:
    2rem 2rem 0 -1px var(--ink),
    2rem 2rem 0 0 var(--paper),
    4rem 4rem 0 -1px var(--ink),
    4rem 4rem 0 0 var(--accent);
}

.hero-schematic::after {
  top: 26%;
  right: 20%;
  width: 5rem;
  aspect-ratio: 1;
  border: 10px dotted var(--accent);
  border-radius: 50%;
}

.hero-schematic__label,
.hero-schematic figcaption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 28%);
  color: #e5e8eb;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero {
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.page-hero__inner {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.page-hero h1 {
  max-width: 15ch;
}

.page-hero .lead {
  margin-bottom: 0;
}

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

.section--soft {
  background: var(--paper-soft);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  align-items: end;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 2rem;
}

.section-heading > :last-child {
  margin-bottom: 0;
}

.section-heading p {
  color: var(--ink-soft);
}

.page-grid {
  display: grid;
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding-block: 3rem 6rem;
  align-items: start;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

.page-main {
  min-width: 0;
}

.page-sidebar,
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.page-sidebar > strong,
.sidebar > strong,
.sidebar-title {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-sidebar nav,
.sidebar nav,
.sidebar-nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.page-sidebar a,
.sidebar a,
.sidebar-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: #4b535d;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.page-sidebar a:hover,
.sidebar a:hover,
.sidebar-nav a:hover {
  color: var(--ink);
  box-shadow: inset 4px 0 0 var(--accent);
  padding-left: 0.75rem;
}

.notice,
.callout,
.recommendation {
  margin-block: 1.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.notice > :last-child,
.callout > :last-child,
.recommendation > :last-child {
  margin-bottom: 0;
}

.notice-key,
.notice-price {
  border-left-color: var(--ink);
  background: var(--accent-soft);
}

.notice-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
}

.notice-price strong,
.notice-price .price {
  font-size: 1.35rem;
}

.guide-list {
  border-top: 1px solid var(--ink);
}

.guide-row {
  display: grid;
  min-height: 5.25rem;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  text-decoration: none;
}

.guide-row:hover {
  background: var(--paper-soft);
  text-decoration: none;
}

.guide-row h3,
.guide-row p {
  margin: 0;
}

.guide-row p {
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.label,
.status-label {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.label.available,
.status-label.available,
[data-status="available"] {
  color: var(--success);
}

.label.planned,
.status-label.planned,
[data-status="planned"] {
  color: var(--planned);
}

.route-picker {
  margin-block: 2.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.route-picker__options,
.route-options {
  display: grid;
  margin-block: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.route-picker button[data-goal] {
  min-height: 4.4rem;
  padding: 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.route-picker button[data-goal]:hover,
.route-picker button[data-goal][aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--accent);
}

.recommendation {
  min-height: 7.5rem;
  margin-bottom: 0;
}

.recommendation h3,
.recommendation p {
  margin-bottom: 0.55rem;
}

.recommendation a {
  font-weight: 750;
}

.comparison-section {
  margin-block: 3rem;
}

.comparison-filters,
.filter-buttons,
.tier-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 1.25rem;
}

.comparison-filters button,
.filter-buttons button,
.tier-tabs button {
  min-height: 2.65rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: #353b43;
  font-weight: 700;
  line-height: 1.1;
}

.comparison-filters button:hover,
.filter-buttons button:hover,
.tier-tabs button:hover,
.comparison-filters button[aria-pressed="true"],
.filter-buttons button[aria-pressed="true"],
.tier-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--accent);
  color: var(--ink);
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.45;
}

th,
td {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

th {
  background: var(--paper-soft);
  color: #3d444d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: #fbfbf3;
}

.js .comparison-section tr[hidden],
.js .shopping-panel[hidden] {
  display: none;
}

.tier-tabs {
  position: sticky;
  z-index: 5;
  top: calc(var(--header-height) + 0.5rem);
  padding-block: 0.75rem;
  border-block: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(10px);
}

.shopping-panel {
  padding-top: 1.5rem;
}

.shopping-panel__header {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.shopping-panel__header > :last-child {
  margin-bottom: 0;
}

.shopping-list {
  margin-block: 1.5rem;
  border-top: 1px solid var(--ink);
}

.shopping-list > li,
.shopping-item {
  display: grid;
  min-height: 4.6rem;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
}

.shopping-list > li:hover,
.shopping-item:hover {
  background: var(--paper-soft);
}

.shopping-list input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  border-radius: 2px;
  accent-color: var(--ink);
}

.shopping-list a {
  font-weight: 700;
}

.shopping-list .item-name,
.shopping-list .item-detail {
  display: block;
}

.shopping-list .item-detail {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.shopping-list .item-price,
.shopping-item__price {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shopping-totals {
  display: flex;
  margin-block: 1.5rem;
  padding: 1rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.shopping-totals strong,
.shopping-totals [data-total] {
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}

.shopping-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.shopping-tools button {
  min-height: 2.7rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-weight: 700;
}

.shopping-tools button:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
}

[data-copy-status] {
  min-height: 1.5em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.guide-article {
  max-width: 860px;
}

.guide-article > header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.guide-article h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.guide-article h2 {
  margin-top: 2.3em;
  padding-top: 0.55em;
  border-top: 1px solid var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.guide-article h3 {
  margin-top: 1.8em;
}

.guide-article p,
.guide-article li {
  max-width: 74ch;
}

.guide-article li + li {
  margin-top: 0.45rem;
}

.guide-article table {
  display: block;
  max-width: 100%;
  margin-block: 1.5rem 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.guide-article pre {
  max-width: 100%;
  margin-block: 1.5rem;
  padding: 1.2rem;
  overflow-x: auto;
  border: 1px solid #343a43;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #f7f8f9;
  font-size: 0.9rem;
  line-height: 1.6;
  tab-size: 2;
}

code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

:not(pre) > code {
  padding: 0.12em 0.3em;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper-soft);
}

.callout {
  background: var(--paper);
}

.callout > strong:first-child,
.callout__title {
  display: block;
  margin-bottom: 0.35rem;
}

.power-diagram {
  margin-block: 2rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.power-diagram__flow {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.power-diagram__node,
.power-diagram > div > div {
  min-height: 5rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-weight: 750;
  text-align: center;
}

.power-diagram figcaption {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.site-footer {
  border-top: 1px solid #333941;
  background: var(--ink);
  color: #d8dde2;
}

.site-footer__inner {
  display: grid;
  padding-block: 3.5rem;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
}

.site-footer .brand {
  color: var(--paper);
}

.site-footer p {
  max-width: 62ch;
  margin-top: 1rem;
  color: #b7bec6;
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  color: var(--paper);
  font-weight: 650;
}

.muted,
.meta {
  color: var(--ink-soft);
}

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

/* Generated-markup component contract */

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

.site-header {
  display: flex;
  min-height: var(--header-height);
  padding-inline: max(1.5rem, calc((100vw - var(--max-width)) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-suffix {
  color: #68707a;
  font-weight: 650;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ink);
  font-weight: 750;
}

.home-hero > div:first-child {
  max-width: 700px;
}

.home-hero h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.home-hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.05em;
  bottom: 0.07em;
  left: -0.03em;
  height: 0.18em;
  background: var(--accent);
  content: "";
}

.hero-note {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 650;
}

.hero-schematic {
  display: flex;
  min-height: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  flex-direction: column;
  justify-content: center;
}

.hero-schematic::before,
.hero-schematic::after {
  display: none;
}

.schematic-label,
.schematic-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #c8cdd3;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

.schematic-label {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #414751;
}

.schematic-label > span:last-child,
.schematic-bottom > span:last-child {
  color: var(--accent);
}

.status-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(229 245 66 / 13%);
}

.schematic-label .status-dot {
  margin-right: auto;
}

.schematic-step {
  display: grid;
  min-height: 6.6rem;
  padding: 1rem;
  border: 1px solid #555d68;
  border-radius: var(--radius-sm);
  align-items: center;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 1rem;
  background: #f8f9fa;
  color: var(--ink);
}

.schematic-step div,
.schematic-step small,
.schematic-step strong,
.schematic-step div > span {
  display: block;
}

.schematic-step small {
  margin-bottom: 0.2rem;
  color: #646c76;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.schematic-step strong {
  font-size: 1.03rem;
  line-height: 1.25;
}

.schematic-step div > span {
  margin-top: 0.25rem;
  color: #5a626c;
  font-size: 0.77rem;
  line-height: 1.35;
}

.schematic-step b {
  color: #7f8790;
  font-size: 0.78rem;
  font-weight: 800;
  align-self: start;
}

.schematic-connector {
  width: 2px;
  height: 1.15rem;
  margin-left: 2.6rem;
  background: var(--accent);
}

.device-icon {
  position: relative;
  display: block;
  width: 3.1rem;
  height: 2.8rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.device-icon::before,
.device-icon::after {
  position: absolute;
  content: "";
}

.laptop-icon::before {
  right: -0.4rem;
  bottom: -0.45rem;
  left: -0.4rem;
  height: 0.25rem;
  border-radius: 3px;
  background: var(--ink);
}

.mini-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 -0.5rem 0 #e0e4e7;
}

.mini-icon::after,
.rack-icon::before,
.rack-icon::after {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent-dark);
}

.mini-icon::after {
  right: 0.35rem;
  bottom: 0.12rem;
}

.rack-icon {
  height: 2.75rem;
  background: repeating-linear-gradient(to bottom, transparent 0 0.55rem, #cdd2d7 0.55rem 0.68rem);
}

.rack-icon::before {
  top: 0.2rem;
  right: 0.22rem;
}

.rack-icon::after {
  right: 0.22rem;
  bottom: 0.2rem;
}

.schematic-bottom {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #414751;
}

.route-section,
.featured-guide,
.guide-section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.route-section,
.featured-guide {
  border-top: 1px solid var(--line);
}

.section-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
}

.section-heading > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading > h2 {
  margin-bottom: 0;
}

.section-heading > p:last-child {
  align-self: end;
  margin-bottom: 0.25rem;
}

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

.route-picker button[data-goal] {
  display: grid;
  min-height: 7rem;
  padding: 1rem;
  align-items: start;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
}

.route-picker button[data-goal] > span:first-child {
  color: #646c76;
  font-size: 0.72rem;
  font-weight: 800;
}

.route-picker button[data-goal] > span:last-child {
  align-self: end;
}

.recommendation {
  display: grid;
  padding: 1.35rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
}

.recommendation .eyebrow {
  margin-bottom: 0.4rem;
}

.recommendation p:last-child {
  margin-bottom: 0;
}

.featured-guide {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.featured-guide > div:first-child > p:not(.eyebrow) {
  max-width: 56ch;
  color: var(--ink-soft);
}

.feature-budget {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--accent-soft);
  box-shadow: var(--shadow);
}

.feature-budget > span,
.feature-budget > small,
.feature-budget > strong {
  display: block;
}

.feature-budget > span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-budget > strong {
  margin-block: 0.15em;
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.feature-budget a {
  font-weight: 800;
}

.feature-budget > small {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.guide-row,
.guide-row.available,
.guide-row.planned {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
}

.guide-number {
  color: #727a84;
  font-size: 0.77rem;
  font-weight: 800;
}

.guide-state {
  padding: 0.3rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.guide-row.available .guide-state {
  color: var(--success);
}

.guide-row.planned .guide-state {
  color: var(--planned);
}

.official-strip {
  display: grid;
  width: 100%;
  padding: clamp(3.5rem, 7vw, 6rem) max(1.5rem, calc((100vw - var(--max-width)) / 2));
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  background: var(--ink);
  color: #d9dde1;
}

.official-strip h2,
.official-strip .eyebrow {
  color: var(--paper);
}

.official-strip .eyebrow::before {
  background: var(--accent);
}

.official-strip p:last-child {
  max-width: 60ch;
  margin-bottom: 0;
}

.official-strip .button-secondary {
  border-color: var(--paper);
  background: var(--accent);
}

.page-main > .page-hero {
  padding-inline: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

main.page-hero {
  min-height: 62vh;
  padding-inline: max(1.5rem, calc((100vw - var(--max-width)) / 2));
}

.guide-stats {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--line-strong);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-stats > div {
  display: grid;
  min-height: 7.5rem;
  padding: 1rem;
  align-content: center;
  border-right: 1px solid var(--line);
}

.guide-stats > div:last-child {
  border-right: 0;
}

.guide-stats strong,
.guide-stats span {
  display: block;
}

.guide-stats strong {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.guide-stats span {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.sidebar > .eyebrow {
  margin-bottom: 0.8rem;
}

.sidebar-note {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.sidebar-note strong,
.sidebar-note > span:last-child {
  display: block;
}

.sidebar-note strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.sidebar-note .status-dot {
  margin-right: 0.4rem;
}

.comparison-section,
.shopping-section,
.before-buy-section,
.detail-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 1.25rem;
}

.filter-bar button {
  min-height: 2.65rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: #353b43;
  font-weight: 700;
}

.filter-bar button:hover,
.filter-bar button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--accent);
}

.comparison-table {
  min-width: 810px;
}

.comparison-table small {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.comparison-table th[scope="row"] a {
  display: block;
  min-width: 10rem;
  font-weight: 750;
}

.table-note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.shopping-panel {
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.shopping-panel-heading {
  display: grid;
  margin-bottom: 1.25rem;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
}

.shopping-panel-heading h3 {
  margin-bottom: 0.35rem;
}

.shopping-panel-heading p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.build-total {
  min-width: 12rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  text-align: right;
}

.build-total small,
.build-total strong,
.build-total span {
  display: block;
}

.build-total small {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.build-total strong {
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.build-total span {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.build-specs {
  padding-block: 0.8rem;
  border-block: 1px solid var(--line);
  color: #3f464f;
  font-size: 0.88rem;
  font-weight: 750;
}

.shopping-tools > span:first-child {
  margin-right: auto;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

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

.shopping-list > li {
  margin: 0;
}

.item-check {
  display: inline-flex;
  width: 1.8rem;
  min-height: 1.8rem;
  align-items: center;
  justify-content: center;
}

.item-info {
  min-width: 0;
}

.item-info a,
.item-info small {
  display: block;
}

.item-info a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.item-info small {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.no-purchase {
  display: block !important;
  min-height: 0 !important;
  padding: 1.25rem !important;
  border: 1px dashed var(--line-strong) !important;
  background: var(--paper-soft);
  color: var(--ink-soft);
}

.build-note {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.copy-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
}

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

.principle-grid > div {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
}

.principle-grid > div > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.principle-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.chapter-index {
  margin-bottom: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.chapter-index summary {
  padding: 1rem 1.15rem;
  font-weight: 800;
}

.chapter-index nav {
  display: grid;
  padding: 0 1.15rem 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.5rem;
}

.chapter-index a {
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.table-wrap {
  max-width: 100%;
  margin-block: 1.5rem 2rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  -webkit-overflow-scrolling: touch;
}

.guide-article .table-wrap table {
  display: table;
  min-width: 660px;
  margin: 0;
  overflow: visible;
  border: 0;
}

.align-right {
  text-align: right;
}

.align-left {
  text-align: left;
}

.callout--callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
}

.callout__label {
  font-size: 1.35rem;
}

.callout__body p {
  margin-bottom: 0;
}

.power-diagram figcaption {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

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

.power-path {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.5rem;
}

.power-path li {
  padding: 0.65rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.power-path li + li::before {
  display: block;
  height: 0.6rem;
  margin-top: -1.25rem;
  border-left: 2px solid var(--accent-dark);
  content: "";
}

.power-diagram__destination {
  margin: 1rem 0 0;
  padding: 0.85rem;
  border: 1px solid var(--ink);
  background: var(--accent-soft);
  font-weight: 750;
  text-align: center;
}

.task-list {
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.task-list-item {
  margin: 0;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.task-list-item label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
}

.task-list-item input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.site-footer {
  display: grid;
  padding: 3.5rem max(1.5rem, calc((100vw - var(--max-width)) / 2));
  align-items: start;
  grid-template-columns: 1fr minmax(250px, 1.15fr) minmax(190px, auto) auto;
  gap: 2rem;
}

.footer-brand {
  color: var(--paper);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer > p {
  margin: 0;
}

.site-footer > div {
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--paper);
}

.site-footer .footer-date {
  color: #aeb5bd;
  font-size: 0.78rem;
  text-align: right;
}

@media (max-width: 900px) {
  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    max-width: 780px;
  }

  .hero-schematic {
    min-height: 360px;
  }

  .page-grid {
    padding-block: 2rem 5rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .page-sidebar,
  .sidebar {
    position: static;
    display: flex;
    max-width: 100%;
    padding-bottom: 0.4rem;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
  }

  .sidebar > .eyebrow {
    display: none;
  }

  .sidebar-note {
    display: none;
  }

  .page-sidebar nav,
  .sidebar nav,
  .sidebar-nav {
    display: flex;
    padding-bottom: 0.35rem;
    border-top: 0;
    gap: 0.5rem;
  }

  .page-sidebar a,
  .sidebar a,
  .sidebar-nav a {
    flex: 0 0 auto;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    white-space: nowrap;
  }

  .page-sidebar a:hover,
  .sidebar a:hover,
  .sidebar-nav a:hover {
    padding-left: 0.7rem;
    background: var(--paper-soft);
    box-shadow: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .section-heading > .eyebrow {
    grid-column: auto;
  }

  .featured-guide {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-budget {
    max-width: 620px;
  }

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

  .principle-grid > div > span {
    margin-bottom: 1rem;
  }

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

  .site-footer .footer-date {
    text-align: left;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .site-header__inner,
  .site-footer__inner,
  .home-hero,
  .page-hero__inner,
  .page-grid,
  .route-section,
  .featured-guide,
  .guide-section {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .site-header,
  .site-header__inner {
    position: relative;
    min-height: var(--header-height);
  }

  .site-header {
    position: sticky;
    padding-inline: 1rem;
    gap: 0.75rem;
  }

  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
  }

  .menu-toggle,
  [data-menu-toggle] {
    position: relative;
    display: inline-flex;
    width: auto;
    padding-inline: 0.75rem;
    font-size: 0.88rem;
    font-weight: 750;
  }

  .menu-toggle::before,
  .menu-toggle::after {
    display: none;
  }

  .js .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .js .primary-nav[data-open="true"] {
    display: grid;
  }

  .primary-nav a {
    width: 100%;
  }

  .home-hero {
    padding-block: 3.5rem 4rem;
    gap: 3rem;
  }

  .hero-schematic {
    min-height: 0;
  }

  .hero-schematic::before {
    inset: 15% 15% 24%;
    box-shadow:
      1rem 1rem 0 -1px var(--ink),
      1rem 1rem 0 0 var(--paper),
      2rem 2rem 0 -1px var(--ink),
      2rem 2rem 0 0 var(--accent);
  }

  .route-picker__options,
  .route-options,
  .route-picker {
    grid-template-columns: 1fr;
  }

  .route-picker button[data-goal] {
    min-height: 3.4rem;
  }

  .recommendation,
  .official-strip {
    grid-template-columns: 1fr;
  }

  .official-strip {
    padding-inline: 1rem;
    gap: 1.5rem;
  }

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

  .guide-stats > div {
    min-height: 5.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .guide-stats > div:last-child {
    border-bottom: 0;
  }

  .tier-tabs {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .tier-tabs button {
    flex: 0 0 auto;
  }

  .shopping-panel__header,
  .shopping-totals,
  .notice-price {
    align-items: flex-start;
    flex-direction: column;
  }

  .shopping-panel-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .build-total {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .shopping-list > li,
  .shopping-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .shopping-list .item-price,
  .shopping-item__price {
    grid-column: 2;
  }

  .power-diagram__flow {
    grid-template-columns: 1fr;
  }

  .power-diagram__paths {
    grid-template-columns: 1fr;
  }

  .chapter-index nav {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 3rem 1rem;
  }
}

@media (max-width: 440px) {
  .brand {
    font-size: 0.96rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .guide-row,
  .guide-row.available,
  .guide-row.planned {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .guide-state {
    width: max-content;
  }

  .comparison-filters,
  .filter-buttons,
  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schematic-step {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .schematic-step b {
    display: none;
  }

  .device-icon {
    width: 2.55rem;
    height: 2.35rem;
  }

  .schematic-connector {
    margin-left: 2.25rem;
  }

  .shopping-panel {
    padding-inline: 1rem;
  }
}

.setup-index {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 3rem auto 6rem;
}

.setup-hero {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.setup-guide .setup-hero h1,
.setup-index .setup-hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.setup-facts {
  display: flex;
  margin-top: 2rem;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.setup-facts span {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.82rem;
  font-weight: 650;
}

.setup-os-links { display: flex; margin-top: 1.5rem; gap: 0.75rem; flex-wrap: wrap; }
.setup-index .setup-hero { padding: clamp(1.5rem, 4vw, 3rem); }
.setup-index .setup-choices { margin-top: 3rem; }
.setup-index .setup-choices .section-heading { margin-bottom: 2rem; }

.setup-choices,
.setup-expectations,
.setup-cloud,
.setup-related {
  margin-top: clamp(3rem, 6vw, 5rem);
}

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

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

.setup-card {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
}

.setup-card:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
  box-shadow: inset 0 5px 0 var(--accent);
  text-decoration: none;
}

.setup-device {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin: 0.5rem 0 1rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  font-size: 1.7rem;
  font-weight: 750;
}

.setup-card h3 { margin: 0.25rem 0 0; font-size: 1.7rem; letter-spacing: -0.035em; }
.setup-card p { flex-grow: 1; color: var(--ink-soft); line-height: 1.6; }
.setup-card small { display: block; color: var(--ink-soft); font-size: 0.8rem; line-height: 1.5; }
.setup-card .text-link { margin-top: 1rem; font-size: 0.9rem; }

.setup-cloud {
  display: grid;
  padding: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.setup-cloud h2 { max-width: 18ch; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.15; letter-spacing: -0.04em; }
.setup-cloud-note { padding-left: 2rem; border-left: 1px solid var(--line-strong); }
.setup-sidebar { max-height: calc(100vh - 110px); overflow-y: auto; }
.setup-switcher { margin-bottom: 2rem; }
.setup-sidebar a[aria-current] { background: var(--accent-soft); color: var(--ink); }
.setup-chapter-links .eyebrow { margin-bottom: 0.5rem; }
.setup-chapter-links a { padding-block: 0.6rem; font-size: 0.83rem; }
.setup-mobile-index { display: none; }
.guide-origin { margin: 1.5rem 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.setup-article { margin-top: 3rem; }
.setup-article h2 { scroll-margin-top: 100px; }
.setup-article > p { line-height: 1.8; }
.guide-article :not(pre) > code { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
.setup-article li { overflow-wrap: anywhere; }
.setup-related h2 { font-size: 2rem; letter-spacing: -0.04em; }
.setup-related .setup-card { padding: 1.25rem; }
.setup-related .setup-card h3 { font-size: 1.4rem; }
.setup-related .setup-card .setup-device { display: none; }
.setup-related .setup-card small { display: none; }

.guide-image { margin: 2rem 0; padding: 0.65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-soft); }
.guide-image a { display: block; }
.guide-image img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.guide-image figcaption { padding: 0.8rem 0.35rem 0.25rem; color: var(--ink-soft); font-size: 0.83rem; line-height: 1.55; }
.code-tools { display: flex; padding: 0.45rem 0.7rem; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--paper-soft); }
.code-tools button { padding: 0.3rem 0.6rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: white; font-size: 0.8rem; font-weight: 650; }
.code-tools span { color: var(--ink-soft); font-size: 0.8rem; }
.code-tools + pre { margin-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

@media (max-width: 900px) {
  .setup-sidebar { max-height: none; overflow-y: visible; }
  .setup-sidebar > a, .setup-chapter-links { display: none; }
  .setup-sidebar .setup-switcher { width: 100%; margin: 0; flex-wrap: wrap; }
  .setup-guide-grid { gap: 1.5rem; }
  .setup-mobile-index { display: block; margin-top: 1.5rem; }
  .setup-cloud { grid-template-columns: 1fr; gap: 1.5rem; }
  .setup-cloud-note { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--line-strong); }
}

@media (max-width: 720px) {
  .setup-index { width: calc(100% - 2rem); margin-top: 1.5rem; }
  .setup-card-grid { grid-template-columns: 1fr; }
  .setup-hero { padding: 1.5rem; }
  .setup-guide .setup-hero h1, .setup-index .setup-hero h1 { font-size: clamp(2.15rem, 8.5vw, 3rem); }
  .setup-guide .setup-hero .lead { font-size: 1rem; }
  .setup-article { margin-top: 2rem; }
  .setup-article h2 { font-size: 1.75rem; }
}

@media print {
  .setup-sidebar, .setup-mobile-index, .setup-related, .code-tools { display: none !important; }
  .setup-guide-grid { display: block; width: 100%; }
  .guide-image { break-inside: avoid; }
}

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

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

@media print {
  :root {
    --ink: #000000;
    --paper: #ffffff;
  }

  @page {
    margin: 14mm;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 10pt;
  }

  .site-header,
  .site-footer,
  .page-sidebar,
  .sidebar,
  .tier-tabs,
  .comparison-filters,
  .filter-buttons,
  .filter-bar,
  .shopping-tools,
  .hero-actions,
  .button-row,
  [data-menu-toggle],
  .shopping-list input[type="checkbox"],
  .item-check {
    display: none !important;
  }

  .container,
  .page-grid,
  .page-hero__inner,
  .home-hero {
    width: 100%;
    max-width: none;
  }

  .page-grid {
    display: block;
    padding: 0;
  }

  .page-hero {
    padding-block: 1rem 2rem;
    background: #ffffff;
  }

  .shopping-panel,
  .js .shopping-panel[hidden],
  .js .comparison-section tr[hidden] {
    display: block !important;
  }

  .comparison-section tr[hidden] {
    display: table-row !important;
  }

  .shopping-panel {
    break-before: page;
  }

  .shopping-panel:first-of-type {
    break-before: auto;
  }

  .shopping-list > li,
  .shopping-item {
    min-height: auto;
    padding-block: 0.35rem;
    grid-template-columns: 1fr auto;
  }

  .shopping-list .item-price,
  .shopping-item__price {
    grid-column: auto;
  }

  a {
    color: #000000;
    text-decoration: none;
  }

  a[href^="http"]::after {
    color: #444444;
    content: " (" attr(href) ")";
    font-size: 0.75em;
    font-weight: 400;
    word-break: break-all;
  }

  .notice,
  .callout,
  .recommendation,
  .shopping-totals {
    background: #ffffff;
    box-shadow: none;
  }

  h1,
  h2,
  h3,
  figure,
  table,
  .notice,
  .callout,
  .shopping-item {
    break-inside: avoid;
  }
}
