@font-face {
  font-family: Manrope;
  src: url("./assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --surface: #fffdf8;
  --ink: #202922;
  --muted: #535e53;
  --forest: #203d30;
  --forest-deep: #192e24;
  --forest-soft: #e6ece1;
  --gold: #f0c47c;
  --line: #d3d7cd;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 16px;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
section, main { scroll-margin-top: 88px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #8a5813;
  outline-offset: 4px;
}
.wrap {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.skip {
  position: fixed;
  z-index: 5;
  top: 8px;
  left: var(--gutter);
  padding: 12px 16px;
  background: var(--surface);
  transform: translateY(calc(-100% - 12px));
}
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 16px #203d3010; }
.header-inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 29px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.055em;
}
.brand svg {
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 9px;
  color: var(--forest-deep);
  background: var(--gold);
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#site-nav, .header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}
#site-nav a, .login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 750;
}
#site-nav a:hover, .login:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { gap: 8px; }
.login { padding-inline: 8px; }
.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}
.menu-button svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(64px, 7.4vw, 112px) clamp(52px, 5.8vw, 86px);
}
.eyebrow {
  margin-bottom: 13px;
  color: #4d6352;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.hero h1 {
  max-width: 15ch;
  font-size: clamp(40px, 5.1vw, 78px);
  line-height: 1.02;
  font-weight: 790;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.hero-description {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--forest);
  border-radius: 8px;
  background: var(--forest);
  color: #fffdf8;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}
.button:hover { background: var(--forest-deep); }
.button-outline { border-color: #a9b4a8; background: transparent; color: var(--forest); }
.button-outline:hover { border-color: var(--forest); background: var(--forest-soft); }
.hero-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.hero-insight {
  max-width: 52ch;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid #b98030;
  color: var(--forest);
  font-size: 15px;
  line-height: 1.5;
}
.hero-sample {
  border-radius: var(--radius);
  padding: clamp(20px, 2.65vw, 34px);
  background: var(--forest-deep);
  color: #fffdf8;
  box-shadow: 0 18px 42px #192e2414;
}
.sample-breakdown div, .sample-result div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sample-header h2 { font-weight: 800; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.035em; }
.sample-header p, .sample-margin { margin-top: 3px; font-size: 13px; color: #bdccbf; }
.sample-breakdown { padding-block: 12px; }
.sample-breakdown div {
  padding-block: 6px;
  border-bottom: 1px solid #43584a;
  font-size: 14px;
  color: #d7e0d6;
}
.sample-breakdown .sample-revenue {
  padding-block: 9px;
  font-size: 16px;
  font-weight: 800;
  color: #fffdf8;
}
.sample-breakdown dd, .sample-amount, .plan-period strong, .savings-result strong,
.separate-cost s, .money-input input { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sample-breakdown dd { font-weight: 750; color: #fffdf8; }
.sample-result dt { font-size: 16px; font-weight: 800; }
.sample-amount {
  color: var(--gold);
  font-size: clamp(30px, 3.2vw, 47px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.1;
}
.sample-share {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #43584a;
}
.sample-share > span {
  display: block;
  width: 19.5%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}
.sample-margin { margin-top: 7px; }

.channel-band { border-block: 1px solid var(--line); }
.channel-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-block: 21px;
}
.channel-label { color: var(--muted); font-size: 13px; }
.channel-inner ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(20px, 3.3vw, 44px);
  row-gap: 8px;
  padding: 0;
  list-style: none;
  font-weight: 800;
}
.channel-wb { color: #752575; }
.channel-ozon { color: #2451a4; }
.channel-yandex { color: #755315; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-heading { max-width: 710px; }
.section-heading h2, .final-cta h2 {
  font-size: clamp(34px, 4.25vw, 60px);
  font-weight: 790;
  line-height: 1.06;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.section-heading > p:last-child {
  margin-top: 17px;
  color: var(--muted);
  max-width: 62ch;
  font-size: 17px;
}
.workflows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-block: 36px 48px;
}
.workflow {
  padding: clamp(24px, 3.2vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.workflow h3 { font-size: clamp(21px, 2.2vw, 29px); letter-spacing: -.035em; line-height: 1.2; }
.workflow ol { margin-top: 20px; padding-left: 20px; }
.workflow li { padding: 10px 0 10px 4px; color: var(--muted); }
.workflow li::marker { color: #456653; font-weight: 800; }
.workflow li strong { color: var(--ink); }
.workflow li + li { border-top: 1px solid var(--line); }
.operations {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.operation-list article {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) minmax(0, 2fr);
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}
.operation-list h3 { font-size: 17px; font-weight: 800; }
.operation-list p { color: var(--muted); }
.attention {
  padding: 25px;
  border-radius: var(--radius);
  background: var(--forest-soft);
}
.attention h3 { font-size: 22px; letter-spacing: -.035em; line-height: 1.2; }
.attention p { margin-top: 10px; color: #465449; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.attention .text-link { margin-top: 8px; color: var(--forest); }

.design-section { background: var(--forest-soft); }
.design-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.gallery-card {
  overflow: hidden;
  padding: 0;
  text-align: left;
  border: 1px solid #b9c5b7;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
}
.gallery-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-card span { display: block; padding: 12px 16px; font-size: 14px; font-weight: 800; }
.gallery-card:hover span { text-decoration: underline; text-underline-offset: 3px; }
.design-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.plan-periods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.plan-period {
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.plan-period span { font-size: 15px; font-weight: 800; }
.plan-period strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.055em;
  line-height: 1.2;
}
.plan-period p { margin-top: 9px; font-size: 14px; color: var(--muted); }
.plan-annual { border-color: #bd975a; background: #f5e8cc; }
.plan-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 25px; }
.plan-actions p { color: var(--muted); font-size: 14px; }

.savings-section { background: var(--surface); border-block: 1px solid var(--line); }
.savings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 7vw, 100px);
}
.comparison-inputs { margin-top: 24px; }
.comparison-inputs label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 750;
}
.comparison-inputs small { display: block; font-size: 12px; font-weight: 550; color: var(--muted); }
.money-input {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.money-input input {
  width: 98px;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid #aab7a9;
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  text-align: right;
}
.comparison-note { margin-top: 13px; color: var(--muted); font-size: 13px; }
.savings-result { border-radius: var(--radius); padding: clamp(22px, 3vw, 38px); background: var(--forest-soft); }
.savings-result div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.savings-result div + div { margin-top: 10px; }
.separate-cost s { color: var(--muted); }
.savings-result strong { font-weight: 800; }
.savings-result .savings-amount { display: block; margin-top: 18px; padding-top: 15px; border-top: 1px solid #b9c5b7; }
.savings-amount strong { display: block; color: var(--forest); font-size: clamp(25px, 3vw, 42px); letter-spacing: -.05em; }
.savings-result.no-saving .savings-amount strong { color: var(--ink); }

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 22px 52px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 16px 32px 16px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 13px; color: var(--forest); font-size: 23px; line-height: 1.4; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 18px; color: var(--muted); }

.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: clamp(24px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--surface);
}
.final-cta h2 { font-size: clamp(31px, 3.6vw, 50px); }
.final-cta p { margin-top: 12px; color: #dee8df; }
.button-light { background: var(--gold); border-color: var(--gold); color: var(--forest-deep); white-space: nowrap; }
.button-light:hover { background: #f9d599; }
.button-light:focus-visible { outline-color: var(--gold); }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px 36px;
}
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 750; }
.site-footer > span { color: var(--muted); font-size: 13px; }

dialog {
  position: fixed;
  width: min(calc(100% - 36px), 500px);
  max-height: calc(100% - 36px);
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
}
dialog::backdrop { background: #15271de0; }
.close-dialog {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 1px solid #aab7a9;
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}
#image-dialog { width: max-content; max-width: calc(100% - 36px); padding: 10px; }
#image-dialog img { width: auto; max-width: 100%; height: auto; max-height: 79vh; object-fit: contain; }
#image-dialog p { margin: 8px 4px 2px; color: var(--muted); text-align: center; font-size: 13px; }
#checkout-dialog h2 { font-size: 28px; }
.checkout-price { margin-block: 8px; font-size: 28px; font-weight: 800; }
.checkout-status, .checkout-note { margin-block: 12px; color: var(--muted); }
.checkout-button:disabled { cursor: default; opacity: .55; }
#checkout-return { background: none; border: 0; color: var(--forest); }

@media (max-width: 1020px) {
  .hero { gap: 32px; }
  .hero h1 { font-size: clamp(40px, 5.7vw, 61px); }
  .channel-inner { justify-content: start; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 56px 42px; }
  .hero h1 { max-width: none; }
  .hero-sample { max-width: 525px; }
  .operations, .savings-layout, .faq-section { grid-template-columns: 1fr; }
  .faq-section .section-heading h2 { text-wrap: initial; }
}

@media (max-width: 650px) {
  .header-inner { min-height: 64px; }
  .menu-button { display: inline-flex; }
  #site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 14px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 22px #192e2412;
  }
  #site-nav.open { display: grid; gap: 0; }
  .workflows { grid-template-columns: 1fr; margin-block: 25px 32px; }
  .design-gallery { gap: 8px; }
  .gallery-card span { padding: 7px 8px 9px; font-size: 12px; }
  .plan-periods { grid-template-columns: 1fr; gap: 9px; }
  .plan-period { padding: 18px 22px; }
  .final-cta { align-items: start; flex-direction: column; }
}

@media (max-width: 400px) {
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(27px, 8.55vw, 35px); text-wrap: wrap; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 13px; }
  .hero-actions .button-outline { padding-inline: 5px; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
  .operation-list article { grid-template-columns: 1fr; gap: 3px; }
  .channel-inner ul { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.mascot-landing-stage {
  min-block-size: 138px;
  position: relative;
}
.mascot-landing-stage[hidden] { display: none; }

@media (min-width: 821px) {
  .hero:has(> .mascot-landing-stage:not([hidden])) {
    row-gap: 12px;
    padding-bottom: clamp(16px, 2.2vw, 32px);
  }
  .mascot-landing-stage { grid-column: 1 / -1; grid-row: 2; }
}

@media (min-width: 821px) and (max-height: 760px) {
  .hero:has(> .mascot-landing-stage:not([hidden])) {
    row-gap: 8px;
    padding-top: clamp(18px, 3vh, 28px);
  }
  .hero:has(> .mascot-landing-stage:not([hidden])) h1 {
    max-width: 17ch;
    font-size: clamp(37px, 4.4vw, 60px);
  }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-description { margin-top: 16px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-actions { margin-top: 18px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-sample { padding: 24px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .sample-breakdown div { padding-block: 4px; }
  .mascot-landing-stage { min-block-size: 122px; }
}

@media (min-width: 821px) and (max-height: 680px) {
  .hero:has(> .mascot-landing-stage:not([hidden])) { padding-top: 10px; row-gap: 8px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) h1 { font-size: clamp(37px, 4vw, 57px); }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-description { margin-top: 14px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.4; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-actions { margin-top: 14px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-note { margin-top: 8px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-sample { padding: 22px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .sample-breakdown { padding-block: 12px; }
}

@media (max-width: 820px) {
  .mascot-landing-stage { margin-block: -8px; }
}

@media (max-width: 680px) {
  .mascot-landing-stage { min-block-size: 106px; }
}

@media (max-width: 360px) and (max-height: 670px) {
  .hero:has(> .mascot-landing-stage:not([hidden])) { padding-top: 26px; row-gap: 16px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) h1 { font-size: clamp(25px, 8vw, 29px); }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-description { margin-top: 16px; font-size: 16px; line-height: 1.45; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-actions { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; margin-top: 16px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-actions .button { min-height: 44px; padding: 8px 10px; font-size: 14px; line-height: 1.35; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-actions .button-outline { padding-inline: 2px; }
  .hero:has(> .mascot-landing-stage:not([hidden])) .hero-note { margin-top: 8px; line-height: 1.35; }
}
