:root {
  --cream: #fdfbf7;
  --cream-2: #f6efe4;
  --ink: #0a1c12;
  --ink-2: #123421;
  --leaf: #2e5f45;
  --peach: #fca5a5;
  --gold: #fbbf24;
  --text: #17231c;
  --muted: #627067;
  --line: rgba(10, 28, 18, 0.14);
  --shadow: 0 22px 60px rgba(10, 28, 18, 0.16);
  --shadow-hover: 0 28px 76px rgba(10, 28, 18, 0.22);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 28, 18, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(253, 251, 247, 0.1);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.brand img,
.brand-mark {
  width: 58px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid rgba(253, 251, 247, 0.22);
}

.brand img {
  object-fit: contain;
  background: rgba(253, 251, 247, 0.08);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--peach), var(--gold));
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(253, 251, 247, 0.86);
  font-size: 14px;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-menu a::before,
.btn::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon, radial-gradient(circle, #000 55%, transparent 56%)) center / contain no-repeat;
  -webkit-mask: var(--icon, radial-gradient(circle, #000 55%, transparent 56%)) center / contain no-repeat;
  opacity: 0.9;
}

.nav-menu a:not(.nav-download):hover,
.nav-menu a:not(.nav-download):focus {
  color: var(--gold);
  border-color: rgba(251, 191, 36, 0.72);
  background: transparent;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.82), 0 0 22px rgba(252, 165, 165, 0.34);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.18), 0 0 18px rgba(251, 191, 36, 0.32);
}

.nav-download {
  background: var(--peach);
  color: var(--ink);
  font-weight: 800;
  padding: 10px 17px !important;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(252, 165, 165, 0.28);
}

.nav-download:hover,
.nav-download:focus {
  color: var(--ink) !important;
  background: var(--gold);
}

.nav-menu a[href="#intro"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5a2 2 0 0 1 2-2h12v16H7a3 3 0 0 0-3 3V5Zm3 16h11v-2H7a1 1 0 1 0 0 2Z'/%3E%3C/svg%3E");
}

.nav-menu a[href="#content"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h7v7H4V4Zm9 0h7v7h-7V4ZM4 13h7v7H4v-7Zm9 0h7v7h-7v-7Z'/%3E%3C/svg%3E");
}

.nav-menu a[href="#guide"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm0 3.2 5 1.9V11c0 3.6-2 6.9-5 8-3-1.1-5-4.4-5-8V7.1l5-1.9Z'/%3E%3C/svg%3E");
}

.nav-menu a[href="#features"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m12 2 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17l-5.9 3 1.2-6.5-4.8-4.6 6.6-.9L12 2Z'/%3E%3C/svg%3E");
}

.nav-menu a[href="#updates"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10h-2a8 8 0 1 1-2.3-5.7L15 9h7V2l-2.9 2.9A10 10 0 0 0 12 2Zm-1 5h2v6l5 3-1 1.7-6-3.5V7Z'/%3E%3C/svg%3E");
}

.nav-menu a[href="#faq"] {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 18h2v-2h-2v2Zm1-16a7 7 0 0 0-7 7h2a5 5 0 1 1 8.5 3.5c-1.7 1.6-2.5 2.4-2.5 4.5h-2c0-2.9 1.3-4.2 3-5.8A3.8 3.8 0 0 0 12 4Z'/%3E%3C/svg%3E");
}

.nav-download,
.btn-primary {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v9l3.5-3.5 1.4 1.4L12 15.8 6.1 9.9l1.4-1.4L11 12V3ZM5 18h14v2H5v-2Z'/%3E%3C/svg%3E");
}

.btn-secondary {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 18 15 12 9 6v12Z'/%3E%3C/svg%3E");
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(253, 251, 247, 0.24);
  background: transparent;
  border-radius: 50%;
  padding: 9px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transform-origin: center;
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.nav-toggle.is-open {
  background: var(--peach);
  border-color: var(--peach);
}

.nav-toggle.is-open span:not(.sr-only) {
  background: var(--ink);
}

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

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

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

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: var(--ink);
  transform: translateY(-50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 28, 18, 0.94), rgba(10, 28, 18, 0.62) 46%, rgba(10, 28, 18, 0.12)),
    linear-gradient(0deg, rgba(10, 28, 18, 0.9), rgba(10, 28, 18, 0.08) 54%);
}

.hero-brief {
  position: absolute;
  z-index: 2;
  right: max(0px, calc((100% - 1500px) / 2 - 108px));
  bottom: 240px;
  width: min(560px, 36vw);
  min-height: 270px;
  padding: 24px;
  background: rgba(10, 28, 18, 0.94);
  border: 1px solid rgba(253, 251, 247, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(10, 28, 18, 0.42);
  color: var(--cream);
  backdrop-filter: blur(12px);
}

.hero-brief::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 6px;
  pointer-events: none;
}

.brief-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-brief h2 {
  margin: 0 0 16px;
  color: var(--cream);
  font-size: 28px;
  line-height: 1.2;
}

.hero-brief ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-brief li {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid rgba(253, 251, 247, 0.14);
}

.hero-brief li:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-brief strong {
  color: var(--peach);
  font-size: 14px;
}

.hero-brief span {
  color: rgba(253, 251, 247, 0.82);
  font-size: 14px;
  line-height: 1.65;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 72px;
  color: var(--cream);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 10px 34px rgba(10, 28, 18, 0.44);
}

.hero-subtitle {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: 20px;
  color: rgba(253, 251, 247, 0.88);
}

.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: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-radius 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-3px) scale(1.02);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(251, 191, 36, 0.24);
}

.btn-primary {
  background: var(--peach);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(252, 165, 165, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--gold);
}

.btn-secondary {
  border: 1px solid rgba(253, 251, 247, 0.36);
  color: var(--cream);
  background: rgba(253, 251, 247, 0.08);
}

.quick-info {
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-info article {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.quick-info article:last-child {
  border-right: 0;
}

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

.quick-info strong {
  color: var(--ink);
  font-size: 14px;
}

.quick-info span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

.section,
.gallery-section,
.cta-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.cta-card h2 {
  margin: 0;
  color: var(--leaf);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--peach), var(--gold));
  transform: scaleX(0.72);
  transform-origin: center;
  transition: transform 0.28s ease, width 0.28s ease;
}

.section-heading:hover h2::after {
  width: 96px;
  transform: scaleX(1);
}

.section-heading p:not(.eyebrow),
.cta-card p {
  color: var(--muted);
  font-size: 17px;
}

.media-text {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

figure {
  margin: 0;
}

.media-text figure,
.guide-image,
.content-card,
.cta-card,
.gallery {
  border-radius: var(--radius);
}

.media-text figure {
  background: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.media-text figure:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.media-text img,
.content-card img,
.guide-image img,
.cta-card img {
  width: 100%;
  object-fit: contain;
  background: var(--ink);
}

figcaption {
  padding: 12px 14px;
  color: rgba(253, 251, 247, 0.78);
  font-size: 14px;
}

.media-text h3,
.content-card h3,
.steps h3,
.feature h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.media-text p {
  color: var(--muted);
}

.content-grid,
.source-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.content-card,
.source-card,
.feature {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(10, 28, 18, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.content-card:hover,
.source-card:hover,
.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.38);
  box-shadow: var(--shadow-hover);
}

.source-card {
  position: relative;
  border-radius: var(--radius);
}

.source-card img {
  width: 100%;
  object-fit: contain;
  background: var(--ink);
}

.source-num {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  margin: 18px 18px 8px;
  background: var(--ink);
  color: var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 13px;
}

.content-card h3,
.source-card h3,
.content-card p {
  padding-left: 18px;
  padding-right: 18px;
}

.content-card h3 {
  padding-top: 18px;
}

.source-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.content-card p {
  padding-bottom: 20px;
  color: var(--muted);
}

.source-card p {
  margin: 0;
  padding: 0 18px 22px;
  color: var(--muted);
}

.merged-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.merged-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(10, 28, 18, 0.08);
  overflow: hidden;
}

.merged-panel img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  background: var(--ink);
}

.merged-panel-body {
  padding: 22px;
}

.merged-panel-body .source-num {
  margin: 0 0 12px;
}

.merged-panel-body h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.3;
}

.merged-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.merged-list li {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.merged-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.merged-list strong {
  color: var(--ink);
  font-size: 16px;
}

.merged-list span {
  color: var(--muted);
}

.compact-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 0;
}

.compact-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) 1fr;
  gap: 26px;
  align-items: start;
}

.compact-panel figure {
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.compact-panel figure:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.compact-panel img {
  width: 100%;
  object-fit: contain;
  background: var(--ink);
}

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

.compact-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(10, 28, 18, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.compact-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.42);
  background: linear-gradient(180deg, #fff, var(--cream-2));
  box-shadow: 0 16px 40px rgba(10, 28, 18, 0.12);
}

.compact-list h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.compact-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.compact-note {
  background: var(--cream-2) !important;
}

.compact-copy p {
  margin-top: 0;
}

.source-prose p {
  color: var(--muted);
}

.basic-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.basic-list li + li {
  margin-top: 6px;
}

.guide-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.guide-image {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
}

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

.feature-list {
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  padding: 22px;
}

.feature::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--peach), var(--gold));
  border-radius: 999px;
}

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

.gallery {
  position: relative;
  background: transparent;
  box-shadow: none;
}

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

.gallery-track {
  position: relative;
}

.gallery-item {
  display: none;
}

.gallery-item.active {
  display: block;
  animation: fadeIn 0.35s ease both;
}

.gallery-static .gallery-item {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(10, 28, 18, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.gallery-static .gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.42);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: var(--cream-2);
  margin: 0 auto;
  padding: 10px;
  transition: transform 0.32s ease;
}

.gallery-static .gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-static figcaption {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--ink);
  color: rgba(253, 251, 247, 0.86);
  font-size: 15px;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(253, 251, 247, 0.92);
  color: var(--ink);
  font-size: 30px;
  cursor: pointer;
}

.gallery-btn.prev {
  left: 16px;
}

.gallery-btn.next {
  right: 16px;
}

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

.timeline li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: baseline;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.timeline li:hover {
  transform: translateX(6px);
  border-color: rgba(251, 191, 36, 0.38);
  background: linear-gradient(90deg, #fff, var(--cream-2));
  box-shadow: 0 14px 38px rgba(10, 28, 18, 0.1);
}

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

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

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

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

details:hover,
details[open] {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.42);
  box-shadow: 0 14px 38px rgba(10, 28, 18, 0.1);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

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

.cta-section {
  padding-bottom: 92px;
}

.cta-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 26px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.cta-card-plain {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cta-card-plain p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
}

.cta-card h2 {
  color: var(--cream);
}

.cta-card p:not(.eyebrow) {
  color: rgba(253, 251, 247, 0.78);
}

.cta-card img {
  border-radius: var(--radius);
}

.friend-links {
  margin-top: 12px;
  padding: 74px 16px 82px;
  background:
    radial-gradient(circle at 50% 0%, rgba(252, 165, 165, 0.16), transparent 42%),
    var(--ink);
  border-top: 1px solid rgba(253, 251, 247, 0.12);
}

.friend-links-inner {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.friend-links h2 {
  margin: 0 0 24px;
  color: var(--cream);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
}

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

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid rgba(253, 251, 247, 0.58);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  font-weight: 800;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus {
  transform: translateY(-3px);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 18px 46px rgba(251, 191, 36, 0.2);
}

.site-footer {
  background: var(--ink);
  color: rgba(253, 251, 247, 0.78);
  padding: 34px max(16px, calc((100% - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer div {
  max-width: 760px;
}

.site-footer strong,
.site-footer a {
  color: var(--cream);
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border: 1px solid rgba(253, 251, 247, 0.12);
    border-radius: var(--radius);
    padding: 10px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px !important;
  }

  .hero {
    min-height: 680px;
  }

  .hero-bg {
    top: 70px;
    transform: none;
  }

  .hero-brief {
    right: 16px;
    bottom: 38px;
    width: min(440px, calc(100% - 32px));
    min-height: 0;
  }

  .hero-content {
    padding-bottom: 270px;
  }

  .quick-info,
  .content-grid,
  .source-grid,
  .feature-list,
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-info article:nth-child(2) {
    border-right: 0;
  }

  .quick-info article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .media-text,
  .guide-layout,
  .merged-panel,
  .compact-panel,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .compact-list,
  .gallery-static {
    grid-template-columns: 1fr;
  }

  .merged-panel img {
    min-height: 220px;
    height: auto;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    display: block;
    padding: 112px 0 34px;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    padding: 0;
  }

  .hero-bg {
    top: 70px;
    transform: none;
    opacity: 0.72;
  }

  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-subtitle {
    max-width: 100%;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-brief {
    position: relative;
    z-index: 3;
    right: auto;
    bottom: auto;
    width: min(100% - 32px, 440px);
    margin: 22px auto 0;
    padding: 18px;
    min-height: 0;
  }

  .hero-brief h2 {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .hero-brief ul {
    gap: 9px;
  }

  .hero-brief li {
    padding-top: 9px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 54px;
    padding: 10px 12px;
    font-size: 15px;
    white-space: nowrap;
  }

  .eyebrow {
    font-size: 12px;
  }

  .quick-info,
  .content-grid,
  .source-grid,
  .feature-list,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .quick-info article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-info article:last-child {
    border-bottom: 0;
  }

  .section,
  .gallery-section,
  .compact-section,
  .cta-section {
    padding-top: 68px;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

  .gallery-track {
  }

  .gallery-item img {
    height: 240px;
  }

  .site-footer {
    display: block;
  }
}
