:root {
  --bg: #181105;
  --bg-2: #3a2a05;
  --panel: rgba(30, 24, 9, 0.9);
  --panel-solid: #211906;
  --panel-strong: #3a2b09;
  --text: #f5f5f7;
  --muted: #ded5bd;
  --soft: #b7a579;
  --line: rgba(230, 184, 0, 0.42);
  --accent: #e6b800;
  --accent-2: #cc9900;
  --accent-soft: #f3d572;
  --danger: #d32f2f;
  --steel: #f5f5f7;
  --oil: #070604;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.58);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.72;
  background:
    radial-gradient(circle at 18% 4%, rgba(245, 245, 247, 0.13), transparent 23%),
    radial-gradient(circle at 78% 9%, rgba(230, 184, 0, 0.46), transparent 31%),
    radial-gradient(circle at 84% 70%, rgba(211, 47, 47, 0.16), transparent 28%),
    linear-gradient(122deg, #0b0904 0%, #261b05 24%, #6d5207 64%, #cc9900 120%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 245, 247, 0.08), transparent 2px),
    radial-gradient(circle at 68% 74%, rgba(0, 0, 0, 0.24), transparent 3px),
    linear-gradient(rgba(245, 245, 247, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 247, 0.024) 1px, transparent 1px),
    repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 13px);
  background-size: 160px 160px, 130px 130px, 42px 42px, 42px 42px, 260px 260px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.62) 72%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.045) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(230, 184, 0, 0.2), transparent 22%, rgba(245, 245, 247, 0.05) 48%, rgba(204, 153, 0, 0.17));
  mix-blend-mode: screen;
  opacity: 0.5;
}

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

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #10100b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: var(--radius);
  transform: translateY(-150%);
}

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

.scroll-meter {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 80;
  width: 6px;
  height: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-2) 62%, var(--danger));
  box-shadow: 0 0 20px rgba(230, 184, 0, 0.78), -4px 0 18px rgba(211, 47, 47, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(230, 184, 0, 0.54);
  background:
    linear-gradient(90deg, rgba(230, 184, 0, 0.12), rgba(0, 0, 0, 0.08) 36%, rgba(204, 153, 0, 0.18)),
    rgba(12, 10, 4, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.36);
}

.site-header::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  content: "";
  background: repeating-linear-gradient(135deg, #070604 0 13px, var(--accent) 13px 26px);
  opacity: 0.86;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  gap: 18px;
}

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

.brand-mark {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(245, 245, 247, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 0 28px rgba(230, 184, 0, 0.44), inset 0 0 0 2px rgba(0, 0, 0, 0.18);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--accent-soft);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 4px;
}

.nav-links a,
.footer-nav a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-links a {
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.02), rgba(0, 0, 0, 0));
}

.nav-links a:hover,
.nav-links a.is-active,
.footer-nav a:hover {
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.is-active {
  border-color: rgba(230, 184, 0, 0.52);
  background: linear-gradient(135deg, rgba(230, 184, 0, 0.18), rgba(204, 153, 0, 0.08));
  box-shadow: inset 0 -2px 0 rgba(211, 47, 47, 0.38);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: rgba(230, 184, 0, 0.1);
  border: 1px solid rgba(230, 184, 0, 0.46);
  border-radius: var(--radius);
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.btn,
.download-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  gap: 8px;
  color: #141208;
  font-weight: 800;
  border: 1px solid rgba(211, 47, 47, 0.54);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 70%, #b87f00 100%);
  box-shadow:
    0 14px 30px rgba(204, 153, 0, 0.34),
    0 0 0 1px rgba(245, 245, 247, 0.12) inset,
    0 -3px 0 rgba(211, 47, 47, 0.38) inset;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover,
.download-trigger:hover {
  transform: translateY(-1px);
  filter: saturate(1.12) contrast(1.04);
  box-shadow:
    0 18px 42px rgba(204, 153, 0, 0.46),
    0 0 22px rgba(211, 47, 47, 0.22),
    0 -3px 0 rgba(211, 47, 47, 0.5) inset;
}

.download-trigger {
  animation: voltagePulse 3.6s ease-in-out infinite;
}

.btn:focus-visible,
.download-trigger:focus-visible,
.nav-links a:focus-visible,
.footer-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(245, 245, 247, 0.64);
  outline-offset: 3px;
}

.btn.secondary {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(245, 245, 247, 0.09), rgba(230, 184, 0, 0.03)),
    rgba(7, 6, 4, 0.72);
  border-color: rgba(245, 245, 247, 0.22);
  box-shadow: inset 0 0 0 1px rgba(230, 184, 0, 0.12);
}

.btn.ghost {
  color: var(--accent-soft);
  background: transparent;
  border-color: rgba(230, 184, 0, 0.34);
  box-shadow: none;
}

.section {
  position: relative;
  padding: 86px 0;
  border-top: 1px solid rgba(230, 184, 0, 0.16);
}

.section.is-muted {
  background:
    linear-gradient(180deg, rgba(7, 6, 4, 0.38), rgba(204, 153, 0, 0.12)),
    repeating-linear-gradient(135deg, rgba(230, 184, 0, 0.04) 0 1px, transparent 1px 18px);
}

.section-inner,
.hero-inner,
.page-hero-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 820px;
  padding: 116px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid rgba(230, 184, 0, 0.58);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 7, 3, 0.96) 0%, rgba(28, 20, 5, 0.88) 41%, rgba(204, 153, 0, 0.2) 68%, rgba(9, 7, 3, 0.34) 100%),
    radial-gradient(circle at 44% 18%, rgba(245, 245, 247, 0.14), transparent 24%),
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.06) 0 1px, transparent 1px 5px),
    url("../img/cover.webp") center right / cover no-repeat;
  opacity: 0.96;
}

.hero::after,
.page-hero::after,
.stripe::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--oil) 0 14px, var(--accent) 14px 28px);
  opacity: 0.9;
}

.hero-inner {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.8fr);
  gap: 46px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--accent);
  box-shadow: 0 0 14px rgba(230, 184, 0, 0.7);
}

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

h1 {
  margin-bottom: 14px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--steel);
  text-shadow:
    0 0 12px rgba(245, 245, 247, 0.16),
    0 0 26px rgba(230, 184, 0, 0.34),
    2px 2px 0 rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--accent-soft);
  font-size: clamp(21px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.22;
  text-shadow: 0 0 18px rgba(230, 184, 0, 0.34);
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions,
.page-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li,
.pill {
  padding: 7px 10px;
  color: var(--steel);
  font-size: 13px;
  border: 1px solid rgba(230, 184, 0, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(230, 184, 0, 0.12), rgba(0, 0, 0, 0.18)),
    rgba(12, 10, 4, 0.76);
}

.visual-stack {
  position: relative;
  min-height: 520px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 184, 0, 0.62);
  border-radius: var(--radius);
  background: var(--oil);
  box-shadow: var(--shadow);
}

.media-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(245, 245, 247, 0.18);
  border-radius: inherit;
  background:
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.055) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, transparent 62%, rgba(230, 184, 0, 0.22));
  mix-blend-mode: screen;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.12);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.media-frame:hover img {
  transform: scale(1.018) skewX(-0.5deg);
  filter: saturate(1.08) contrast(1.22);
}

.media-frame.main {
  aspect-ratio: 4 / 5;
}

.media-frame.floating {
  position: absolute;
  right: -8px;
  bottom: 32px;
  width: 52%;
  aspect-ratio: 16 / 10;
}

.media-frame.small {
  position: absolute;
  left: -18px;
  top: 58px;
  width: 46%;
  aspect-ratio: 16 / 9;
}

.media-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 8px;
  color: #151208;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(230, 184, 0, 0.42);
}

.section-header {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-header h2,
.page-hero h1 {
  margin-bottom: 12px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.12;
}

.section-header h2::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--accent) 0 12px, var(--oil) 12px 24px);
  box-shadow: 0 0 16px rgba(230, 184, 0, 0.34);
}

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

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.fact-card,
.timeline-item,
.faq-item,
.link-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(230, 184, 0, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(54, 41, 8, 0.92), rgba(13, 10, 4, 0.84)),
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.03) 0 1px, transparent 1px 5px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(245, 245, 247, 0.08);
}

.card::before,
.fact-card::before,
.timeline-item::before,
.faq-item::before,
.link-card::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 62%, var(--danger));
}

.card,
.fact-card,
.link-card {
  padding: 22px;
}

.card h3,
.fact-card h3,
.link-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--steel);
}

.card p,
.fact-card p,
.timeline-item p,
.link-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card strong,
.fact-card strong,
.timeline-item strong,
.info-table th,
.meta-list dt {
  color: var(--accent-soft);
}

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

.feature-index {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  color: #121008;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(230, 184, 0, 0.38);
}

.image-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.image-grid .media-frame:first-child {
  min-height: 430px;
}

.image-grid .media-frame:not(:first-child) {
  min-height: 205px;
}

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

.caption {
  color: var(--soft);
  font-size: 13px;
}

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

.fact-card {
  min-height: 138px;
}

.fact-card .value {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(230, 184, 0, 0.42);
  border-radius: var(--radius);
  background: rgba(10, 8, 3, 0.58);
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(230, 184, 0, 0.2);
}

.info-table th {
  width: 210px;
  background:
    linear-gradient(90deg, rgba(230, 184, 0, 0.2), rgba(204, 153, 0, 0.06)),
    rgba(7, 6, 4, 0.44);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.timeline-date {
  color: var(--accent-soft);
  font-weight: 900;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 20px 20px 20px 68px;
  border: 1px solid rgba(230, 184, 0, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(54, 41, 8, 0.7), rgba(10, 8, 3, 0.78)),
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.035) 0 1px, transparent 1px 5px);
}

.steps li::before {
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #11100b;
  font-weight: 900;
  counter-increment: step;
  content: counter(step);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(230, 184, 0, 0.38);
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  min-height: 58px;
  padding: 16px 48px 16px 18px;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  position: relative;
  background: linear-gradient(90deg, rgba(230, 184, 0, 0.08), transparent 72%);
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 18px;
  content: "";
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.faq-item p {
  padding: 0 18px 18px;
  margin-bottom: 0;
  color: var(--muted);
}

.link-card {
  display: grid;
  min-height: 176px;
  align-content: space-between;
}

.link-card:hover {
  border-color: rgba(230, 184, 0, 0.72);
  transform: translateY(-2px);
  transition: transform 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.42), 0 0 24px rgba(230, 184, 0, 0.18);
}

.link-card .arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--accent-soft);
  font-weight: 800;
}

.download-strip {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(230, 184, 0, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(230, 184, 0, 0.28), rgba(204, 153, 0, 0.13) 50%, rgba(211, 47, 47, 0.16)),
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.04) 0 1px, transparent 1px 5px),
    rgba(9, 7, 3, 0.84);
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(245, 245, 247, 0.08);
}

.download-strip::before {
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--oil) 0 14px, var(--accent) 14px 28px);
}

.download-strip h2,
.download-strip h3 {
  margin-bottom: 8px;
}

.download-strip p {
  max-width: 720px;
  color: var(--muted);
}

.page-hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid rgba(230, 184, 0, 0.58);
  background:
    linear-gradient(90deg, rgba(9, 7, 3, 0.96), rgba(48, 36, 8, 0.84), rgba(204, 153, 0, 0.28)),
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.05) 0 1px, transparent 1px 5px),
    url("../img/scene-choice.webp") center / cover no-repeat;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 32px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.aside-panel {
  padding: 22px;
  border: 1px solid rgba(230, 184, 0, 0.46);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(54, 41, 8, 0.72), rgba(7, 6, 4, 0.82)),
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.035) 0 1px, transparent 1px 5px);
  box-shadow: var(--shadow);
}

.aside-panel p {
  margin-bottom: 14px;
  color: var(--muted);
}

.meta-list {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.meta-list dt {
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.38fr);
  gap: 24px;
  align-items: start;
}

.side-note {
  position: sticky;
  top: 94px;
}

.prose {
  color: var(--muted);
}

.prose h2,
.prose h3 {
  color: var(--text);
}

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

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.friend-links a {
  padding: 8px 10px;
  color: var(--muted);
  border: 1px solid rgba(230, 184, 0, 0.24);
  border-radius: var(--radius);
  background: rgba(7, 6, 4, 0.52);
}

.friend-links a:hover {
  color: var(--text);
  border-color: rgba(230, 184, 0, 0.34);
}

.site-footer {
  padding: 50px 0 34px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(49, 37, 8, 0.88), rgba(7, 6, 4, 0.96)),
    repeating-linear-gradient(0deg, rgba(245, 245, 247, 0.035) 0 1px, transparent 1px 5px);
  border-top: 1px solid rgba(230, 184, 0, 0.58);
  box-shadow: inset 0 10px 0 rgba(0, 0, 0, 0.2);
}

.footer-inner {
  display: grid;
  gap: 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 24px;
}

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

.footer-note {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

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

.kpi {
  padding: 18px;
  border: 1px solid rgba(245, 245, 247, 0.12);
  border-radius: var(--radius);
  background: rgba(245, 245, 247, 0.045);
}

.kpi span {
  display: block;
  color: var(--accent-soft);
  font-weight: 900;
}

.kpi small {
  color: var(--soft);
}

@keyframes voltagePulse {
  0%,
  100% {
    box-shadow:
      0 14px 30px rgba(204, 153, 0, 0.34),
      0 0 0 1px rgba(245, 245, 247, 0.12) inset,
      0 -3px 0 rgba(211, 47, 47, 0.38) inset;
  }

  47% {
    box-shadow:
      0 16px 38px rgba(230, 184, 0, 0.52),
      0 0 22px rgba(211, 47, 47, 0.14),
      0 0 0 1px rgba(245, 245, 247, 0.16) inset,
      0 -3px 0 rgba(211, 47, 47, 0.5) inset;
  }

  50% {
    filter: brightness(1.12) contrast(1.05);
  }
}

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

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

@media (max-width: 1060px) {
  .hero-inner,
  .page-hero-inner,
  .two-column {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: 460px;
  }

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

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

  .side-note {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-inner {
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 14px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 68px;
    display: none;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(17, 16, 11, 0.96);
    border: 1px solid rgba(230, 184, 0, 0.28);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

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

  .nav-inner > .download-trigger {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 54px;
  }

  .section {
    padding: 64px 0;
  }

  .image-grid,
  .footer-top,
  .kpi-row {
    grid-template-columns: 1fr;
  }

  .timeline-item,
  .meta-list {
    grid-template-columns: 1fr;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .section-inner,
  .hero-inner,
  .page-hero-inner,
  .footer-inner,
  .nav-inner {
    width: min(100% - 26px, var(--max));
  }

  h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .lead {
    font-size: 15px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .visual-stack {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .media-frame.main,
  .media-frame.floating,
  .media-frame.small {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  .hero .media-frame.floating,
  .hero .media-frame.small {
    display: none;
  }

  .download-strip {
    padding: 28px 18px 22px;
  }

  .btn,
  .download-trigger {
    width: 100%;
  }

  .card,
  .fact-card,
  .link-card {
    padding: 18px;
  }
}

/* Managed news and download confirmation additions. Existing selectors remain untouched. */
.my-news-home, .my-news-page {
  --my-news-surface: rgba(30, 24, 9, 0.92);
  --my-news-text: var(--text, #f5f5f7);
  --my-news-muted: var(--muted, #ded5bd);
  --my-news-accent: var(--accent, #e6b800);
  --my-news-line: var(--line, rgba(230, 184, 0, 0.42));
}
.my-news-home { width: 100%; padding: 26px 16px 42px; color: var(--my-news-text); }
.my-news-home .my-news-shell, .my-news-page .my-news-shell { width: min(var(--container, 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 3px; color: var(--my-news-accent); font-size: .78rem; font-weight: 800; letter-spacing: .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; 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,.18)); }
.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: .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; color: var(--my-news-text); }
.my-news-page .my-news-topbar { display: flex; align-items: center; justify-content: space-between; 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: .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,.18)); }
.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,.64); }
.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,.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: #19120a; background: var(--my-news-accent); border-color: var(--my-news-accent); }
@media (max-width: 640px) { .my-news-home { padding-inline: 12px; } .my-news-heading, .my-news-page .my-news-topbar { align-items: flex-start; flex-direction: column; } .my-news-page { padding: 26px 12px 44px; } .my-news-card { min-height: 0; } }
