:root {
  --bg: #070707;
  --bg-soft: #101113;
  --panel: #17181b;
  --panel-strong: #202025;
  --text: #f6f0e6;
  --muted: #c9bda9;
  --muted-2: #8d867b;
  --line: rgba(255, 255, 255, 0.13);
  --gold: #f5ba4a;
  --gold-2: #ffe0a1;
  --ember: #ff5a24;
  --red: #d92b1f;
  --green: #2f7d5b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 15.5px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 6%, rgba(217, 43, 31, 0.18), transparent 30rem),
    radial-gradient(circle at 80% 0%, rgba(245, 186, 74, 0.12), transparent 28rem),
    linear-gradient(180deg, #070707 0%, #111111 45%, #090909 100%);
  line-height: 1.75;
}

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

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

p {
  margin: 0 0 1rem;
}

button,
summary {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #14100a;
  background: var(--gold);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.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: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 34px, 1240px);
  height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(245, 186, 74, 0.18);
}

.brand-text {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--gold-2);
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 4px;
  color: #f4d9aa;
  font-size: 0.94rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links .nav-download {
  margin-left: 8px;
  color: #17100a;
  border: 1px solid rgba(255, 224, 161, 0.38);
  background: linear-gradient(135deg, var(--gold) 0%, #ff7a2d 100%);
  box-shadow: 0 10px 26px rgba(255, 90, 36, 0.22);
  font-weight: 900;
}

.nav-links .nav-download:hover,
.nav-links .nav-download.active {
  color: #17100a;
  background: linear-gradient(135deg, #ffd36d 0%, #ff6628 100%);
  box-shadow: 0 14px 32px rgba(255, 90, 36, 0.34);
}

.nav-links .nav-download::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding: 76px 0;
}

.section-dark {
  background: #070707;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #0c0c0d;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 670px;
  padding: 118px 0 58px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  filter: saturate(1.05) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.96) 0%, rgba(7, 7, 7, 0.72) 44%, rgba(7, 7, 7, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.1) 0%, rgba(7, 7, 7, 0.92) 95%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: 42px;
  align-items: end;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 560px;
  font-size: clamp(1.82rem, 3.5vw, 3.05rem);
  font-weight: 900;
  color: var(--gold-2);
  line-height: 1.06;
  text-shadow:
    0 3px 0 rgba(255, 90, 36, 0.28),
    0 10px 30px rgba(0, 0, 0, 0.55);
}

h1 span {
  display: inline-block;
}

h2 {
  font-size: clamp(1.28rem, 1.85vw, 1.72rem);
  color: var(--gold-2);
}

h3 {
  font-size: 1.15rem;
  color: var(--gold-2);
}

.hero-subtitle {
  max-width: 700px;
  margin: 14px 0 0;
  color: rgba(246, 240, 230, 0.88);
  font-size: clamp(0.98rem, 1.65vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #17100a;
  background: linear-gradient(135deg, var(--gold) 0%, #ff7a2d 100%);
  box-shadow: 0 14px 36px rgba(255, 90, 36, 0.24);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.btn-large {
  min-width: 190px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 30px 0 0;
}

.hero-meta div {
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.hero-meta dt {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-meta dd {
  margin: 4px 0 0;
  color: var(--gold-2);
  font-weight: 800;
}

.hero-card,
.media-panel,
.guide-card,
.download-panel,
.feature-card,
.timeline-item,
.faq-item,
.gallery-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 20, 23, 0.82);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  margin: 0;
}

.hero-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.quick-nav {
  position: relative;
  z-index: 5;
  margin-top: -28px;
}

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

.quick-grid a {
  min-height: 94px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 21, 24, 0.94);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 186, 74, 0.5);
}

.quick-grid strong,
.quick-grid span {
  display: block;
}

.quick-grid strong {
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 0.98rem;
}

.quick-grid span {
  color: #f4d9aa;
  font-size: 0.88rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 44px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
}

.split.reverse .section-copy {
  order: 2;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 0.96rem;
}

.section-heading {
  max-width: 810px;
  margin-bottom: 28px;
}

.media-panel {
  overflow: hidden;
  margin: 0;
}

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

.check-list,
.number-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.number-list li {
  position: relative;
  margin-top: 9px;
  padding-left: 30px;
  color: rgba(246, 240, 230, 0.9);
}

.check-list li strong,
.number-list li strong {
  color: var(--gold-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.number-list {
  counter-reset: guide;
}

.number-list li {
  padding-left: 44px;
}

.number-list li::before {
  counter-increment: guide;
  content: counter(guide, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

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

.feature-card {
  min-height: 218px;
  padding: 20px;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.feature-card h3 {
  margin-bottom: 14px;
  color: var(--gold-2);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.gallery-item {
  overflow: hidden;
  margin: 0;
  background: #151515;
}

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

.gallery-wide {
  grid-column: span 2;
}

.gallery-wide img {
  aspect-ratio: 16 / 9;
}

.guide-card {
  padding: 22px;
}

.guide-card h3 {
  margin-bottom: 18px;
  color: var(--gold-2);
}

.guide-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-step span {
  color: var(--ember);
  font-weight: 900;
}

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

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

.timeline-item {
  position: relative;
  padding: 18px;
  min-height: 162px;
}

.timeline-item.highlight {
  border-color: rgba(245, 186, 74, 0.45);
  background:
    linear-gradient(135deg, rgba(245, 186, 74, 0.16), rgba(255, 90, 36, 0.06)),
    rgba(20, 20, 23, 0.9);
}

.timeline-item time {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 10px;
  color: var(--gold-2);
}

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

.timeline-item span {
  display: inline-block;
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.download-section {
  padding: 58px 0;
  background:
    linear-gradient(90deg, rgba(245, 186, 74, 0.12), rgba(217, 43, 31, 0.12)),
    #0b0b0b;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 30px;
  align-items: center;
  padding: 28px;
}

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

.download-copy > p {
  margin-bottom: 18px;
}

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

.download-tips article {
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.download-tips span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
}

.download-tips p {
  margin: 0;
  font-size: 0.92rem;
}

.download-action {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  padding: 20px;
  border: 1px solid rgba(245, 186, 74, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(245, 186, 74, 0.1), rgba(255, 90, 36, 0.04)),
    rgba(255, 255, 255, 0.045);
}

.download-action span {
  color: var(--muted-2);
  font-size: 0.88rem;
}

.download-action strong {
  color: var(--gold-2);
  font-size: 1.24rem;
}

.download-action p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 92px;
  margin-bottom: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(245, 186, 74, 0.08), rgba(255, 90, 36, 0.04)),
    rgba(18, 18, 21, 0.88);
  box-shadow: var(--shadow);
}

.faq-aside h2 {
  margin-bottom: 16px;
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.faq-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(245, 186, 74, 0.24);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(245, 186, 74, 0.07);
  font-size: 0.86rem;
  font-weight: 800;
}

.faq-note {
  margin-top: 22px;
  padding: 18px;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
}

.faq-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
}

.faq-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 11, 0.66);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.faq-item {
  padding: 0;
  overflow: hidden;
  background: rgba(18, 18, 21, 0.92);
}

.faq-item summary {
  position: relative;
  min-height: 56px;
  padding: 16px 56px 16px 20px;
  cursor: pointer;
  color: var(--gold-2);
  font-weight: 800;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

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

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

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
  padding: 38px 0 28px;
}

.footer-logo {
  margin-bottom: 14px;
  border-radius: 50%;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-2);
  font-size: 0.9rem;
}

.site-footer h2,
.footer-bottom a,
.site-footer a:hover {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

/* Modern hover and focus interactions */
a,
button,
summary,
.brand,
.brand img,
.nav-links a,
.btn,
.quick-grid a,
.hero-card,
.media-panel,
.feature-card,
.gallery-item,
.guide-card,
.timeline-item,
.download-panel,
.faq-item {
  -webkit-tap-highlight-color: transparent;
}

.brand {
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.brand img {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.brand:hover img {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 34px rgba(245, 186, 74, 0.34);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 46%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn > *,
.btn {
  isolation: isolate;
}

.quick-grid a,
.hero-card,
.media-panel,
.feature-card,
.gallery-item,
.guide-card,
.timeline-item,
.download-panel,
.faq-item {
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.hero-card img,
.media-panel img,
.gallery-item img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hero-card:hover,
.media-panel:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 186, 74, 0.42);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(245, 186, 74, 0.08);
}

.hero-card:hover img,
.media-panel:hover img,
.gallery-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.05);
}

.quick-grid a:hover {
  background:
    linear-gradient(135deg, rgba(245, 186, 74, 0.1), rgba(255, 90, 36, 0.05)),
    rgba(21, 21, 24, 0.96);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(245, 186, 74, 0.12), transparent 42%, rgba(255, 90, 36, 0.08));
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 186, 74, 0.42);
  background: rgba(26, 26, 30, 0.92);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover .card-kicker {
  color: var(--gold);
}

.guide-card:hover,
.download-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 186, 74, 0.36);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
}

.timeline-item {
  position: relative;
  overflow: hidden;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--ember));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 186, 74, 0.38);
  background:
    linear-gradient(135deg, rgba(245, 186, 74, 0.1), rgba(255, 90, 36, 0.04)),
    rgba(22, 22, 25, 0.94);
}

.timeline-item:hover::before {
  opacity: 1;
}

.faq-item:hover {
  transform: translateX(3px);
  border-color: rgba(245, 186, 74, 0.34);
  background: rgba(24, 24, 28, 0.94);
}

.btn:focus-visible,
.nav-links a:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Theme color scope: keep permanent theme color on h1/h2, reveal it on hover elsewhere. */
h1,
h2,
.site-footer h2 {
  color: var(--gold-2);
}

h3,
.brand-text,
.nav-links a:not(.nav-download),
.hero-meta dt,
.hero-meta dd,
.quick-grid span,
.card-kicker,
.feature-card h3,
.guide-card h3,
.timeline-item h3,
.download-tips span,
.faq-item summary,
.footer-bottom a,
.site-footer a {
  color: var(--text);
}

.hero-meta dt,
.quick-grid span,
.download-action span,
.download-action p,
.site-footer p {
  color: var(--muted);
}

.nav-links a:not(.nav-download):hover,
.nav-links a:not(.nav-download).active,
.quick-grid a:hover strong,
.quick-grid a:hover span,
.feature-card:hover h3,
.feature-card:hover .card-kicker,
.guide-card:hover h3,
.guide-card:hover .guide-step span,
.timeline-item:hover h3,
.timeline-item:hover time,
.download-tips article:hover span,
.faq-item:hover summary,
.site-footer a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 17px;
    right: 17px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .faq-layout,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-action {
    max-width: 360px;
  }

  .split.reverse .section-copy {
    order: 0;
  }

  .hero-card {
    max-width: 620px;
  }

  .faq-aside {
    position: static;
  }

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

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

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

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

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

  .container,
  .footer-bottom {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    width: min(100% - 24px, 1240px);
  }

  .brand-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 98px 0 46px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.66), rgba(7, 7, 7, 0.96)),
      linear-gradient(90deg, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0.45));
  }

  h1 {
    font-size: clamp(1.24rem, 5.6vw, 1.48rem);
    max-width: 300px;
    line-height: 1.08;
  }

  h1 span {
    display: block;
  }

  h2 {
    font-size: clamp(1.12rem, 5.2vw, 1.38rem);
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-meta,
  .quick-grid,
  .feature-grid,
  .gallery-grid,
  .download-tips,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-wide {
    grid-column: auto;
  }

  .download-panel {
    padding: 24px;
  }

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