/* HataVik — лендинг приложения.
   Палитра — токены светлой и тёмной темы прототипа (docs/design/home-care-assistant-v1.html,
   блок THEME): акцент blue #1BA0A8 / #2DC4CC. Производные оттенки помечены. */

:root {
  --teal: #1BA0A8;
  --teal-lite: #2DC4CC;
  --teal-ink: #137C83;            /* производный: teal × 0.8 — текст и ссылки на светлом */
  --ink: #0B1719;                 /* производный: фон тёмных секций, темнее dark.bg */
  --ink-2: #141C1E;               /* dark.bg */
  --ink-3: #1F2A2D;              /* dark.bgSecondary */
  --bg: #EFF3F5;                  /* light.bg */
  --card: #FFFFFF;
  --label: #1C2C30;
  --sub: #4F6A71;                 /* производный: label-secondary на белом без прозрачности */
  --line: rgba(46, 71, 77, .16);
  --green: #34C759;
  --orange: #FF9500;
  --red: #FF3B30;

  --r-lg: 28px;
  --r-md: 20px;
  --shadow-card: 0 1px 2px rgba(20, 45, 50, .05), 0 14px 40px rgba(20, 45, 50, .08);
  --shadow-phone: 0 40px 80px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI",
          system-ui, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  color: var(--label);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--teal-lite); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─── Кнопки ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 999px; transition: transform .2s, background .2s;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-1px); background: #e9fbfc; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px 12px 20px;
  background: #fff; color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 10px 30px -8px rgba(45, 196, 204, .55);
  transition: transform .25s, box-shadow .25s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(45, 196, 204, .7); }
.store__logo { width: 30px; height: 30px; }
.store__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store__txt small { font-size: 11px; font-weight: 500; opacity: .7; }
.store__txt b { font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.store--light { background: #fff; }

.link-arrow { font-size: 16px; font-weight: 600; color: #fff; opacity: .85; transition: opacity .2s; }
.link-arrow span { display: inline-block; transition: transform .2s; }
.link-arrow:hover { opacity: 1; }
.link-arrow:hover span { transform: translateX(4px); }

/* ─── Шапка ───────────────────────────────────────────────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.nav.is-stuck {
  background: rgba(11, 23, 25, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__icon { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.brand__name { font-size: 21px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: #fff; }

/* ─── Первый экран ────────────────────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 148px 0 0;
  color: #fff;
  background: linear-gradient(180deg, var(--ink) 0%, #0F2226 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 65% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 65% 40%, #000 20%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb--a { width: 520px; height: 520px; background: var(--teal); top: -160px; right: -80px; animation: drift 14s ease-in-out infinite; }
.orb--b { width: 380px; height: 380px; background: #2b6fd6; bottom: -120px; left: 30%; opacity: .32; animation: drift 18s ease-in-out infinite reverse; }
.orb--c { width: 300px; height: 300px; background: var(--teal-lite); top: 30%; left: -100px; opacity: .22; animation: drift 16s ease-in-out infinite; }
@keyframes drift { 50% { transform: translate(30px, 24px) scale(1.06); } }

.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center; gap: 24px;
}
.hero__copy { padding-bottom: 96px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-lite); box-shadow: 0 0 0 4px rgba(45, 196, 204, .25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(45, 196, 204, 0); } }

.hero__title {
  margin-top: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, #7CF0F5 0%, var(--teal-lite) 45%, #6FB1FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead { margin-top: 24px; max-width: 520px; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.hero__cta { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__facts { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__facts li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero__facts svg { width: 18px; height: 18px; fill: none; stroke: var(--teal-lite); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* сцена с телефонами */
.hero__stage { position: relative; height: 640px; align-self: end; }
.phone {
  position: absolute;
  width: 262px;
  padding: 7px;
  border-radius: 46px;
  background: #050b0c;
  box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; height: auto; border-radius: 39px; }
.phone--c { left: 50%; bottom: 0; margin-left: -131px; z-index: 3; animation: floatY 7s ease-in-out infinite; }
.phone--l { left: 0; bottom: -20px; transform: rotate(-7deg) scale(.86); transform-origin: bottom right; z-index: 2; opacity: .96; }
.phone--r { right: 0; bottom: -20px; transform: rotate(7deg) scale(.86); transform-origin: bottom left; z-index: 2; opacity: .96; }
@keyframes floatY { 50% { transform: translateY(-12px); } }

.float {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  color: var(--label);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.float b { display: block; font-size: 14px; font-weight: 700; }
.float small { display: block; font-size: 12px; color: var(--sub); margin-top: 2px; }
.float__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.float__ico--red { background: #FFE4E2; color: var(--red); }
.float__ico--teal { background: #DDF6F7; color: var(--teal-ink); }
.float--a { left: -24px; top: 150px; animation: floatY 6s ease-in-out infinite; }
.float--b { right: -8px; top: 300px; animation: floatY 8s ease-in-out infinite reverse; }

/* ─── Цифры ───────────────────────────────────────────────────────────────── */

.stats { background: var(--ink-2); color: #fff; padding: 44px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 46px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(180deg, #fff, var(--teal-lite)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 15px; color: rgba(255, 255, 255, .62); }

/* ─── Заголовки секций ────────────────────────────────────────────────────── */

.head { text-align: center; margin-bottom: 56px; }
.head--left { text-align: left; margin-bottom: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; }
.eyebrow--light { color: var(--teal-lite); }
.h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.head--light .h2 { color: #fff; }

/* ─── Возможности (bento) ─────────────────────────────────────────────────── */

.features { padding: 110px 0; }
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, auto); gap: 20px;
}
.card {
  position: relative; overflow: hidden;
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20, 45, 50, .05), 0 22px 50px rgba(20, 45, 50, .13); }
.card h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.card p { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--sub); }
.tag { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; background: linear-gradient(100deg, var(--teal), #2b8fd6); }
.tag--soft { color: var(--teal-ink); background: #DDF6F7; }

.card--check { grid-column: span 4; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding-bottom: 0;
  background: radial-gradient(90% 70% at 100% 100%, #d5f4f6 0, transparent 70%), var(--card); }
.card--check h3 { font-size: 34px; }
.card--tasks { grid-column: span 2; grid-row: span 2; padding-bottom: 0; }
.card--house { grid-column: span 2; padding-bottom: 0; }
.card--products { grid-column: span 2; padding-bottom: 0; }
.card--nearby { grid-column: span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.card--nearby .card__text { padding: 32px; align-self: center; }
.card--nearby .card__map { height: 340px; overflow: hidden; }
.card--nearby .card__map img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.card--private { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: linear-gradient(160deg, var(--ink) 0%, #12343a 100%); }
.card--private h3 { font-size: 26px; }
.card--private p { color: rgba(255, 255, 255, .7); }
.lock { margin-bottom: auto; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(45, 196, 204, .16); border: 1px solid rgba(45, 196, 204, .35); }
.lock svg { width: 38px; height: 38px; fill: none; stroke: var(--teal-lite); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* телефон, «обрезанный» рамкой карточки */
.card__shot { position: relative; margin-top: 24px; height: 320px; overflow: hidden; }
.card--check .card__shot { margin-top: 0; height: auto; align-self: end; height: 100%; min-height: 420px; }
.card--tasks { display: flex; flex-direction: column; }
.card--tasks .card__shot { flex: 1; height: auto; min-height: 420px; }
.phone--flat {
  position: relative; width: 78%; max-width: 250px; margin: 0 auto;
  border-radius: 40px 40px 0 0; padding: 7px 7px 0;
  box-shadow: 0 -10px 40px rgba(20, 45, 50, .25);
}
.phone--flat img { border-radius: 33px 33px 0 0; }
.card--check .phone--flat { max-width: 280px; }

.verdicts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.v { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.v--ok { background: #DFF7E6; color: #1A8A3A; }
.v--warn { background: #FFEDD1; color: #B96A00; }
.v--bad { background: #FFE1DE; color: #D22B20; }
.v--unk { background: #E7EEF0; color: #4F6A71; }

/* ─── Как начать ──────────────────────────────────────────────────────────── */

.start { padding: 110px 0; background: var(--ink); position: relative; overflow: hidden; isolation: isolate; }
.start::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: 50%; top: -260px; margin-left: -350px; background: radial-gradient(circle, rgba(27, 160, 168, .35), transparent 65%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; overflow: hidden;
  padding: 32px 32px 0; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  color: #fff; display: flex; flex-direction: column;
  transition: transform .3s, background .3s;
}
.step:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); }
.step__n { order: -2; font-size: 15px; font-weight: 700; letter-spacing: .12em; color: var(--teal-lite); margin-bottom: 12px; }
.step h3 { order: -1; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .66); }
.step__shot { order: 1; margin-top: 28px; height: 300px; overflow: hidden; }
.step .phone--flat { width: 72%; }

/* ─── Вопросы ─────────────────────────────────────────────────────────────── */

.faq { padding: 110px 0; }
.faq__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq__privacy { display: inline-block; margin-top: 24px; font-size: 16px; font-weight: 600; color: var(--teal-ink); }
.faq__privacy span { display: inline-block; transition: transform .2s; }
.faq__privacy:hover span { transform: translateX(4px); }

.faq__list { display: grid; gap: 12px; }
.q { background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow-card); transition: box-shadow .25s; }
.q[open] { box-shadow: 0 1px 2px rgba(20, 45, 50, .05), 0 16px 40px rgba(20, 45, 50, .12); }
.q summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-size: 18px; font-weight: 600; line-height: 1.35;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background:
    linear-gradient(var(--teal-ink), var(--teal-ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--teal-ink), var(--teal-ink)) center / 2px 12px no-repeat,
    #DDF6F7;
  transition: transform .3s;
}
.q[open] summary::after { transform: rotate(45deg); }
.q p { padding: 0 26px 24px; font-size: 16px; line-height: 1.6; color: var(--sub); }

/* ─── Финальный призыв ────────────────────────────────────────────────────── */

.cta { padding: 0 0 110px; }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 80px 24px; border-radius: 40px; color: #fff;
  background: linear-gradient(135deg, var(--ink) 0%, #12343a 100%);
}
.cta__panel .orb { z-index: -1; }
.cta__panel .orb--a { width: 420px; height: 420px; top: -180px; right: -100px; }
.cta__panel .orb--b { width: 360px; height: 360px; bottom: -180px; left: -80px; opacity: .4; }
.cta__icon { margin: 0 auto 28px; width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .12); }
.cta h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; max-width: 720px; margin: 0 auto; }
.cta p { margin: 18px auto 36px; max-width: 480px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .7); }

/* ─── Подвал ──────────────────────────────────────────────────────────────── */

.footer { padding: 32px 0 44px; border-top: 1px solid var(--line); }
.footer > p { text-align: center; }
.footer__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p, .footer a { font-size: 15px; color: var(--sub); }
.footer a { color: var(--teal-ink); font-weight: 500; }
.footer a:hover { text-decoration: underline; }

/* ─── Кнопка «Наверх» ─────────────────────────────────────────────────────── */

.toTop {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: var(--teal);
  box-shadow: 0 10px 24px rgba(27, 160, 168, .45);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s, transform .25s;
}
.toTop.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ─── Появление при прокрутке ─────────────────────────────────────────────── */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* у карточек hover тоже двигает transform — после появления отдаём его hover'у */
.js .card.reveal.is-in, .js .step.reveal.is-in { transition: opacity .7s, transform .3s, box-shadow .3s, background .3s; }

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

/* ─── Планшет ─────────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .hero { padding-top: 116px; }
  .hero__in { grid-template-columns: 1fr; gap: 0; }
  .hero__copy { padding-bottom: 48px; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__facts { justify-content: center; }
  .hero__stage { height: 560px; max-width: 620px; width: 100%; margin: 0 auto; }
  .nav__links { display: none; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--check, .card--nearby, .card--private { grid-column: span 2; }
  .card--private { min-height: 240px; }
  .card--tasks, .card--house, .card--products { grid-column: span 1; grid-row: auto; }
  .card--tasks .card__shot { flex: none; height: 320px; min-height: 0; }
  .stats__in { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step__shot { height: 260px; }
  .faq__in { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Телефон ─────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav__in { height: 60px; }
  .hero { padding-top: 100px; }
  .hero__lead { font-size: 17px; }
  .hero__stage { height: 470px; }
  .phone { width: 200px; border-radius: 38px; padding: 6px; }
  .phone img { border-radius: 32px; }
  .phone--c { margin-left: -100px; }
  .phone--l, .phone--r { transform: rotate(-7deg) scale(.78); }
  .phone--r { transform: rotate(7deg) scale(.78); }
  .phone--l { left: -30px; }
  .phone--r { right: -30px; }
  .float { padding: 9px 14px 9px 9px; }
  .float b { font-size: 12px; }
  .float small { font-size: 11px; }
  .float__ico { width: 32px; height: 32px; }
  .float--a { left: 0; top: 90px; }
  .float--b { right: 0; top: 230px; }

  .features, .start, .faq { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .br-d { display: none; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .card, .card--check, .card--tasks, .card--house, .card--products, .card--nearby, .card--private { grid-column: span 1; padding: 24px; }
  .card--check { grid-template-columns: 1fr; padding-bottom: 0; }
  .card--check h3 { font-size: 28px; }
  .card--check .card__shot { min-height: 360px; height: 360px; }
  .card--nearby { grid-template-columns: 1fr; padding: 0; }
  .card--nearby .card__text { padding: 24px; }
  .card--nearby .card__map { min-height: 240px; height: 240px; order: 2; }
  .card--private { padding: 28px 24px; min-height: 0; }
  .lock { margin-bottom: 20px; }
  .card--house, .card--products, .card--tasks { padding-bottom: 0; }
  .stat b { font-size: 38px; }
  .step { padding: 24px 24px 0; }
  .q summary { font-size: 16px; padding: 18px 56px 18px 20px; }
  .q p { padding: 0 20px 20px; }
  .cta { padding-bottom: 72px; }
  .cta__panel { padding: 56px 20px; border-radius: 30px; }
  .footer__in { flex-direction: column; }
}

/* ─── Правовые страницы ───────────────────────────────────────────────────── */

.legal__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 24px; max-width: 900px; margin: 0 auto;
}
.legal__brand { display: flex; align-items: center; gap: 10px; }
.legal__brandIcon { width: 32px; height: 32px; border-radius: 8px; }
.legal__brandName { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: var(--label); }
.legal__back { font-size: 16px; font-weight: 500; color: var(--teal-ink); }
.legal__back:hover { text-decoration: underline; }

.legal { max-width: 760px; margin: 0 auto; padding: 20px 24px 100px; color: var(--label); }
.legal h1 { font-size: 32px; line-height: 1.25; font-weight: 700; text-align: center; margin: 20px 0 4px; word-break: break-word; }
.legal .legal__subtitle { font-size: 18px; font-weight: 400; text-align: center; color: var(--sub); margin: 0 0 48px; }
.legal h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--teal-ink); text-align: center; margin: 40px 0 4px; }
.legal h4 { font-size: 20px; font-weight: 700; text-align: center; margin: 0 0 20px; }
.legal p { font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.legal p.legal__sub1, .legal p.legal__sub2 { padding-left: 28px; }

@media (max-width: 480px) {
  .legal h1 { font-size: 26px; }
  .legal h4 { font-size: 18px; }
  .legal__bar { padding: 20px 16px; }
  .legal { padding: 16px 16px 80px; }
}
