:root {
  --bg: #f6efea;
  --card: #fffaf6;
  --ink: #2e2521;
  --ink-soft: #5d4f49;
  --line: #e2d3c9;
  --main: #8c3a2e;
  --pine: #4e7a6b;
  --honey: #e0a33c;
  --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 { 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(--pine); }

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

.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }

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

.nav { display: flex; flex-wrap: wrap; gap: 24px; flex: 1 1 auto; }
.nav a { font-size: 15px; color: var(--ink-soft); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--main); border-bottom-color: var(--honey); font-weight: 600; }

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: none;
  padding: 11px 24px;
  border-radius: 2px 14px 2px 14px;
  background: var(--main);
  color: #fff5ef;
  font-size: 14.8px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}

.btn.btn-primary:hover { background: #a3483a; color: #fff; }

.hero { position: relative; overflow: hidden; padding: 58px 0 66px; }
.hero::before {
  content: '';
  position: absolute;
  right: -140px;
  top: 50%;
  width: 520px;
  height: 520px;
  margin-top: -260px;
  border-radius: 50%;
  background: #f1e0d4;
}
.hero::after {
  content: '';
  position: absolute;
  right: 60px;
  top: 40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed #d9bfae;
}

.hero__grid { position: relative; display: grid; grid-template-columns: 1.14fr .86fr; gap: 48px; align-items: center; }
.hero__grid > * { min-width: 0; }

.kicker { display: inline-block; font-size: 12.6px; letter-spacing: .16em; color: var(--pine); border-bottom: 2px solid var(--honey); padding-bottom: 4px; margin-bottom: 16px; }

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

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

.hero__act { margin-top: 26px; }
.hero__tip { margin-top: 10px; font-size: 13px; color: #8d7c74; }
.hero__shot { margin: 0; }
.hero__shot img { width: 100%; max-width: 296px; height: auto; margin: 0 auto; border-radius: 18px 18px 6px 6px; box-shadow: 0 20px 44px rgba(80, 40, 30, .18); }
.hero__shot figcaption { padding-top: 10px; max-width: 296px; margin: 0 auto; font-size: 12.6px; color: #8d7c74; line-height: 1.7; }

.sec { padding: 56px 0; }
.sec--split { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.38; font-weight: 700; }
.sub { margin: 10px 0 28px; max-width: 46em; color: var(--ink-soft); font-size: 15.2px; line-height: 1.9; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px 4px 4px 4px; padding: 20px 22px 22px; }
.card:nth-child(2n) { border-radius: 4px 22px 4px 4px; }
.card h3 { font-size: 16.8px; margin-bottom: 7px; color: var(--main); }
.card p { font-size: 14.6px; color: var(--ink-soft); line-height: 1.86; }

.split { display: grid; grid-template-columns: 1.32fr .68fr; gap: 42px; align-items: start; }
.prose { max-width: 760px; }
.prose p { margin-bottom: 15px; font-size: 15.4px; line-height: 1.96; color: #3b302b; }
.prose b { color: var(--main); font-weight: 600; }
.prose h2 { margin-bottom: 14px; }

.side { background: #f3e6dc; border-left: 4px solid var(--pine); padding: 20px 20px 18px; }
.side__h { font-size: 13.6px; letter-spacing: .1em; color: var(--pine); margin-bottom: 12px; }
.side ul li { position: relative; padding-left: 18px; font-size: 14px; color: #4a3d37; line-height: 1.8; margin-bottom: 8px; }
.side ul li::before { content: '·'; position: absolute; left: 4px; top: -2px; font-size: 20px; color: var(--honey); }
.side__f { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #d3b9a8; font-size: 13.4px; color: #7a685f; }

.side__fig { margin: 0; max-width: 300px; }
.side__fig img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 16px 36px rgba(80, 40, 30, .16); }
.side__fig figcaption { padding-top: 10px; font-size: 12.8px; color: #8d7c74; line-height: 1.72; }

.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.figs figure { background: var(--card); border: 1px solid var(--line); padding: 10px; }
.figs figure:nth-child(2) { border-color: #dcc3b3; }
.figs img { width: 100%; height: auto; }
.figs figcaption { padding: 9px 2px 4px; font-size: 13px; color: var(--ink-soft); line-height: 1.72; }

.steps { counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 0 0 14px 62px; font-size: 15px; color: #3b302b; line-height: 1.9; }
.steps li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 30px;
  border: 1px solid var(--main);
  border-radius: 2px;
  color: var(--main);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li b { display: block; color: var(--ink); font-size: 15.6px; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; max-width: 1040px; }
.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(--ink); list-style: none; padding-right: 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq summary::after { content: '▾'; position: absolute; right: 0; top: 0; color: var(--honey); font-size: 13px; }
.faq details[open] summary::after { content: '▴'; }
.faq details p { margin-top: 8px; font-size: 14.3px; color: var(--ink-soft); line-height: 1.88; }

.band { background: #3b2b25; color: #f6efea; padding: 46px 0; }
.band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.band h2 { color: #fdf3ec; font-size: clamp(20px, 2.3vw, 26px); }
.band p { margin-top: 8px; font-size: 14.4px; color: #c8b2a6; }
.band .btn.btn-primary { background: var(--honey); color: #33210f; }
.band .btn.btn-primary:hover { background: #f0b956; color: #33210f; }

.foot { background: var(--card); border-top: 1px solid var(--line); padding: 44px 0 0; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr .8fr; gap: 32px; padding-bottom: 30px; }
.foot__brand img { width: 40px; height: 40px; }
.foot__name { margin-top: 10px; font-size: 17px; font-weight: 700; letter-spacing: .1em; }
.foot__desc { margin-top: 8px; max-width: 32em; font-size: 13.4px; color: #8d7c74; line-height: 1.82; }
.foot__h { font-size: 13.2px; letter-spacing: .1em; color: var(--main); margin-bottom: 10px; }
.foot__nav a { display: block; padding: 4px 0; font-size: 14px; color: var(--ink-soft); }
.foot__meta p { font-size: 13.6px; color: #8d7c74; line-height: 1.9; }
.foot__end { border-top: 1px solid var(--line); padding: 16px 24px 26px; }
.foot__disc { font-size: 12.6px; color: #8d7c74; line-height: 1.8; }
.foot__copy { margin-top: 6px; font-size: 12.6px; color: #a4918a; }

.page-hero { padding: 44px 0 38px; background: #f1e4da; border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: #8d7c74; 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: 32px; }
  .hero::before { right: -220px; }
  .hero__shot { order: 2; max-width: 320px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .side__fig { max-width: 300px; margin: 0 auto; }
  .figs { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .foot__in { 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; }
  .brand { order: 1; }
  .btn.btn-primary { order: 2; margin-left: auto; padding: 10px 16px; font-size: 14px; }
  .nav { order: 3; flex: 1 0 100%; 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(296px, 78vw); }
  .sec { padding: 42px 0; }
  .cards { grid-template-columns: 1fr; }
  .figs { grid-template-columns: 1fr; }
  .steps li { padding-left: 52px; }
  .band__row { flex-direction: column; align-items: flex-start; }
  .foot__in { grid-template-columns: 1fr; }
}
