:root {
  --bg: #262230;
  --bg-deep: #1b1824;
  --panel: #2f2a3b;
  --line: #453f55;
  --fg: #f3effa;
  --dim: #bdb4cd;
  --rose: #f06a8e;
  --mint: #8fcbb4;
  --mustard: #f2c75c;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
}

h1, h2, h3, p, figure, figcaption, ul, ol, li, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--rose); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.top { position: relative; background: #211d2a; border-bottom: 1px solid var(--line); }
.top::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--rose) 0 34%, var(--mustard) 34% 62%, var(--mint) 62% 100%);
}

.top__in { display: flex; align-items: center; gap: 26px; padding: 12px 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); flex: none; }
.brand img { width: 40px; height: 40px; }
.brand__name { font-size: 18.5px; font-weight: 700; letter-spacing: .14em; }

.nav { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--dim); padding: 3px 0; }
.nav a[aria-current="page"] { color: var(--mustard); box-shadow: 0 2px 0 var(--mustard); }

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: none;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--rose);
  color: #2b101a;
  font-size: 14.6px;
  font-weight: 700;
  white-space: nowrap;
}

.btn.btn-primary:hover { background: #ff85a5; color: #2b101a; }

.hero { padding: 60px 0 64px; background: linear-gradient(160deg, #322c40, #262230 62%); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 46px; align-items: center; }
.hero__grid > * { min-width: 0; }

.kicker { font-size: 12.4px; letter-spacing: .2em; color: var(--mint); margin-bottom: 14px; }

h1 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.2; font-weight: 700; }

.lead { margin-top: 18px; max-width: 33em; font-size: 15.8px; line-height: 1.96; color: var(--dim); }

.hero__act { margin-top: 26px; }
.hero__tip { margin-top: 10px; font-size: 13px; color: #9a92ab; }
.hero__shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__shot img { width: auto; max-width: 284px; height: auto; border-radius: 20px; box-shadow: 0 24px 54px rgba(0, 0, 0, .45); }
.hero__shot figcaption { max-width: 284px; font-size: 12.6px; color: #9a92ab; line-height: 1.7; text-align: center; }

.sec { padding: 54px 0; }
.sec--flat { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec__head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; margin-bottom: 28px; }
h2 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.36; font-weight: 700; }
.sub { color: var(--dim); font-size: 15.2px; line-height: 1.9; max-width: 44em; }

.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row__n { font-size: 15px; font-weight: 700; color: var(--rose); letter-spacing: .06em; padding-top: 2px; }
.row h3 { font-size: 16.6px; margin-bottom: 5px; }
.row p { font-size: 14.6px; color: var(--dim); line-height: 1.86; }

.prose { max-width: 800px; }
.prose p { margin-bottom: 15px; font-size: 15.4px; line-height: 1.96; color: #e2dcf0; }
.prose b { color: var(--mustard); font-weight: 600; }
.prose h2 { margin-bottom: 14px; }

.tbl-scroll { overflow-x: auto; }
.grid { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 14.4px; }
.grid th, .grid td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: #e2dcf0; }
.grid th { color: var(--mint); font-weight: 600; }
.grid tbody tr:hover td { background: rgba(240, 106, 142, .06); }

.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.figs figure { background: var(--panel); border-radius: 16px; padding: 10px 10px 4px; }
.figs img { width: 100%; height: auto; border-radius: 10px; }
.figs figcaption { padding: 9px 3px 8px; font-size: 13px; color: var(--dim); line-height: 1.72; }

.steps { counter-reset: q; max-width: 820px; }
.steps li { counter-increment: q; position: relative; padding: 0 0 18px 54px; font-size: 15px; color: #e2dcf0; line-height: 1.9; }
.steps li::before {
  content: counter(q, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 13.4px;
  font-weight: 700;
  color: var(--mustard);
  border-bottom: 2px solid var(--mustard);
  padding-bottom: 2px;
}
.steps li b { display: block; color: var(--fg); font-size: 15.8px; }

.faq { max-width: 860px; }
.faq details { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 15.4px; font-weight: 600; color: var(--fg); list-style: none; padding-left: 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq summary::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.faq details[open] summary::before { background: var(--mustard); }
.faq details p { margin-top: 8px; padding-left: 20px; font-size: 14.3px; color: var(--dim); line-height: 1.88; }

.band { padding: 46px 0; background: linear-gradient(100deg, #35243a, #262230 70%); border-top: 1px solid var(--line); }
.band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { font-size: clamp(20px, 2.3vw, 26px); }
.band p { margin-top: 8px; font-size: 14.4px; color: var(--dim); }

.foot { background: var(--bg-deep); padding: 44px 0 26px; }
.foot__main { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot__brand { display: flex; align-items: flex-start; gap: 12px; }
.foot__brand img { width: 40px; height: 40px; }
.foot__name { font-size: 16.8px; font-weight: 700; letter-spacing: .12em; }
.foot__desc { margin-top: 6px; max-width: 34em; font-size: 13.2px; color: #968daa; line-height: 1.8; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.foot__h { font-size: 13.2px; letter-spacing: .1em; color: var(--mint); margin-bottom: 8px; }
.foot__cols a { display: block; padding: 4px 0; font-size: 14px; color: #a79ebc; }
.foot__end { padding-top: 18px; }
.foot__disc { font-size: 12.6px; color: #8a819e; line-height: 1.8; }
.foot__copy { margin-top: 6px; font-size: 12.6px; color: #8a819e; }

.page-hero { padding: 42px 0 36px; background: #2c2739; border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: #9a92ab; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(26px, 3.3vw, 36px); }
.page-hero .lead { margin-top: 14px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__shot { order: 2; }
  .sec__head { grid-template-columns: 1fr; gap: 12px; }
  .figs { grid-template-columns: 1fr 1fr; }
  .foot__main { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .top__in { flex-wrap: wrap; gap: 10px; padding: 10px 16px 8px; }
  .brand { order: 1; }
  .btn.btn-primary { order: 2; margin-left: auto; padding: 10px 18px; font-size: 14px; }
  .nav { order: 3; flex: 1 0 100%; margin-left: 0; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav a { font-size: 14.2px; }
  .hero { padding: 38px 0 44px; }
  .hero__shot img { max-width: min(284px, 76vw); }
  .sec { padding: 40px 0; }
  .row { grid-template-columns: 44px 1fr; gap: 12px; }
  .figs { grid-template-columns: 1fr; }
  .steps li { padding-left: 44px; }
  .faq details p { padding-left: 0; }
  .band__row { flex-direction: column; align-items: flex-start; }
}
