@font-face {
  font-family: "Onest";
  src: url("assets/fonts/onest-cyrillic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66635f;
  --line: #d9d5cf;
  --soft-line: #e9e6e1;
  --paper: #ffffff;
  --canvas: #edf4ed;
  --accent: #29634e;
  --accent-hover: #22503f;
  --accent-soft: #fff0e8;
  --radius: 22px;
  --shadow: 0 14px 38px rgba(35, 27, 20, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-wrap: anywhere;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
b {
  font-weight: 400;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p,
li {
  max-width: 75ch;
}

:focus-visible {
  outline: 3px solid #2167d5;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  width: min(100% - 40px, 1180px);
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.header-link,
.offer-page__back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 18px;
}

.hero,
.catalog,
.site-footer,
.offer-page {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  padding: 30px 0 34px;
  align-items: center;
  gap: 24px;
}

.hero__copy {
  min-width: 0;
}

.hero__visual {
  display: block;
  width: 100%;
  max-width: 480px;
  min-width: 0;
  justify-self: end;
}

.hero__visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(35, 27, 20, 0.1));
}

.hero h1 {
  max-width: 17ch;
  margin-bottom: 16px;
  font-size: clamp(42px, 5vw, 62px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.button--primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.button:active {
  transform: translateY(1px);
}

.catalog {
  padding: 34px 0 30px;
  border-top: 1px solid var(--line);
}

.catalog__heading {
  margin-bottom: 28px;
}

.catalog__heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 48px);
}

.offer-grid {
  columns: 2 360px;
  column-gap: 18px;
}

.offer-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 24px;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.offer-card__head,
.offer-card__price-row,
.offer-card__actions,
.offer-price-row,
.offer-final,
.sticky-cta {
  display: flex;
  align-items: center;
}

.offer-card__head {
  margin-bottom: 18px;
}

.offer-card__head img,
.offer-hero__icon {
  width: 64px;
  height: 64px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #faf9f7;
  object-fit: contain;
}

.offer-card h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 36px);
}

.offer-card__benefit {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.offer-card__price-row {
  min-height: 46px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.offer-card__price,
.offer-price {
  margin: 0;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.offer-card__price small,
.offer-price small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.offer-card__old-price,
.offer-old-price {
  color: var(--muted);
  font-size: 18px;
  text-decoration: line-through;
}

.offer-card__facts,
.offer-hero__facts {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.offer-card__facts li,
.offer-hero__facts li {
  position: relative;
  padding: 8px 0 8px 23px;
  border-top: 1px solid var(--soft-line);
  font-size: 18px;
  line-height: 1.4;
}

.offer-card__facts li::before,
.offer-hero__facts li::before {
  position: absolute;
  top: 16px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.offer-card__actions {
  gap: 18px;
}

.offer-card__actions .button {
  flex: 1 1 auto;
}

.offer-card__details {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  color: var(--muted);
  font-size: 18px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 56px;
  padding: 15px 40px 15px 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
}

details p,
details ul {
  margin-bottom: 20px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  min-height: 90px;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}

.site-footer p {
  margin: 0;
}

.site-footer p span {
  color: var(--ink);
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.offer-page {
  padding: 26px 0 72px;
}

.offer-page__back {
  margin-bottom: 18px;
}

.offer-hero {
  max-width: 900px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.offer-hero__identity {
  margin-bottom: 18px;
}

.offer-hero h1 {
  max-width: 22ch;
  margin-bottom: 14px;
  font-size: clamp(38px, 5.7vw, 64px);
}

.offer-hero__lead {
  max-width: 62ch;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.offer-price-row {
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.offer-price {
  font-size: 36px;
}

.offer-hero__facts {
  max-width: 720px;
}

.offer-hero > .button {
  min-width: 260px;
}

.detail-section,
.offer-final {
  max-width: 900px;
  margin-top: 18px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.detail-section h2,
.offer-final h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.5vw, 38px);
}

.detail-section p,
.detail-section li {
  font-size: 18px;
}

.detail-section p:last-child,
.detail-section ul:last-child,
.detail-section ol:last-child {
  margin-bottom: 0;
}

.detail-section ul,
.detail-section ol {
  padding-left: 24px;
}

.detail-section li + li {
  margin-top: 8px;
}

.feature-disclosure ul {
  padding-bottom: 4px;
}

.pricing-table-wrap {
  width: 100%;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

.pricing-table th,
.pricing-table td {
  padding: 11px 12px;
  border: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.pricing-table th {
  background: #f6f4f0;
}

.offer-faq details p {
  font-size: 18px;
}

.offer-final {
  justify-content: space-between;
  gap: 24px;
}

.offer-final h2 {
  margin-bottom: 7px;
}

.offer-final p {
  margin: 0;
  color: var(--muted);
}

.offer-footer {
  max-width: 1180px;
}

.sticky-cta {
  display: none;
}

.copy-toast {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  max-width: min(390px, calc(100% - 36px));
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(35, 27, 20, 0.18);
  font-size: 18px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  body {
    font-size: 18px;
  }

  .site-header,
  .hero,
  .catalog,
  .site-footer,
  .offer-page {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 58px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-link {
    font-size: 18px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px 0 22px;
    gap: 10px;
  }

  .hero__visual {
    width: min(100%, 280px);
    margin-inline: auto;
    justify-self: center;
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: clamp(32px, 8.6vw, 38px);
    line-height: 1.04;
  }

  .hero__button,
  .offer-card__actions .button,
  .offer-hero > .button,
  .offer-final .button {
    width: 100%;
  }

  .catalog {
    padding-top: 22px;
  }

  .catalog__heading {
    display: block;
    margin-bottom: 20px;
  }

  .catalog__heading h2 {
    font-size: 35px;
  }

  .offer-grid {
    columns: 1;
  }

  .offer-card {
    margin-bottom: 14px;
    padding: 20px;
    border-radius: 18px;
  }

  .offer-card h3 {
    font-size: 31px;
  }

  .offer-card__benefit {
    font-size: 18px;
  }

  .offer-card__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .offer-card__details {
    justify-content: center;
  }

  .site-footer {
    display: block;
    padding: 24px 0 28px;
  }

  .site-footer__links {
    margin-top: 14px;
    justify-content: flex-start;
  }

  .offer-page {
    padding-top: 14px;
    padding-bottom: 98px;
  }

  .offer-page__back {
    margin-bottom: 10px;
  }

  .offer-hero {
    padding: 20px;
    border-radius: 18px;
  }

  .offer-hero__identity {
    margin-bottom: 12px;
  }

  .offer-hero__icon {
    width: 58px;
    height: 58px;
  }

  .offer-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(35px, 10vw, 44px);
  }

  .offer-hero__lead {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .offer-price {
    font-size: 32px;
  }

  .offer-hero__facts {
    margin-bottom: 16px;
  }

  .offer-hero__facts li {
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 18px;
  }

  .offer-hero__facts li::before {
    top: 14px;
  }

  .detail-section,
  .offer-final {
    margin-top: 14px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .detail-section h2,
  .offer-final h2 {
    font-size: 30px;
  }

  .detail-section p,
  .detail-section li {
    font-size: 18px;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .pricing-table tr {
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .pricing-table td {
    padding: 9px 10px;
    border: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .pricing-table td:last-child {
    border-bottom: 0;
  }

  .pricing-table td::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    content: attr(data-label);
  }

  .offer-final {
    display: block;
  }

  .offer-final .button {
    margin-top: 18px;
  }

  .offer-footer {
    display: none;
  }

  .sticky-cta {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 62px;
    padding: 7px 14px calc(7px + env(safe-area-inset-bottom));
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  .sticky-cta > span {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .sticky-cta .button {
    min-height: 46px;
    max-width: 250px;
    padding: 9px 14px;
    font-size: 18px;
  }

  .offer-detail .copy-toast {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero h1 {
    max-width: 22ch;
  }

  .offer-grid {
    columns: 2 300px;
  }

  .offer-card__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .offer-card__details {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared glass controls and marketplace surfaces. */
body { background: radial-gradient(ellipse at 15% 0%, #fff8d8 0, transparent 45%), radial-gradient(ellipse at 100% 35%, #dfefec 0, transparent 50%), var(--canvas); }
.site-header { padding-block: 18px; gap: 24px; }
.brand { font-size: 48px; gap: 14px; flex-shrink: 0; letter-spacing: -.045em; }
.brand img { width: 84px; height: 84px; border-radius: 24px; }
.header-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.telegram-contact { flex: 0 0 64px; border-radius: 20px; transition: transform .2s; }
.telegram-contact img { width: 64px; height: 64px; border-radius: 18px; }
.telegram-contact:hover { transform: translateY(-2px); }
.hero__lead { max-width: 45ch; margin-bottom: 24px; }
.button, .offer-card__details, button:not(.plain-button) {
  position: relative; isolation: isolate; overflow: hidden; min-height: 54px; padding: 15px 22px;
  border: 1px solid #a5bcae; border-radius: 18px; color: #172d23;
  background: linear-gradient(115deg, #f8fff7 0%, #d7efdc 40%, #bde1ce 70%, #e7f7e9 100%);
  background-size: 180% 100%; box-shadow: inset 0 2px 1px #fff, inset 0 -2px 2px #739e7930, 0 4px 10px #496b5120;
  font: inherit; font-weight: 400; font-size: 18px; text-decoration: none; text-align: center;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1.35; cursor: pointer;
  transition: background-position .55s, box-shadow .2s, transform .2s;
}
.button:hover, .offer-card__details:hover, button:not(.plain-button):hover { background-position: 100% 0; background-color: #d7efdc; border-color: #779b83; box-shadow: inset 0 2px 1px #fff, 0 7px 16px #496b5130; }
.button:active, button:active, .offer-card__details:active { transform: translateY(2px); box-shadow: inset 0 2px 5px #48684926; }
.button--secondary, .offer-card__details { color: #302b12; border-color: #d6c991; background: linear-gradient(115deg,#fffdf0,#fff2b8 48%,#f2e4a1 72%,#fff9df); background-size: 180% 100%; }
.button:disabled, button:disabled { cursor: wait; opacity: .65; }
.offer-card__actions { flex-wrap: wrap; gap: 12px; }
.offer-card__actions .button { flex: 1 1 220px; }
.offer-card__details { flex: 1 1 140px; }
.offer-card__head img { width: 128px; height: 128px; padding: 8px; border-radius: 28px; }
.offer-hero__icon { width: 144px; height: 144px; padding: 8px; border-radius: 30px; }
.offer-card h3 { font-size: 38px; line-height: 1.16; }
.offer-card, .offer-hero, .detail-section, .offer-final { background: #fffffff0; }
.offer-page { max-width: 980px; }
.offer-hero, .detail-section, .offer-final { max-width: none; }
.offer-hero { padding: 36px; }
.offer-hero__lead { color: #353f36; line-height: 1.6; }
.offer-hero > .button { width: auto; min-width: min(100%, 340px); }
.offer-old-price, .offer-card__old-price { color: #5b5d55; }
.offer-final { background: #f7faeb; }
.form-page { width: min(100% - 40px, 840px); margin: 36px auto 80px; }
.form-page h1 { font-size: clamp(36px, 5vw, 56px); }
.form-panel { padding: 28px; border: 1px solid var(--line); background: #fffffff0; border-radius: 24px; margin: 20px 0; }
.form-panel h2 { font-size: 28px; }
.form-panel label { display: block; margin: 22px 0; }
.form-panel label span { display: block; margin-bottom: 8px; }
.form-panel input, .form-panel textarea, .form-panel select { display: block; width: 100%; min-height: 52px; border: 1px solid #aab9ad; border-radius: 12px; padding: 12px; color: #17251c; background: #fff; font: inherit; font-size: 18px; }
.form-panel textarea { min-height: 132px; resize: vertical; }
.form-panel small { display: block; color: #526052; font-size: 18px; margin-top: 6px; }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.form-status { padding: 16px; background: #e0f1e2; border: 1px solid #a1c8a6; border-radius: 14px; margin: 20px 0; }
.form-status[data-error="true"] { background: #fff0e5; border-color: #b78867; color: #652f16; }
[hidden] { display: none !important; }
.honeypot { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.preview-copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.admin-list a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-decoration: none; }
.admin-list h2 { font-size: 26px; margin: 8px 0; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-filters button[aria-pressed="true"] { outline: 2px solid #38724e; outline-offset: 2px; }
.status-label { color: #526052; }
.admin-history { padding-left: 22px; }
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; padding-block: 14px; gap: 14px; }
  .brand { font-size: 40px; }
  .brand img { width: 76px; height: 76px; }
  .header-nav { display: contents; }
  .header-nav .telegram-contact { margin-left: auto; }
  .header-nav .header-link { order: 3; }
  .header-nav .button { order: 4; width: 100%; }
  .hero h1 { line-height: 1.14; }
  .offer-card h3 { font-size: 36px; }
  .offer-hero { padding: 22px; }
  .offer-hero__icon { width: 116px; height: 116px; }
  .offer-card__head img { width: 128px; height: 128px; }
  .offer-card__actions { gap: 12px; }
  .offer-card__actions .button, .offer-card__details { flex: auto; }
  .sticky-cta { align-items: center; background: #f4faedf5; }
  .sticky-cta > span { display: none; }
  .sticky-cta .button { width: 100%; max-width: none; font-size: 18px; }
  .offer-page { padding-bottom: 120px; }
  .form-page { width: calc(100% - 28px); margin-top: 24px; }
  .form-panel { padding: 20px; }
  .form-actions > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.form-panel fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.form-panel legend { padding: 0; font-size: 28px; line-height: 1.25; }
@media (prefers-reduced-transparency: reduce) {
  .button, .offer-card__details, button:not(.plain-button) { background: #d7efdc; backdrop-filter: none; }
  .button--secondary, .offer-card__details { background: #fff2b8; }
  .sticky-cta, .offer-card, .offer-hero, .detail-section, .offer-final, .form-panel { background: #fff; backdrop-filter: none; }
}

/* Keep the catalog close to the brand; the intro is a short caption. */
.site-header { padding-block: 12px; }
.hero { grid-template-columns: minmax(0, 1fr) 200px; padding: 18px 0; gap: 24px; }
.hero h1 { margin-bottom: 8px; max-width: none; font-size: clamp(30px, 3vw, 42px); line-height: 1.16; }
.hero__lead { margin-bottom: 0; max-width: 48ch; }
.hero__visual { width: 200px; }
.catalog { padding-top: 0; border-top: 0; }
@media (max-width: 760px) {
  .site-header { padding-block: 10px; gap: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr) 88px; padding: 16px 0; gap: 12px; }
  .hero h1 { font-size: 30px; }
  .hero__visual { width: 88px; margin: 0; }
  .hero__lead { font-size: 18px; line-height: 1.5; }
  .catalog { padding-top: 0; }
}
