:root {
  --bg: #1a2226;
  --bg-2: #2b1e17;
  --paper: #f4eccf;
  --paper-2: #d2c4b1;
  --brass: #c29b63;
  --copper: #a0522d;
  --amber: #ffbb00;
  --steam: #40e0d0;
  --ink: #221811;
  --muted: #705f4f;
  --line: rgba(194, 155, 99, .34);
  --shadow: 0 22px 70px rgba(0, 0, 0, .32);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 187, 0, .09), transparent 26rem),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--brass);
  font-size: clamp(2.15rem, 5.2vw, 4.7rem);
  text-align: center;
  text-shadow: 0 8px 34px rgba(0, 0, 0, .52), 0 0 22px rgba(255, 187, 0, .16);
}

h2 {
  color: var(--copper);
  font-size: clamp(1.5rem, 2.5vw, 2.45rem);
}

h3 {
  font-size: 1.16rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--amber);
  color: var(--ink);
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  border-bottom: 1px solid rgba(194, 155, 99, .22);
  background: rgba(26, 34, 38, .84);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: .75rem;
  color: var(--paper);
  font-weight: 800;
  transition: color .2s ease, transform .2s ease;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid var(--brass);
  border-radius: 50%;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.brand span {
  overflow: hidden;
  max-width: 16rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand:hover,
.brand:focus-visible {
  color: var(--amber);
  transform: translateY(-1px);
}

.brand:hover img,
.brand:focus-visible img {
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(255, 187, 0, .32);
  transform: rotate(-3deg) scale(1.04);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .55rem .78rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: rgba(244, 236, 207, .9);
  font-size: .94rem;
  font-weight: 700;
  transition: color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.site-nav a::before,
.btn::before {
  content: "";
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.site-nav a[href="#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");
}

.site-nav a[href="#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");
}

.site-nav a[href="#guide"],
.btn-secondary {
  --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='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
}

.site-nav a[href="#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 2l2.4 6.8H22l-6 4.4 2.3 6.8L12 15.8 5.7 20 8 13.2 2 8.8h7.6z'/%3E%3C/svg%3E");
}

.site-nav a[href="#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 3v6h6'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.site-nav a[href="#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-.8 1.4-2.9 1.8-2.9 4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.site-nav .nav-cta,
.btn-primary {
  --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='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3Cpath d='M5 5h5'/%3E%3Cpath d='M5 5v14h14v-5'/%3E%3C/svg%3E");
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--amber);
  border-color: rgba(255, 187, 0, .82);
  box-shadow: inset 0 0 0 1px rgba(194, 155, 99, .38), 0 0 18px rgba(255, 187, 0, .18);
  transform: translateY(-1px);
}

.site-nav .nav-cta,
.btn-primary {
  color: #20150d;
  background: linear-gradient(135deg, var(--amber), var(--brass));
  box-shadow: 0 10px 24px rgba(255, 187, 0, .22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 236, 207, .08);
  color: var(--paper);
}

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

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

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

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

.section {
  padding: clamp(4rem, 8vw, 7rem) max(16px, calc((100% - var(--max)) / 2));
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(26, 34, 38, .92), rgba(43, 30, 23, .94)),
    repeating-linear-gradient(90deg, rgba(194, 155, 99, .05) 0 1px, transparent 1px 84px);
}

.paper {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(244, 236, 207, .98), rgba(210, 196, 177, .98)),
    repeating-linear-gradient(0deg, rgba(160, 82, 45, .06) 0 1px, transparent 1px 32px);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24vh;
  background: linear-gradient(0deg, rgba(26, 34, 38, .98), transparent);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: .48;
}

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

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

.eyebrow,
.kicker {
  margin: 0 0 .75rem;
  color: var(--amber);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: rgba(244, 236, 207, .94);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.8rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, .35) 44%, transparent 60% 100%);
  transform: translateX(-120%);
  pointer-events: none;
  transition: transform .55s ease;
}

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

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(244, 236, 207, .08);
  color: var(--paper);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: saturate(1.08) brightness(1.06);
  box-shadow: 0 14px 34px rgba(255, 187, 0, .3);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 187, 0, .74);
  box-shadow: 0 12px 28px rgba(64, 224, 208, .12);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  max-width: 860px;
  margin: 2rem auto 0;
}

.quick-facts div {
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 34, 38, .64);
}

.quick-facts dt {
  color: var(--brass);
  font-size: .82rem;
  font-weight: 900;
}

.quick-facts dd {
  margin: .15rem 0 0;
  color: var(--paper);
  font-weight: 800;
}

.section-head {
  max-width: 820px;
  margin-bottom: 2rem;
}

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

.split,
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .84fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.copy {
  font-size: 1.04rem;
}

.image-panel,
.gallery figure,
.wide-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(160, 82, 45, .28);
  border-radius: var(--radius);
  background: rgba(26, 34, 38, .08);
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.image-panel img,
.wide-shot img,
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.image-panel:hover,
.gallery figure:hover,
.wide-shot:hover {
  border-color: rgba(255, 187, 0, .55);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .36), 0 0 26px rgba(255, 187, 0, .14);
  transform: translateY(-4px);
}

.image-panel:hover img,
.gallery figure:hover img,
.wide-shot:hover img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.035);
}

.image-panel figcaption,
.wide-shot figcaption,
.gallery figcaption {
  padding: .8rem .95rem;
  color: inherit;
  background: rgba(26, 34, 38, .08);
  font-size: .92rem;
}

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

.feature-card {
  min-height: 232px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 236, 207, .08);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--amber);
  font-weight: 900;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.feature-card:hover {
  border-color: rgba(255, 187, 0, .58);
  background: rgba(244, 236, 207, .12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22), 0 0 20px rgba(64, 224, 208, .08);
  transform: translateY(-5px);
}

.feature-card:hover .card-icon {
  background: rgba(255, 187, 0, .14);
  box-shadow: 0 0 18px rgba(255, 187, 0, .2);
  transform: rotate(-6deg) scale(1.06);
}

.feature-card h3,
.feature-strip h3,
.guide-list h3 {
  margin-bottom: .55rem;
  color: inherit;
}

.feature-card p,
.feature-strip p,
.guide-list p {
  margin-bottom: 0;
}

.wide-shot {
  margin-top: 1.4rem;
}

.guide-layout {
  grid-template-columns: minmax(310px, .9fr) minmax(0, 1fr);
  align-items: stretch;
}

.guide-list {
  display: grid;
  gap: .8rem;
}

.guide-list article {
  padding: 1.1rem;
  border: 1px solid rgba(160, 82, 45, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .24);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.guide-list article:hover {
  border-color: rgba(160, 82, 45, .48);
  background: rgba(255, 255, 255, .36);
  box-shadow: 0 14px 34px rgba(43, 30, 23, .13);
  transform: translateX(4px);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-strip > div {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(194, 155, 99, .15), rgba(64, 224, 208, .06));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.feature-strip > div:hover {
  border-color: rgba(64, 224, 208, .42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22), 0 0 24px rgba(64, 224, 208, .1);
  transform: translateY(-4px);
}

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

.timeline {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 8.5rem 13rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border-left: 4px solid var(--copper);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.timeline li:hover {
  border-left-color: var(--amber);
  background: rgba(255, 255, 255, .42);
  box-shadow: 0 12px 30px rgba(43, 30, 23, .12);
  transform: translateX(5px);
}

.timeline time {
  color: var(--copper);
  font-weight: 900;
}

.timeline strong {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: .8rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(244, 236, 207, .08);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: .95rem 1.1rem;
  color: var(--paper);
  font-weight: 900;
}

summary::after {
  content: "+";
  margin-left: auto;
  color: var(--amber);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform .2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details:hover,
details[open] {
  border-color: rgba(255, 187, 0, .5);
  background: rgba(244, 236, 207, .11);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: rgba(244, 236, 207, .86);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(43, 30, 23, .96), rgba(26, 34, 38, .96)),
    linear-gradient(90deg, rgba(255, 187, 0, .15), rgba(64, 224, 208, .1));
}

.cta-band p {
  max-width: 720px;
  margin-bottom: 0;
}

.friend-links {
  padding: clamp(3.5rem, 7vw, 6rem) 16px;
  color: #fff8dd;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 187, 0, .16), transparent 34rem),
    linear-gradient(100deg, var(--bg) 0%, var(--bg-2) 34%, var(--copper) 100%);
  text-align: center;
}

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

.friend-links .kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255, 248, 221, .86);
}

.friend-links .kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: rgba(255, 248, 221, .68);
}

.friend-links h2 {
  color: #fff8dd;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .26);
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-top: 1.8rem;
}

.friend-link-list a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.25rem;
  border: 1px solid rgba(244, 236, 207, .22);
  border-radius: 999px;
  background: rgba(244, 236, 207, .14);
  color: #fff8dd;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.friend-link-list a::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px rgba(255, 248, 221, .52);
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  border-color: rgba(255, 187, 0, .78);
  background: rgba(255, 187, 0, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 34px rgba(0, 0, 0, .22), 0 0 22px rgba(255, 187, 0, .18);
  transform: translateY(-3px);
}

.site-footer {
  padding: 2rem max(16px, calc((100% - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: rgba(244, 236, 207, .74);
  background: #141b1e;
  font-size: .92rem;
}

.site-footer p {
  margin: .2rem 0;
}

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

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .65rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(26, 34, 38, .98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
  }

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

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

  .timeline li {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 24px, var(--max));
  }

  .brand span {
    max-width: 11rem;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-actions,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quick-facts,
  .content-grid,
  .feature-strip,
  .gallery {
    grid-template-columns: 1fr;
  }

  .friend-link-list {
    align-items: stretch;
    flex-direction: column;
  }

  .friend-link-list a {
    justify-content: center;
    width: 100%;
  }

  .feature-card {
    min-height: auto;
  }
}

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

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