:root {
  --brick: #A9503F;
  --gold: #D9A15B;
  --charcoal: #241F1D;
  --paper: #F8F5F1;
  --soft: #EFE8E1;
  --ink: #332E2B;
  --muted: #746B65;
  --accent: #E07A3F;
  --white: #FFFFFF;
  --line: rgba(36, 31, 29, 0.13);
  --line-strong: rgba(36, 31, 29, 0.22);
  --shadow: 0 18px 48px rgba(36, 31, 29, 0.09);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --content: 1180px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--charcoal);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

::selection {
  color: var(--white);
  background: var(--brick);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 9px 14px;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1.08rem;
  color: var(--charcoal);
  letter-spacing: .05em;
}

.brand-copy small {
  font-size: .74rem;
  color: var(--muted);
  letter-spacing: .02em;
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  position: relative;
  padding: 9px 11px;
  color: var(--muted);
  border-radius: 9px;
  font-size: .93rem;
  font-weight: 650;
  transition: color .18s ease, background-color .18s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--brick);
  background: rgba(169, 80, 63, .07);
}

.search-open,
.menu-toggle {
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 700;
}

.search-open:hover,
.menu-toggle:hover {
  color: var(--white);
  background: var(--brick);
  border-color: var(--brick);
}

.menu-toggle {
  display: none;
}

main {
  overflow: clip;
}

.page-shell,
.section,
.cover-section,
.home-cover,
.simple-hero,
.guide-cover,
.device-hero,
.article-page,
.narrow-page,
.search-page,
.contact-page,
.policy-page,
.not-found {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.section,
.section-soft,
.section-dark,
.page-shell,
.narrow-page,
.search-page,
.contact-page,
.policy-page {
  padding-block: clamp(56px, 7vw, 92px);
}

.section-soft {
  width: 100%;
  background: var(--soft);
}

.section-soft > * {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.section-dark {
  width: 100%;
  color: rgba(255,255,255,.82);
  background: var(--charcoal);
}

.section-dark > * {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.section-dark h2,
.section-dark h3,
.section-dark strong {
  color: var(--white);
}

.section-dark a:hover {
  color: var(--gold);
}

.eyebrow,
.kicker,
.guide-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brick);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before,
.guide-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

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

.button.ghost {
  color: var(--charcoal);
  background: transparent;
  border-color: var(--line-strong);
}

.button.ghost:hover {
  color: var(--brick);
  border-color: var(--brick);
}

.text-link,
.light-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link::after,
.light-link::after {
  content: "\2192";
  text-decoration: none;
}

.light-link {
  color: var(--white);
}

.home-cover {
  min-height: min(720px, 78vh);
  padding-block: clamp(38px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}

.cover-main h1 {
  max-width: 800px;
  margin-bottom: 20px;
}

.cover-main .lead {
  margin-bottom: 30px;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.cover-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cover-notes div {
  color: var(--muted);
  font-size: .9rem;
}

.cover-notes strong {
  display: block;
  margin-bottom: 3px;
  color: var(--charcoal);
  font-size: .98rem;
}

.cover-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.cover-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.cover-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(36,31,29,.45), transparent);
  pointer-events: none;
}

.section-heading,
.split-heading,
.rail-heading,
.search-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading > div,
.split-heading > div {
  max-width: 760px;
}

.section-heading p,
.split-heading p,
.rail-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.headline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 38px;
  align-items: start;
}

.headline-primary {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 26px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.headline-primary img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.headline-primary p,
.headline-list p,
.rail-item p,
.mosaic-item p,
.quick-list p,
.topic-copy p,
.topic-story p,
.related-list p {
  color: var(--muted);
}

.headline-list {
  display: grid;
  gap: 2px;
}

.headline-list article {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.headline-list article:first-child {
  padding-top: 0;
}

.headline-list h3 {
  margin-bottom: 8px;
}

.content-rail-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 10px;
}

.content-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 29vw);
  gap: 18px;
}

.rail-item {
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(36,31,29,.07);
  border-radius: var(--radius-md);
}

.rail-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rail-item > div {
  padding: 18px 20px 20px;
}

.rail-item h3 {
  margin-bottom: 8px;
}

.device-band {
  width: 100%;
  padding-block: clamp(56px, 7vw, 88px);
  color: rgba(255,255,255,.84);
  background: var(--charcoal);
}

.device-band > div {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.device-choice {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.device-copy h2 {
  color: var(--white);
}

.device-copy .lead {
  color: rgba(255,255,255,.7);
}

.device-images {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 16px;
  align-items: end;
}

.device-images img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.device-images img:first-child {
  aspect-ratio: 4 / 5;
}

.device-images img:last-child {
  aspect-ratio: 4 / 4.6;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.mosaic-item {
  grid-column: span 4;
  display: grid;
  align-content: start;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(36,31,29,.08);
}

.mosaic-item.mosaic-large {
  grid-column: span 8;
  grid-row: span 2;
}

.mosaic-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mosaic-item.mosaic-large img {
  aspect-ratio: 16 / 8.2;
}

.mosaic-item > div {
  padding: 20px 22px 24px;
}

.mosaic-item h3 {
  margin-bottom: 8px;
}

.quick-index {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: 50px;
  align-items: start;
}

.quick-intro {
  position: sticky;
  top: 118px;
}

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

.quick-list article {
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.quick-list h3 {
  margin-bottom: 7px;
}

.simple-hero,
.guide-cover,
.device-hero {
  padding-block: clamp(58px, 8vw, 112px);
}

.simple-hero {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
  gap: 56px;
  align-items: end;
}

.simple-hero h1,
.guide-cover h1,
.device-hero h1 {
  margin-bottom: 20px;
}

.page-intro {
  max-width: 760px;
}

.inline-search {
  padding: 22px;
  background: var(--soft);
  border-radius: var(--radius-md);
}

.inline-search form,
.search-form {
  display: grid;
  gap: 10px;
}

.search-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.search-field input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
}

.search-field input:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(169,80,63,.11);
}

.search-field button {
  min-height: 46px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--brick);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 760;
}

.filter-strip,
.tag-links,
.article-tags,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill,
.filter-strip a,
.tag-links a,
.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 680;
}

.filter-strip a:hover,
.tag-links a:hover {
  color: var(--white);
  background: var(--brick);
}

.watch-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.watch-stream,
.stream-list {
  display: grid;
  gap: 0;
}

.watch-stream article,
.stream-list article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.watch-stream img,
.stream-list img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.watch-stream h3,
.stream-list h3 {
  margin-bottom: 7px;
}

.watch-stream p,
.stream-list p {
  color: var(--muted);
}

.wide-callout,
.next-step-band {
  padding: clamp(28px, 4vw, 46px);
  background: var(--brick);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,.86);
}

.wide-callout h2,
.next-step-band h2,
.wide-callout h3,
.next-step-band h3 {
  color: var(--white);
}

.device-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.device-hero-art {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: 14px;
  align-items: end;
}

.device-hero-art img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.device-hero-art img:first-child {
  aspect-ratio: 4 / 5;
}

.device-hero-art img:last-child {
  aspect-ratio: 4 / 4.5;
}

.two-up-reading,
.device-troubleshoot,
.contact-boundary,
.feedback-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.prose-section,
.device-troubleshoot > article,
.contact-boundary > article,
.feedback-checklist > article {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(36,31,29,.08);
  border-radius: var(--radius-md);
}

.prose-section p:last-child,
.device-troubleshoot p:last-child,
.contact-boundary p:last-child,
.feedback-checklist p:last-child {
  margin-bottom: 0;
}

.topic-index {
  display: grid;
  gap: 22px;
}

.topic-band {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(36,31,29,.08);
}

.topic-band.reverse {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
}

.topic-band.reverse .topic-art {
  order: 2;
}

.topic-art img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.topic-copy {
  padding: clamp(28px, 5vw, 58px);
  align-self: center;
}

.topic-copy ul {
  padding-left: 1.2em;
}

.topic-stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.topic-story {
  padding: 24px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.guide-cover {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 60px;
  align-items: center;
}

.guide-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.guide-index {
  counter-reset: guide;
  display: grid;
  gap: 24px;
}

.guide-steps {
  counter-increment: guide;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.guide-steps .number::before {
  content: counter(guide, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--white);
  background: var(--brick);
  border-radius: 50%;
  font-weight: 820;
}

.guide-steps ol {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.guide-followup {
  margin-top: 36px;
}

.faq-intro,
.about-hero,
.contact-intro {
  max-width: 850px;
  margin-bottom: 36px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-list summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--charcoal);
  font-weight: 760;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-after {
  margin-top: 42px;
}

.about-hero img,
.policy-page img,
.contact-page img {
  width: 100%;
  max-height: 480px;
  margin-top: 28px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-links,
.contact-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.about-links a,
.contact-links a {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-weight: 730;
}

.policy-page,
.contact-page,
.narrow-page {
  max-width: 940px;
}

.policy-page section,
.contact-page section,
.narrow-page section {
  margin-block: 36px;
}

.policy-page ul,
.contact-page ul,
.narrow-page ul {
  padding-left: 1.25em;
}

.breadcrumbs {
  width: min(calc(100% - 40px), var(--content));
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: .86rem;
}

.breadcrumbs a::after {
  content: "/";
  margin-left: 7px;
  color: rgba(116,107,101,.5);
}

.article-page {
  padding-block: 36px 88px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(230px, 300px);
  justify-content: center;
  gap: 70px;
  align-items: start;
}

.article-header {
  grid-column: 1 / -1;
  max-width: 940px;
  padding-top: 30px;
}

.article-header h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
}

.article-deck {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.18rem;
}

.article-figure {
  margin: 0 0 34px;
}

.article-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body h2 {
  margin-top: 2em;
  font-size: 1.65rem;
}

.article-aside {
  position: sticky;
  top: 108px;
  padding: 22px;
  background: var(--soft);
  border-radius: var(--radius-md);
}

.article-aside h2 {
  font-size: 1.1rem;
}

.article-aside ul {
  padding-left: 1.1em;
}

.article-aside li + li {
  margin-top: 8px;
}

.article-footer {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related-reading {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto 90px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-list article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.search-page {
  max-width: 980px;
}

.result-count {
  color: var(--muted);
}

.search-results {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.search-results article {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.search-results h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.search-results p {
  color: var(--muted);
}

.empty-search,
.no-results {
  padding: 30px;
  background: var(--soft);
  border-radius: var(--radius-md);
}

.not-found {
  max-width: 860px;
  min-height: 64vh;
  padding-block: 90px;
  display: grid;
  align-content: center;
}

.error-code {
  margin: 0;
  color: var(--brick);
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 880;
  line-height: .9;
  letter-spacing: -.06em;
}

.not-found h1 {
  margin-block: 18px;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.search-modal[hidden] {
  display: none !important;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: start center;
  padding: 14vh 20px 30px;
  background: rgba(36,31,29,.63);
  backdrop-filter: blur(7px);
}

.search-dialog {
  position: relative;
  width: min(100%, 670px);
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
}

.search-dialog h2 {
  margin-bottom: 10px;
}

.search-dialog p {
  color: var(--muted);
}

.search-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.site-footer {
  color: rgba(255,255,255,.72);
  background: var(--charcoal);
}

.footer-grid {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
  padding-block: 60px 42px;
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr;
  gap: 56px;
}

.footer-grid h2 {
  color: var(--white);
  font-size: 1.1rem;
}

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

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
  padding-block: 18px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .84rem;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: var(--brick);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(36,31,29,.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

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

  .primary-nav.is-open {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-nav a {
    text-align: center;
  }

  .home-cover {
    grid-template-columns: 1fr 420px;
  }

  .headline-layout,
  .device-choice,
  .quick-index {
    gap: 30px;
  }

  .mosaic-item {
    grid-column: span 6;
  }

  .mosaic-item.mosaic-large {
    grid-column: span 12;
  }

  .article-shell {
    grid-template-columns: minmax(0, 720px) 250px;
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .home-cover,
  .simple-hero,
  .device-hero,
  .guide-cover,
  .headline-layout,
  .device-choice,
  .quick-index,
  .topic-band,
  .topic-band.reverse,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .home-cover {
    min-height: auto;
  }

  .cover-visual {
    min-height: 400px;
  }

  .cover-visual img {
    min-height: 400px;
  }

  .headline-primary {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .quick-intro,
  .article-aside {
    position: static;
  }

  .topic-band.reverse .topic-art {
    order: 0;
  }

  .topic-art img {
    min-height: 290px;
    max-height: 420px;
  }

  .topic-stories,
  .related-list,
  .about-links,
  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-header {
    grid-column: 1;
  }

  .article-aside {
    order: 3;
  }

  .content-rail {
    grid-auto-columns: minmax(260px, 42vw);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--content));
    min-height: 70px;
    grid-template-columns: 1fr auto auto;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .search-open {
    grid-column: 3;
    padding-inline: 13px;
  }

  .primary-nav {
    left: 14px;
    right: 14px;
  }

  .primary-nav.is-open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-shell,
  .section,
  .cover-section,
  .home-cover,
  .simple-hero,
  .guide-cover,
  .device-hero,
  .article-page,
  .narrow-page,
  .search-page,
  .contact-page,
  .policy-page,
  .not-found,
  .breadcrumbs,
  .related-reading,
  .section-soft > *,
  .section-dark > *,
  .device-band > div,
  .footer-grid,
  .footer-bottom {
    width: min(calc(100% - 28px), var(--content));
  }

  .section,
  .section-soft,
  .section-dark,
  .page-shell,
  .narrow-page,
  .search-page,
  .contact-page,
  .policy-page {
    padding-block: 50px;
  }

  .cover-notes,
  .watch-columns,
  .two-up-reading,
  .device-troubleshoot,
  .contact-boundary,
  .feedback-checklist,
  .quick-list,
  .topic-stories,
  .related-list,
  .about-links,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .split-heading,
  .rail-heading,
  .search-page-head {
    display: block;
  }

  .section-heading .text-link,
  .split-heading .text-link,
  .rail-heading .text-link {
    margin-top: 12px;
  }

  .headline-primary {
    grid-template-columns: 1fr;
  }

  .headline-primary img {
    aspect-ratio: 16 / 9;
  }

  .content-rail {
    grid-auto-columns: minmax(250px, 78vw);
  }

  .device-images,
  .device-hero-art {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic-item,
  .mosaic-item.mosaic-large {
    grid-column: span 12;
  }

  .watch-stream article,
  .stream-list article {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 15px;
  }

  .watch-stream img,
  .stream-list img {
    width: 92px;
    height: 122px;
  }

  .guide-steps {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
  }

  .guide-steps .number::before {
    width: 48px;
    height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-grid section:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(2.05rem, 12vw, 3.3rem);
  }

  h2 {
    font-size: 1.75rem;
  }

  .home-cover,
  .simple-hero,
  .guide-cover,
  .device-hero {
    padding-block: 42px 54px;
  }

  .cover-actions,
  .not-found-links {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .cover-visual,
  .cover-visual img {
    min-height: 320px;
  }

  .content-rail {
    grid-auto-columns: 84vw;
  }

  .device-images,
  .device-hero-art {
    grid-template-columns: 1fr;
  }

  .device-images img:first-child,
  .device-images img:last-child,
  .device-hero-art img:first-child,
  .device-hero-art img:last-child {
    aspect-ratio: 16 / 11;
  }

  .search-field {
    grid-template-columns: 1fr;
  }

  .search-field button {
    width: 100%;
  }

  .topic-copy,
  .prose-section,
  .device-troubleshoot > article,
  .contact-boundary > article,
  .feedback-checklist > article {
    padding: 22px;
  }

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

  .footer-grid section:first-child {
    grid-column: auto;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Markup-aligned editorial layout refinements */
.home-cover > .cover-notes {
  grid-column: 1 / -1;
}

.cover-notes a {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.cover-notes a:hover strong {
  color: var(--brick);
}

.inline-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.inline-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: none;
}

.inline-search input:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(169,80,63,.11);
}

.inline-search button {
  min-height: 44px;
  padding: 9px 16px;
  color: var(--white);
  background: var(--brick);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 760;
}

.content-rail-wrap {
  padding: clamp(56px, 7vw, 88px) max(20px, calc((100% - var(--content)) / 2));
}

.rail-item {
  padding-bottom: 20px;
}

.rail-item > img {
  margin-bottom: 16px;
}

.rail-item > :not(img) {
  margin-left: 20px;
  margin-right: 20px;
}

.rail-item > span {
  display: inline-flex;
  color: var(--brick);
  font-size: .78rem;
  font-weight: 800;
}

.device-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
  padding-inline: max(20px, calc((100% - var(--content)) / 2));
}

.device-band > .device-copy,
.device-band > .device-images {
  width: auto;
  margin: 0;
}

.quick-list > a {
  display: block;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.quick-list > a strong,
.topic-index > a strong,
.compact-list > a strong {
  display: block;
  margin-bottom: 5px;
  color: var(--charcoal);
}

.quick-list > a span,
.topic-index > a span,
.compact-list > a span {
  display: block;
  color: var(--muted);
}

.topic-band.section-soft {
  display: block;
  width: 100%;
  padding-block: clamp(56px, 7vw, 88px);
  border: 0;
  border-radius: 0;
  background: var(--soft);
}

.topic-band.section-soft > * {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.topic-band.section-soft .topic-index {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.topic-index > a {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-intro.watch-intro {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 36px;
}

.watch-intro img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.editorial-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 38px;
  align-items: center;
  margin-block: 52px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.editorial-feature img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.feature-copy p {
  color: var(--muted);
}

.watch-columns.section-soft {
  width: auto;
  margin: 48px calc(50% - 50vw);
  padding: clamp(42px, 6vw, 70px) max(20px, calc((100vw - var(--content)) / 2));
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 50px;
}

.watch-columns.section-soft > * {
  width: auto;
  margin: 0;
}

.compact-list {
  display: grid;
  gap: 0;
}

.compact-list > a {
  display: block;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.two-up-reading article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.two-up-reading article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.two-up-reading article h3,
.two-up-reading article p {
  margin-left: 22px;
  margin-right: 22px;
}

.two-up-reading article h3 {
  margin-top: 20px;
}

.two-up-reading article p {
  margin-bottom: 22px;
  color: var(--muted);
}

.next-step-band {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, .9fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 52px;
}

.next-step-band > a {
  display: grid;
  align-content: center;
  gap: 6px;
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.82);
}

.next-step-band > a strong {
  color: var(--white);
}

.next-step-band > a span {
  font-size: .9rem;
}

.next-step-band.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.next-step-band.compact > a:first-child {
  border-left: 0;
  padding-left: 0;
}

.device-choice {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}

.device-choice article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.device-choice article > span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 840;
}

.device-choice article p {
  color: var(--muted);
}

.device-choice article a {
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.wide-callout.section-dark {
  width: auto;
  margin: 0 calc(50% - 50vw);
  padding: clamp(48px, 7vw, 78px) max(20px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  border-radius: 0;
}

.wide-callout.section-dark > * {
  width: auto;
  margin: 0;
}

.wide-callout.section-dark > img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.device-troubleshoot {
  grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
  align-items: start;
}

.device-troubleshoot > .section-heading {
  display: block;
  margin: 0;
}

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

.troubleshoot-list article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.troubleshoot-list article p {
  margin-bottom: 0;
  color: var(--muted);
}

.resource-note.section-soft {
  width: auto;
  margin: 0 calc(50% - 50vw);
  padding: clamp(48px, 7vw, 78px) max(20px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.resource-note.section-soft > * {
  width: auto;
  margin: 0;
}

.resource-note img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.topic-stories {
  grid-template-columns: 1fr;
  gap: 26px;
}

.topic-story {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.topic-story.reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
}

.topic-story.reverse .topic-art {
  order: 2;
}

.topic-story .topic-art img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.topic-story .topic-copy {
  align-self: center;
}

.topic-story .number {
  color: var(--gold);
  font-size: 1.7rem;
  font-weight: 840;
}

.guide-index {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 36px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.guide-index a {
  padding: 15px 13px;
  background: var(--paper);
  font-size: .88rem;
  font-weight: 720;
  text-align: center;
}

.guide-index a:hover {
  background: var(--white);
}

.guide-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.guide-steps article {
  display: grid;
  grid-template-columns: minmax(130px, .32fr) minmax(0, 1.68fr);
  gap: 8px 34px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.guide-steps article .guide-label {
  grid-row: 1 / span 3;
  align-self: start;
  margin: 3px 0 0;
}

.guide-steps article h2,
.guide-steps article p,
.guide-steps article ol {
  grid-column: 2;
}

.guide-steps article h2 {
  margin-bottom: 6px;
}

.guide-steps article p {
  color: var(--muted);
}

.guide-steps article ol {
  margin-bottom: 0;
  padding-left: 1.25em;
}

.guide-followup.section-soft {
  width: auto;
  margin: 36px calc(50% - 50vw) 0;
  padding: clamp(46px, 6vw, 70px) max(20px, calc((100vw - var(--content)) / 2));
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 46px;
  align-items: center;
}

.guide-followup.section-soft > * {
  width: auto;
  margin: 0;
}

.guide-followup img {
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.article-shell {
  display: block;
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.article-shell > .breadcrumbs {
  width: min(100%, 900px);
  margin-inline: auto;
}

.article-page {
  width: min(100%, 900px);
  margin-inline: auto;
}

.article-header {
  max-width: 900px;
}

.article-body {
  width: min(100%, var(--reading));
  margin-inline: auto;
}

.article-aside {
  position: static;
  margin: 30px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--gold);
}

.article-aside strong,
.article-aside span {
  display: block;
}

.article-aside span {
  margin-top: 5px;
  color: var(--muted);
}

.article-footer {
  width: min(100%, var(--reading));
  margin: 34px auto 0;
}

.article-shell > .related-reading {
  width: min(100%, 900px);
  margin: 0 auto 80px;
}

@media (max-width: 900px) {
  .device-band,
  .page-intro.watch-intro,
  .editorial-feature,
  .wide-callout.section-dark,
  .resource-note.section-soft,
  .guide-followup.section-soft,
  .device-troubleshoot,
  .topic-story,
  .topic-story.reverse {
    grid-template-columns: 1fr;
  }

  .topic-story.reverse .topic-art {
    order: 0;
  }

  .topic-story .topic-art img {
    min-height: 280px;
    max-height: 440px;
  }

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

  .next-step-band > div {
    grid-column: 1 / -1;
  }

  .next-step-band > a:nth-of-type(2) {
    border-left: 0;
    padding-left: 0;
  }

  .device-choice {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .content-rail-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .device-band {
    padding-left: 14px;
    padding-right: 14px;
  }

  .topic-band.section-soft > * {
    width: min(calc(100% - 28px), var(--content));
  }

  .topic-band.section-soft .topic-index,
  .troubleshoot-list,
  .next-step-band,
  .next-step-band.compact {
    grid-template-columns: 1fr;
  }

  .next-step-band > div {
    grid-column: auto;
  }

  .next-step-band > a,
  .next-step-band > a:nth-of-type(2),
  .next-step-band.compact > a:first-child {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.24);
  }

  .watch-columns.section-soft,
  .wide-callout.section-dark,
  .resource-note.section-soft,
  .guide-followup.section-soft {
    padding-left: 14px;
    padding-right: 14px;
  }

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

  .guide-steps article .guide-label {
    grid-row: auto;
  }

  .guide-steps article h2,
  .guide-steps article p,
  .guide-steps article ol {
    grid-column: 1;
  }

  .article-shell {
    width: min(calc(100% - 28px), var(--content));
  }
}

@media (max-width: 520px) {
  .inline-search > div,
  .guide-index {
    grid-template-columns: 1fr;
  }

  .inline-search button {
    width: 100%;
  }
}

.prose-section.section-soft,
.contact-boundary.section-soft {
  width: auto;
  padding: 28px;
  background: var(--soft);
}

.prose-section.section-soft > *,
.contact-boundary.section-soft > * {
  width: auto;
  margin-left: 0;
  margin-right: 0;
}

.contact-boundary.section-soft {
  display: block;
}

.feedback-checklist > h2 {
  margin-bottom: 0;
}

.feedback-checklist > ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: feedback;
}

.feedback-checklist li {
  counter-increment: feedback;
  position: relative;
  padding: 18px 0 18px 48px;
  border-top: 1px solid var(--line);
}

.feedback-checklist li::before {
  content: counter(feedback, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--brick);
  font-weight: 840;
}

.feedback-checklist li strong,
.feedback-checklist li span,
.about-links a strong,
.about-links a span,
.contact-links a strong,
.contact-links a span {
  display: block;
}

.feedback-checklist li span,
.about-links a span,
.contact-links a span {
  margin-top: 4px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .feedback-checklist {
    grid-template-columns: 1fr;
  }
}
