:root {
  --ink: #24150d;
  --ink-soft: #6d5548;
  --paper: #fffaf3;
  --paper-2: #fff1dc;
  --white: #ffffff;
  --orange: #f45b18;
  --orange-dark: #c83d08;
  --gold: #ffc34b;
  --gold-soft: #fff0b8;
  --teal: #0d7c6c;
  --teal-dark: #075d54;
  --blue: #3978d8;
  --line: rgba(69, 40, 24, 0.12);
  --shadow-sm: 0 8px 24px rgba(70, 40, 15, 0.08);
  --shadow: 0 20px 60px rgba(73, 39, 14, 0.14);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

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

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(244, 91, 24, 0.45);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: var(--gold);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid rgba(69, 40, 24, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 11px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(99, 48, 9, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.main-nav a:not(.btn) {
  position: relative;
  padding: 11px 13px;
  color: #60473a;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"]:not(.btn) {
  color: var(--orange-dark);
  background: rgba(244, 91, 24, 0.08);
}

.main-nav .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 10px;
  content: "";
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-open .nav-toggle span {
  opacity: 0;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  gap: 9px;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 9px 24px rgba(223, 67, 8, 0.2);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 12px 30px rgba(195, 57, 6, 0.26);
  transform: translateY(-2px);
}

.btn--small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 14px;
}

.btn--large {
  min-height: 56px;
  padding: 16px 27px;
  border-radius: 16px;
  font-size: 18px;
}

.btn--outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(69, 40, 24, 0.18);
  box-shadow: none;
}

.btn--outline:hover {
  color: var(--orange-dark);
  background: var(--white);
  border-color: rgba(244, 91, 24, 0.35);
}

.btn svg,
.text-link svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.hero-home {
  position: relative;
  display: grid;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
  background: #91d4f7 url("../images/hero-banner.jpg") center/cover no-repeat;
}

.hero-home::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 44, 60, 0.78) 0%, rgba(20, 44, 60, 0.42) 36%, rgba(20, 44, 60, 0.03) 68%),
    linear-gradient(0deg, rgba(8, 33, 49, 0.5) 0%, transparent 44%);
  content: "";
}

.hero-home .container {
  display: flex;
  align-items: flex-end;
  padding-block: 80px 94px;
}

.hero-card {
  width: min(570px, 100%);
  padding: 34px;
  color: var(--white);
  background: rgba(15, 36, 48, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 70px rgba(5, 32, 50, 0.24);
  backdrop-filter: blur(16px);
}

.hero-app {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.hero-app img {
  width: 80px;
  height: 80px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card .eyebrow {
  color: #ffe18d;
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero-card .lead {
  margin: 19px 0 25px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.75;
}

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

.hero-actions .btn--outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn--outline:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 25px 0 0;
  padding: 0;
  gap: 10px 22px;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta li::before {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.fact-strip {
  position: relative;
  z-index: 4;
  margin-top: -38px;
}

.fact-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.fact {
  padding: 23px 27px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact span {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.fact strong {
  font-size: 20px;
  line-height: 1.35;
}

.section {
  padding-block: 92px;
}

.section--tight {
  padding-block: 66px;
}

.section--cream {
  background: var(--paper-2);
}

.section--dark {
  color: var(--white);
  background: var(--ink);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 28px;
}

.section-head__copy {
  max-width: 710px;
}

.section-head h2,
.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-head p:not(.eyebrow) {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.section--dark .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  color: var(--orange-dark);
  font-weight: 850;
}

.text-link:hover {
  color: var(--orange);
}

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

.feature-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.feature-card::after {
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 145px;
  height: 145px;
  background: var(--card-tint, var(--gold-soft));
  border-radius: 50%;
  content: "";
}

.feature-card:nth-child(2) { --card-tint: #d7eee9; }
.feature-card:nth-child(3) { --card-tint: #dbe9ff; }
.feature-card:nth-child(4) { --card-tint: #ffe1d3; }

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 44px;
  place-items: center;
  color: var(--orange-dark);
  background: var(--gold-soft);
  border-radius: 16px;
  font-size: 24px;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-icon { color: var(--teal-dark); background: #d7eee9; }
.feature-card:nth-child(3) .feature-icon { color: #285fae; background: #dbe9ff; }
.feature-card:nth-child(4) .feature-icon { color: #bb4b22; background: #ffe1d3; }

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

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

.mode-card {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 30px;
  overflow: hidden;
  align-content: end;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--radius);
  isolation: isolate;
}

.mode-card:nth-child(2) { background: #315ca8; }
.mode-card:nth-child(3) { background: #cd4a19; }
.mode-card:nth-child(4) { background: #6650a8; }

.mode-card::before {
  position: absolute;
  top: -45px;
  right: -35px;
  z-index: -1;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.09);
  border: 34px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.mode-card__number {
  position: absolute;
  top: 19px;
  right: 27px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 70px;
  font-weight: 950;
  line-height: 1;
}

.mode-card h3 {
  margin: 0 0 8px;
  font-size: 29px;
}

.mode-card p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  padding: 0;
  overflow: hidden;
  background: #ddd;
  border: 0;
  border-radius: 18px;
  cursor: zoom-in;
}

.gallery-item:first-child,
.gallery-item:nth-child(5) {
  grid-column: span 8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 13px;
  color: var(--white);
  background: rgba(29, 19, 13, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  backdrop-filter: blur(10px);
}

.strategy-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.strategy-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.strategy-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.strategy-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 15px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.check-list {
  margin: 28px 0 31px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 15px 0;
  padding-left: 31px;
}

.check-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 48px 52px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
  gap: 30px;
  isolation: isolate;
}

.cta-band::after {
  position: absolute;
  right: 130px;
  bottom: -120px;
  z-index: -1;
  width: 380px;
  height: 380px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.18;
  content: "";
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #287fb5 url("../images/hero-banner.jpg") center 48%/cover no-repeat;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 30, 39, 0.88) 0%, rgba(18, 30, 39, 0.58) 52%, rgba(18, 30, 39, 0.18) 100%), linear-gradient(0deg, rgba(13, 25, 32, 0.55), transparent 65%);
  content: "";
}

.page-hero .container {
  padding-block: 70px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 21px;
  padding: 0;
  gap: 8px;
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  opacity: 0.55;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.page-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(39px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.content-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 54px;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  padding: 21px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.toc ol,
.toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li + li {
  margin-top: 4px;
}

.toc a {
  display: block;
  padding: 7px 9px;
  color: var(--ink-soft);
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.45;
}

.toc a:hover {
  color: var(--orange-dark);
  background: rgba(244, 91, 24, 0.07);
}

.article {
  min-width: 0;
}

.article > section + section {
  margin-top: 65px;
  padding-top: 4px;
}

.article h2 {
  margin: 0 0 22px;
  font-size: clamp(27px, 3.5vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.article h3 {
  margin: 32px 0 10px;
  font-size: 21px;
  line-height: 1.4;
}

.article p {
  margin: 0 0 17px;
  color: #584337;
}

.article ul,
.article ol {
  color: #584337;
}

.article li + li {
  margin-top: 8px;
}

.intro-box {
  margin-bottom: 42px;
  padding: 27px 30px;
  background: var(--paper-2);
  border-left: 4px solid var(--orange);
  border-radius: 0 16px 16px 0;
}

.intro-box p:last-child {
  margin-bottom: 0;
}

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

.info-card,
.guide-card,
.mode-detail {
  padding: 27px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: var(--shadow-sm);
}

.info-card h3,
.guide-card h3,
.mode-detail h3 {
  margin: 0 0 9px;
}

.info-card p:last-child,
.guide-card p:last-child,
.mode-detail p:last-child {
  margin-bottom: 0;
}

.info-card__value {
  display: block;
  margin-bottom: 5px;
  color: var(--orange-dark);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
}

.mode-detail {
  position: relative;
  padding-top: 71px;
  overflow: hidden;
}

.mode-detail__tag {
  position: absolute;
  top: 22px;
  left: 27px;
  padding: 5px 11px;
  color: var(--teal-dark);
  background: #dff2ed;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 900;
}

.mode-detail:nth-child(2n) .mode-detail__tag {
  color: #a13d12;
  background: #ffe6d9;
}

.article-image {
  margin: 30px 0;
  overflow: hidden;
  background: #ddd;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-image figcaption {
  padding: 12px 17px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--paper-2);
  font-size: 14px;
  white-space: nowrap;
}

td {
  color: #584337;
  font-size: 15px;
}

tr:last-child td {
  border-bottom: 0;
}

.rule-rank {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 26px 0;
  gap: 9px;
}

.rank-pill {
  display: grid;
  min-width: 45px;
  height: 45px;
  padding: 0 9px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(60, 30, 10, 0.06);
  font-weight: 900;
}

.rank-arrow {
  color: #a08878;
  font-weight: 900;
}

.tip-box {
  margin: 24px 0;
  padding: 22px 24px;
  background: #e5f3ef;
  border: 1px solid #bfdfd7;
  border-radius: 15px;
}

.tip-box strong {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-dark);
}

.tip-box p:last-child {
  margin-bottom: 0;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  min-height: 64px;
  padding: 5px 0 25px 78px;
  counter-increment: steps;
}

.step-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  border-radius: 17px;
  content: counter(steps, decimal-leading-zero);
  font-size: 17px;
  font-weight: 900;
}

.step-list h3 {
  margin: 0 0 5px;
}

.step-list p {
  margin-bottom: 0;
}

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  gap: 24px;
}

.download-panel img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
}

.download-panel h2,
.download-panel h3 {
  margin: 0 0 6px;
}

.download-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.package-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 15px;
  gap: 15px;
  background: var(--paper-2);
  border-radius: 12px;
}

.package-row code {
  overflow: hidden;
  color: #704123;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid rgba(13, 124, 108, 0.2);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 35px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 7px;
  bottom: 8px;
  left: 10px;
  width: 2px;
  background: #e2c9b5;
  content: "";
}

.timeline-item {
  position: relative;
  padding: 0 0 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  position: absolute;
  top: 7px;
  left: -33px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border: 4px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--orange);
  content: "";
}

.timeline-item time {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.timeline-item h2 {
  margin: 4px 0 16px;
}

.timeline-card {
  padding: 24px 27px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.timeline-card h3:first-child {
  margin-top: 0;
}

.timeline-card ul {
  margin-bottom: 0;
}

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

.faq-list details {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 5px 18px rgba(70, 40, 15, 0.05);
}

.faq-list summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 21px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--orange-dark);
  background: var(--paper-2);
  border-radius: 50%;
  content: "+";
  font-size: 21px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 22px 21px;
}

.faq-answer p,
.faq-answer ul {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.faq-answer p + p,
.faq-answer ul + p {
  margin-top: 10px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.related-card {
  display: block;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  border-color: rgba(244, 91, 24, 0.3);
  transform: translateY(-3px);
}

.related-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.related-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 19px;
}

.related-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #1c110b;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding-block: 58px 44px;
  gap: 48px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  max-width: 320px;
  margin: 17px 0 0;
  font-size: 14px;
}

.footer-col strong {
  display: block;
  margin-bottom: 13px;
  color: var(--white);
  font-size: 14px;
}

.footer-col a {
  display: block;
  width: fit-content;
  padding: 3px 0;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 18px 26px;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  padding: 68px 24px 28px;
  place-items: center;
  background: rgba(18, 12, 8, 0.92);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  display: grid;
  opacity: 1;
}

.lightbox__figure {
  width: min(1120px, 100%);
  margin: 0;
}

.lightbox__figure img {
  width: 100%;
  max-height: calc(100vh - 150px);
  margin-inline: auto;
  object-fit: contain;
  border-radius: 15px;
}

.lightbox__figure figcaption {
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 25px;
  cursor: pointer;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  width: 45px;
  height: 45px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-download {
  display: none;
}

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

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1080px) {
  .main-nav a:not(.btn) {
    padding-inline: 9px;
    font-size: 14px;
  }

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

  .feature-card {
    min-height: 280px;
  }

  .footer-main {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-brand {
    grid-row: span 2;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - var(--header-h));
    padding: 14px 15px 22px;
    overflow-y: auto;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(60, 30, 10, 0.13);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

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

  .main-nav a:not(.btn) {
    padding: 12px 14px;
    font-size: 16px;
  }

  .main-nav .btn {
    margin: 8px 0 0;
  }

  .hero-home {
    min-height: 640px;
    background-position: 58% center;
  }

  .hero-home::before {
    background: linear-gradient(0deg, rgba(11, 34, 47, 0.86) 0%, rgba(11, 34, 47, 0.5) 57%, rgba(11, 34, 47, 0.1) 100%);
  }

  .hero-home .container {
    padding-block: 165px 66px;
  }

  .hero-card {
    padding: 25px;
    border-radius: 26px;
  }

  .fact-strip {
    margin-top: 0;
  }

  .fact-strip .container {
    width: 100%;
  }

  .fact-strip__inner {
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }

  .fact {
    padding: 21px 17px;
  }

  .section {
    padding-block: 72px;
  }

  .strategy-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .toc {
    position: static;
  }

  .toc ul,
  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .toc li + li {
    margin-top: 0;
  }

  .download-panel {
    grid-template-columns: auto 1fr;
  }

  .download-panel > .btn {
    grid-column: 1 / -1;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 73px;
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .hero-home {
    min-height: 620px;
    background-position: 60% center;
  }

  .hero-home .container {
    padding-block: 150px 34px;
  }

  .hero-card {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-app {
    margin-bottom: 17px;
    gap: 14px;
  }

  .hero-app img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .hero-card h1 {
    font-size: 35px;
  }

  .hero-card .lead {
    margin-block: 15px 20px;
    font-size: 15px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-meta {
    gap: 7px 15px;
    font-size: 12px;
  }

  .fact-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact {
    border-bottom: 1px solid var(--line);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(3),
  .fact:nth-child(4) {
    border-bottom: 0;
  }

  .fact strong {
    font-size: 17px;
  }

  .section,
  .section--tight {
    padding-block: 58px;
  }

  .section-head {
    display: block;
    margin-bottom: 28px;
  }

  .section-head .text-link {
    margin-top: 17px;
  }

  .feature-grid,
  .mode-grid,
  .info-grid,
  .guide-grid,
  .mode-detail-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-icon {
    margin-bottom: 34px;
  }

  .mode-card {
    min-height: 210px;
  }

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

  .gallery-item,
  .gallery-item:first-child,
  .gallery-item:nth-child(5) {
    grid-column: auto;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 34px 25px;
    border-radius: 24px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .page-hero {
    min-height: 360px;
    background-position: 61% center;
  }

  .page-hero .container {
    padding-block: 54px;
  }

  .page-hero h1 {
    font-size: 39px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .article > section + section {
    margin-top: 50px;
  }

  .intro-box {
    padding: 22px;
  }

  .download-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-panel img {
    margin-inline: auto;
  }

  .package-row {
    text-align: left;
  }

  .step-list li {
    padding-left: 68px;
  }

  .step-list li::before {
    width: 48px;
    height: 48px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding-block: 44px 34px;
    gap: 33px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
    padding-bottom: 24px;
  }

  .mobile-download {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 73px;
    padding: 10px 13px;
    gap: 12px;
    background: rgba(255, 250, 243, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(55, 28, 11, 0.11);
    backdrop-filter: blur(16px);
  }

  .mobile-download__app {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
  }

  .mobile-download__app img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .mobile-download__app strong,
  .mobile-download__app span {
    display: block;
    overflow: hidden;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-download__app strong {
    font-size: 14px;
  }

  .mobile-download__app span {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: 11px;
  }

  .mobile-download .btn {
    min-height: 44px;
    padding-inline: 17px;
    border-radius: 12px;
    font-size: 14px;
  }

  .back-top {
    right: 13px;
    bottom: 86px;
  }
}

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

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

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