:root {
  --bg: #f3eee4;
  --bg-2: #e8e0d0;
  --paper: #fffdf8;
  --ink: #1a1612;
  --mute: #6a6358;
  --line: #d9cfbc;
  --accent: #b8331f;
  --accent-2: #922816;
  --forest: #1c342c;
  --forest-2: #142822;
  --ok: #2f6b4f;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 20px 48px rgba(26, 22, 18, .07);
  --shadow-soft: 0 8px 24px rgba(26, 22, 18, .05);
  --max: 1120px;
  --serif: "Onest", "Segoe UI", sans-serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
  --display: "Onest", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
[id] { scroll-margin-top: 88px; }

.consent-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-soft);
}
.consent-card h2 { margin-bottom: 12px; }
.consent-card p { color: var(--mute); max-width: 40rem; }
.consent-card p:last-child { margin-bottom: 0; }
.consent-card a { color: var(--ink); font-weight: 600; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(184, 51, 31, .05), transparent 55%),
    radial-gradient(900px 420px at 100% 8%, rgba(28, 52, 44, .06), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 12px;
  top: 12px;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn:focus-visible,
.acc-btn:focus-visible,
.burger:focus-visible,
.nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin: 0 0 .55em;
  font-weight: 650;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.55rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 650; }
h3 { font-size: 1.22rem; letter-spacing: -.02em; font-weight: 650; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.wrap-s { width: min(760px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 40px 0; }
.section-tight { padding: 28px 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
  font-weight: 600;
}
.kicker::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}
.lede {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--mute);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; border-color: color-mix(in srgb, var(--ink) 28%, transparent); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--ink) !important; }
.btn-on-dark:hover { background: #f3eee4; color: var(--ink) !important; }
.btn-on-dark-ghost { border-color: rgba(255,255,255,.45); color: #fff !important; background: transparent; }
.btn-on-dark-ghost:hover { background: rgba(255,255,255,.1); }
.btn-header { min-height: 42px; padding: 0 16px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 60px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-role {
  font-size: 10px;
  color: var(--mute);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav { justify-self: center; min-width: 0; overflow: visible; }
.nav-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}
.nav-list > li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-list a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 9px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--mute);
}
.nav-list a:hover,
.nav-list > .menu-item-has-children:hover > a,
.nav-list > .menu-item-has-children:focus-within > a {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
}
.submenu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  margin-left: -4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--mute);
  flex-shrink: 0;
}
.submenu-toggle span,
.submenu-toggle span::before {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.submenu-toggle span::before { content: none; }
.menu-item-has-children.is-open > .submenu-toggle span {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.nav-list .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 50;
}
.nav-list .sub-menu li { margin: 0; }
.nav-list .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: normal;
  line-height: 1.25;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.nav-list .sub-menu a:hover {
  background: color-mix(in srgb, var(--bg) 80%, var(--paper));
  color: var(--accent-2);
}
.nav-list > .menu-item-has-children:hover > .sub-menu,
.nav-list > .menu-item-has-children:focus-within > .sub-menu,
.nav-list > .menu-item-has-children.is-open > .sub-menu {
  display: block;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.25;
}
.header-phone,
.header-mail,
.header-tg-link,
.nav-phone,
.nav-mail {
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  color: var(--mute);
}
.header-phone,
.nav-phone {
  font-size: 14px;
  color: var(--ink);
}
.header-phone:hover,
.header-mail:hover,
.header-tg-link:hover,
.nav-phone:hover,
.nav-mail:hover { color: var(--accent); }

.messenger-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.messenger-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff !important;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, .12);
  transition: transform .15s ease, filter .15s ease;
}
/* Палец попадает даже по маленькой иконке в шапке. */
.messenger-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
}
.messenger-icon:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.messenger-icon svg { color: inherit; fill: currentColor; }
.messenger-icon--wa { background: #25D366; }
.messenger-icon--tg { background: #2AABEE; }
.messenger-icon--max {
  background: linear-gradient(135deg, #471AFF 0%, #6E1AFF 48%, #9500FF 100%);
  color: #fff;
}
.messenger-icon__max-mark {
  display: block;
  width: 15px;
  height: 15px;
}
.messenger-icons--nav {
  margin: 10px 0 12px;
}
.messenger-icons--nav .messenger-icon {
  width: 40px;
  height: 40px;
}
.messenger-icons--nav .messenger-icon svg,
.messenger-icons--nav .messenger-icon__max-mark {
  width: 18px;
  height: 18px;
}
.messenger-icons--footer .messenger-icon {
  width: 36px;
  height: 36px;
}
.uslugi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 5px 10px 5px 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  max-width: 210px;
  transition: border-color .2s ease, transform .2s ease;
}
.uslugi-badge--compact {
  max-width: 132px;
  padding: 4px 8px 4px 4px;
  gap: 6px;
}
.uslugi-badge--compact .uslugi-badge__title {
  font-size: 12px;
}
.uslugi-badge--compact .uslugi-badge__meta {
  font-size: 10.5px;
}
.uslugi-badge:hover {
  border-color: color-mix(in srgb, #FC3F1D 35%, var(--line));
  transform: translateY(-1px);
}
.uslugi-badge__logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.uslugi-badge__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.uslugi-badge__title {
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.15;
}
.uslugi-badge__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--mute);
  white-space: nowrap;
}
.uslugi-badge__meta strong {
  color: var(--ink);
  font-weight: 750;
}
.uslugi-badge__stars {
  color: #f5a623;
  letter-spacing: -.06em;
  font-size: 10px;
}
.nav-contacts {
  display: none;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-links a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}
.contact-links a:hover { color: var(--accent); }
.contact-links a.messenger-icon,
.contact-links a.messenger-icon:hover,
.prose a.messenger-icon,
.prose a.messenger-icon:hover {
  color: #fff !important;
}
.contact-links--page {
  margin: 18px 0 8px;
  font-size: 16px;
}
.contact-links .messenger-icons {
  margin-top: 6px;
}
.site-footer .messenger-icon--wa,
.site-footer .messenger-icon--tg,
.site-footer .messenger-icon--max {
  box-shadow: none;
}
.contacts-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 18px 0 8px;
}
.contacts-stack .uslugi-badge { max-width: none; }
.footer-uslugi { margin-top: 16px; }
.site-footer .contact-links {
  margin-top: 14px;
  gap: 6px;
}
.site-footer .contact-links a {
  color: rgba(239,231,216,.82);
  font-size: 14.5px;
}
.site-footer .contact-links a:hover { color: #fff; }
.site-footer .uslugi-badge {
  background: rgba(255,255,255,.06);
  border-color: rgba(239,231,216,.22);
  box-shadow: none;
  max-width: none;
}
.site-footer .uslugi-badge:hover {
  border-color: rgba(252,63,29,.55);
  transform: none;
}
.site-footer .uslugi-badge__title,
.site-footer .uslugi-badge__meta strong { color: #fff; }
.site-footer .uslugi-badge__meta { color: rgba(239,231,216,.72); }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}
.burger span, .burger span:before, .burger span:after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; margin: 0 auto;
}
.burger span:before, .burger span:after { content: ""; position: absolute; left: 0; }
.burger span:before { top: -6px; }
.burger span:after { top: 6px; }

/* Hero */
.hero { padding: 8px 0 4px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .78fr);
  grid-template-areas:
    "copy dossier"
    "proof proof";
  gap: 14px 24px;
  align-items: start;
}
.hero-copy { grid-area: copy; min-width: 0; }
.hero-grid > .dossier { grid-area: dossier; }
.hero-grid > .proof { grid-area: proof; margin: 0; }
.hero h1 {
  margin-bottom: 10px;
  max-width: 13.5ch;
}
.hero .lede { margin-bottom: 14px; font-size: 1.05rem; }
.hero-tools {
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 14.5px;
}
.hero-tools a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent);
}
.hero-tools a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.hero-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 12px;
  max-width: 34rem;
}
.platform-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  min-height: 72px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.platform-card--uslugi:hover {
  border-color: color-mix(in srgb, #FC3F1D 40%, var(--line));
}
.platform-card--profi:hover {
  border-color: color-mix(in srgb, #1AA55B 40%, var(--line));
}
.platform-card__logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.platform-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.platform-card__body strong {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.2;
}
.platform-card__body span {
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.3;
}

.dossier {
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--forest) 92%, #3a5a4c), var(--forest-2));
  color: #efe7d8;
  border-radius: 26px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow);
}
.dossier-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 16px;
  margin-bottom: 12px;
}
.dossier picture { display: block; }
.dossier h2 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.dossier p {
  color: rgba(239,231,216,.78);
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 0;
}
.dossier-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.dossier-meta b {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 2px;
}
.dossier-meta span {
  font-size: 11.5px;
  line-height: 1.25;
  color: rgba(239,231,216,.68);
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin: 12px 0 0;
  box-shadow: var(--shadow-soft);
}
.proof article {
  background: var(--paper);
  padding: 14px 16px;
}
.proof b {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 2px;
}
.proof span { color: var(--mute); font-size: 13.5px; line-height: 1.3; }

.tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.task {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.task:hover {
  border-color: color-mix(in srgb, var(--ink) 40%, var(--line));
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.task small {
  color: var(--accent);
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.task h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.task p { color: var(--mute); font-size: 14.5px; margin: 0; line-height: 1.45; }
.task .btn-task {
  margin-top: auto;
  align-self: flex-start;
  min-height: 40px;
  padding: 0 16px;
  font-size: 13.5px;
  pointer-events: none;
}

.compare { overflow: auto; border-radius: 18px; box-shadow: var(--shadow-soft); }
.compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
}
.compare th, .compare td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}
.compare th {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
  background: color-mix(in srgb, var(--bg) 55%, var(--paper));
}
.compare tr:last-child td { border-bottom: 0; }
.compare td:nth-child(2) { font-weight: 600; }
.mobile-compare { display: none; }
.note { margin-top: 20px; color: var(--mute); font-size: 15px; max-width: 40rem; line-height: 1.55; }
.note a { font-weight: 600; text-underline-offset: 2px; }
.note-cta { margin: 16px 0 0; }

.stack-m {
  max-width: 820px;
  margin-inline: auto;
}
.system { display: grid; gap: 8px; max-width: none; }
.sys-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease;
}
.sys-item:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.sys-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  cursor: pointer;
}
.sys-item .num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  min-width: 2ch;
  letter-spacing: .04em;
}
.sys-item strong { font-size: 15.5px; font-weight: 650; }
.sys-item .panel {
  display: none;
  padding: 0 18px 16px 48px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55;
}
.sys-item.is-open .panel { display: block; }
.plan-list {
  margin: 0;
  padding: 0 0 0 1.1em;
  display: grid;
  gap: 7px;
}
.plan-list li { padding-left: 2px; }

.timeline { display: grid; gap: 0; max-width: none; }
.tl-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tl-item:first-child { border-top: 1px solid var(--line); }
.tl-item .num {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
  padding-top: 4px;
  letter-spacing: .04em;
}
.tl-item h3 { margin-bottom: 4px; font-size: 1.15rem; }
.tl-item p { margin: 0; color: var(--mute); font-size: 15px; }
.process-cta { margin: 28px 0 0; }

.case-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.case-copy { padding: 32px 34px; display: flex; flex-direction: column; }
.case-copy > p { color: var(--mute); font-size: 15.5px; }
.case-copy .result {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 6px 0 14px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 22px;
}
.facts div {
  background: var(--bg);
  border-radius: 12px;
  padding: 11px 13px;
}
.facts b { display: block; font-size: 14.5px; font-weight: 650; }
.facts span { font-size: 12px; color: var(--mute); }
.case-viz {
  background:
    radial-gradient(circle at 18% 18%, rgba(184,51,31,.16), transparent 40%),
    linear-gradient(180deg, var(--forest), var(--forest-2));
  color: #efe7d8;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; margin-top: 28px; }
.bars i {
  flex: 1;
  background: #efe7d8;
  border-radius: 8px 8px 0 0;
  opacity: .35;
}
.bars i.on { background: #e8b089; opacity: 1; }
.case-proof {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: #fff;
}
.proof-shot { margin: 24px 0; padding: 0; }
.proof-shot img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.case-site-shot {
  margin: 22px 0 0;
  padding: 0;
}
.case-site-shot img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}
.case-site-shot figcaption {
  margin-top: 10px;
  color: var(--mute);
  font-size: 14px;
}
.case-site-shot a { font-weight: 600; }
.proof-shot figcaption,
.proof-grid figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mute);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.proof-grid figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 10px;
}
.proof-grid img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 20px 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--ink) 18%, var(--line));
}
.card .tag {
  font-size: 11px;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
.card h3 {
  font-size: 1.15rem;
  margin: 10px 0 8px;
  line-height: 1.25;
}
.card p {
  color: var(--mute);
  font-size: 14.5px;
  line-height: 1.45;
  margin: 0;
}
.card--post {
  padding: 0;
  min-height: 0;
}
.card--post .card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg-2) 70%, #fff);
}
.card--post .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.card--post:hover .card-media img { transform: scale(1.03); }
.card--post .card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
  flex: 1;
}
.card--post .card-body h3 { margin: 0; }
.article-cover {
  margin: 18px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.article-cover img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card .metric {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -.02em;
  border-top: 1px solid var(--line);
}

.card--case {
  padding: 0;
  min-height: 0;
}
.card--case .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
  min-height: 168px;
}
.card--case h3 {
  margin: 8px 0 6px;
  font-size: 1.2rem;
}
.card--case p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card--case .metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  font-size: inherit;
  letter-spacing: 0;
}
.card--case .metric-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mute);
}
.card--case .metric-value {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--forest);
  line-height: 1.2;
}

.card-visual {
  position: relative;
  background: #1c342c;
}
.card-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px 0;
  background: color-mix(in srgb, #0f1f1a 70%, #1c342c);
}
.card-chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.card-chrome span:nth-child(1) { background: #c97868; }
.card-chrome span:nth-child(2) { background: #d4b483; }
.card-chrome span:nth-child(3) { background: #7ea88f; }
.card-chrome em {
  margin-left: 8px;
  font-style: normal;
  font-size: 10px;
  color: rgba(239,231,216,.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}
.card-preview {
  position: relative;
  height: 148px;
  overflow: hidden;
  background: #142822;
}
.card-illus {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px 16px 14px;
  background:
    radial-gradient(circle at 18% 20%, rgba(232,176,137,.28), transparent 42%),
    linear-gradient(145deg, #243f36 0%, #142822 100%);
}
.card-icon {
  width: 42px;
  height: 42px;
  color: #efe7d8;
  opacity: .92;
  flex-shrink: 0;
}
.card-spark {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
  width: 46%;
}
.card-spark i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 5px 5px 0 0;
  background: rgba(239,231,216,.28);
}
.card-spark i.on {
  background: #e8b089;
}
.card-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  opacity: 1;
  transition: transform .45s ease;
}
.card-preview--proof {
  height: 148px;
  background: #f7f3ea;
}
.card-shot--proof {
  object-fit: contain;
  object-position: center;
  background: #f7f3ea;
}
.card-shot--site {
  object-fit: cover;
  object-position: top center;
}
.card--case:hover .card-shot {
  transform: scale(1.04);
}

.proof-band { padding-top: 8px; }
.proof-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.proof-head .lede { margin: 0; }
.proof-slider {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 56px 18px;
  box-shadow: var(--shadow-soft);
}
.proof-viewport {
  position: relative;
  min-height: 280px;
}
.proof-slide {
  display: none;
  margin: 0;
}
.proof-slide.is-active { display: block; }
.proof-slide img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: #f3eee4;
  border: 1px solid var(--line);
}
.proof-slide figcaption {
  margin-top: 14px;
  text-align: center;
  font-weight: 650;
  font-size: 1.02rem;
}
.proof-slide figcaption a {
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.proof-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.proof-nav:hover { border-color: color-mix(in srgb, var(--ink) 20%, var(--line)); }
.proof-nav--prev { left: 10px; }
.proof-nav--next { right: 10px; }
.proof-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: color-mix(in srgb, var(--ink) 18%, var(--line));
  cursor: pointer;
}
.proof-dot.is-active { background: var(--accent); }

@media (max-width: 860px) {
  .proof-head { grid-template-columns: 1fr; gap: 8px; }
  .proof-slider { padding: 16px 44px 14px; }
  .proof-viewport { min-height: 180px; }
  .proof-slide img { max-height: 280px; }
}

.card--case[data-tone="shop"] .card-illus {
  background:
    radial-gradient(circle at 80% 10%, rgba(184,51,31,.22), transparent 45%),
    linear-gradient(145deg, #3a2a22, #1a1612);
}
.card--case[data-tone="finance"] .card-illus {
  background:
    radial-gradient(circle at 20% 80%, rgba(126,168,143,.25), transparent 40%),
    linear-gradient(145deg, #1e3348, #121820);
}
.card--case[data-tone="auto"] .card-illus {
  background:
    radial-gradient(circle at 70% 30%, rgba(232,176,137,.2), transparent 45%),
    linear-gradient(145deg, #2a3038, #141618);
}
.card--case[data-tone="food"] .card-illus {
  background:
    radial-gradient(circle at 30% 20%, rgba(184,51,31,.28), transparent 42%),
    linear-gradient(145deg, #4a2a22, #1c1410);
}
.card--case[data-tone="med"] .card-illus {
  background:
    radial-gradient(circle at 75% 70%, rgba(126,168,143,.3), transparent 40%),
    linear-gradient(145deg, #1f3a42, #102028);
}
.card--case[data-tone="industry"] .card-illus {
  background:
    radial-gradient(circle at 15% 15%, rgba(212,180,131,.22), transparent 40%),
    linear-gradient(145deg, #2c3228, #151812);
}
.card--case[data-tone="media"] .card-illus {
  background:
    radial-gradient(circle at 60% 20%, rgba(184,51,31,.18), transparent 45%),
    linear-gradient(145deg, #3a2830, #161018);
}
.card--case[data-tone="logistics"] .card-illus {
  background:
    radial-gradient(circle at 25% 75%, rgba(126,168,143,.25), transparent 42%),
    linear-gradient(145deg, #24363a, #12181a);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, .78fr) 1.22fr;
  gap: 36px;
  align-items: center;
}
.about-grid .lede,
.about-grid p { max-width: 36rem; }
.portrait {
  background: var(--forest);
  color: #efe7d8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.portrait picture,
.portrait-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 15%;
}
.portrait-copy { padding: 20px 22px 22px; }
.portrait-copy h2 { color: #fff; margin-bottom: 6px; font-size: 1.35rem; }
.portrait-copy p { margin: 0; color: rgba(239,231,216,.78); font-size: 14.5px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: box-shadow .2s ease;
}
.price:hover { box-shadow: var(--shadow-soft); }
.price.is-main {
  background: var(--ink);
  color: #f6f1e8;
  border-color: var(--ink);
}
.price h3 { font-size: 1.25rem; }
.price > p { color: inherit; opacity: .78; font-size: 14.5px; margin: 0; }
.price .sum {
  font-family: var(--serif);
  font-size: 1.9rem;
  letter-spacing: -.02em;
  margin: 16px 0;
}
.price ul { list-style: none; color: inherit; opacity: .84; margin-bottom: 22px; font-size: 14.5px; }
.price li { padding: 5px 0 5px 14px; position: relative; }
.price li:before { content: "–"; position: absolute; left: 0; }
.price .btn { margin-top: auto; align-self: flex-start; }

.faq-list { display: grid; gap: 8px; max-width: 820px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq-item button {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 15px 18px;
  font-weight: 650;
  font-size: 15.5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item .plus { color: var(--accent); font-size: 20px; line-height: 1; }
.faq-item .a { display: none; padding: 0 18px 15px; color: var(--mute); font-size: 15px; }
.faq-item.is-open .a { display: block; }

.cta-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(184,51,31,.14), transparent 42%),
    linear-gradient(145deg, var(--forest), var(--forest-2));
  color: #efe7d8;
  border-radius: 26px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-band .kicker { color: rgba(239,231,216,.65); }
.cta-band .kicker::before { background: rgba(239,231,216,.55); }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band > div > p { color: rgba(239,231,216,.78); max-width: 34rem; font-size: 15.5px; }
.form {
  display: grid;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.form .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form .grid > .form-span {
  grid-column: 1 / -1;
}
.form label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--mute); }
.form fieldset.contact-method {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.form .contact-method legend {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
  padding: 0;
}
.contact-method__opts {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.form label.contact-method__opt {
  display: block !important;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  gap: 0;
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
  cursor: pointer;
  position: relative;
}
.contact-method__opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.contact-method__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 78px;
  padding: 12px 8px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.contact-method__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.contact-method__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.contact-method__card--phone .contact-method__icon { background: var(--ink); }
.contact-method__card--tg .contact-method__icon { background: #2AABEE; }
.contact-method__card--max .contact-method__icon {
  background: linear-gradient(135deg, #471AFF 0%, #6E1AFF 48%, #9500FF 100%);
}
.contact-method__name {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  color: var(--ink);
}
.contact-method__opt input:checked + .contact-method__card {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, #fff);
}
.contact-method__opt input:focus-visible + .contact-method__card {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 2px;
}
.contact-method__opt:hover .contact-method__card {
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
}
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 11px;
  color: var(--ink);
  font-size: 15px;
}
.form input:focus, .form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-color: var(--accent);
}
.hp { position: absolute; left: -9999px; }
.form-ok {
  display: none;
  padding: 16px;
  background: #e8f3ea;
  border-radius: 12px;
  color: var(--ok);
  font-weight: 600;
}
.form.is-done .grid,
.form.is-done .btn,
.form.is-done .note { display: none; }
.form.is-done .form-ok { display: block; }
.form-err { color: var(--accent); font-size: 13.5px; margin: 0; }
.form .note { margin: 2px 0 0; font-size: 12.5px; }

.site-footer {
  background: #14110e;
  color: #efe7d8;
  padding: 52px 0 26px;
  margin-top: 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr 1fr; gap: 36px; }
.site-footer a { color: rgba(239,231,216,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .btn-on-dark {
  color: var(--ink) !important;
  background: #fff;
  margin-top: 12px;
}
.site-footer .btn-on-dark:hover { background: #f3eee4; color: var(--ink) !important; }
.footer-brand p { color: rgba(239,231,216,.7); font-size: 14.5px; max-width: 32ch; line-height: 1.55; }
.footer-brand .brand-name {
  font-family: var(--display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.footer-nav { display: grid; gap: 7px; align-content: start; }
.footer-nav a { font-size: 14.5px; font-weight: 500; }
.footer-copy {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(239,231,216,.5);
  font-size: 12.5px;
}

.page-hero { padding: 16px 0 4px; }
.page-hero h1 { max-width: 18ch; margin-bottom: .35em; }
.page-hero--case h1 { max-width: 22ch; }
.page-hero .lede { margin-bottom: 0; }
.case-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 32px;
  align-items: start;
  margin-bottom: 8px;
}
.case-hero-copy .kicker { margin-bottom: 8px; }
.case-hero-result {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 10px 0 0;
  font-weight: 650;
}
.case-hero-cta {
  padding-top: 2.2rem;
  justify-self: end;
}
.case-site-link {
  margin: -4px 0 1.25em;
}
.case-site-link .btn {
  min-height: 44px;
  font-size: 14.5px;
}
.crumbs {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.4;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: color-mix(in srgb, var(--mute) 70%, transparent);
}
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.pagination {
  margin: 28px 0 8px;
  display: flex;
  justify-content: center;
}
.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pagination .page-numbers:hover {
  border-color: color-mix(in srgb, var(--ink) 25%, var(--line));
}
.pagination .page-numbers.current {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.pagination .page-numbers.dots {
  border: 0;
  background: transparent;
  min-width: 24px;
  color: var(--mute);
}
.prose { font-size: 17px; max-width: 42rem; }
.prose--case,
.prose--case .prose { max-width: none; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.25em; }
.prose a { color: var(--accent-2); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 24px;
}
.toc ol { margin: 0; padding-left: 18px; }
.answer {
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  margin: 0 0 24px;
  border-radius: 0 12px 12px 0;
}
.author-box {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 32px 0;
}
.author-ava,
.author-box picture,
.author-box picture img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.decision { display: grid; gap: 0; max-width: 640px; }
.dec-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-left: 1px solid var(--line);
  margin-left: 13px;
  padding-left: 20px;
}
.dec-step .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: -27px;
  margin-top: 5px;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  gap: 8px;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-cta .btn { flex: 1; box-shadow: var(--shadow); }
.mobile-cta .messenger-icons { flex-shrink: 0; }
.mobile-cta .messenger-icon {
  width: 42px;
  height: 42px;
  box-shadow: var(--shadow);
}
.mobile-cta[hidden] { display: none !important; }

.calc-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}
.tool-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}
.tool-card label {
  display: grid;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
}
.tool-card input,
.tool-card select,
.tool-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 10px 11px;
  color: var(--ink);
}
.tool-card input:focus,
.tool-card select:focus,
.tool-card textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-color: var(--accent);
}
.calc-sum {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.calc-points { list-style: none; margin: 0 0 8px; padding: 0; color: var(--mute); font-size: 14.5px; }
.calc-points li {
  padding: 8px 0 8px 14px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.calc-points li:before { content: "–"; position: absolute; left: 0; }
.calc-points li:last-child { border-bottom: 0; }
.audit-list { display: grid; gap: 8px; }
.audit-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 3px;
  background: #fff;
}
.audit-item strong { font-size: 14.5px; }
.audit-item span { color: var(--mute); font-size: 13.5px; }
.audit-item.is-ok { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.audit-item.is-bad { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.audit-item.is-ok strong::before { content: "✓ "; color: var(--ok); }
.audit-item.is-bad strong::before { content: "! "; color: var(--accent); }

/* Free tools */
.card--tool h3 { margin-top: 6px; }
.tool-card .tool-field-label { font-size: 12.5px; font-weight: 600; color: var(--mute); }
.tool-card .tool-hint { font-size: 12px; font-weight: 400; color: var(--mute); opacity: .85; }
.tool-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.tool-check input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--accent); }
.tool-card label[hidden], .tool-result > [hidden] { display: none !important; }
.tool-result { max-height: none; }
.tool-stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tool-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: #fff;
  padding: 9px 13px;
  font-size: 13.5px;
}
.tool-stat span { color: var(--mute); }
.tool-stat b { font-weight: 600; white-space: nowrap; }
.tool-checks { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.tool-subtitle { font-size: 14px; margin: 4px 0 8px; }
.tool-code { display: grid; gap: 8px; justify-items: start; }
.tool-code pre {
  width: 100%;
  margin: 0;
  padding: 14px;
  background: var(--ink);
  color: #eaf0f6;
  border-radius: 14px;
  overflow: auto;
  max-height: 340px;
  font-size: 12.5px;
  line-height: 1.55;
}
.tool-code .tool-copy { padding: 7px 14px; font-size: 13px; }
.tool-freq { display: flex; flex-wrap: wrap; gap: 7px; }
.tool-freq span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  color: var(--mute);
}
.tool-freq b { color: var(--ink); font-weight: 600; }
.tool-diff {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  max-height: 420px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}
.tool-diff--inline { white-space: pre-wrap; }
.tool-diff .diff-ins { background: color-mix(in srgb, var(--ok) 18%, #fff); }
.tool-diff .diff-del { background: color-mix(in srgb, var(--accent) 16%, #fff); text-decoration: line-through; }
.snippet-preview {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
}
.snippet-url { font-size: 12.5px; color: var(--mute); word-break: break-all; }
.snippet-title { font-size: 17px; font-weight: 600; color: #1a54c4; line-height: 1.3; }
.snippet-desc { font-size: 13.5px; color: var(--mute); line-height: 1.5; }
@media (max-width: 760px) {
  .tool-stat { flex-direction: column; gap: 2px; }
  .tool-stat b { white-space: normal; }
}

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.meta-line { color: var(--mute); font-size: 13.5px; margin-bottom: 16px; }

.glossary-az {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.glossary-az a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}
.glossary-az a:hover { border-color: var(--ink); }
.glossary-group { margin-bottom: 36px; }
.glossary-group h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.checklist-block { margin-bottom: 28px; }
.checklist-block h2 { font-size: 1.35rem; margin-bottom: 12px; }
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.checklist li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.45;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 16px;
  height: 16px;
  border: 1.5px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 4px;
  background: #fff;
}

@media (max-width: 1280px) {
  .header-cta .uslugi-badge { display: none; }
  .nav-list a { padding: 8px 8px; font-size: 12.5px; }
}

@media (max-width: 1100px) {
  .header-phone { font-size: 12.5px; }
  .messenger-icon { width: 28px; height: 28px; }
  .header-cta { gap: 8px; }
  .btn-header { min-height: 40px; padding: 0 14px; font-size: 13px; }
}

@media (max-width: 980px) {
  .header-in {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    column-gap: 8px;
    row-gap: 2px;
    position: relative;
    align-items: center;
    min-height: 0;
    padding: 8px 0;
  }
  .header-cta,
  .header-contacts {
    display: contents;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-phone {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: -.01em;
    padding-top: 4px;
  }
  .header-cta .uslugi-badge { display: none; }
  .messenger-icons--header {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .btn-header {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }
  .burger {
    grid-column: 4;
    grid-row: 1;
    align-self: center;
  }
  .nav { display: none; }
  .nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    z-index: 45;
    margin: 0;
    background: color-mix(in srgb, var(--bg) 98%, #fff);
    border-bottom: 1px solid var(--line);
    padding: 14px 4px 20px;
    box-shadow: var(--shadow-soft);
  }
  .nav.is-open .nav-list { flex-direction: column; gap: 4px; align-items: stretch; }
  .nav.is-open .nav-list > li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .nav.is-open .nav-list a { padding: 12px 10px; color: var(--ink); }
  .nav.is-open .submenu-toggle {
    display: grid;
    place-items: center;
  }
  .nav.is-open .nav-list .sub-menu {
    display: none;
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0 0 6px;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav.is-open .nav-list > .menu-item-has-children.is-open > .sub-menu {
    display: grid;
    gap: 2px;
  }
  .nav.is-open .nav-list .sub-menu a {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 550;
    color: var(--mute);
  }
  .nav.is-open .nav-contacts {
    display: block;
    margin-top: 14px;
    padding: 14px 10px 0;
    border-top: 1px solid var(--line);
  }
  .nav-phone {
    display: inline-block;
    font-size: 16px;
    margin-bottom: 2px;
  }
  .nav-mail {
    display: inline-block;
    font-size: 14px;
  }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(22, 19, 16, .28);
  }
  .nav-backdrop.is-visible { display: block; }
  .burger { display: grid; place-items: center; }
  .header-tg-link { display: none; }
  .hero-grid,
  .case-feature,
  .about-grid,
  .cta-band,
  .footer-grid,
  .author-box,
  .calc-layout { grid-template-columns: 1fr; }
  .hero-grid {
    grid-template-areas:
      "copy"
      "dossier"
      "proof";
    gap: 14px;
  }
  .proof, .tasks, .cards, .price-grid, .related, .proof-grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .form .grid { grid-template-columns: 1fr; }
  .contact-method__opts { gap: 8px; }
  .contact-method__card { height: 74px; padding: 10px 6px; }
  .contact-method__name { font-size: 12px; }
}

@media (max-width: 720px) {
  .hero-platforms { grid-template-columns: 1fr; max-width: none; }
  .header-in {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .messenger-icons--header { grid-column: 2; }
  .burger { grid-column: 3; }
  .case-hero-top {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .case-hero-cta {
    padding-top: 0;
    justify-self: start;
  }
  .page-hero--case h1 { max-width: none; }
  .messenger-icon { width: 32px; height: 32px; }
  .messenger-icon svg { width: 15px; height: 15px; }
  .uslugi-badge__meta span:last-child { display: none; }
  .btn-header { display: none; }
  .wrap, .wrap-s { width: calc(100% - 28px); }
  .section { padding: 32px 0; }
  .section-tight { padding: 22px 0; }
  .hero { padding: 12px 0 6px; }
  .hero h1 { max-width: none; }
  .proof, .tasks, .cards, .price-grid, .related, .facts, .proof-grid { grid-template-columns: 1fr; }
  .compare { display: none; }
  .mobile-compare { display: grid; gap: 10px; }
  .mc-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
  }
  .mc-card b { display: block; margin-bottom: 6px; }
  .cta-band, .case-copy, .form, .dossier { padding: 20px; }
  .tl-item { grid-template-columns: 48px 1fr; }
  .author-box { grid-template-columns: 64px 1fr; }
  .author-box .btn { grid-column: 1 / -1; }
}
