/* Посадочная страница и юридические страницы PoorBuds: тот же шрифт, цвета и скругления, что в приложении. Светлая и тёмная тема по настройке устройства. */
@font-face { font-family: 'Ploni'; font-style: normal; font-weight: 200; font-display: swap; src: url(/fonts/ploni-200.woff2) format('woff2'); }
@font-face { font-family: 'Ploni'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/ploni-300.woff2) format('woff2'); }
@font-face { font-family: 'Ploni'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ploni-400.woff2) format('woff2'); }
@font-face { font-family: 'Ploni'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ploni-500.woff2) format('woff2'); }
@font-face { font-family: 'Ploni'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ploni-600.woff2) format('woff2'); }

:root {
  --font: 'Ploni', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ink: #0f1417; --muted: #66727a; --bg: #f2f4f5; --card: #ffffff; --soft: #f4f6f7; --line: #e3e8ea;
  --teal: #0b5d65; --teal-ink: #0b5d65; --teal-2: #1a90a8;
  --logo-bg: #abac99; --logo-ink: #0a1a1a;
  --band: linear-gradient(135deg, #0b5d65, #0f7480);
  --shadow: 0 18px 50px rgba(20, 30, 40, .16);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f3f5; --muted: #9a9aa2; --bg: #0e0e10; --card: #1c1c1f; --soft: #2a2a2e; --line: #2f2f34;
    --teal: #17808c; --teal-ink: #5ccbd8; --teal-2: #2aa3b3;
    --logo-bg: #26272b; --logo-ink: #b8baa6;
    --band: linear-gradient(135deg, #0f4a52, #17808c);
    --shadow: 0 18px 50px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.55; font-weight: 300; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.logo { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 6px; }
.langs { display: flex; gap: 2px; font-size: 15px; }
.langs a { padding: 6px 10px; border-radius: 999px; color: var(--muted); }
.langs a[aria-current="true"] { background: var(--soft); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 17px; font-weight: 400; white-space: nowrap; transition: transform .1s, opacity .15s; }
.btn:hover { opacity: .92; }
.btn:active { transform: scale(.98); }
.btn.small { height: 40px; padding: 0 20px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.light { background: #fff; color: #0b5d65; }
.btn.lineLight { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }

/* главный блок */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 500; }
.hero .sub { margin-top: 20px; font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.badges li { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--muted); }
.phone { width: 100%; max-width: 290px; margin: 0 auto; padding: 9px; border-radius: 42px; background: #0e0e10; box-shadow: var(--shadow); }
.phone img { width: 100%; height: auto; border-radius: 34px; background: var(--card); }

/* разделы */
section { padding: 56px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; text-align: center; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: 28px; padding: 26px; }
.card .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--teal-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 28px; height: 28px; fill: currentColor; }
.card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--muted); }
.steps .card .num { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 500; margin-bottom: 16px; }
.shots { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.shots figure { margin: 0; width: min(260px, 100%); text-align: center; }
.shots figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 22px; padding: 4px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--teal-ink); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 0 18px; font-size: 17px; color: var(--muted); }
.band { background: var(--band); color: #fff; border-radius: 36px; padding: 52px 28px; text-align: center; }
.band h2 { margin-bottom: 12px; color: #fff; }
.band p { font-size: 19px; opacity: .88; }
.band .cta { justify-content: center; }

/* подвал */
footer { padding: 36px 0 52px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a:hover { color: var(--ink); }

/* юридические страницы */
.doc { padding: 40px 0 20px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 10px 0 24px; }
.doc .intro { font-size: 19px; }
.doc h2 { text-align: start; font-size: 24px; margin: 34px 0 10px; letter-spacing: -0.02em; }
.doc p, .doc li { font-size: 17px; }
.doc ul { padding-inline-start: 22px; margin: 8px 0 0; }
.doc li { margin: 7px 0; }
.doc a { color: var(--teal-ink); text-decoration: underline; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .text { text-align: center; }
  .hero .sub { margin-inline: auto; }
  .cta, .badges { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  body { font-size: 17px; }
  .top .wrap { height: 62px; }
  .brand { font-size: 21px; }
  .nav .btn { display: none; }
  .hero { padding-top: 32px; }
  section { padding: 40px 0; }
}
