:root {
  color-scheme: dark;
  --ink: #f8f3e6;
  --muted: #c8bdd1;
  --gold: #f4c05c;
  --gold-2: #8d5d1d;
  --rose: #be355d;
  --violet: #422066;
  --night: #060612;
  --panel: rgba(17, 13, 33, 0.82);
  --line: rgba(244, 192, 92, 0.28);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(190, 53, 93, 0.28), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(244, 192, 92, 0.18), transparent 28%),
    linear-gradient(180deg, #070611 0%, #14091c 48%, #070611 100%);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 8px 12px;
  background: var(--gold);
  color: #150b05;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(6, 6, 18, 0.84);
  border-bottom: 1px solid rgba(244, 192, 92, 0.18);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 174px;
  height: auto;
}

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

.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 15px;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ink);
  background: rgba(244, 192, 92, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(244, 192, 92, 0.08);
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
}

.nav-toggle b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 36px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-text,
.section-heading p,
.feature-copy p,
.download-copy p,
.contact-content p {
  color: var(--muted);
  font-size: 17px;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #ffe0a1);
  color: #1f1003;
  box-shadow: 0 12px 30px rgba(244, 192, 92, 0.18);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div,
.value-card,
.access-item,
.seo-list div {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 14px 12px;
}

.hero-stats dt {
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  min-width: 0;
  filter: drop-shadow(0 28px 80px rgba(0, 0, 0, 0.45));
}

.hero-visual img {
  width: min(680px, 100%);
  margin-left: auto;
}

section {
  padding: 76px 24px;
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 34px;
}

.section-heading p {
  max-width: 720px;
}

.quick-access,
.value-section,
.seo-panel {
  max-width: var(--max);
  margin: 0 auto;
}

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

.access-item {
  min-height: 176px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.access-item:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 192, 92, 0.62);
}

.access-item img {
  width: 164px;
  height: auto;
  margin-bottom: 14px;
}

.access-item span {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.access-item small {
  color: var(--muted);
}

.feature-band,
.downloads {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: 36px;
}

.feature-band {
  background:
    linear-gradient(90deg, rgba(6, 6, 18, 0.9), rgba(6, 6, 18, 0.3)),
    url("assets/images/brand/section-bg.png") center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
}

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

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.feature-media img,
.download-art img,
.royal-logo-card {
  border-radius: 8px;
  border: 1px solid rgba(244, 192, 92, 0.22);
  box-shadow: var(--shadow);
}

.royal-logo-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 34px;
  padding: 46px;
  background:
    radial-gradient(circle at 50% 22%, rgba(244, 192, 92, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(24, 18, 37, 0.96), rgba(8, 7, 17, 0.92));
}

.royal-logo-card img {
  width: min(420px, 90%);
  border: 0;
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.42));
}

.royal-logo-card strong {
  color: var(--gold);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(244, 192, 92, 0.22);
}

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

.value-card {
  padding: 22px;
}

.value-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 18px;
}

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

.downloads {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 0.9fr);
}

.download-art img {
  max-height: 560px;
  object-fit: contain;
}

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

.seo-list div {
  padding: 18px;
}

.seo-list strong,
.seo-list span {
  display: block;
}

.seo-list span {
  color: var(--gold);
  margin-top: 6px;
}

.contact {
  margin-top: 40px;
  background:
    linear-gradient(90deg, rgba(6, 6, 18, 0.92), rgba(6, 6, 18, 0.42)),
    url("assets/images/brand/contact-bg.jpg") center / cover no-repeat;
}

.contact-content {
  max-width: var(--max);
  margin: 0 auto;
}

.article-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 84px 24px;
}

.article-page h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.article-summary {
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
}

.article-page p:not(.eyebrow):not(.article-summary) {
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(244, 192, 92, 0.16);
  background: #05050d;
  color: var(--muted);
}

.site-footer img {
  width: 132px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

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

@media (max-width: 920px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .brand img {
    width: 142px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 16px 14px;
    background: rgba(6, 6, 18, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px 6px;
    border-bottom: 1px solid rgba(244, 192, 92, 0.1);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 38px 18px 58px;
    background: linear-gradient(180deg, rgba(6, 6, 18, 0.1), rgba(6, 6, 18, 0.86)), url("assets/images/brand/mobile-bg.png") center top / cover no-repeat;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    width: min(420px, 92vw);
    margin: 0 auto;
  }

  .hero-stats,
  .access-grid,
  .value-grid,
  .seo-list {
    grid-template-columns: 1fr 1fr;
  }

  .feature-band,
  .downloads {
    grid-template-columns: 1fr;
  }

  .royal-logo-card {
    min-height: 320px;
    padding: 34px 22px;
  }

  .downloads {
    padding-top: 40px;
  }

  .download-art {
    order: 2;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 42px;
  }

  section {
    padding: 54px 18px;
  }

  .hero-actions,
  .download-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-stats,
  .access-grid,
  .value-grid,
  .seo-list {
    grid-template-columns: 1fr;
  }

  .access-item {
    min-height: 0;
  }
}
