:root {
  --leaf: #2b533e;
  --leaf-dark: #10231a;
  --leaf-deep: #1f3f2d;
  --gold: #eed291;
  --gold-strong: #e4c06a;
  --red: #a62b2b;
  --indigo: #1f355e;
  --cream: #fff2e6;
  --ink: #19231f;
  --muted: #5c6b62;
  --line: rgba(31, 63, 45, 0.18);
  --shadow: 0 18px 50px rgba(16, 35, 26, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f1e7;
  line-height: 1.75;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.18; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 5.2vw, 4.45rem); max-width: 920px; color: var(--gold); }
h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); color: var(--leaf); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
strong {
  color: var(--leaf-dark);
  font-weight: 900;
}
.hero strong,
.updates-section strong {
  color: #fff8ec;
}
.text-accent {
  color: var(--red);
  font-weight: 900;
  background: linear-gradient(180deg, transparent 58%, rgba(238, 210, 145, .46) 58%);
  padding: 0 .08em;
}
.hero .text-accent,
.updates-section .text-accent {
  color: var(--gold);
  background: linear-gradient(180deg, transparent 58%, rgba(166, 43, 43, .55) 58%);
}
.version-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.55em;
  padding: .05rem .45rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 210, 145, .7);
  color: #fff8ec;
  background: linear-gradient(135deg, var(--red), var(--leaf));
  font-size: .82em;
  font-weight: 900;
  vertical-align: middle;
  box-shadow: 0 8px 18px rgba(166, 43, 43, .18);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--gold);
  color: var(--leaf-dark);
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, var(--max));
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 2.4rem);
  color: #fff8ec;
  background: rgba(16, 35, 26, .72);
  border-bottom: 1px solid rgba(238, 210, 145, .25);
  backdrop-filter: blur(16px);
}
.site-header.is-scrolled { background: rgba(16, 35, 26, .94); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); }
.brand strong {
  display: block;
  color: #fff8ec;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.08;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .42);
}
.brand small {
  display: block;
  margin-top: .18rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .38);
}
.main-nav {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .2rem;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 38px;
  padding: .52rem .92rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: rgba(255, 248, 236, .9);
  font-size: .94rem;
  line-height: 1;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.main-nav a::before,
.btn[data-icon]::before,
.back-top::before {
  content: "";
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.main-nav a::before { font-size: .96rem; opacity: .92; }
.main-nav a[data-icon="intro"], .btn[data-icon="intro"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5z'/%3E%3C/svg%3E");
}
.main-nav a[data-icon="content"], .btn[data-icon="content"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
.main-nav a[data-icon="guide"], .btn[data-icon="guide"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-4 12c.7.6 1 1.4 1 2h6c0-.6.3-1.4 1-2A7 7 0 0 0 12 2z'/%3E%3C/svg%3E");
}
.main-nav a[data-icon="features"], .btn[data-icon="features"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.5 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.8 1-6.1-4.4-4.3 6.1-.9L12 3z'/%3E%3C/svg%3E");
}
.main-nav a[data-icon="updates"], .btn[data-icon="updates"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 3-6.7'/%3E%3Cpath d='M3 4v6h6'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
.main-nav a[data-icon="faq"], .btn[data-icon="faq"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.1 9a3 3 0 1 1 5.8 1c-.5 1.2-1.7 1.7-2.3 2.5-.3.4-.5.8-.5 1.5'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}
.main-nav a[data-icon="download"], .btn[data-icon="download"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E");
}
.back-top { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E"); }
.back-top::before { width: 1.35rem; height: 1.35rem; }
.main-nav a:hover, .main-nav a:focus-visible {
  background: rgba(238, 210, 145, .16);
  border-color: rgba(238, 210, 145, .34);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 0, .16);
}
.main-nav a[aria-current] {
  color: var(--gold);
  background: rgba(238, 210, 145, .12);
  border-color: rgba(238, 210, 145, .28);
}
.main-nav .nav-download {
  margin-left: .35rem;
  padding-inline: 1.05rem;
  border-radius: 999px;
  border-color: rgba(238, 210, 145, .42);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(166, 43, 43, .28);
}
.main-nav .nav-download:hover,
.main-nav .nav-download:focus-visible {
  background: linear-gradient(135deg, #bd3030, #7e121c);
  border-color: rgba(238, 210, 145, .7);
  box-shadow: 0 14px 30px rgba(166, 43, 43, .34);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff8ec;
  background: var(--indigo);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 35, 26, .94) 0%, rgba(16, 35, 26, .72) 40%, rgba(31, 53, 94, .42) 100%),
    linear-gradient(0deg, rgba(16, 35, 26, .95) 0%, rgba(16, 35, 26, .1) 54%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 9rem 0 4rem;
}
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1rem;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
}
.eyebrow::before, .section-kicker::before {
  content: "";
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.hero-copy {
  max-width: 720px;
  margin-top: 1.15rem;
  color: rgba(255, 248, 236, .9);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}
.hero h1 {
  color: var(--gold);
  text-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn[data-icon]::before {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
}
.btn span,
.btn[data-icon] {
  z-index: 1;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .22) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .42s ease;
}
.btn::before { z-index: 1; }
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(16, 35, 26, .22);
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 16px 36px rgba(166, 43, 43, .3); }
.btn-secondary { border-color: rgba(238, 210, 145, .6); color: var(--gold); background: rgba(16, 35, 26, .3); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  max-width: 760px;
  margin: 2.2rem 0 0;
}
.hero-facts div {
  padding: 1rem;
  border: 1px solid rgba(238, 210, 145, .28);
  background: rgba(16, 35, 26, .58);
  border-radius: var(--radius);
}
.hero-facts dt { color: var(--gold); font-size: .78rem; font-weight: 900; }
.hero-facts dd { margin: .2rem 0 0; font-weight: 800; }

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section-heading { max-width: 820px; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; }
.feature-layout, .split-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: 1.4rem;
  align-items: center;
}
.text-panel, .guide-card, .system-card, .feature-list article, .timeline article, .faq-item, .cta-section {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.text-panel:hover, .guide-card:hover, .system-card:hover, .feature-list article:hover, .timeline article:hover, .cta-section:hover {
  transform: translateY(-5px);
  border-color: rgba(228, 192, 106, .7);
  box-shadow: 0 26px 62px rgba(16, 35, 26, .22);
}
.text-panel { padding: clamp(1.4rem, 4vw, 2.2rem); }
.image-panel, .split-story figure, .wide-media, .gallery-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 3px solid rgba(238, 210, 145, .65);
  box-shadow: var(--shadow);
  background: var(--leaf-dark);
}
.image-panel img, .split-story img, .wide-media img, .gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}
.image-panel:hover img, .split-story figure:hover img, .wide-media:hover img, .gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}
.image-panel { aspect-ratio: 4 / 3; }

.content-section, .features-section, .faq-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, #f7f1e7 0%, #efe2ce 100%);
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.system-card { padding: 1.3rem; min-height: 210px; }
.system-card:hover .icon-mark { transform: rotate(45deg) scale(1.05); background: var(--red); }
.icon-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: #fff;
  background: var(--leaf);
  border: 2px solid var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  font-weight: 900;
  transition: transform .24s ease, background .24s ease;
}
.icon-mark { transform: rotate(0deg); }
.split-story {
  margin-top: 1.25rem;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1fr);
}
.split-story > div {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.guide-section { background: #f7f1e7; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.guide-card { padding: 1.4rem; }
.guide-card ol { margin: 1rem 0 0; padding-left: 1.2rem; }
.wide-media { margin-top: 1.25rem; aspect-ratio: 16 / 7; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.feature-list article { padding: 1.3rem; }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(160px, 1fr));
  gap: .8rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  padding-bottom: .4rem;
}
.gallery-card { margin: 0; min-width: 180px; }
.gallery-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(16, 35, 26, .24);
}
.gallery-card img { aspect-ratio: 16 / 10; }
.gallery-card figcaption {
  min-height: 68px;
  padding: .7rem;
  color: #fff8ec;
  font-size: .86rem;
  background: var(--leaf-dark);
}

.updates-section {
  width: 100%;
  max-width: none;
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  color: #fff8ec;
  background: linear-gradient(135deg, var(--leaf-dark), var(--indigo));
}
.updates-section .section-heading p { color: rgba(255, 248, 236, .76); }
.updates-section h2 { color: var(--gold); }
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}
.timeline article {
  display: grid;
  grid-template-columns: 130px 220px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 242, 230, .08);
  border-color: rgba(238, 210, 145, .24);
  color: #fff8ec;
  box-shadow: none;
}
.timeline time { color: var(--gold); font-weight: 900; font-size: .88rem; }
.timeline h3 { font-size: 1rem; }
.timeline p { margin: 0; color: rgba(255, 248, 236, .8); font-size: .94rem; }

.faq-list { display: grid; gap: .8rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item[open] { border-color: rgba(228, 192, 106, .78); }
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 900;
  color: var(--leaf-dark);
  transition: color .18s ease, background .18s ease;
}
.faq-item summary:hover {
  color: var(--red);
  background: rgba(238, 210, 145, .16);
}
.faq-item p { padding: 0 1.2rem 1.1rem; color: var(--muted); }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-section {
  width: min(var(--max), calc(100% - 2rem));
  margin: clamp(3rem, 7vw, 5rem) auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, var(--cream), #f9e2c6);
}
.cta-section p { max-width: 720px; color: var(--muted); }
.cta-section h2 { color: var(--leaf-dark); }

.friend-links {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  padding: clamp(2.4rem, 6vw, 4rem) 1rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(238, 210, 145, .26), transparent 44%),
    linear-gradient(135deg, var(--leaf-dark), var(--leaf));
  border-top: 1px solid rgba(238, 210, 145, .28);
}
.friend-links h2 {
  margin-bottom: 1.2rem;
  color: var(--gold);
  text-shadow: 0 3px 14px rgba(0, 0, 0, .28);
}
.friend-links nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}
.friend-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(238, 210, 145, .48);
  color: var(--leaf-dark);
  background: rgba(255, 248, 236, .94);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.friend-links a:hover,
.friend-links a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #7e121c);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(166, 43, 43, .28);
}

.site-footer {
  padding: 2rem 1rem;
  color: rgba(255, 248, 236, .82);
  background: var(--leaf-dark);
  text-align: center;
  font-size: .92rem;
}
.site-footer p { margin: .25rem auto; max-width: 900px; }
.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-2px); }

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(238, 210, 145, .4);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
  }
  .nav-toggle span {
    position: absolute;
    left: 11px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #fff8ec;
    transform-origin: center;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-toggle span:nth-child(1) { transform: translateY(-8px); }
  .nav-toggle span:nth-child(2) { transform: translateY(-1px); }
  .nav-toggle span:nth-child(3) { transform: translateY(6px); }
  .nav-toggle.is-open span:nth-child(1),
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(-1px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2),
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3),
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-1px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    min-height: calc(100vh - 70px);
    padding: 1.55rem clamp(1rem, 5vw, 1.75rem) 1.25rem;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(238, 210, 145, .26);
    background:
      linear-gradient(90deg, rgba(8, 5, 5, .97), rgba(18, 8, 9, .94)),
      linear-gradient(0deg, rgba(8, 5, 5, .88), rgba(8, 5, 5, .88)),
      url("img/cover.webp") center / cover no-repeat;
    box-shadow: 0 24px 58px rgba(0, 0, 0, .38);
    overflow: hidden;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: .7rem .5rem;
    color: #fff8ec;
    font-size: 1.22rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .7);
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
  }
  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(238, 210, 145, .1);
  }
  .main-nav .nav-download {
    justify-content: center;
    min-height: 56px;
    width: 100%;
    margin: auto 0 0;
    border-radius: 999px;
    border: 1px solid rgba(238, 210, 145, .48);
    background: linear-gradient(90deg, #a00017, #6e0d16);
    color: #fff;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 16px 34px rgba(0, 0, 0, .28);
    text-align: center;
  }
  .feature-layout, .split-story { grid-template-columns: 1fr; }
  .content-grid, .feature-list, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; }
  .timeline article {
    grid-template-columns: 110px minmax(160px, .4fr) minmax(0, 1fr);
  }
  .guide-grid { grid-template-columns: 1fr; }
  .wide-media { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .site-header { padding: .65rem 1rem; }
  .brand { grid-template-columns: 42px auto; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .72rem; }
  .hero { min-height: 88vh; }
  .hero-content { padding-bottom: 2.5rem; }
  .hero-facts, .content-grid, .feature-list, .timeline { grid-template-columns: 1fr; }
  .timeline article {
    grid-template-columns: 1fr;
    align-items: start;
    gap: .45rem;
  }
  .hero-actions, .cta-section { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .gallery { grid-template-columns: repeat(6, 82vw); }
}

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