/* słówka.online — strona produktowa */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e5e7eb;
  --line-2: #eef0f3;
  --bg: #fcfbf8;
  --surface: #ffffff;
  --soft: #f4f3ef;
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --accent: #f5b83d;
  --ok: #059669;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 32px 64px -24px rgba(30, 27, 75, .35);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-block;
  font: 600 .78rem/1 var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 11px;
  font: 600 .95rem/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 13px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -6px rgba(79,70,229,.6); }
.btn--primary:hover { background: var(--brand-600); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #cbd5e1; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1e293b; }
.btn--light { background: #fff; color: var(--brand-600); }
.btn--light:hover { background: var(--brand-50); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 248, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--brand); color: #fff; font: 750 .9rem/1 var(--display); letter-spacing: -.02em;
}
.logo__word { font: 700 1.15rem/1 var(--display); letter-spacing: -.02em; color: var(--brand-600); }
.logo__word span { color: #94a3b8; font-weight: 600; }
.nav__links { display: flex; gap: 26px; margin-right: auto; }
.nav__links a { text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.mobile-menu { display: grid; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- frames ---------- */
.browser {
  margin: 0;
  background: var(--surface);
  border: 1px solid #dfe3ea;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser__bar {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  background: #f5f6f8; border-bottom: 1px solid #e6e8ec;
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dce2; }
.browser__bar span {
  margin: 0 auto; transform: translateX(-20px);
  font: 500 .72rem/1 var(--body); color: #8b93a1;
  background: #fff; border: 1px solid #e6e8ec; border-radius: 6px; padding: 5px 14px;
}
.phone {
  margin: 0;
  padding: 7px;
  background: #0b1020;
  border-radius: 34px;
  box-shadow: 0 0 0 1px #2a3142 inset, var(--shadow-lg);
}
.phone img { border-radius: 27px; aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top; width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero__copy .lead { margin-top: 24px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hero__visual { position: relative; padding: 0 0 48px 0; }
.hero__visual .browser { transform: translateX(4%); width: 108%; }
.phone--hero { position: absolute; left: -6%; bottom: 0; width: 27%; }
.live-chip {
  position: absolute; top: -14px; right: 2%;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(16,185,129,0); } }

.platforms { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.platforms__in { display: flex; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.platforms p { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.platforms li { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.platforms svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__head.center { margin-left: auto; margin-right: auto; }
.section__head .lead { margin-top: 20px; }
.intro .lead { margin-top: 22px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.step { padding: 30px 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__n { display: block; font: 650 .82rem/1 var(--display); color: var(--brand); letter-spacing: .04em; margin-bottom: 26px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: .97rem; }

/* features */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__copy { order: 2; }
.feature__copy h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); letter-spacing: -.025em; margin: 16px 0 16px; }
.feature__copy > p { color: var(--ink-2); font-size: 1.03rem; }
.tag {
  display: inline-block; padding: 6px 11px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600);
  font: 600 .78rem/1 var(--body); letter-spacing: .01em;
}
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 28px; font-size: .96rem; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%234338ca' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.duo { position: relative; padding-bottom: 40px; }
.duo .browser { width: 92%; }
.duo .phone--sm { position: absolute; right: 0; bottom: 0; width: 26%; }
.feature--flip .duo .browser { margin-left: 8%; }
.feature--flip .duo .phone--sm { right: auto; left: 0; }

/* devices */
.devices { background: linear-gradient(180deg, var(--bg), #f1f0fb 60%, var(--bg)); }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.phones figure { margin: 0; }
.phones figure:nth-child(even) { margin-top: 48px; }
.phones figcaption { margin-top: 18px; font-size: .9rem; color: var(--muted); text-align: center; padding: 0 6px; }

/* schools */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.split .lead { margin-top: 20px; }
.audiences { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.audiences > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 190px 1fr; gap: 16px; }
.audiences h3 { font-size: 1rem; }
.audiences p { font-size: .95rem; color: var(--ink-2); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.trust__item { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trust__item svg { width: 28px; height: 28px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.trust__item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.trust__item p { font-size: .95rem; color: var(--ink-2); }

/* roadmap */
.roadmap { background: var(--ink); color: #e2e8f0; }
.roadmap h2, .roadmap h3, .roadmap h4 { color: #fff; }
.roadmap .eyebrow { color: #a5b4fc; }
.roadmap .lead { color: #cbd5e1; }
.rm-group + .rm-group { margin-top: 56px; }
.rm-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.rm-group__head h3 { font-size: 1.2rem; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 600 .74rem/1 var(--body); letter-spacing: .03em; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--next { background: rgba(245, 184, 61, .14); color: #fcd34d; }
.status--planned { background: rgba(165, 180, 252, .14); color: #c7d2fe; }
.status--later { background: rgba(148, 163, 184, .14); color: #cbd5e1; }
.rm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rm-grid--5 { grid-template-columns: repeat(5, 1fr); }
.rm-group:nth-child(3) .rm-grid { grid-template-columns: repeat(3, 1fr); }
.rm { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.rm:first-child:not(.rm--game) { grid-column: span 1; }
.rm h4 { margin-bottom: 10px; }
.rm p { font-size: .92rem; color: #aab4c5; line-height: 1.55; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.pills li { font-size: .76rem; font-weight: 500; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); color: #e2e8f0; }
.rm__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(165,180,252,.12); margin-bottom: 16px; }
.rm__icon svg { width: 22px; height: 22px; fill: none; stroke: #c7d2fe; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* pricing */
.billing {
  display: inline-flex; margin-top: 32px; padding: 4px; gap: 4px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 12px;
}
.billing button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; padding: 9px 16px; border-radius: 9px;
  font: 600 .9rem/1 var(--body); color: var(--muted); cursor: pointer;
}
.billing button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save { font-size: .72rem; font-weight: 600; color: var(--ok); background: #ecfdf5; padding: 4px 7px; border-radius: 6px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.plan h3 { font-size: 1.2rem; }
.plan__for { margin-top: 8px; font-size: .9rem; color: var(--muted); min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.price__v { font: 700 2.5rem/1 var(--display); letter-spacing: -.035em; }
.price__per, .price__from { font-size: .92rem; color: var(--muted); }
.price__note { margin: 8px 0 22px; font-size: .84rem; color: var(--muted); min-height: 1.3em; }
.plan__list { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 11px; font-size: .92rem; color: var(--ink-2); }
.plan__list li { position: relative; padding-left: 24px; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%234f46e5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan__list li.off { color: #94a3b8; }
.plan__list li.off::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan__list b { color: var(--ink); font-weight: 600; }
.plan em, .soon {
  font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  color: #92400e; background: #fef3c7; padding: 2px 6px; border-radius: 5px; margin-left: 4px; white-space: nowrap;
  vertical-align: 1px;
}
.plan--featured { border: 1.5px solid var(--brand); box-shadow: 0 24px 48px -24px rgba(79,70,229,.45); }
.plan__badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--brand); color: #fff; font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 7px;
}
.enterprise {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 16px; padding: 26px 30px; border-radius: var(--radius-lg);
  background: var(--soft); border: 1px solid var(--line);
}
.enterprise h3 { font-size: 1.15rem; margin-bottom: 6px; }
.enterprise p { color: var(--ink-2); font-size: .95rem; max-width: 720px; }

/* compare table */
.compare { margin-top: 96px; }
.compare__title { font-size: 1.6rem; margin-bottom: 24px; }
.compare__scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.compare table { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); text-align: center; vertical-align: middle; }
.compare thead th {
  position: sticky; top: 0; background: var(--surface); z-index: 2;
  font: 650 1rem/1.2 var(--display); letter-spacing: -.01em; padding-top: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.compare tbody th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); width: 32%; }
.compare th:first-child, .compare td:first-child {
  position: sticky; left: 0; background: var(--surface); z-index: 1;
}
.compare thead th:first-child { z-index: 3; }
.compare td { color: var(--ink-2); }
.compare td.y { color: var(--brand); font-weight: 700; font-size: 1rem; }
.compare td.n { color: #cbd5e1; }
.compare .hl { background: #f7f7ff; }
.compare thead th.hl { color: var(--brand-600); background: #f7f7ff; }
.compare tr.grp th {
  text-align: left; background: var(--soft); color: var(--ink);
  font: 600 .74rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em;
  padding-top: 14px; padding-bottom: 14px;
}
.compare tr.grp .soon { text-transform: none; letter-spacing: .02em; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare__foot { margin-top: 16px; font-size: .85rem; color: var(--muted); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 600 1.08rem/1.35 var(--display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* cta */
.cta { padding: 0 0 112px; }
.cta__in {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px 56px; border-radius: 28px;
  background: radial-gradient(120% 140% at 100% 0%, #6d63f5 0%, var(--brand) 45%, #3730a3 100%);
  color: #fff;
}
.cta h2 { color: #fff; max-width: 620px; }
.cta p { margin-top: 14px; color: #e0e7ff; font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer__in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer__in > div p { margin-top: 14px; max-width: 320px; font-size: .92rem; color: var(--muted); }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer h4 { font: 600 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.footer nav a { text-decoration: none; font-size: .93rem; color: var(--ink-2); }
.footer nav a:hover { color: var(--brand); }
.footer__bottom { padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-2); font-size: .85rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .nav__cta .btn--ghost { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .rm-grid, .rm-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .rm-group:nth-child(3) .rm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero { padding-top: 40px; }
  .hero__grid, .feature, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { margin: 0 8px; }
  .hero__visual .browser { width: 100%; transform: none; }
  .phone--hero { left: -8px; width: 30%; }
  .feature--flip .feature__copy { order: 0; }
  .feature--flip .duo .browser { margin-left: 0; }
  .feature--flip .duo .phone--sm { left: auto; right: 0; }
  .platforms__in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .steps, .trust { grid-template-columns: 1fr; }
  .phones { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .section { padding: 80px 0; }
  .cta__in { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .mobile-menu { padding-left: 16px; padding-right: 16px; }
  .lead { font-size: 1.04rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .plans, .rm-grid, .rm-grid--5, .rm-group:nth-child(3) .rm-grid { grid-template-columns: 1fr; }
  .plan__for { min-height: 0; }
  .audiences > div { grid-template-columns: 1fr; gap: 4px; }
  .enterprise { flex-direction: column; align-items: flex-start; padding: 24px; }
  .section__head { margin-bottom: 44px; }
  .feature { padding: 40px 0; }
  .browser__bar span { display: none; }
  .phones { gap: 14px; }
  .phones figure:nth-child(even) { margin-top: 28px; }
  .phone { padding: 5px; border-radius: 24px; }
  .phone img { border-radius: 19px; }
  .compare table { min-width: 720px; font-size: .84rem; }
  .compare tbody th[scope="row"] { width: 170px; min-width: 170px; }
  .compare th, .compare td { padding: 11px 10px; }
  .billing button { padding: 9px 12px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}
