@font-face {
  font-family: Onest;
  src: url(dialog/fonts/onest.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  --ink: #152322;
  --accent: #1758ba;
  --tint: #dceafc;
  --canvas: #f9f8f4;
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 1rem/1.55 Onest, system-ui, sans-serif;
}
body.wildberries { --accent: #913583; --tint: #f3e3f2; }
body.moysklad { --accent: #076c60; --tint: #daeee5; }
body.channel { --accent: #325b9b; --tint: #e4e8f9; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #1165d4; outline-offset: 4px; }
.wrap { width: min(1200px, 90%); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; left: 1rem; top: -6rem; padding: .7rem; background: white; }
.skip-link:focus { top: .5rem; }
.top { border-bottom: 1px solid #d6dcd6; }
.bar, .brand, .nav, .actions, .bottom, .foot-links { display: flex; align-items: center; }
.bar { justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { text-decoration: none; gap: .5rem; font-weight: 700; font-size: 1.45rem; letter-spacing: -.07em; }
.brand img { border-radius: 30%; }
.nav { margin-left: auto; gap: 1.6rem; }
.nav a, .foot-links a { font-size: .9rem; text-decoration: none; }
.nav a:hover, .foot-links a:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: .8rem 1.3rem; background: var(--ink); color: white;
  border: 1px solid var(--ink); border-radius: 100px; font-weight: 600; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.button:hover { background: #34463f; transform: translateY(-1px); }
.button.small { min-height: 42px; font-size: .9rem; padding: .55rem 1.1rem; }
.button.alt { background: transparent; color: var(--ink); border-color: #a5b4af; }
.button.alt:hover { background: white; }
.hero {
  display: grid; grid-template-columns: 1.09fr .91fr; gap: clamp(1.8rem, 4vw, 4.6rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 6rem);
}
.hero-copy { min-width: 0; }
.crumb { font-size: .88rem; margin: 0 0 1.3rem; color: #485b55; }
.crumb a { text-decoration-color: #a7b3ac; }
h1, h2, h3, p, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.15vw, 4.95rem); line-height: 1.015; font-weight: 650; letter-spacing: -.065em; }
h1 span { display: block; color: var(--accent); }
.lead { margin-block: 1.45rem 1.7rem; max-width: 36rem; font-size: clamp(1.1rem, 1.4vw, 1.28rem); line-height: 1.52; }
.actions { flex-wrap: wrap; gap: .65rem; }
.hint { color: #4c5b54; font-size: .88rem; margin-top: .85rem; }
.scene {
  position: relative; isolation: isolate; padding: 2.1rem clamp(1rem, 4vw, 4rem) 1.1rem;
  border-radius: 1.8rem; overflow: hidden; background-color: var(--tint);
  background-image: radial-gradient(#17282326 .85px, transparent .85px); background-size: 12px 12px;
}
.slip, .product { position: relative; border-radius: 1rem; background: #fff; border: 1px solid #17282322; }
.slip { z-index: 1; margin-right: 15%; padding: .75rem 1.05rem; border-left: 5px solid var(--accent); box-shadow: 0 4px 12px #182a2610; transform: rotate(-3deg); }
.slip b, .slip span, .product strong, .product small { display: block; }
.slip b { color: var(--accent); font-size: .9rem; }
.slip span { margin-top: .16rem; font-size: .84rem; line-height: 1.35; }
.product { margin: -.4rem 0 0 8%; padding: .65rem; box-shadow: 0 12px 25px #17282324; transform: rotate(2deg); }
.product img { width: 100%; aspect-ratio: 1.55; height: auto; object-fit: cover; border-radius: .55rem; display: block; }
.wildberries .product img { object-position: 50% 56%; }
.product-info { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .7rem .35rem .3rem; }
.product strong { font-size: clamp(1.02rem, 1.45vw, 1.3rem); letter-spacing: -.03em; }
.product small { color: #4d5854; font-size: .85rem; }
.product .price { white-space: nowrap; font-weight: 700; color: var(--accent); }
.scene figcaption { margin: 1.35rem 0 .05rem; text-align: center; font-size: .81rem; color: #35493f; }
.steps { padding: clamp(2.2rem, 4vw, 4rem) 0; border-top: 1px solid #bcc7bc; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3.15rem); line-height: 1.1; letter-spacing: -.055em; font-weight: 650; }
.steps h2 { max-width: 47rem; }
.steps ol { margin-top: 2rem; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 4vw, 4rem); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid #bdc7bc; padding-top: 1.1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-block; margin-bottom: .75rem; font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.24; margin-bottom: .65rem; }
.steps p, .panel p, .faq p { color: #415048; }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5%; padding: clamp(1.4rem, 4vw, 3.2rem); background: var(--tint); border-radius: 1.5rem; }
.panel h2 { max-width: 30rem; font-size: clamp(1.7rem, 3vw, 2.65rem); }
.panel a, .guide { display: inline-block; margin-top: 1rem; font-weight: 600; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 5%; padding-block: clamp(3rem, 6vw, 5.5rem); }
.about { max-width: 26rem; margin-top: 1rem; color: #415048; }
.faq details { border-top: 1px solid #bdc7bc; }
.faq details:last-child { border-bottom: 1px solid #bdc7bc; }
.faq summary { position: relative; cursor: pointer; padding: 1.05rem 2rem 1.05rem .05rem; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .35rem; top: .8rem; color: var(--accent); font-size: 1.4rem; }
.faq details[open] summary::after { content: '−'; }
.faq p { padding: 0 1.5rem 1.15rem .05rem; }
footer { padding: 1.8rem 0 2.5rem; background: #eaece6; }
.bottom { justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.foot-links { flex-wrap: wrap; gap: .65rem 1.25rem; }
@media (max-width: 900px) {
  .hero { gap: 1.5rem; }
  .scene { padding-inline: 1rem; }
  .nav { gap: 1rem; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .bar { min-height: 64px; gap: .5rem; }
  .wrap { width: min(91%, 36rem); }
  .hero, .panel, .faq-section { grid-template-columns: 1fr; }
  .hero { padding-block: 2rem; gap: 1.6rem; }
  .scene { padding: 1.5rem 8% .75rem; }
  .lead { margin-block: 1rem 1.15rem; }
  .steps ol { grid-template-columns: 1fr; gap: 1.1rem; }
  .panel, .faq-section { gap: 1.15rem; }
  .steps li { padding-left: 2.6rem; position: relative; }
  .steps li::before { position: absolute; left: 0; }
  .crumb { margin-bottom: .85rem; }
}
@media (max-width: 390px) {
  .brand { gap: .25rem; font-size: 1.2rem; }
  .brand img { width: 27px; height: 27px; }
  .button.small { font-size: .78rem; padding-inline: .73rem; }
  h1 { font-size: 2.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
