:root {
  --bg: #f2efe2;
  --paper: #fbfaf4;
  --ink: #1f2b2a;
  --ink-soft: #4d5c59;
  --line: #d6d0bd;
  --main: #1d4a4e;
  --warm: #d98c5f;
  --mist: #6e7bc4;
  --deep: #143638;
  --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(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
}

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(--main); text-decoration: none; }
a:hover { color: var(--warm); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.top { background: var(--paper); border-bottom: 1px solid var(--line); }

.top__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 10px;
}

.brand { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand__name { font-size: 20px; font-weight: 700; letter-spacing: .14em; }

.nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 34px;
  padding: 10px 0 4px;
}

.nav a { font-size: 15px; color: var(--ink-soft); letter-spacing: .04em; position: relative; }
.nav a[aria-current="page"] { color: var(--main); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--warm);
}

.btn.btn-primary {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 11px 22px;
  border: 1px solid var(--main);
  background: var(--main);
  color: #f6f3e6;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}

.btn.btn-primary:hover { background: var(--deep); color: #fff; border-color: var(--deep); }

.hero { padding: 58px 0 66px; background: linear-gradient(180deg, #f7f4e8, var(--bg)); }
.hero__grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 52px; align-items: center; }
.hero__grid > * { min-width: 0; }

.hero__txt { padding-left: 20px; border-left: 1px solid var(--main); }

.kicker { font-size: 12.8px; letter-spacing: .18em; color: var(--warm); margin-bottom: 12px; }

h1 { font-size: clamp(29px, 4.1vw, 47px); line-height: 1.24; font-weight: 700; letter-spacing: .02em; }

.lead { margin-top: 18px; max-width: 32em; font-size: 15.8px; line-height: 1.98; color: var(--ink-soft); }

.hero__act { margin-top: 24px; }
.hero__tip { margin-top: 10px; font-size: 13.2px; color: #7d8a86; }

.hero__shot { margin: 0; background: #fff; padding: 12px; box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(31, 43, 42, .12); }
.hero__shot img { width: 100%; height: auto; }
.hero__shot figcaption { padding-top: 10px; font-size: 12.6px; color: #7d8a86; line-height: 1.7; }

.sec { padding: 56px 0; }
.sec--rule { border-top: 1px solid var(--line); }
.sec__grid { display: grid; grid-template-columns: 1fr 240px; gap: 44px; align-items: start; }

h2 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.4; font-weight: 700; }
.sub { margin: 10px 0 30px; max-width: 44em; color: var(--ink-soft); font-size: 15.2px; line-height: 1.92; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.card { border-top: 2px solid var(--main); padding-top: 14px; }
.card:nth-child(2n) { border-top-color: var(--warm); }
.card h3 { font-size: 16.5px; margin-bottom: 6px; letter-spacing: .02em; }
.card p { font-size: 14.6px; color: var(--ink-soft); line-height: 1.85; }

.note { background: var(--paper); border: 1px solid var(--line); padding: 20px 20px 18px; }
.note__h { font-size: 13.4px; letter-spacing: .14em; color: var(--main); margin-bottom: 12px; }
.note__list { counter-reset: nt; }
.note__list li { counter-increment: nt; position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 9px; }
.note__list li::before { content: counter(nt); position: absolute; left: 0; top: 3px; font-size: 12px; color: var(--warm); font-weight: 700; }

.prose { max-width: 780px; }
.prose p { margin-bottom: 15px; font-size: 15.4px; line-height: 1.96; color: #2c3a38; }
.prose b { color: var(--main); font-weight: 600; }

.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.figs figure { background: var(--paper); padding: 10px 10px 4px; border: 1px solid var(--line); }
.figs img { width: 100%; height: auto; }
.figs figcaption { font-size: 13.2px; color: var(--ink-soft); line-height: 1.72; padding: 10px 2px 8px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; }
.steps li { position: relative; padding-top: 12px; font-size: 14.2px; color: var(--ink-soft); line-height: 1.8; border-top: 1px solid var(--line); counter-increment: st; }
.steps li::before { content: '0' counter(st); display: block; font-size: 22px; font-weight: 700; color: var(--warm); letter-spacing: .06em; margin-bottom: 8px; }
.steps li b { display: block; font-size: 15.4px; color: var(--ink); margin-bottom: 4px; }
.steps li span { display: block; }

.faq { max-width: 800px; }
.faq details { border-left: 3px solid var(--main); padding: 2px 0 2px 16px; margin-bottom: 18px; }
.faq details:nth-child(2n) { border-left-color: var(--warm); }
.faq summary { cursor: pointer; font-size: 15.6px; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq details p { margin-top: 8px; font-size: 14.4px; color: var(--ink-soft); line-height: 1.9; }

.band { background: var(--deep); color: #f2efe2; padding: 48px 0; }
.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); color: #fbf7ea; }
.band p { margin-top: 8px; font-size: 14.4px; color: #b9c9c5; }
.band .btn.btn-primary { background: var(--warm); border-color: var(--warm); color: #22140c; }
.band .btn.btn-primary:hover { background: #eba172; border-color: #eba172; color: #22140c; }

.foot { background: var(--paper); border-top: 1px solid var(--line); padding-top: 38px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.foot__brand { display: flex; align-items: flex-start; gap: 12px; }
.foot__brand img { width: 36px; height: 36px; }
.foot__name { font-size: 16.4px; font-weight: 700; letter-spacing: .12em; }
.foot__desc { margin-top: 6px; max-width: 34em; font-size: 13.2px; color: #7d8a86; line-height: 1.8; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot__links a { font-size: 14px; color: var(--ink-soft); }
.foot__btm { display: flex; flex-wrap: wrap-reverse; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 16px 24px 26px; }
.foot__disc { font-size: 12.6px; color: #8a958f; line-height: 1.8; max-width: 60em; }
.foot__copy { font-size: 12.6px; color: #8a958f; }

.page-hero { padding: 42px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: #8a958f; margin-bottom: 12px; letter-spacing: .04em; }
.page-hero h1 { font-size: clamp(25px, 3.2vw, 36px); }
.page-hero .lead { margin-top: 14px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__shot { max-width: 340px; margin: 0 auto; }
  .sec__grid { grid-template-columns: 1fr; gap: 30px; }
  .note { max-width: 420px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .figs { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .top__in { grid-template-columns: auto 1fr; padding: 12px 16px 8px; }
  .brand { grid-column: 1; justify-self: start; }
  .brand img { width: 34px; height: 34px; }
  .brand__name { font-size: 18px; }
  .btn.btn-primary { grid-column: 2; justify-self: end; padding: 10px 16px; font-size: 14px; }
  .nav { gap: 20px; }
  .hero { padding: 40px 0 46px; }
  .hero__txt { padding-left: 14px; }
  .hero__shot { max-width: 300px; }
  .sec { padding: 42px 0; }
  .cards { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .band__row { flex-direction: column; align-items: flex-start; }
  .foot__links { gap: 16px; }
}

.single { margin: 26px auto 0; max-width: 300px; background: #fff; padding: 8px 8px 4px; border: 1px solid var(--line); }
.single img { width: 100%; height: auto; }
.single figcaption { padding: 8px 2px 6px; font-size: 12.8px; color: #7d8a86; line-height: 1.7; }
