:root {
  --bg: #0F111A;
  --bg-soft: #161311;
  --panel: rgba(22, 19, 17, 0.9);
  --panel-strong: #161311;
  --line: rgba(250, 220, 226, 0.14);
  --line-strong: rgba(99, 112, 116, 0.72);
  --text: #FADCE2;
  --muted: rgba(250, 220, 226, 0.72);
  --accent: #912F46;
  --accent-2: #637074;
  --accent-3: #FADCE2;
  --shadow: 0 24px 52px rgba(15, 17, 26, 0.68);
  --radius: 8px;
  --site-width: min(1180px, calc(100% - 32px));
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(15, 17, 26, 0.94) 0%, rgba(15, 17, 26, 0.98) 44%, rgba(22, 19, 17, 0.98) 100%),
    linear-gradient(135deg, rgba(145, 47, 70, 0.16) 0%, transparent 34%),
    linear-gradient(230deg, rgba(99, 112, 116, 0.12) 0%, transparent 28%),
    linear-gradient(180deg, #0F111A 0%, #0F111A 44%, #161311 100%);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(250, 220, 226, 0.022) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(180deg, rgba(99, 112, 116, 0.035) 0 1px, transparent 1px 14px);
  opacity: 0.12;
  mix-blend-mode: soft-light;
  z-index: 0;
}

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

img {
  height: auto;
}

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

a:hover {
  color: var(--accent-3);
}

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

button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.site-shell {
  width: var(--site-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 26, 0.9);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  width: var(--site-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 220, 226, 0.2);
  background:
    linear-gradient(180deg, rgba(145, 47, 70, 0.92), rgba(22, 19, 17, 0.94)),
    linear-gradient(135deg, rgba(250, 220, 226, 0.16), transparent);
  box-shadow: inset 0 1px 0 rgba(250, 220, 226, 0.08);
}

.brand__mark img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}

.brand__text {
  min-width: 0;
}

.brand__name {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.brand__sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(250, 220, 226, 0.04);
  color: var(--text);
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  color: var(--muted);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(145, 47, 70, 0.12);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(250, 220, 226, 0.28);
  background: rgba(250, 220, 226, 0.08);
}

.site-nav .button {
  min-height: 42px;
  padding: 0 12px;
  white-space: nowrap;
}

.site-nav svg,
.button svg,
.text-button svg,
.action-link svg,
.footer-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex: 0 0 auto;
}

.hero,
.page-hero {
  padding: 28px 0 42px;
}

.page-hero--full {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__frame,
.page-hero__frame {
  border-bottom: 1px solid var(--line);
}

.hero__grid,
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 28px;
  align-items: center;
  padding: 24px 0 30px;
}

.hero__copy,
.page-hero__copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--accent-3);
  font-size: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent-3);
  opacity: 0.75;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

h1 {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h2 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 14px;
}

h3 {
  font-size: 22px;
  line-height: 1.22;
  margin-bottom: 12px;
}

.hero__lede,
.page-hero__lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
}

.hero__actions,
.page-hero__actions,
.section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.text-button,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover,
.text-button:hover,
.action-link:hover {
  transform: translateY(-1px);
}

.button--primary,
.action-link--primary {
  background: linear-gradient(180deg, #912F46, rgba(145, 47, 70, 0.78));
  color: var(--accent-3);
  border-color: rgba(250, 220, 226, 0.24);
  box-shadow: 0 12px 30px rgba(145, 47, 70, 0.24);
}

.button--ghost,
.text-button {
  background: rgba(250, 220, 226, 0.05);
  color: var(--text);
  border-color: var(--line);
}

.action-link {
  background: rgba(250, 220, 226, 0.05);
  color: var(--text);
  border-color: var(--line);
}

.hero__panel,
.page-hero__panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(250, 220, 226, 0.025) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, rgba(22, 19, 17, 0.94), rgba(15, 17, 26, 0.96));
  box-shadow: var(--shadow);
  padding: 16px;
  animation: frame-breathe 6s ease-in-out infinite;
}

.hero__media,
.page-hero__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(99, 112, 116, 0.62);
  background: rgba(22, 19, 17, 0.62);
}

.hero__media img,
.page-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero__caption,
.page-hero__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(15, 17, 26, 0.92);
  font-size: 13px;
}

.hero__caption strong,
.page-hero__caption strong {
  color: var(--text);
  font-weight: 600;
}

.hero__media + .meta-list,
.page-hero__media + .meta-list {
  margin-top: 14px;
}

.meta-list {
  display: grid;
  gap: 10px;
}

.meta-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(250, 220, 226, 0.08);
}

.meta-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.meta-item dt {
  color: var(--accent-3);
  font-size: 13px;
}

.meta-item dd {
  color: var(--text);
  font-size: 14px;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section--soft {
  background: linear-gradient(180deg, rgba(250, 220, 226, 0.03), transparent);
}

.section__header {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.section__kicker {
  color: var(--accent-3);
  font-size: 13px;
  letter-spacing: 0;
}

.section__lead {
  max-width: 72ch;
  color: var(--muted);
}

.summary-box,
.info-box,
.note-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 220, 226, 0.04);
  padding: 18px;
}

.summary-box p,
.note-box p,
.info-box p {
  color: var(--muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

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

.fact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 220, 226, 0.03);
  padding: 16px;
}

.fact-card span {
  display: block;
  color: var(--accent-3);
  font-size: 12px;
  margin-bottom: 8px;
}

.fact-card strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.intro-archive {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(99, 112, 116, 0.52);
  border-bottom: 1px solid rgba(99, 112, 116, 0.34);
  background:
    linear-gradient(90deg, rgba(145, 47, 70, 0.16), rgba(15, 17, 26, 0.16) 54%, rgba(22, 19, 17, 0.62)),
    repeating-linear-gradient(135deg, rgba(250, 220, 226, 0.018) 0 1px, transparent 1px 12px);
  box-shadow: 0 18px 42px rgba(15, 17, 26, 0.42);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 28px;
  align-items: start;
  padding: 24px 22px 22px;
}

.intro-narrative {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-right: 28px;
  border-right: 1px solid rgba(250, 220, 226, 0.12);
}

.intro-label {
  width: max-content;
  max-width: 100%;
  border-left: 3px solid var(--accent);
  background: rgba(145, 47, 70, 0.18);
  color: var(--accent-3);
  padding: 4px 10px;
  font-size: 13px;
  line-height: 1.5;
}

.intro-narrative h3 {
  margin: 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.28;
}

.intro-narrative p {
  margin: 0;
  color: var(--muted);
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.intro-points li {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-left: 14px;
  border-left: 2px solid rgba(145, 47, 70, 0.82);
}

.intro-points strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.intro-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.intro-dossier {
  min-width: 0;
}

.intro-dossier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(250, 220, 226, 0.16);
}

.intro-dossier__head span {
  color: var(--accent-3);
  font-size: 13px;
}

.intro-dossier__head strong {
  color: var(--text);
  font-size: 16px;
}

.intro-facts {
  display: grid;
  margin: 0;
}

.intro-fact {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(250, 220, 226, 0.1);
}

.intro-fact dt {
  color: var(--accent-3);
  font-size: 13px;
}

.intro-fact dd {
  margin: 0;
  color: var(--text);
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.intro-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(99, 112, 116, 0.42);
  background: rgba(99, 112, 116, 0.36);
}

.intro-flow__item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 144px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(22, 19, 17, 0.88), rgba(15, 17, 26, 0.9));
}

.intro-flow__item span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.intro-flow__item h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.intro-flow__item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  border: 1px solid rgba(99, 112, 116, 0.42);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(250, 220, 226, 0.018) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, rgba(22, 19, 17, 0.86), rgba(15, 17, 26, 0.92));
  padding: 16px;
  box-shadow: 0 12px 22px rgba(15, 17, 26, 0.36);
}

.tile--feature {
  min-height: 100%;
}

.tile p,
.tile li {
  color: var(--muted);
}

.tile ul {
  padding-left: 18px;
  margin-top: 10px;
}

.tile li + li {
  margin-top: 6px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  border: 1px solid rgba(99, 112, 116, 0.42);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(22, 19, 17, 0.72);
  box-shadow: 0 10px 24px rgba(15, 17, 26, 0.42);
}

[data-zoom-image] {
  cursor: zoom-in;
}

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

.gallery-item figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: rgba(15, 17, 26, 0.9);
}

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

.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 220, 226, 0.03);
  padding: 16px;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(145, 47, 70, 0.18);
  color: var(--accent-3);
  border: 1px solid rgba(145, 47, 70, 0.36);
  margin-bottom: 10px;
  font-size: 13px;
}

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

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  border-left: 1px solid var(--line-strong);
  padding-left: 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(145, 47, 70, 0.16);
}

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

.timeline-item p,
.timeline-item li {
  color: var(--muted);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 220, 226, 0.03);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--text);
}

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

.faq-item summary::after {
  content: "+";
  color: var(--accent-3);
  font-size: 18px;
  line-height: 1;
}

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

.faq-item .faq-body {
  padding: 0 16px 16px;
  color: var(--muted);
}

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

.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 220, 226, 0.03);
  padding: 14px;
}

.link-card strong {
  color: var(--text);
  font-size: 15px;
}

.link-card span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  background: rgba(15, 17, 26, 0.94);
}

.site-footer__inner {
  width: var(--site-width);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.footer-copy {
  color: var(--muted);
  max-width: 74ch;
}

.footer-meta {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.footer-link:hover {
  color: var(--accent-3);
}

.subhead {
  font-size: 18px;
  color: var(--accent-3);
  margin-bottom: 8px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--accent-3);
}

.breadcrumbs span {
  color: rgba(250, 220, 226, 0.34);
}

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

.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 220, 226, 0.03);
  padding: 16px;
}

.content-card p,
.content-card li {
  color: var(--muted);
}

.content-card ul,
.content-card ol {
  padding-left: 18px;
  margin-top: 10px;
}

.article-lead {
  max-width: 72ch;
  color: var(--muted);
  font-size: 16px;
}

.table-grid {
  display: grid;
  gap: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(250, 220, 226, 0.08);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row strong {
  color: var(--accent-3);
}

.table-row span {
  color: var(--text);
}

.note-list {
  padding-left: 18px;
}

.note-list li + li {
  margin-top: 6px;
}

.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;
}

.section-anchor {
  scroll-margin-top: 92px;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.download-row .button {
  min-width: 144px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-3);
}

.text-link:hover {
  color: var(--accent-3);
}

.block-spaced {
  margin-top: 32px;
}

.footer-note {
  margin-top: 14px;
}

.figure-stack {
  display: grid;
  gap: 12px;
}

.image-stack {
  display: grid;
  gap: 12px;
}

dialog.media-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
}

dialog.media-modal::backdrop {
  background: rgba(15, 17, 26, 0.92);
}

.media-modal__frame {
  position: relative;
  width: min(92vw, 1200px);
  margin: 0 auto;
}

.media-modal__frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(250, 220, 226, 0.2);
  box-shadow: var(--shadow);
}

@keyframes frame-breathe {
  0%,
  100% {
    border-color: rgba(99, 112, 116, 0.54);
    box-shadow: 0 24px 52px rgba(15, 17, 26, 0.68);
  }

  50% {
    border-color: rgba(145, 47, 70, 0.72);
    box-shadow: 0 24px 52px rgba(145, 47, 70, 0.2);
  }
}

.media-modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 48px;
  }

  .hero__grid,
  .page-hero__grid,
  .summary-grid,
  .intro-layout,
  .footer-top,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .intro-narrative {
    padding-right: 0;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(250, 220, 226, 0.12);
  }

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

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

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

@media (max-width: 760px) {
  .topbar__inner {
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    display: grid;
    gap: 6px;
    padding: 14px 16px 18px;
    background: rgba(15, 17, 26, 0.96);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.24s ease, opacity 0.24s ease;
  }

  body.nav-open .site-nav {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    justify-content: space-between;
    background: rgba(250, 220, 226, 0.03);
  }

  .site-nav .button {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 19px;
  }

  .hero,
  .page-hero {
    padding-top: 14px;
  }

  .hero__grid,
  .page-hero__grid {
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .hero__lede,
  .page-hero__lede,
  .article-lead {
    font-size: 15px;
  }

  .intro-layout {
    gap: 18px;
    padding: 18px 14px;
  }

  .intro-narrative h3 {
    font-size: 22px;
  }

  .intro-points,
  .intro-flow,
  .facts-grid,
  .card-grid,
  .gallery-grid,
  .steps-grid,
  .link-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .intro-fact {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .intro-flow__item {
    min-height: 0;
    padding: 15px 16px;
  }

  .meta-item,
  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .hero__actions,
  .page-hero__actions,
  .section__actions,
  .download-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .text-button,
  .action-link {
    width: 100%;
  }
}

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

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

/* Managed news and download confirmation additions. Existing site styles remain unchanged. */
.my-news-home,
.my-news-page {
  --my-news-surface: rgba(22, 19, 17, 0.9);
  --my-news-text: var(--text, #fadce2);
  --my-news-muted: var(--muted, rgba(250, 220, 226, 0.72));
  --my-news-accent: var(--accent, #912f46);
  --my-news-line: var(--line, rgba(250, 220, 226, 0.14));
}

.my-news-home {
  width: 100%;
  color: var(--my-news-text);
  padding: 24px 16px 40px;
}

.my-news-home .my-news-shell,
.my-news-page .my-news-shell {
  width: min(var(--site-width, var(--max, 1180px)), calc(100% - 0px));
  margin: 0 auto;
}

.my-news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--my-news-line);
}

.my-news-kicker {
  margin: 0 0 2px;
  color: var(--my-news-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.my-news-heading h2,
.my-news-page h1,
.my-news-page h2,
.my-news-card h2,
.my-news-card h3 {
  color: var(--my-news-text);
}

.my-news-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.25;
}

.my-news-all-link,
.my-news-card a,
.my-news-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  color: var(--my-news-text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--my-news-accent);
}

.my-news-all-link:hover,
.my-news-card a:hover,
.my-news-back:hover { color: var(--my-news-accent); }

.my-news-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.my-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 196px;
  padding: 20px;
  color: var(--my-news-text);
  background: var(--my-news-surface);
  border: 1px solid var(--my-news-line);
  border-radius: var(--radius, 8px);
  box-shadow: var(--shadow, 0 14px 36px rgba(0, 0, 0, 0.16));
}

.my-news-card h2,
.my-news-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.my-news-card time { display: block; margin: 10px 0 0; color: var(--my-news-muted); font-size: 0.86rem; }
.my-news-card p { margin: 10px 0 16px; color: var(--my-news-muted); }
.my-news-card a { margin-top: auto; }
.my-news-empty { grid-column: 1 / -1; margin: 0; padding: 20px; color: var(--my-news-muted); background: var(--my-news-surface); border: 1px dashed var(--my-news-line); border-radius: var(--radius, 8px); }

.my-news-page { min-height: 100vh; padding: 44px 16px 64px; }
.my-news-page .my-news-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--my-news-muted); }
.my-news-page .my-news-brand { margin: 0; color: var(--my-news-muted); font-size: 0.93rem; }
.my-news-page .my-news-intro { max-width: 760px; margin: 0 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-detail { max-width: 820px; padding: clamp(22px, 5vw, 44px); color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 14px 36px rgba(0, 0, 0, 0.16)); }
.my-news-page .my-news-detail h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.22; }
.my-news-page .my-news-detail time { display: block; margin: 16px 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-summary { margin: 0 0 20px; color: var(--my-news-muted); font-size: 1.05rem; }
.my-news-page .my-news-content { margin: 0; color: var(--my-news-text); white-space: pre-wrap; }
.my-news-page .my-news-footer { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.download-confirm-backdrop { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 18px; background: rgba(0, 0, 0, 0.62); }
.download-confirm-panel { width: min(460px, 100%); padding: 24px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: var(--radius, 8px); box-shadow: var(--shadow, 0 24px 70px rgba(0, 0, 0, 0.35)); }
.download-confirm-panel h2 { margin: 0 0 10px; color: var(--my-news-text); font-size: 1.3rem; }
.download-confirm-panel p { margin: 0; color: var(--my-news-muted); }
.download-confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.download-confirm-actions button { min-height: 40px; padding: 0 16px; font: inherit; font-weight: 700; color: var(--my-news-text); background: transparent; border: 1px solid var(--my-news-line); border-radius: 6px; cursor: pointer; }
.download-confirm-actions .download-confirm-primary { color: #1b140c; background: var(--my-news-accent); border-color: var(--my-news-accent); }

@media (max-width: 640px) {
  .my-news-home { padding-inline: 12px; }
  .my-news-heading { align-items: flex-start; flex-direction: column; }
  .my-news-page { padding: 26px 12px 44px; }
  .my-news-page .my-news-topbar { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
  .my-news-card { min-height: 0; }
}
