:root {
  --bg: #0a0506;
  --panel: #140d0e;
  --panel-2: #1d1113;
  --wine: #4a0e17;
  --wine-hot: #8b0016;
  --gold: #c5a880;
  --gold-soft: #e6d4af;
  --text: #ffffff;
  --muted: #b7aaac;
  --mist: #8e8284;
  --line: rgba(197, 168, 128, .28);
  --shadow: 0 22px 60px rgba(0, 0, 0, .44);
  --glow: 0 0 28px rgba(197, 168, 128, .18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(139, 0, 22, .22), transparent 34%),
    linear-gradient(180deg, #0a0506 0%, #12080a 42%, #090505 100%);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 84px, rgba(197, 168, 128, .035) 84px 85px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(139, 0, 22, .04) 118px 119px),
    linear-gradient(135deg, rgba(197, 168, 128, .035), transparent 28%, rgba(74, 14, 23, .11) 72%, transparent);
  opacity: .78;
}

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

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

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

strong,
.accent {
  color: var(--gold-soft);
  font-weight: 800;
}

em {
  color: var(--wine-hot);
  font-style: normal;
}

mark {
  padding: 0 .22em;
  color: var(--gold-soft);
  background: rgba(139, 0, 22, .18);
  border-bottom: 1px solid rgba(197, 168, 128, .35);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 800;
}

h1 {
  max-width: 720px;
  color: var(--gold-soft);
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  text-shadow: 0 6px 26px rgba(139, 0, 22, .46), 0 8px 34px rgba(0, 0, 0, .66);
}

h2 {
  color: var(--gold-soft);
  font-size: clamp(1.62rem, 3vw, 2.72rem);
  text-shadow: 0 5px 22px rgba(139, 0, 22, .32);
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  color: var(--gold-soft);
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--gold);
  color: #140d0e;
  border-radius: 4px;
  font-weight: 700;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(197, 168, 128, .18);
  background: rgba(10, 5, 6, .76);
  backdrop-filter: blur(18px);
  transition: background .24s ease, min-height .24s ease, box-shadow .24s ease;
}

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

.site-header.is-scrolled {
  min-height: 62px;
  background: rgba(10, 5, 6, .94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-weight: 900;
  color: var(--gold-soft);
  transition: transform .22s ease, filter .22s ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(197, 168, 128, .18));
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  overflow: hidden;
  background: #090405;
  box-shadow: 0 0 18px rgba(197, 168, 128, .22);
  transition: transform .35s ease, border-color .25s ease, box-shadow .25s ease;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: rotate(-8deg) scale(1.06);
  border-color: rgba(230, 212, 175, .9);
  box-shadow: 0 0 24px rgba(197, 168, 128, .3), 0 0 0 5px rgba(139, 0, 22, .16);
}

.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: clamp(10px, 1.6vw, 22px);
  color: rgba(255, 255, 255, .84);
  font-size: .94rem;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  white-space: nowrap;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.primary-nav a::before,
.ui-icon {
  content: "";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(197, 168, 128, .46);
  border-radius: 50%;
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 35% 35%, rgba(230, 212, 175, .2), transparent 34%),
    linear-gradient(135deg, rgba(139, 0, 22, .82), rgba(20, 13, 14, .9));
  box-shadow: inset 0 0 0 2px rgba(10, 5, 6, .44), 0 0 12px rgba(139, 0, 22, .2);
  font-family: "Microsoft YaHei", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.primary-nav a[data-icon="profile"]::before { content: "介"; }
.primary-nav a[data-icon="content"]::before { content: "文"; }
.primary-nav a[data-icon="guide"]::before { content: "略"; }
.primary-nav a[data-icon="star"]::before { content: "★"; }
.primary-nav a[data-icon="clock"]::before { content: "時"; }
.primary-nav a[data-icon="faq"]::before { content: "?"; }
.primary-nav a[data-icon="download"]::before { content: "↓"; }

.primary-nav a::after {
  display: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 50% 50%, rgba(197, 168, 128, .16), rgba(139, 0, 22, .22) 58%, rgba(74, 14, 23, .34));
  box-shadow: inset 0 0 0 1px rgba(197, 168, 128, .32), 0 8px 22px rgba(139, 0, 22, .22);
  transform: translateY(-1px);
}

.primary-nav a:hover::before,
.primary-nav a:focus-visible::before {
  transform: rotate(-10deg) scale(1.08);
  border-color: rgba(230, 212, 175, .8);
  box-shadow: inset 0 0 0 2px rgba(10, 5, 6, .3), 0 0 18px rgba(197, 168, 128, .22);
}

.primary-nav .download-link {
  padding: 9px 16px;
  border: 1px solid rgba(197, 168, 128, .5);
  background: linear-gradient(135deg, #8b0016, #4a0e17);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(139, 0, 22, .26);
}

.primary-nav .download-link:hover,
.primary-nav .download-link:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #a7001d, #5b1420);
  box-shadow: inset 0 0 0 1px rgba(197, 168, 128, .34), 0 12px 26px rgba(139, 0, 22, .34);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  background: rgba(20, 13, 14, .86);
  color: var(--text);
  border-radius: 6px;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  background: var(--gold);
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open .line-top {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .line-mid {
  opacity: 0;
}

.nav-toggle.is-open .line-bottom {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 96vh;
  padding: 128px clamp(18px, 5vw, 72px) 62px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  background: #090405;
}

.hero-media picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(.9) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 5, 6, .96) 0%, rgba(10, 5, 6, .82) 34%, rgba(10, 5, 6, .35) 66%, rgba(10, 5, 6, .72) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 92px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-lead {
  width: min(660px, 100%);
  margin-top: 22px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
}

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

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn .ui-icon {
  width: 22px;
  height: 22px;
  font-size: 13px;
}

.btn .icon-download::before {
  content: "↓";
}

.btn .icon-guide::before {
  content: "略";
}

.btn:hover .ui-icon,
.btn:focus-visible .ui-icon {
  transform: rotate(-10deg) scale(1.08);
  border-color: rgba(230, 212, 175, .85);
  box-shadow: 0 0 20px rgba(197, 168, 128, .24);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 44%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .26), transparent);
  transition: left .52s ease;
}

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

.btn:hover::before,
.btn:focus-visible::before {
  left: 130%;
}

.btn-primary {
  background: linear-gradient(135deg, #8b0016 0%, #4a0e17 100%);
  color: #fff;
  border-color: rgba(197, 168, 128, .48);
  box-shadow: 0 18px 34px rgba(139, 0, 22, .28);
}

.btn-secondary {
  background: rgba(20, 13, 14, .76);
  color: var(--gold-soft);
  border-color: var(--line);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin-top: 42px;
  border: 1px solid rgba(197, 168, 128, .22);
  background: rgba(197, 168, 128, .16);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 16px 18px;
  background: rgba(20, 13, 14, .82);
}

.hero-facts dt {
  color: var(--mist);
  font-size: .78rem;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--gold-soft);
  font-weight: 900;
}

.section {
  position: relative;
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 116px) 0;
}

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

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

.feature-card.reveal,
.guide-cards article.reveal,
.mini-card.reveal,
.release-timeline article.reveal,
.faq-list details.reveal {
  transition: opacity .55s ease, transform .55s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.section:not(.cta-section)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(240px, 42vw);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(197, 168, 128, 0));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, .82fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.section-heading p {
  font-size: 1.03rem;
}

.section-heading h2 {
  position: relative;
  padding-bottom: 16px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wine-hot), var(--gold));
  box-shadow: 0 0 20px rgba(139, 0, 22, .42);
}

.section-heading.narrow {
  display: block;
  max-width: 840px;
}

.section-heading.narrow .eyebrow {
  margin-bottom: 12px;
}

.section-heading.narrow p {
  margin-top: 16px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.image-panel,
.wide-card,
.feature-card,
.mini-card,
.route-panel,
.guide-cards article,
.release-timeline article,
.faq-list details {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent),
    rgba(20, 13, 14, .9);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.image-panel::before,
.wide-card::before,
.feature-card::before,
.mini-card::before,
.guide-cards article::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(197, 168, 128, .12);
  border-radius: 5px;
  pointer-events: none;
}

.image-panel img,
.wide-card img,
.gallery-strip img {
  width: 100%;
  object-fit: contain;
  background: #090405;
  transition: transform .5s ease, filter .35s ease;
}

.image-panel:hover,
.wide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 168, 128, .5);
  box-shadow: var(--shadow), var(--glow);
}

.image-panel:hover img,
.wide-card:hover img,
.gallery-strip figure:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.04);
}

figcaption {
  color: var(--gold-soft);
  font-size: .84rem;
}

.image-panel figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(197, 168, 128, .26);
  background: rgba(10, 5, 6, .72);
  backdrop-filter: blur(10px);
  border-radius: 4px;
}

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

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--gold-soft);
}

.check-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: var(--gold);
}

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

.feature-card,
.mini-card,
.guide-cards article {
  position: relative;
  padding: 24px;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.feature-card::after,
.mini-card::after,
.guide-cards article::after,
.release-timeline article::after,
.faq-list details::after {
  content: "";
  position: absolute;
  inset: auto 16px 0 16px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform .28s ease;
  pointer-events: none;
}

.feature-card:hover,
.mini-card:hover,
.guide-cards article:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 168, 128, .48);
  background:
    linear-gradient(180deg, rgba(139, 0, 22, .16), transparent),
    rgba(20, 13, 14, .94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(139, 0, 22, .16);
}

.feature-card:hover::after,
.mini-card:hover::after,
.guide-cards article:hover::after,
.release-timeline article:hover::after,
.faq-list details:hover::after {
  transform: scaleX(1);
}

.feature-card:nth-child(even) {
  margin-top: 20px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(197, 168, 128, .42);
  color: var(--gold-soft);
  background: linear-gradient(135deg, rgba(139, 0, 22, .7), rgba(74, 14, 23, .42));
  border-radius: 50%;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover .card-icon {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 0 22px rgba(197, 168, 128, .22);
}

.feature-card p,
.mini-card p,
.guide-cards p {
  margin-top: 12px;
  font-size: .96rem;
}

.feature-card h3,
.guide-cards h3,
.mini-card h3 {
  display: inline;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(197, 168, 128, .28);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.gallery-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.gallery-strip figure:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 168, 128, .5);
  box-shadow: var(--shadow), var(--glow);
}

.gallery-strip figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  background: rgba(10, 5, 6, .76);
  border: 1px solid rgba(197, 168, 128, .24);
  border-radius: 4px;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: 18px;
}

.route-panel {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.route-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(197, 168, 128, .08) 0 1px, transparent 1px 12px);
  opacity: .28;
  pointer-events: none;
}

.timeline-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  counter-reset: route;
}

.timeline-list li {
  position: relative;
  padding-left: 38px;
}

.timeline-list li::before {
  counter-increment: route;
  content: counter(route);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  background: #4a0e17;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 900;
}

.timeline-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .94rem;
}

.timeline-list strong {
  color: var(--gold-soft);
}

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

.masonry {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
}

.wide-card {
  position: relative;
  grid-row: span 2;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.wide-card div {
  padding: 24px;
}

.wide-card p {
  margin-top: 12px;
}

.mini-card {
  min-height: 166px;
}

.release-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.release-timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 24px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(197, 168, 128, .46), transparent);
}

.release-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 168px 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px 24px 22px 58px;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.release-timeline article:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 168, 128, .48);
  box-shadow: var(--shadow), var(--glow);
}

.release-timeline article::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--wine-hot);
  box-shadow: 0 0 0 6px rgba(139, 0, 22, .18);
}

.release-timeline time {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
}

.release-timeline p {
  font-size: .96rem;
}

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

.faq-list details {
  position: relative;
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 168, 128, .45);
  box-shadow: var(--shadow), var(--glow);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 20px 58px 20px 22px;
  font-weight: 900;
  color: var(--gold-soft);
  text-shadow: 0 4px 18px rgba(139, 0, 22, .28);
}

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

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

.faq-list details p {
  padding: 0 22px 22px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  margin-bottom: 74px;
  border: 1px solid rgba(197, 168, 128, .34);
  background:
    linear-gradient(135deg, rgba(139, 0, 22, .34), rgba(20, 13, 14, .92)),
    var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-section p {
  max-width: 760px;
  margin-top: 12px;
}

.friend-links {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 7vw, 82px) 18px;
  border-top: 1px solid rgba(197, 168, 128, .18);
  border-bottom: 1px solid rgba(197, 168, 128, .18);
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 0, 22, .38), transparent 42%),
    linear-gradient(180deg, #140d0e 0%, #0a0506 100%);
  text-align: center;
}

.friend-links-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.friend-links h2 {
  color: var(--gold-soft);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  text-shadow: 0 8px 28px rgba(139, 0, 22, .42);
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin-top: 24px;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 22px;
  border: 1px solid rgba(197, 168, 128, .36);
  border-radius: 999px;
  color: var(--gold-soft);
  background:
    radial-gradient(circle at 50% 40%, rgba(197, 168, 128, .13), rgba(139, 0, 22, .18) 62%, rgba(10, 5, 6, .62)),
    rgba(20, 13, 14, .92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(230, 212, 175, .78);
  background:
    radial-gradient(circle at 50% 40%, rgba(230, 212, 175, .18), rgba(139, 0, 22, .34) 62%, rgba(74, 14, 23, .86)),
    rgba(20, 13, 14, .96);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .36), 0 0 24px rgba(197, 168, 128, .18);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #070304;
}

.site-footer p {
  max-width: 760px;
  margin-top: 8px;
  font-size: .92rem;
}

.back-top {
  min-width: max-content;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--gold);
}

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

  .primary-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(10, 5, 6, .98);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }

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

  .primary-nav a {
    padding: 12px 12px;
    justify-content: flex-start;
  }

  .primary-nav .download-link {
    margin-top: 8px;
    text-align: center;
  }

  .section-heading,
  .split-layout,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }

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

  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .wide-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  body {
    line-height: 1.66;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .header-inner {
    width: 100%;
  }

  .primary-nav {
    inset: 64px 14px auto 14px;
  }

  .hero {
    min-height: 92vh;
    padding: 104px 18px 36px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 5, 6, .78) 0%, rgba(10, 5, 6, .92) 52%, rgba(10, 5, 6, .98) 100%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 62px);
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 64px 0;
  }

  .content-grid,
  .gallery-strip,
  .guide-cards,
  .masonry,
  .release-timeline,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(even) {
    margin-top: 0;
  }

  .release-timeline::before {
    top: 24px;
    bottom: 24px;
    left: 25px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(197, 168, 128, .46), transparent);
  }

  .feature-card,
  .mini-card,
  .guide-cards article,
  .route-panel,
  .release-timeline article {
    padding: 20px;
  }

  .release-timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 20px 20px 56px;
    align-items: start;
  }

  .cta-section {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .friend-links {
    padding: 46px 14px;
  }

  .friend-link-list {
    gap: 10px;
  }

  .friend-link-list a {
    width: min(100%, 320px);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
