@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ===== TOKENS ===== */
:root {
  --ink:          #0a0a0a;
  --ink-soft:     #3d3935;
  --ink-muted:    #78716c;
  --paper:        #fafaf8;
  --paper-warm:   #f5f3ee;
  --paper-dark:   #ebe8e1;
  --accent:       #c2410c;
  --accent-dark:  #9a3412;
  --accent-light: #fff7ed;
  --line:         rgba(10,10,10,0.12);
  --line-strong:  rgba(10,10,10,0.22);
  --container:    1200px;
  --container-5xl: 1024px;
  --container-4xl: 896px;
  --container-3xl: 768px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.93;
}
h1 { font-size: clamp(40px, 7vw, 92px); }
h2 { font-size: clamp(28px, 4.5vw, 58px); }
h3 { font-size: clamp(17px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -0.025em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--5xl { max-width: var(--container-5xl); }
.container--4xl { max-width: var(--container-4xl); }
.container--3xl { max-width: var(--container-3xl); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.header--scrolled {
  box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(0,0,0,0.06);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 68px;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 220px;
  width: 220px;
  height: 58px;
  text-decoration: none;
}

.header .header__logo > .header__logo-img {
  display: block;
  width: 220px !important;
  height: 58px !important;
  max-width: 220px !important;
  max-height: 58px !important;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 767px) {
  .header__logo {
    flex-basis: 175px;
    width: 175px;
    height: 46px;
  }

  .header .header__logo > .header__logo-img {
    width: 175px !important;
    height: 46px !important;
    max-width: 175px !important;
    max-height: 46px !important;
  }
}

.header__nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}
.header__nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.15s;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.header__nav a:hover,
.header__nav a.is-active { color: var(--ink); }
.header__nav a:hover::after,
.header__nav a.is-active::after { transform: scaleX(1); }

.header__actions { justify-self: end; display: flex; align-items: center; gap: 12px; }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  padding: 10px;
}
.header__burger span { display: block; height: 1.5px; background: var(--ink); transition: 0.2s; }
.header__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s;
}
.mobile-menu a:last-child { border: none; }
.mobile-menu a:hover { color: #fff; }
.mobile-menu .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: all 0.15s;
  font-family: Inter, sans-serif;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn--outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
}
.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline-dark:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--lg { min-height: 52px; font-size: 15px; padding: 13px 32px; }
.btn--full { width: 100%; }

/* ===== SECTION COMMON ===== */
.section { padding: 96px 24px; }
.section--light { background: var(--paper-warm); }
.section--white { background: var(--paper); }
.section--dark { background: var(--ink); color: #fff; }
.section--border {
  border-top: 1.5px solid var(--line-strong);
  border-bottom: 1.5px solid var(--line-strong);
}

.section__header { margin-bottom: 52px; }
.section__header--center { text-align: center; }
.section__header--narrow-700 { max-width: 700px; }
.section__header--narrow-660 { max-width: 660px; }

.section__title { margin-bottom: 20px; line-height: 1.05; }
.section--dark .section__title { color: #fff; }

.section__subtitle {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 680px;
}
.section--dark .section__subtitle { color: rgba(255,255,255,0.5); }
.section__header--center .section__subtitle { margin: 0 auto; }
.section__subtitle--center-narrow { max-width: 520px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  background: var(--paper);
  border-bottom: 1.5px solid var(--line-strong);
  padding: 0 24px 64px;
}

.hero__inner {
  max-width: var(--container-5xl);
  margin: 0 auto;
}

.hero__eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__eyebrow-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.hero__title {
  font-family: Georgia, serif;
  font-size: clamp(36px, 6.5vw, 86px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 36px;
  margin-top:36px;
  max-width: 900px;
}

.hero__subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 12px;
}

.hero__desc {
  font-size: 14px;
  color: var(--ink-muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--line-strong);
}
.stat {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.8vw, 38px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--ink);
}
.stat span { font-size: 12px; color: var(--ink-muted); font-weight: 500; }

/* ===== TICKER ===== */
.ticker {
  overflow: hidden;
  background: var(--ink);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  padding: 12px 32px;
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--paper-warm);
  border-right: 1px solid rgba(255,255,255,0.12);
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== PROBLEM SECTION ===== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1.5px solid var(--line-strong);
  background: #fff;
}
.problem-card {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.problem-card:nth-child(2n) { border-right: 0; }
.problem-card:nth-last-child(-n+2) { border-bottom: 0; }

.problem-card__icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.problem-card__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.problem-card__text { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

.problem-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--paper-warm);
  border-left: 3px solid var(--accent);
  font-size: 15px;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how-flow {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  margin-bottom: 40px;
  overflow: hidden;
}
.how-flow__box {
  flex: 1;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  border-right: 1px solid var(--line);
}
.how-flow__box:last-child { border-right: 0; }
.how-flow__box--light { background: #fff; color: var(--ink); }
.how-flow__box--dark { background: var(--ink); color: var(--paper); }
.how-flow__box--accent { background: var(--accent); color: #fff; }
.how-flow__arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--ink-muted);
  font-size: 16px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  background: var(--paper-warm);
}

.how-desc { max-width: 720px; }
.how-desc p { font-size: 16px; color: var(--ink-muted); line-height: 1.75; margin-bottom: 14px; }
.how-desc p:last-child { margin-bottom: 0; }

/* ===== REPORTS ===== */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1.5px solid var(--line-strong);
  background: #fff;
}
.report-card {
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.report-card:nth-child(2n) { border-right: 0; }
.report-card:nth-last-child(-n+2) { border-bottom: 0; }

.report-card__icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.report-card__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.report-card__text { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

.reports-note {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--paper-warm);
  border-left: 3px solid var(--accent);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ===== AUDIENCE ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid var(--line-strong);
  background: #fff;
}
.audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--line);
}
.audience-card:last-child { border-right: 0; }

.audience-card__icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 14px;
}
.audience-card__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.audience-card__text { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* ===== STEPS ===== */
.steps {
  display: flex;
  border: 1.5px solid var(--line-strong);
  background: #fff;
}
.step {
  flex: 1;
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: 0; }

.step__number {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.step__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step__text { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

/* ===== INTERFACE ===== */
.interface-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  justify-items: center;
}
.interface-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 220px;
  width: 100%;
}
.interface-item__phone {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  aspect-ratio: 9/19.5;
  border: 1.5px solid rgba(255,255,255,0.15);
}
.interface-item__phone img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.interface-item__label { text-align: center; }
.interface-item__title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.interface-item__text { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* ===== BENEFITS ===== */
.benefits-list { display: flex; flex-direction: column; }
.benefit-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.benefit-row:first-child { border-top: 1px solid var(--line); }
.benefit-row__title { font-size: 16px; font-weight: 700; color: var(--ink); }
.benefit-row__desc { font-size: 15px; color: var(--ink-muted); line-height: 1.7; }

/* ===== CTA / REQUEST ===== */
.rp-request { padding: 88px 24px; }
.rp-request_dark { background: var(--ink); }
.rp-request_light { background: var(--paper-warm); border-top: 1.5px solid var(--line-strong); }

.rp-request__inner {
  max-width: var(--container-3xl);
  margin: 0 auto;
}
.rp-request__header { margin-bottom: 40px; }
.rp-request__title {
  font-family: Georgia, serif;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.rp-request_dark .rp-request__title { color: #fff; }
.rp-request_light .rp-request__title { color: var(--ink); }
.rp-request__subtitle { font-size: 15px; line-height: 1.65; }
.rp-request_dark .rp-request__subtitle { color: rgba(255,255,255,0.55); }
.rp-request_light .rp-request__subtitle { color: var(--ink-muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: #fff;
  padding-top: 60px;
  border-top: 1.5px solid var(--line-strong);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  width: 220px;
  height: 58px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer__logo-img {
  display: block;
  width: 220px;
  height: 58px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 767px) {
  .footer__logo {
    width: 180px;
    height: 48px;
  }

  .footer__logo-img {
    width: 180px;
    height: 48px;
  }
}
.footer__logo span { color: var(--accent); }
.footer__desc { font-size: 14px; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 300px; }
.footer__col-title {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.28); }
.developer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: rgba(255,255,255,0.28);
}
.developer__icon { width: 14px; height: 14px; color: #c2410c; flex-shrink: 0; }
.developer__link { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.developer__link:hover { color: #fff; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  border-top: 1.5px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner__text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex: 1;
  min-width: 240px;
  line-height: 1.55;
}
.cookie-banner__text a { color: var(--accent); text-decoration: underline; }
.cookie-banner__btn { flex-shrink: 0; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--paper-warm);
  padding: 72px 24px 52px;
  border-bottom: 1.5px solid var(--line-strong);
  text-align: center;
}
.page-hero__inner { max-width: var(--container-3xl); margin: 0 auto; }
.page-hero__tag {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.page-hero__title {
  font-family: Georgia, serif;
  font-size: clamp(26px, 4.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin-bottom: 16px;
}
.page-hero__subtitle {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}
.page-hero__meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page-hero__meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-muted);
  display: inline-block;
}

/* ===== SUPPORT ===== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--line-strong);
  background: #fff;
}
.support-card {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.support-card:nth-child(3n) { border-right: 0; }
.support-card:nth-last-child(-n+3) { border-bottom: 0; }
.support-card__icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 12px; }
.support-card__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.support-card__text { font-size: 13px; color: var(--ink-muted); line-height: 1.55; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.15s;
  font-family: Inter, sans-serif;
}
.faq-question:hover { color: var(--accent); }
.faq-question.open { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--ink-muted);
  transition: transform 0.25s, color 0.15s;
}
.faq-question.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.open { max-height: 400px; }
.faq-answer__inner {
  padding-bottom: 18px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}
.faq-answer__inner a { color: var(--accent); text-decoration: underline; }

/* ===== LEGAL / DELETE ACCOUNT ===== */
.legal-content {
  max-width: var(--container-4xl);
  margin: 0 auto;
  padding: 60px 24px 96px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 32px;
  transition: color 0.15s;
}
.legal-back:hover { color: var(--accent); }
.legal-content h2 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 40px 0 12px;
  color: var(--ink);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content a {  text-decoration: underline; }

.delete-info-box {
  border: 1.5px solid var(--line-strong);
  padding: 32px;
  background: #fff;
  margin-bottom: 28px;
}
.delete-info-box__title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.delete-steps { display: flex; flex-direction: column; gap: 16px; }
.delete-step { display: flex; align-items: flex-start; gap: 14px; }
.delete-step__num {
  width: 26px; height: 26px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px; font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.delete-step__text { font-size: 14px; color: var(--ink-muted); line-height: 1.65; padding-top: 3px; }
.delete-step__text code {
  
 
  padding: 2px 6px;
  
  color: var(--accent);
}
.delete-step__text strong { color: var(--ink); }

.delete-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.delete-list-box {
  padding: 20px 22px;
  border: 1.5px solid var(--line);
}
.delete-list-box--green { border-color: #bbf7d0; background: #f0fdf4; }
.delete-list-box--amber { border-color: #fde68a; background: #fffbeb; }
.delete-list-box__title { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
.delete-list-box ul { list-style: none; padding: 0; margin: 0; }
.delete-list-box li {
  font-size: 13px; color: var(--ink-muted);
  line-height: 1.6; padding: 3px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.delete-list-box li::before { content: "—"; color: var(--ink-muted); flex-shrink: 0; }

/* ===== UTILS ===== */
.mt-12 { margin-top: 48px; }
.mb-8 { margin-bottom: 32px; }
.mt-0 { margin-top: 0 !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header__inner { grid-template-columns: auto auto; }
  .header__nav { display: none; }
  .header__actions .btn:not(.header__burger) { display: none; }
  .header__burger { display: flex; }

  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-card:nth-child(2n) { border-right: 0; }
  .audience-card:nth-child(2n+1) { border-right: 1px solid var(--line); }
  .audience-card:nth-child(n+3) { border-top: 1px solid var(--line); }

  .steps { flex-direction: column; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }

  .interface-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .support-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .support-card:nth-child(2n) { border-right: 0; }
  .support-card:nth-last-child(-n+2) { border-bottom: 0; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .delete-lists { grid-template-columns: 1fr; }

  .how-flow { flex-wrap: wrap; }
  .how-flow__box { flex: 0 0 calc(50% - 1px); }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .section { padding: 64px 24px; }
  .hero { padding: 0 20px 48px; }

  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { border-right: 0; }

  .reports-grid { grid-template-columns: 1fr; }
  .report-card { border-right: 0; }
  .report-card:nth-last-child(-n+1) { border-bottom: 0; }

  .audience-grid { grid-template-columns: 1fr 1fr; }

  .benefit-row { grid-template-columns: 1fr; gap: 6px; }

  .support-grid { grid-template-columns: 1fr; }
  .support-card { border-right: 0; }
  .support-card:nth-last-child(-n+1) { border-bottom: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .legal-content { padding: 40px 20px 64px; }
  .delete-info-box { padding: 22px 18px; }
}
/* ===== MOBILE FIX: RestoPulse sections ===== */

@media (max-width: 767px) {
  /* Общие секции */
  .section,
  .section-small {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section__title,
  .page-section__title {
    text-align: center;
  }

  /* Блок со схемой: iiko → обработка → отчёты */
  .flow,
  .data-flow,
  .process-flow,
  .workflow {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .flow img,
  .data-flow img,
  .process-flow img,
  .workflow img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Блок "Для тех, кто управляет..." */
  .audience-grid,
  .for-whom__grid,
  .roles-grid,
  .cards-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100%;
  }

  .audience-card,
  .for-whom__card,
  .role-card,
  .card {
    width: 100%;
    min-height: auto !important;
    padding: 34px 24px !important;
    text-align: center;
    border-left: 1px solid rgba(0,0,0,.12);
    border-right: 1px solid rgba(0,0,0,.12);
  }

  /* Убираем эффект 2x2 на мобилке */
  .audience-card + .audience-card,
  .for-whom__card + .for-whom__card,
  .role-card + .role-card,
  .card + .card {
    border-top: 1px solid rgba(0,0,0,.12);
  }

  /* Блок со скринами приложения */
  .screens-grid,
  .app-screens,
  .interface-grid,
  .reports-grid,
  .mockups-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 42px !important;
    width: 100%;
  }

  .screen-card,
  .app-screen,
  .interface-card,
  .report-card,
  .mockup-card {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .screen-card img,
  .app-screen img,
  .interface-card img,
  .report-card img,
  .mockup-card img {
    display: block;
    width: min(100%, 300px);
    height: auto;
    margin: 0 auto 18px;
  }

  /* Если внутри блока телефоны стоят просто картинками */
  .screens-grid > img,
  .app-screens > img,
  .interface-grid > img,
  .reports-grid > img,
  .mockups-grid > img {
    width: min(100%, 300px);
    height: auto;
    margin: 0 auto;
  }
}
/* ===== MOBILE ONLY: HOW SECTION ===== */

@media (max-width: 767px) {
  #how.section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  #how .container,
  #how .container--5xl {
    width: 100%;
    max-width: 390px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  #how .section__header {
    max-width: 320px;
    margin: 0 auto 34px;
    text-align: center;
  }

  #how .section__title {
    font-size: 30px;
    line-height: 1.03;
    letter-spacing: -0.04em;
    text-align: center;
  }

  #how .how-flow {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 34px !important;
  }

  #how .how-flow__box {
    width: 100%;
    min-height: 70px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    border: 1px solid rgba(10, 10, 10, 0.12);
  }

  #how .how-flow__box--light {
    background: #fff;
    color: #0a0a0a;
  }

  #how .how-flow__box--accent {
    background: #c2410c;
    color: #fff;
    border-color: #c2410c;
  }

  #how .how-flow__box--dark {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
  }

  #how .how-flow__arrow {
    width: 1px;
    height: 28px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.18);
    color: transparent;
    position: relative;
  }

  #how .how-flow__arrow::after {
    content: "↓";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f2ec;
    border: 1px solid rgba(10, 10, 10, 0.14);
    color: #c2410c;
    font-size: 13px;
    line-height: 1;
  }

  #how .how-desc {
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
  }

  #how .how-desc p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.75;
  }

  #how .how-desc p:last-child {
    margin-bottom: 0;
  }
}

.page-hero__meta {
  display: flex;
  flex-direction: column;
  
  gap: 16px;
}

.page-hero__schedule {
  display: flex;
  align-items: center;
  gap: 10px;
}
