:root {
  --bg: #211A24;
  --bg-wood: #251C18;
  --paper: #F7F4EB;
  --paper-deep: #E8DDC5;
  --ink: #3A352A;
  --muted: #6E6252;
  --red: #9A1F27;
  --gold: #C9A054;
  --green: #3F5F50;
  --blue: #30495C;
  --line: rgba(201, 160, 84, 0.32);
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.32);
  --shadow-hover: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(201, 160, 84, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
}

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

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

.primary-nav a,
.toc-band a,
.button,
.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.primary-nav a[class*="icon-"]::before,
.toc-band a[class*="icon-"]::before,
.button[class*="icon-"]::before,
.site-footer a[class*="icon-"]::before {
  content: "";
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  background: currentColor;
  mask: var(--icon-url) center / contain no-repeat;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
}

.icon-overview {
  --icon-url: 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 5h18'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M3 19h18'/%3E%3Cpath d='M7 5v14'/%3E%3C/svg%3E");
}

.icon-content {
  --icon-url: 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");
}

.icon-guide {
  --icon-url: 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 2v4'/%3E%3Cpath d='M12 18v4'/%3E%3Cpath d='m4.93 4.93 2.83 2.83'/%3E%3Cpath d='m16.24 16.24 2.83 2.83'/%3E%3Cpath d='M2 12h4'/%3E%3Cpath d='M18 12h4'/%3E%3Cpath d='m4.93 19.07 2.83-2.83'/%3E%3Cpath d='m16.24 7.76 2.83-2.83'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.icon-features {
  --icon-url: 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 3 2.3 4.66 5.14.75-3.72 3.63.88 5.12L12 14.74l-4.6 2.42.88-5.12-3.72-3.63 5.14-.75L12 3z'/%3E%3C/svg%3E");
}

.icon-updates {
  --icon-url: 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='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E");
}

.icon-faq {
  --icon-url: 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-.5 1-1.5 1.5-2.2 2-.6.4-.7.8-.7 2'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.icon-routes {
  --icon-url: 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='6' cy='6' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3Cpath d='M8 6h4a4 4 0 0 1 0 8H8'/%3E%3Cpath d='M16 18h-4a4 4 0 0 1 0-8h4'/%3E%3C/svg%3E");
}

.icon-external {
  --icon-url: 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='M7 7h10v10'/%3E%3C/svg%3E");
}

.icon-up {
  --icon-url: 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='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

p {
  margin: 0 0 1rem;
}

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

h1 {
  max-width: 880px;
  color: #fff8e7;
  font-size: clamp(2rem, 5.4vw, 4.25rem);
  font-weight: 800;
  text-shadow: 0 2px 0 var(--red), 0 10px 30px rgba(154, 31, 39, 0.42);
}

h2 {
  color: var(--red);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 800;
}

h3 {
  color: var(--ink);
  font-size: 1.16rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: #1d1718;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(201, 160, 84, 0.22);
  background: rgba(33, 26, 36, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #fff8e7;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 160, 84, 0.55);
  border-radius: 50%;
  object-fit: cover;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.brand:hover img,
.brand:focus-visible img {
  border-color: rgba(201, 160, 84, 0.95);
  box-shadow: 0 0 0 4px rgba(201, 160, 84, 0.14);
  transform: scale(1.04);
}

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

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #efe4cf;
  font-size: 0.94rem;
}

.primary-nav a {
  padding: 0.56rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  border-color: rgba(201, 160, 84, 0.86);
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(201, 160, 84, 0.2);
  outline: none;
}

.primary-nav .nav-cta {
  margin-left: 6px;
  border-color: rgba(154, 31, 39, 0.72);
  background: var(--red);
  color: #fff8e7;
  font-weight: 800;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible,
.primary-nav .nav-cta.is-active {
  border-color: rgba(201, 160, 84, 0.92);
  background: var(--red);
  color: #fff8e7;
}

.menu-toggle {
  display: none;
  padding: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 160, 84, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff8e7;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 160, 84, 0.25);
  background: var(--bg-wood);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 26, 36, 0.96) 0%, rgba(33, 26, 36, 0.78) 48%, rgba(37, 28, 24, 0.48) 100%),
    linear-gradient(0deg, rgba(33, 26, 36, 0.92) 0%, rgba(33, 26, 36, 0.12) 54%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 0 54px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 1.1rem;
  color: #efe4cf;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.14rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.button.primary {
  background: var(--red);
  color: #fff8e7;
  box-shadow: 0 14px 30px rgba(154, 31, 39, 0.3);
}

.button.secondary {
  border-color: rgba(201, 160, 84, 0.56);
  background: rgba(247, 244, 235, 0.08);
  color: #fff8e7;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(201, 160, 84, 0.42);
  outline-offset: 3px;
}

.button.primary:hover,
.button.primary:focus-visible {
  border-color: rgba(201, 160, 84, 0.86);
  box-shadow: 0 18px 38px rgba(154, 31, 39, 0.34), 0 0 0 1px rgba(201, 160, 84, 0.16);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(201, 160, 84, 0.86);
  background: rgba(201, 160, 84, 0.12);
  color: var(--gold);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 840px;
  margin: 0;
  border: 1px solid rgba(201, 160, 84, 0.28);
  background: rgba(33, 26, 36, 0.72);
}

.hero-facts div {
  padding: 1rem;
  border-right: 1px solid rgba(201, 160, 84, 0.22);
}

.hero-facts div:last-child {
  border-right: 0;
}

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

.hero-facts dd {
  margin: 0.22rem 0 0;
  color: #fff8e7;
}

.toc-band {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 12px max(16px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(201, 160, 84, 0.24);
  background: rgba(37, 28, 24, 0.96);
  scrollbar-width: thin;
}

.toc-band a {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(201, 160, 84, 0.28);
  border-radius: 999px;
  color: #efe4cf;
  font-size: 0.92rem;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}

.toc-band a:hover,
.toc-band a:focus-visible {
  border-color: rgba(201, 160, 84, 0.82);
  background: rgba(201, 160, 84, 0.1);
  color: var(--gold);
  outline: none;
  transform: translateY(-1px);
}

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

.parchment {
  width: 100%;
  margin: 0;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: var(--paper);
  color: var(--ink);
}

.dark-section {
  color: #efe4cf;
}

.dark-section h2 {
  color: var(--gold);
}

.dark-section h3 {
  color: #fff8e7;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 32px;
}

.section-heading p:not(.section-kicker) {
  color: rgba(239, 228, 207, 0.86);
}

.paper-heading p:not(.section-kicker),
.parchment .section-copy p {
  color: var(--muted);
}

.intro-grid,
.media-row,
.comparison {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 6vw, 68px);
}

.media-row {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
}

.section-copy {
  min-width: 0;
}

.section-copy h2,
.section-heading h2 {
  margin: 0.25rem 0 1rem;
}

.feature-image,
.guide-image,
.image-strip figure {
  margin: 0;
}

.feature-image {
  overflow: hidden;
  border: 1px solid rgba(58, 53, 42, 0.16);
  border-radius: var(--radius);
  background: #ded2b8;
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.42s var(--ease), filter 0.42s var(--ease);
}

.feature-image:hover,
.guide-image:hover,
.image-strip figure:hover {
  border-color: rgba(201, 160, 84, 0.48);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.feature-image:hover img,
.guide-image:hover img,
.image-strip figure:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

figcaption {
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.system-card {
  min-height: 276px;
  padding: 22px;
  border: 1px solid rgba(201, 160, 84, 0.26);
  border-radius: var(--radius);
  background: rgba(247, 244, 235, 0.07);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(201, 160, 84, 0.58);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.system-card:hover,
.guide-list article:hover,
.timeline li:hover {
  border-color: rgba(201, 160, 84, 0.58);
  background: rgba(247, 244, 235, 0.1);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.system-card:hover .card-icon {
  border-color: rgba(201, 160, 84, 0.92);
  background: rgba(201, 160, 84, 0.16);
  color: #fff8e7;
  transform: rotate(-4deg) scale(1.06);
}

.system-card p,
.guide-list p,
.timeline span {
  color: rgba(239, 228, 207, 0.84);
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
}

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

.guide-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.guide-image {
  position: sticky;
  top: 142px;
  overflow: hidden;
  border: 1px solid rgba(201, 160, 84, 0.24);
  border-radius: var(--radius);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.guide-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.42s var(--ease), filter 0.42s var(--ease);
}

.guide-list {
  display: grid;
  gap: 16px;
}

.guide-list article {
  padding: 20px;
  border: 1px solid rgba(201, 160, 84, 0.24);
  border-radius: var(--radius);
  background: rgba(247, 244, 235, 0.07);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

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

.feature-columns > div {
  padding: 20px;
  border-left: 3px solid var(--red);
  background: rgba(37, 28, 24, 0.06);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.feature-columns > div:hover {
  border-left-color: var(--gold);
  background: rgba(201, 160, 84, 0.09);
  box-shadow: 0 12px 30px rgba(37, 28, 24, 0.1);
  transform: translateY(-3px);
}

.feature-columns p {
  color: var(--muted);
}

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

.image-strip figure {
  overflow: hidden;
  border: 1px solid rgba(58, 53, 42, 0.14);
  border-radius: var(--radius);
  background: #eee4ce;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.image-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.42s var(--ease), filter 0.42s var(--ease);
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: update;
}

.timeline li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(201, 160, 84, 0.24);
  border-radius: var(--radius);
  background: rgba(247, 244, 235, 0.07);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

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

.score-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(58, 53, 42, 0.14);
  border-radius: var(--radius);
  background: #efe7d5;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.score-panel:hover {
  border-color: rgba(154, 31, 39, 0.28);
  box-shadow: 0 16px 36px rgba(58, 53, 42, 0.12);
  transform: translateY(-3px);
}

.score-panel div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 12px;
}

.score-panel span {
  color: var(--ink);
  font-weight: 800;
}

meter {
  width: 100%;
  height: 16px;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: #d9cbb0;
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: var(--green);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(58, 53, 42, 0.16);
  border-radius: var(--radius);
  background: #efe7d5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

details:hover,
details[open] {
  border-color: rgba(154, 31, 39, 0.32);
  box-shadow: 0 10px 26px rgba(58, 53, 42, 0.1);
}

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

details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
  gap: 24px;
}

.cta-section h2 {
  color: #fff8e7;
  margin: 0.2rem 0 0.7rem;
}

.cta-section p:last-child {
  max-width: 720px;
  color: rgba(239, 228, 207, 0.84);
}

.friend-links {
  width: 100%;
  padding: 44px max(16px, calc((100vw - 1180px) / 2)) 46px;
  border-top: 1px solid rgba(201, 160, 84, 0.18);
  border-bottom: 1px solid rgba(201, 160, 84, 0.18);
  background:
    linear-gradient(180deg, rgba(37, 28, 24, 0.9), rgba(33, 26, 36, 0.98)),
    var(--bg);
  text-align: center;
}

.friend-links h2 {
  color: #fff8e7;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  text-shadow: 0 2px 0 rgba(154, 31, 39, 0.55), 0 12px 28px rgba(0, 0, 0, 0.3);
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0.58rem 1.05rem;
  border: 1px solid rgba(201, 160, 84, 0.38);
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.08);
  color: #fff8e7;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  border-color: rgba(201, 160, 84, 0.9);
  background: rgba(201, 160, 84, 0.14);
  color: var(--gold);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(201, 160, 84, 0.16);
  outline: none;
  transform: translateY(-2px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  border-top: 1px solid rgba(201, 160, 84, 0.24);
  color: rgba(239, 228, 207, 0.74);
  font-size: 0.92rem;
}

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

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

  .primary-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(201, 160, 84, 0.3);
    border-radius: var(--radius);
    background: rgba(33, 26, 36, 0.98);
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    border-radius: var(--radius);
  }

  .primary-nav .nav-cta {
    margin-left: 0;
  }

  .hero-facts,
  .intro-grid,
  .media-row,
  .comparison,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-image {
    position: static;
  }

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

  .image-strip {
    grid-template-columns: 1fr;
  }
}

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

  .brand span {
    max-width: 17ch;
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
    padding-top: 42px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-facts {
    border: 0;
    background: transparent;
    gap: 10px;
  }

  .hero-facts div {
    border: 1px solid rgba(201, 160, 84, 0.24);
    background: rgba(33, 26, 36, 0.72);
  }

  .system-grid,
  .feature-columns,
  .timeline li,
  .score-panel div {
    grid-template-columns: 1fr;
  }

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

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

  .button {
    width: 100%;
  }

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

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

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