/* =========================================================================
   Kasha Checker — основные стили сайта
   Палитра: графит #1A1D24 + coral #FF4458 + mint #5EEAD4
   Шрифты (Google Fonts): Unbounded (заголовки), Inter (body), Caveat (slogan)
   ========================================================================= */

:root {
  /* Палитра графит */
  --c-bg:            #1A1D24;       /* основной графитовый фон */
  --c-bg-elev:       #242832;       /* поднятые поверхности (card) */
  --c-bg-soft:       #2D3240;       /* софт-фон под секциями */
  --c-bg-light:      #F4F7FB;       /* светлая секция (features/pricing/cta) */
  --c-bg-light-soft: #E8EDF4;       /* софт-фон под светлой секцией */
  --c-white:         #FFFFFF;
  --c-text:          #FFFFFF;       /* текст на тёмном */
  --c-text-dark:     #0F1218;       /* текст на светлом */
  --c-text-muted:    rgba(255, 255, 255, 0.65);
  --c-text-muted-dark: rgba(15, 18, 24, 0.65);
  --c-border:        rgba(255, 255, 255, 0.10);
  --c-border-light:  rgba(15, 18, 24, 0.08);

  /* Акценты */
  --c-accent:        #FF4458;       /* coral CTA */
  --c-accent-hover:  #FF5C6E;
  --c-accent-dark:   #E63048;
  --c-mint:          #5EEAD4;       /* mint — рукописный акцент */
  --c-mint-soft:     rgba(94, 234, 212, 0.18);

  /* Тени */
  --shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.32);
  --shadow-md:       0 8px 24px rgba(0, 0, 0, 0.40);
  --shadow-lg:       0 20px 48px rgba(0, 0, 0, 0.50);
  --shadow-accent:   0 8px 24px rgba(255, 68, 88, 0.36);

  /* Радиусы */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 999px;

  /* Шрифты */
  --f-display:  'Unbounded', system-ui, -apple-system, sans-serif;
  --f-body:     'Inter', system-ui, -apple-system, sans-serif;
  --f-script:   'Caveat', 'Brush Script MT', cursive;
  --f-mono:     ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  /* Размеры */
  --container:  1200px;
  --container-narrow: 820px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
section { padding: 90px 0; }
@media (max-width: 768px) { section { padding: 60px 0; } }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p  { font-size: 1.05rem; }

.section__title {
  text-align: center;
  margin-bottom: 16px;
  color: var(--c-white);
}
.section__lead {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__emoji { font-size: 1.15em; line-height: 1; }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: var(--c-accent-hover); }

.btn--accent {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: var(--shadow-accent);
  font-weight: 700;
}
.btn--accent:hover {
  background: var(--c-accent-hover);
  box-shadow: var(--shadow-lg), var(--shadow-accent);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,0.40);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--c-white); }

.btn--outline {
  background: transparent;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
}
.btn--outline:hover { background: var(--c-accent); color: var(--c-white); }

.btn--sm { padding: 10px 18px; font-size: 0.92rem; }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(26, 29, 36, 0.78);
  border-bottom: 1px solid var(--c-border);
  transition: background .3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-white);
  white-space: nowrap;
}
.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-white);
  object-fit: cover;
  overflow: hidden;
  box-sizing: border-box;
  flex-shrink: 0;
}
.logo--footer { color: var(--c-white); }
.logo--footer img { width: 36px; height: 36px; }

.nav {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 0.96rem;
}
.nav a {
  color: var(--c-white);
  opacity: 0.78;
  transition: opacity .2s;
}
.nav a:hover { opacity: 1; }

.nav__toggle { display: none; color: var(--c-white); }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(26, 29, 36, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border);
  }
  .nav__toggle { display: block; }
  .header__inner .btn--primary span { display: none; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -150px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 68, 88, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__content { max-width: 580px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 68, 88, 0.12);
  border: 1px solid rgba(255, 68, 88, 0.32);
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--c-accent);
}
.hero__title {
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--c-white);
}
.hero__subtitle {
  font-family: var(--f-script);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--c-mint);
  margin-bottom: 24px;
  line-height: 1;
}
.hero__lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero__bullets {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
}
.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__bullets svg { color: var(--c-mint); }

/* Phone mock — TikTok-style алерт */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__phone {
  width: 320px;
  height: 580px;
  background: #0A0C12;
  border-radius: 38px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,0.08);
  transform: rotate(-3deg);
  position: relative;
}
.hero__phone::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #0A0C12;
  border-radius: 12px;
  z-index: 2;
}
.hero__phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1F2330, #2A2F3F);
  border-radius: 26px;
  padding: 60px 14px 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero__alert {
  background: rgba(255, 68, 88, 0.10);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--r-md);
  padding: 14px 14px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-white);
  line-height: 1.4;
}
.hero__alert--mint {
  background: rgba(94, 234, 212, 0.10);
  border-left-color: var(--c-mint);
}
.hero__alert b { color: var(--c-accent); font-weight: 700; }
.hero__alert--mint b { color: var(--c-mint); }
.hero__alert-table {
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 900px) {
  .hero { padding: 40px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .hero__phone { width: 240px; height: 440px; transform: rotate(-2deg); }
  .hero__phone-screen { padding: 44px 12px 14px; }
  .hero__alert { font-size: 0.7rem; padding: 10px; }
}

/* ─── Gallery (примеры алертов) ─── */
.gallery { padding: 100px 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery__grid { grid-template-columns: 1fr; gap: 14px; } }

.gallery__item {
  background: var(--c-bg-elev);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
  font-family: var(--f-mono);
  font-size: 0.86rem;
  transition: transform .3s ease, border-color .3s ease;
  position: relative;
}
.gallery__item:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.20); }
.gallery__item h4 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--c-white);
}
.gallery__item h4 .gallery__emoji { font-size: 1.4rem; margin-right: 6px; }
.gallery__pre {
  background: rgba(0,0,0,0.30);
  border-radius: var(--r-sm);
  padding: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: pre;
  overflow-x: auto;
}
.gallery__pre b { color: var(--c-accent); font-weight: 700; }
.gallery__item--mint .gallery__pre b { color: var(--c-mint); }
.gallery__item--orange .gallery__pre b { color: #FF9F43; }
.gallery__item--grey .gallery__pre b { color: rgba(255,255,255,0.7); }

/* ─── Features ─── */
.features {
  background: var(--c-bg-light);
  color: var(--c-text-dark);
}
.features .section__title { color: var(--c-text-dark); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features__grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--c-white);
  padding: 32px 24px;
  border-radius: var(--r-lg);
  text-align: center;
  border: 1px solid var(--c-border-light);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,18,24,0.10); }
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: 18px;
  margin-bottom: 18px;
}
.feature h3 { color: var(--c-text-dark); margin-bottom: 8px; }
.feature p { color: var(--c-text-muted-dark); font-size: 0.98rem; }

/* ─── How-to ─── */
.howto__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 40px;
}
.howto__step {
  background: var(--c-bg-elev);
  border: 1px solid var(--c-border);
  padding: 32px 28px;
  border-radius: var(--r-lg);
  text-align: center;
}
.howto__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--c-white);
  background: var(--c-accent);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.howto__step h3 { color: var(--c-white); margin-bottom: 10px; }
.howto__step p { color: rgba(255,255,255,0.72); font-size: 0.98rem; }
.howto__arrow {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.40);
}
@media (max-width: 900px) {
  .howto__steps { grid-template-columns: 1fr; }
  .howto__arrow { transform: rotate(90deg); justify-content: center; }
}

/* ─── Pricing ─── */
.pricing {
  background: var(--c-bg-light);
  color: var(--c-text-dark);
}
.pricing .section__title { color: var(--c-text-dark); }
.pricing .section__lead { color: var(--c-text-muted-dark); }

.pricing__trial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--c-white);
  border: 2px solid var(--c-accent);
  border-radius: var(--r-xl);
  padding: 24px 36px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}
.pricing__trial-content { display: flex; align-items: center; gap: 20px; }
.pricing__trial-icon { font-size: 2.4rem; line-height: 1; }
.pricing__trial h3 { color: var(--c-text-dark); margin-bottom: 4px; }
.pricing__trial p { color: var(--c-text-muted-dark); font-size: 0.98rem; }
@media (max-width: 700px) {
  .pricing__trial { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; }
  .pricing__trial-content { flex-direction: column; gap: 12px; }
}

.pricing__group-title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text-dark);
  text-align: center;
  margin: 48px 0 24px;
}
.pricing__group-title span {
  display: inline-block;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--c-text-muted-dark);
  margin-left: 8px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .pricing__grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--c-white);
  border: 2px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--c-accent); box-shadow: 0 12px 32px rgba(15,18,24,0.10); }
.plan--popular {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-full);
}
.plan__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.plan__emoji { font-size: 1.6rem; line-height: 1; }
.plan h4 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--c-text-dark); }
.plan__price {
  font-family: var(--f-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.plan__price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text-muted-dark);
  letter-spacing: 0;
}
.plan__features {
  flex: 1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan__features li {
  font-size: 0.96rem;
  color: var(--c-text-dark);
  padding-left: 24px;
  position: relative;
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--c-accent);
  border-bottom: 2.5px solid var(--c-accent);
  transform: rotate(-45deg);
}

.pricing__note {
  text-align: center;
  color: var(--c-text-muted-dark);
  font-size: 0.92rem;
  margin-top: 40px;
  line-height: 1.7;
}
.pricing__note a { color: var(--c-accent); text-decoration: underline; }

/* ─── FAQ ─── */
.faq__list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq__item {
  background: var(--c-bg-elev);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item:hover { border-color: rgba(255,255,255,0.20); }
.faq__item[open] { border-color: var(--c-accent); }
.faq__item summary {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-white);
  padding: 20px 56px 20px 24px;
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--c-accent);
  border-bottom: 2.5px solid var(--c-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { padding: 0 24px 24px; color: rgba(255,255,255,0.78); font-size: 0.98rem; line-height: 1.65; }
.faq__item p a { color: var(--c-mint); text-decoration: underline; }

/* ─── Final CTA ─── */
.cta { padding: 80px 0; }
.cta__card {
  background: var(--c-bg-elev);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 64px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta__card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,68,88,0.20), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta__card h2 { color: var(--c-white); margin-bottom: 16px; position: relative; }
.cta__card p { color: rgba(255,255,255,0.78); font-size: 1.1rem; margin-bottom: 32px; position: relative; }
.cta__card .btn { position: relative; }
@media (max-width: 600px) { .cta__card { padding: 48px 20px; } }

/* ─── Footer ─── */
.footer {
  background: #0F1218;
  color: var(--c-white);
  padding: 64px 0 24px;
  border-top: 1px solid var(--c-border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer__inner { grid-template-columns: 1fr; }
}
.footer__brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.6;
}
.footer__col h5 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  color: rgba(255,255,255,0.75);
  padding: 6px 0;
  transition: color .2s;
  font-size: 0.96rem;
}
.footer__col a:hover { color: var(--c-mint); }

.footer__legal {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

/* ─── Legal pages (offer, privacy) ─── */
.legal-page {
  background: var(--c-bg-light);
  color: var(--c-text-dark);
  min-height: 100vh;
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}
.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  color: var(--c-text-dark);
}
.legal-content h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin: 40px 0 16px;
  color: var(--c-text-dark);
}
.legal-content h3 {
  font-size: 1.15rem;
  margin: 24px 0 12px;
  color: var(--c-text-dark);
}
.legal-content p, .legal-content ul, .legal-content ol {
  color: var(--c-text-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content ul li, .legal-content ol li { list-style: disc; margin-bottom: 6px; }
.legal-content ol li { list-style: decimal; }
.legal-content a { color: var(--c-accent); text-decoration: underline; }
.legal-content strong { font-weight: 700; }
.legal-content .legal-meta {
  background: var(--c-white);
  border-left: 4px solid var(--c-accent);
  padding: 16px 20px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(15,18,24,0.05);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.legal-back:hover { text-decoration: underline; }

/* ─── Reveal animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Selection ─── */
::selection { background: var(--c-accent); color: var(--c-white); }

/* ─── Extra-narrow phones (≤ 380px) ─── */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero { padding: 28px 0 48px; }
  .hero__title { font-size: 2.1rem; }
  .hero__subtitle { font-size: 1.8rem; }
  .hero__lead { font-size: 1rem; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__phone { width: 200px; height: 380px; }
  .section__title { font-size: 1.7rem; }
  .section__lead { font-size: 1rem; margin-bottom: 36px; }
  .cta__card { padding: 36px 16px; }
  .cta__card h2 { font-size: 1.6rem; }
  .feature { padding: 24px 16px; }
  .plan { padding: 24px 18px; }
  .plan__price { font-size: 1.8rem; }
  .faq__item summary { padding: 16px 48px 16px 18px; font-size: 0.98rem; }
  .faq__item p { padding: 0 18px 18px; font-size: 0.93rem; }
  .legal-content { padding: 40px 16px 80px; }
}

/* ─── Tablet refinement (700-900px) ─── */
@media (min-width: 700px) and (max-width: 900px) {
  .hero__phone { width: 280px; height: 510px; }
}

/* ─── Reduce motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ─── Print ─── */
@media print {
  .header, .footer, .cta, .nav__toggle { display: none; }
  body { background: white; color: black; }
  .legal-content { padding: 0; max-width: none; }
}
