:root {
  --ink: #17111e;
  --ink-soft: #261833;
  --violet: #311042;
  --violet-bright: #7c3aed;
  --rose: #f43f5e;
  --blush: #ffb7c5;
  --paper: #fff7fb;
  --paper-2: #f9eef6;
  --gold: #fbbf24;
  --cyan: #38bdf8;
  --mint: #34d399;
  --white: #ffffff;
  --muted: #6f6279;
  --line: rgba(49, 16, 66, 0.15);
  --shadow: 0 18px 48px rgba(23, 17, 30, 0.18);
  --radius: 8px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--violet);
  border-radius: var(--radius);
  transition: top 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.08em;
  height: 1.08em;
  background: currentColor;
  vertical-align: -0.16em;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-info {
  --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='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}

.icon-list {
  --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='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
}

.icon-map {
  --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='M9 18l-6 3V6l6-3 6 3 6-3v15l-6 3-6-3z'/%3E%3Cpath d='M9 3v15'/%3E%3Cpath d='M15 6v15'/%3E%3C/svg%3E");
}

.icon-star {
  --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 2l3.09 6.26 6.91 1-5 4.87L18.18 21 12 17.77 5.82 21 7 14.13l-5-4.87 6.91-1L12 2z'/%3E%3C/svg%3E");
}

.icon-clock {
  --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='M12 6v6l4 2'/%3E%3C/svg%3E");
}

.icon-help {
  --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.09 9a3 3 0 1 1 5.82 1c0 2-3 2-3 4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.icon-external {
  --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='M15 3h6v6'/%3E%3Cpath d='M10 14L21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}

.icon-book {
  --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.5v-15z'/%3E%3C/svg%3E");
}

.icon-chevron-left {
  --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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.icon-chevron-right {
  --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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

.icon-expand {
  --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='M15 3h6v6'/%3E%3Cpath d='M9 21H3v-6'/%3E%3Cpath d='M21 3l-7 7'/%3E%3Cpath d='M3 21l7-7'/%3E%3C/svg%3E");
}

.icon-collapse {
  --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='M9 3H3v6'/%3E%3Cpath d='M15 21h6v-6'/%3E%3Cpath d='M3 3l7 7'/%3E%3Cpath d='M21 21l-7-7'/%3E%3C/svg%3E");
}

.icon-link {
  --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='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.08-7.08l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.08 7.08l1.71-1.71'/%3E%3C/svg%3E");
}

.icon-zoom {
  --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='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3Cpath d='M11 8v6'/%3E%3Cpath d='M8 11h6'/%3E%3C/svg%3E");
}

.icon-close {
  --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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6L6 18'/%3E%3Cpath d='M6 6l12 12'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--white);
  background: rgba(23, 17, 30, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(23, 17, 30, 0.26);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 136px;
  font-weight: 800;
  line-height: 1.1;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 183, 197, 0.55);
  border-radius: 50%;
  object-fit: cover;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--gold);
  background: transparent;
  border-color: rgba(251, 191, 36, 0.66);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1), 0 0 18px rgba(251, 191, 36, 0.16);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--ink);
  background: var(--gold);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(251, 191, 36, 0.24);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--ink);
  background: #ffd76a;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(251, 191, 36, 0.34);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: center;
}

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

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

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

.hero {
  position: relative;
  min-height: 76vh;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(23, 17, 30, 0.88) 0%, rgba(49, 16, 66, 0.64) 45%, rgba(244, 63, 94, 0.18) 100%),
    linear-gradient(0deg, rgba(23, 17, 30, 0.82) 0%, rgba(23, 17, 30, 0.08) 42%, rgba(23, 17, 30, 0.26) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 76vh;
  margin: 0 auto;
  padding: 92px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead {
  max-width: 740px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.78;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  min-width: 132px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(251, 191, 36, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd76a;
  box-shadow: 0 18px 38px rgba(251, 191, 36, 0.38);
  transform: translateY(-2px);
  outline: 3px solid rgba(251, 191, 36, 0.28);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 183, 197, 0.66);
  box-shadow: 0 14px 30px rgba(255, 183, 197, 0.16);
  transform: translateY(-2px);
  outline: 3px solid rgba(255, 183, 197, 0.24);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(760px, 100%);
  margin: 34px 0 0;
}

.hero-facts div {
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.hero-facts div:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.52);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 34px rgba(23, 17, 30, 0.24);
}

.hero-facts dt {
  margin: 0 0 4px;
  color: var(--blush);
  font-size: 13px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.section {
  padding: 78px 0;
  scroll-margin-top: 88px;
}

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

.intro-section,
.phone-section,
.gallery-section {
  background: var(--paper);
}

.content-section,
.features-section,
.faq-section {
  background: var(--paper-2);
}

.route-section,
.updates-section,
.final-cta {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--violet) 58%, #4d183f 100%);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 42px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1fr);
}

.copy-block h2,
.section-heading h2,
.cta-inner h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.24;
  font-weight: 900;
}

.copy-block > .section-kicker,
.copy-block > h2,
.section-heading > .section-kicker,
.section-heading > h2,
.cta-inner .section-kicker,
.cta-inner h2 {
  text-align: center;
}

.section-heading {
  text-align: center;
}

.copy-block > .section-kicker,
.section-heading > .section-kicker,
.cta-inner .section-kicker {
  display: block;
}

.copy-block p,
.section-heading p,
.cta-inner p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.route-section .copy-block p,
.updates-section .section-heading p,
.final-cta .cta-inner p,
.features-section .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.copy-block > .section-kicker,
.section-heading > .section-kicker,
.cta-inner .section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
}

.features-section {
  color: var(--white);
  background:
    linear-gradient(135deg, #21122c 0%, #311042 48%, #5a174a 100%);
}

.media-panel,
.wide-media,
.gallery-track figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.route-section .media-panel,
.features-section .wide-media,
.gallery-track figure {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.media-panel img,
.wide-media img,
.gallery-track img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.media-panel:hover,
.wide-media:hover,
.gallery-track figure:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.42);
  box-shadow: 0 22px 56px rgba(23, 17, 30, 0.24);
}

.media-panel:hover img,
.wide-media:hover img,
.gallery-track figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.media-panel figcaption,
.wide-media figcaption,
.gallery-track figcaption {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.86);
}

.route-section .media-panel figcaption,
.features-section .wide-media figcaption,
.gallery-track figcaption {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(23, 17, 30, 0.78);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 32px;
}

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

.system-card,
.feature-strip article,
.timeline article,
.faq-list details {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(23, 17, 30, 0.08);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.system-card {
  min-height: 220px;
  padding: 22px;
}

.system-card:hover,
.guide-steps li:hover,
.feature-strip article:hover,
.timeline article:hover,
.faq-list details:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 63, 94, 0.36);
  box-shadow: 0 18px 42px rgba(23, 17, 30, 0.16);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: var(--violet);
  background: linear-gradient(135deg, var(--blush), #ffe3ea);
  font-weight: 900;
  line-height: 1;
}

.system-card h3,
.feature-strip h3,
.guide-steps h3,
.timeline h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.system-card p,
.feature-strip p,
.guide-steps p,
.timeline p,
.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.16);
}

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

.guide-media {
  position: sticky;
  top: 96px;
}

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

.guide-steps li {
  position: relative;
  min-height: 126px;
  padding: 22px 22px 22px 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.guide-steps li::before {
  counter-increment: guide;
  content: counter(guide);
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
  line-height: 1;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.feature-strip article {
  min-height: 178px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.feature-strip article:hover,
.timeline article:hover {
  border-color: rgba(251, 191, 36, 0.46);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.feature-strip p {
  color: rgba(255, 255, 255, 0.76);
}

.wide-media {
  margin-top: 8px;
}

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

.timeline article {
  min-height: 190px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.timeline time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-wrap {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  padding: 4px 0 0;
}

.gallery-track figure {
  position: relative;
  box-shadow: 0 12px 30px rgba(23, 17, 30, 0.12);
}

.gallery-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: zoom-in;
}

.gallery-image-button .icon-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  padding: 10px;
  border-radius: 50%;
  background: currentColor;
  color: var(--white);
  filter: drop-shadow(0 8px 18px rgba(23, 17, 30, 0.32));
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-image-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0) 48%, rgba(251, 191, 36, 0.24) 100%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-image-button:hover .icon-zoom,
.gallery-image-button:focus-visible .icon-zoom,
.gallery-image-button:hover::after,
.gallery-image-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-image-button:focus-visible {
  outline: 3px solid rgba(251, 191, 36, 0.44);
  outline-offset: -3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 22px 28px;
  background: rgba(12, 7, 18, 0.86);
  backdrop-filter: blur(14px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: min(1120px, 100%);
  max-height: calc(100vh - 112px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: fixed;
  right: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(49, 16, 66, 0.88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--rose);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-2px);
  outline: 3px solid rgba(244, 63, 94, 0.24);
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(49, 16, 66, 0.78);
  box-shadow: 0 12px 28px rgba(23, 17, 30, 0.18);
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: var(--rose);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 36px rgba(244, 63, 94, 0.28);
  transform: translateY(-50%) scale(1.06);
  outline: 3px solid rgba(244, 63, 94, 0.22);
}

.gallery-control.prev {
  left: -12px;
}

.gallery-control.next {
  right: -12px;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.plain-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--violet);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.plain-button:hover,
.plain-button:focus-visible {
  color: var(--ink);
  border-color: rgba(244, 63, 94, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.14);
  transform: translateY(-2px);
  outline: 3px solid rgba(244, 63, 94, 0.14);
}

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

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 16px 18px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--rose);
  border-radius: var(--radius);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
  background: var(--violet-bright);
}

.faq-list details[open] {
  border-color: rgba(124, 58, 237, 0.34);
  box-shadow: 0 16px 38px rgba(124, 58, 237, 0.14);
}

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

.final-cta {
  padding: 58px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.friend-links {
  padding: 34px 0 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(49, 16, 66, 0.98) 0%, rgba(124, 58, 237, 0.72) 52%, rgba(244, 63, 94, 0.66) 100%),
    var(--violet);
}

.friend-links-inner {
  text-align: center;
}

.friend-links .section-kicker {
  margin-bottom: 8px;
  color: var(--gold);
}

.friend-links h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
}

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

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  color: var(--ink);
  background: var(--gold);
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 14px 30px rgba(251, 191, 36, 0.28);
  transform: translateY(-2px);
  outline: 3px solid rgba(251, 191, 36, 0.22);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--gold);
  outline: none;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(23, 17, 30, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 10px 12px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .two-column,
  .two-column.reverse,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-media {
    position: static;
  }

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

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

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

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
  }

  .nav-shell,
  .section-inner,
  .hero-content {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 116px;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-content {
    min-height: 74vh;
    padding: 58px 0 42px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions,
  .faq-actions {
    width: 100%;
  }

  .button,
  .plain-button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    min-height: 72px;
  }

  .section {
    padding: 54px 0;
  }

  .copy-block h2,
  .section-heading h2,
  .cta-inner h2 {
    font-size: 27px;
    line-height: 1.28;
  }

  .copy-block p,
  .section-heading p,
  .cta-inner p {
    font-size: 16px;
  }

  .system-grid,
  .timeline,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .system-card,
  .feature-strip article,
  .timeline article {
    min-height: auto;
  }

  .guide-steps li {
    min-height: auto;
    padding: 72px 18px 18px;
  }

  .guide-steps li::before {
    left: 18px;
    top: 18px;
  }

  .gallery-track {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    align-items: flex-start;
    min-height: 58px;
    font-size: 16px;
  }

  .cta-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
