:root {
  --brand: #A9503F;
  --gold: #D9A15B;
  --ink: #241F1D;
  --text: #332E2B;
  --muted: #746B65;
  --paper: #F8F5F1;
  --paper-2: #EFE8E1;
  --accent: #E07A3F;
  --line: #D9CEC5;
  --white: #FFFDFC;
  --shadow: 0 18px 48px rgba(36, 31, 29, 0.08);
  --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;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(224, 122, 63, 0.3);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.6rem);
}

h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(169, 80, 63, 0.13);
  background: rgba(248, 245, 241, 0.96);
  backdrop-filter: blur(16px);
}

.header-shell {
  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: 1.2rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-lockup img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(169, 80, 63, 0.15);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.15rem;
  color: var(--ink);
}

.brand-copy small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.74rem;
}

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

.primary-nav a {
  position: relative;
  padding: 0.65rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
}

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

.search-open,
.menu-toggle,
.icon-button,
.back-to-top {
  border: 0;
  cursor: pointer;
}

.search-open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.search-open:hover {
  background: var(--brand);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper-2);
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 4px;
  background: var(--ink);
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before { top: -6px; }
.menu-toggle-lines::after { top: 6px; }

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

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  padding: 12vh 20px 40px;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 31, 29, 0.76);
}

.search-dialog {
  position: relative;
  width: min(680px, 100%);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.search-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.search-dialog-head h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 1.4rem;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.search-form input {
  width: 100%;
  min-height: 50px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 0.9rem;
}

.search-form input:focus {
  outline: 0;
}

.search-form button,
.button,
.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.search-form button,
.button {
  background: var(--accent);
  color: var(--white);
}

.search-form button:hover,
.button:hover {
  background: var(--brand);
  color: var(--white);
}

.button-secondary {
  border-color: rgba(169, 80, 63, 0.28);
  background: rgba(255, 253, 252, 0.74);
  color: var(--brand);
}

.button-secondary:hover {
  border-color: var(--brand);
  background: var(--white);
}

.search-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.shell,
.section-shell,
.footer-shell,
.footer-bottom,
.breadcrumbs {
  width: min(calc(100% - 40px), var(--content));
  margin-left: auto;
  margin-right: auto;
}

.eyebrow,
.kicker,
.meta-label {
  margin-bottom: 0.5rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lede {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.2rem);
}

.home-cover {
  padding: 3rem 0 1.5rem;
}

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(290px, 0.78fr);
  gap: 1rem;
}

.cover-main {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cover-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.48;
  filter: saturate(0.72) contrast(0.95);
}

.cover-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 31, 29, 0.05), rgba(36, 31, 29, 0.9));
}

.cover-copy {
  position: absolute;
  z-index: 2;
  left: clamp(1.4rem, 4vw, 3rem);
  right: clamp(1.4rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
}

.cover-copy h1 {
  max-width: 850px;
  margin-bottom: 1rem;
  color: var(--white);
}

.cover-copy .lede {
  max-width: 680px;
  color: rgba(255, 253, 252, 0.78);
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.cover-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}

.cover-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.cover-side {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(169, 80, 63, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(36, 31, 29, 0.04);
}

.cover-side img {
  width: 108px;
  height: 100%;
  min-height: 120px;
  border-radius: 14px;
}

.cover-side strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.cover-side p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.brand-entry-strip {
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}

.brand-entry-strip > * {
  padding: 1.1rem 1.2rem;
  border-right: 1px solid var(--line);
}

.brand-entry-strip > *:last-child {
  border-right: 0;
}

.brand-entry-intro strong {
  display: block;
  color: var(--ink);
}

.brand-entry-intro span,
.brand-entry-strip a span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.brand-entry-strip a {
  text-decoration: none;
}

.section {
  padding: clamp(3.2rem, 7vw, 6.2rem) 0;
}

.section.compact {
  padding: 2.6rem 0;
}

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

.section.dark {
  background: var(--ink);
  color: rgba(255, 253, 252, 0.8);
}

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.7rem;
}

.section-head h2 {
  margin-bottom: 0.45rem;
  max-width: 780px;
}

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

.section.dark .section-head p {
  color: rgba(255, 253, 252, 0.62);
}

.text-link {
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 700;
}

.headline-stream {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 1.4rem;
}

.headline-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.headline-feature img {
  height: 100%;
}

.headline-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.headline-feature-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.headline-list {
  display: grid;
  align-content: stretch;
  border-top: 1px solid var(--line);
}

.headline-list a {
  display: grid;
  gap: 0.35rem;
  align-content: center;
  padding: 1.05rem 0.15rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.headline-list strong {
  color: var(--ink);
  line-height: 1.4;
}

.headline-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.media-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 0.78fr);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 0.8rem;
}

.media-card {
  scroll-snap-align: start;
  min-width: 0;
  text-decoration: none;
}

.media-card figure {
  margin: 0 0 0.85rem;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}

.media-card img {
  height: 100%;
  transition: transform 180ms ease;
}

.media-card:hover img {
  transform: scale(1.025);
}

.media-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.media-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.device-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: rgba(255, 255, 255, 0.84);
}

.device-band img {
  height: 100%;
}

.device-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

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

.device-copy .button-secondary {
  align-self: flex-start;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.mosaic-item {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-decoration: none;
  background: var(--ink);
}

.mosaic-item:nth-child(1) { grid-column: span 7; min-height: 430px; }
.mosaic-item:nth-child(2) { grid-column: span 5; }
.mosaic-item:nth-child(3) { grid-column: span 4; }
.mosaic-item:nth-child(4) { grid-column: span 8; }

.mosaic-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.mosaic-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 31, 29, 0.05), rgba(36, 31, 29, 0.84));
}

.mosaic-copy {
  position: absolute;
  z-index: 2;
  left: 1.3rem;
  right: 1.3rem;
  bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.mosaic-copy h3 {
  margin-bottom: 0.4rem;
  color: var(--white);
}

.mosaic-copy p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.topic-index a {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 252, 0.72);
  text-decoration: none;
}

.topic-index img {
  width: 74px;
  height: 74px;
  border-radius: 14px;
}

.topic-index strong {
  display: block;
  color: var(--ink);
}

.topic-index span {
  color: var(--muted);
  font-size: 0.88rem;
}

.topic-index em {
  font-style: normal;
  color: var(--brand);
  font-weight: 800;
}

.compact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.2rem;
  border-top: 1px solid var(--line);
}

.compact-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.compact-list .index {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.compact-list strong {
  color: var(--ink);
  line-height: 1.4;
}

.compact-list small {
  color: var(--muted);
}

.page-hero {
  padding: clamp(2.7rem, 6vw, 5.2rem) 0 2.5rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.page-hero figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.page-hero figure img {
  height: 100%;
}

.breadcrumbs {
  padding-top: 1rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: #A99E96;
}

.breadcrumbs a {
  text-decoration: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
}

.filter-bar button {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
}

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

.editorial-item {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(0, 0.58fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.editorial-item img {
  aspect-ratio: 4 / 3;
  height: 100%;
  min-height: 150px;
  border-radius: 16px;
}

.editorial-item h2,
.editorial-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.editorial-item p {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

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

.split-list section {
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}

.split-list h2 {
  font-size: 1.35rem;
}

.split-list ol,
.split-list ul {
  margin: 0;
  padding-left: 1.2rem;
}

.split-list li {
  margin: 0.65rem 0;
}

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

.topic-band {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.topic-band img {
  height: 100%;
}

.topic-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 5vw, 3.5rem);
}

.topic-band h2 {
  color: var(--white);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(169, 80, 63, 0.1);
  color: var(--brand);
  font-size: 0.82rem;
}

.topic-band .tag-list li {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.reading-shell {
  width: min(calc(100% - 40px), var(--reading));
  margin-left: auto;
  margin-right: auto;
}

.article-head {
  padding: clamp(2.5rem, 7vw, 5.4rem) 0 2rem;
}

.article-head h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.article-lede {
  color: var(--muted);
  font-size: 1.12rem;
}

.article-cover {
  margin: 1.8rem 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
}

.article-cover img {
  height: 100%;
}

.prose {
  padding: 1.5rem 0 4rem;
  font-size: 1.04rem;
}

.prose h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.prose h3 {
  margin-top: 1.8rem;
}

.prose p,
.prose li {
  color: #3D3733;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li {
  margin: 0.65rem 0;
}

.inline-note {
  margin: 2rem 0;
  padding: 1.15rem 1.2rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--paper-2);
  color: var(--muted);
}

.related-panel {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

.related-panel h2 {
  font-size: 1.5rem;
}

.related-links {
  display: grid;
  gap: 0.7rem;
}

.related-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.related-links a:last-child {
  border-bottom: 0;
}

.related-links span {
  color: var(--brand);
}

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

.info-block {
  padding: 1.35rem;
  border-top: 3px solid var(--brand);
  background: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.info-block h2,
.info-block h3 {
  font-size: 1.2rem;
}

.info-block p {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
}

.step h3 {
  margin-bottom: 0.35rem;
}

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

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--brand);
  font-size: 1.2rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  max-width: 820px;
  padding: 0 3rem 1.1rem 0;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.search-results {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.search-result {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.search-result a {
  text-decoration: none;
}

.search-result h2 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.search-result p {
  max-width: 760px;
  color: var(--muted);
}

.result-type {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
}

.empty-state {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--paper-2);
}

.contact-layout,
.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-aside,
.app-aside {
  position: sticky;
  top: 110px;
}

.contact-aside img,
.app-aside img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.detail-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-list strong {
  color: var(--ink);
}

.detail-list span {
  color: var(--muted);
}

.notice {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #F4E8DD;
  color: #654838;
}

.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(255, 253, 252, 0.68);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 4rem;
  padding-top: 3.4rem;
  padding-bottom: 2.8rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-intro p {
  max-width: 420px;
}

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

.footer-columns h2 {
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: 1rem;
}

.footer-columns a {
  display: block;
  margin: 0.55rem 0;
  color: rgba(255, 253, 252, 0.68);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-columns a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
}

.back-to-top[hidden] {
  display: none;
}

.not-found {
  min-height: 64vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 20px;
}

.not-found-inner {
  max-width: 680px;
}

.not-found-code {
  margin-bottom: 0.4rem;
  color: var(--gold);
  font-size: clamp(4rem, 13vw, 9rem);
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 1180px) {
  .header-shell {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: block;
    order: 3;
    justify-self: end;
  }

  .search-open {
    order: 4;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

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

@media (max-width: 1024px) {
  .cover-grid,
  .headline-stream,
  .page-hero-grid,
  .contact-layout,
  .app-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .cover-main {
    min-height: 510px;
  }

  .cover-stack {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }

  .cover-side {
    grid-template-columns: 1fr;
  }

  .cover-side img {
    width: 100%;
    height: 150px;
  }

  .brand-entry-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-entry-strip > * {
    border-bottom: 1px solid var(--line);
  }

  .brand-entry-strip > *:nth-child(2) {
    border-right: 0;
  }

  .brand-entry-strip > *:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .headline-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .headline-list a {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .device-band,
  .topic-band {
    grid-template-columns: 1fr;
  }

  .device-band img,
  .topic-band img {
    max-height: 380px;
  }

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

  .contact-aside,
  .app-aside {
    position: static;
  }

  .footer-shell {
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .header-shell {
    width: min(calc(100% - 28px), var(--content));
    min-height: 70px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-lockup img {
    width: 40px;
    height: 40px;
  }

  .primary-nav {
    left: 14px;
    right: 14px;
    grid-template-columns: repeat(2, 1fr);
  }

  .search-open span:last-child {
    display: none;
  }

  .shell,
  .section-shell,
  .footer-shell,
  .footer-bottom,
  .breadcrumbs,
  .reading-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .cover-stack,
  .headline-list,
  .editorial-grid,
  .topic-index,
  .compact-list,
  .split-list,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .cover-stack {
    gap: 0.75rem;
  }

  .cover-side {
    grid-template-columns: 96px 1fr;
  }

  .cover-side img {
    width: 96px;
    height: 100%;
    min-height: 110px;
  }

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

  .headline-feature img {
    max-height: 340px;
  }

  .mosaic-item:nth-child(n) {
    grid-column: span 6;
    min-height: 290px;
  }

  .mosaic-item:nth-child(1) {
    grid-column: span 12;
    min-height: 390px;
  }

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

  .footer-columns {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .cover-main {
    min-height: 500px;
  }

  .cover-copy {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.3rem;
  }

  .cover-copy h1 {
    font-size: 2.4rem;
  }

  .cover-side {
    grid-template-columns: 86px 1fr;
    padding: 0.85rem;
  }

  .cover-side img {
    width: 86px;
  }

  .brand-entry-strip {
    grid-template-columns: 1fr;
  }

  .brand-entry-strip > * {
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .brand-entry-strip > *:last-child {
    border-bottom: 0 !important;
  }

  .media-rail {
    grid-auto-columns: 78vw;
  }

  .device-copy,
  .topic-band-copy {
    padding: 1.6rem;
  }

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

  .mosaic-item:nth-child(n) {
    grid-column: auto;
    min-height: 300px;
  }

  .topic-index a {
    grid-template-columns: 60px 1fr;
  }

  .topic-index img {
    width: 60px;
    height: 60px;
  }

  .topic-index em {
    display: none;
  }

  .editorial-item {
    grid-template-columns: 112px 1fr;
  }

  .editorial-item img {
    min-height: 130px;
  }

  .page-hero figure {
    aspect-ratio: 16 / 10;
  }

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

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

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .step {
    grid-template-columns: 46px 1fr;
  }

  .step::before {
    width: 42px;
    height: 42px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .header-shell,
  .shell,
  .section-shell,
  .footer-shell,
  .footer-bottom,
  .breadcrumbs,
  .reading-shell {
    width: min(calc(100% - 20px), var(--content));
  }

  .menu-toggle,
  .search-open {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .header-shell {
    gap: 0.55rem;
  }

  .cover-copy h1 {
    font-size: 2.05rem;
  }

  .cover-actions {
    display: grid;
  }

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

  .cover-side {
    grid-template-columns: 1fr;
  }

  .cover-side img {
    width: 100%;
    height: 150px;
  }

  .editorial-item {
    grid-template-columns: 1fr;
  }

  .editorial-item img {
    min-height: 200px;
  }
}

.faq-item > summary {
  list-style: none;
}

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

.faq-item[open] .faq-question::after {
  content: "−";
}
