:root {
  --bg: #2c2a1e;
  --bg-deep: #1f1e15;
  --panel: #35321f;
  --line: #4d4a33;
  --fg: #f2eddc;
  --dim: #bdb59a;
  --main: #f2a03d;
  --mint: #a8c6b4;
  --ice: #7fc7d9;
  --on-main: #241a08;
  --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(--ice); text-decoration: none; }
a:hover { color: var(--main); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }

.top { position: sticky; top: 0; z-index: 40; background: rgba(31, 30, 21, .94); border-bottom: 1px solid var(--line); }

.top__in { display: flex; align-items: center; gap: 26px; padding: 12px 22px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--fg); flex: none; }
.brand img { width: 40px; height: 40px; }
.brand__name { font-size: 18px; font-weight: 700; letter-spacing: .12em; }

.nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 26px; }
.nav a { font-size: 15px; color: var(--dim); padding: 3px 0; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { color: var(--main); border-bottom-color: var(--main); }

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: none;
  padding: 11px 22px;
  background: var(--main);
  color: var(--on-main);
  font-weight: 700;
  font-size: 14.6px;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 1px solid #d98a28;
}

.btn.btn-primary:hover { background: #ffb355; color: var(--on-main); }

.hero { position: relative; overflow: hidden; padding: 60px 0 66px; border-top: 1px solid var(--line); background: linear-gradient(200deg, #37331f, #2c2a1e 62%); }
.hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--main); opacity: .55; }
.hero::after {
  content: '';
  position: absolute;
  right: -34px;
  bottom: -26px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(242, 160, 61, .32);
  box-shadow: inset 0 0 0 26px rgba(242, 160, 61, .05), inset 0 0 0 27px rgba(242, 160, 61, .22);
  pointer-events: none;
}

.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero__grid > * { min-width: 0; }

.kicker { font-size: 12.6px; letter-spacing: .28em; color: var(--mint); margin-bottom: 14px; }

h1 { font-size: clamp(30px, 4.3vw, 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: #9a9276; }
.hero__shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__shot img { width: auto; max-width: 286px; height: auto; border: 1px solid var(--line); }
.hero__shot figcaption { max-width: 286px; font-size: 12.6px; color: #9a9276; line-height: 1.7; text-align: center; }

.sec { padding: 56px 0; }
.sec--inset { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.36; font-weight: 700; letter-spacing: .02em; }
h2::after { content: ''; display: block; width: 34px; height: 3px; background: var(--main); margin-top: 12px; }

.sub { margin: 14px 0 28px; max-width: 46em; color: var(--dim); font-size: 15.2px; line-height: 1.9; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  padding: 20px 18px 22px;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(0, 0, 0, .3);
  background: #33301f;
}
.card h3 { font-size: 16.4px; margin-bottom: 7px; padding-left: 14px; position: relative; }
.card h3::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--main); }
.card p { font-size: 14.4px; color: var(--dim); line-height: 1.85; }

.prose { max-width: 800px; }
.prose p { margin-bottom: 15px; font-size: 15.4px; line-height: 1.96; color: #e2dbc7; }
.prose b { color: var(--main); font-weight: 600; }

.tbl-scroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 14.4px; }
.cmp th, .cmp td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); color: #e2dbc7; vertical-align: top; }
.cmp th { color: var(--mint); font-weight: 600; letter-spacing: .04em; }
.cmp tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .02); }

.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.figs figure { margin: 0; border: 1px solid var(--line); padding: 10px; background: #33301f; }
.figs figure:nth-child(2) { margin-top: 30px; }
.figs figure:nth-child(3) { margin-top: 10px; }
.figs img { width: 100%; height: auto; }
.figs figcaption { font-size: 13px; color: var(--dim); line-height: 1.75; padding-top: 9px; }

.steps { max-width: 760px; border-left: 2px solid var(--line); padding-left: 26px; }
.steps li { position: relative; padding-bottom: 20px; font-size: 15px; color: #ded7c2; }
.steps li:last-child { padding-bottom: 0; }
.steps li b { display: block; color: var(--fg); font-size: 15.8px; margin-bottom: 3px; }
.steps li::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 7px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--main);
  background: var(--bg);
  transform: rotate(45deg);
}
.sec--inset .steps li::before { background: var(--panel); }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; max-width: 1060px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0 12px; }
.faq summary { cursor: pointer; font-size: 15.4px; font-weight: 600; color: var(--fg); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq details p { margin-top: 8px; font-size: 14.2px; color: var(--dim); line-height: 1.88; }

.band { background: var(--main); color: #22180a; padding: 46px 0; }
.band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.band h2 { color: #1d1408; font-size: clamp(20px, 2.3vw, 26px); }
.band h2::after { background: #1d1408; }
.band p { margin-top: 8px; font-size: 14.4px; color: #4a3418; }
.band .btn.btn-primary { background: #241a08; color: #f6e9cf; border-color: #241a08; }
.band .btn.btn-primary:hover { background: #3a2a10; color: #fff; border-color: #3a2a10; }

.foot { background: var(--bg-deep); padding-top: 42px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.foot__brand img { width: 38px; height: 38px; }
.foot__name { margin-top: 10px; font-size: 17px; font-weight: 700; letter-spacing: .12em; }
.foot__desc { margin-top: 8px; max-width: 32em; font-size: 13.2px; color: #98907a; line-height: 1.82; }
.foot__h { font-size: 13.4px; letter-spacing: .12em; color: var(--mint); margin-bottom: 10px; }
.foot__col a { display: block; padding: 4px 0; font-size: 14px; color: #a79f88; }
.foot__bottom { border-top: 3px double var(--line); padding: 16px 0 26px; }
.foot__disc { font-size: 12.6px; color: #8f886f; line-height: 1.8; }
.foot__copy { margin-top: 6px; font-size: 12.6px; color: #8f886f; }

.page-hero { padding: 44px 0 38px; background: linear-gradient(180deg, #37331f, var(--bg)); border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: #9a9276; margin-bottom: 12px; letter-spacing: .06em; }
.page-hero h1 { font-size: clamp(26px, 3.3vw, 37px); }
.page-hero .lead { margin-top: 14px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero::after { width: 130px; height: 130px; right: 18px; bottom: 18px; }
  .hero__shot { order: 2; }
  .cards { grid-template-columns: 1fr 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
  .figs figure:nth-child(2) { margin-top: 0; }
  .faq { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .top__in { flex-wrap: wrap; gap: 10px; padding: 10px 16px 8px; }
  .nav { flex: 1 0 100%; order: 3; justify-content: center; gap: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
  .brand { order: 1; }
  .btn.btn-primary { order: 2; margin-left: auto; }
  .hero { padding: 40px 0 46px; }
  .hero__shot img { max-width: min(286px, 76vw); }
  .sec { padding: 42px 0; }
  .cards { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr; }
  .figs figure:nth-child(3) { margin-top: 0; }
  .steps { padding-left: 22px; }
  .band__row { flex-direction: column; align-items: flex-start; }
  .foot__grid { grid-template-columns: 1fr; }
}

.single { margin: 28px auto 0; max-width: 300px; border: 1px solid var(--line); padding: 9px; background: #33301f; }
.single img { width: 100%; height: auto; }
.single figcaption { padding-top: 8px; font-size: 12.8px; color: var(--dim); line-height: 1.7; }
