/* Сайт приложения: те же цвета и шрифты, что в самом приложении (src/theme.ts). */
:root {
  --bg: #f6f1ea; --surface: #ffffff; --ink: #20152e; --ink-soft: #4a3f57; --muted: #7a7085; --line: #e9e1d7;
  --accent: #ff5a36; --accent-soft: #ffe6de; --sun: #ffc94a; --sun-soft: #fff3d6; --plum: #3b2560; --plum-soft: #ece6f6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6;
}
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 17px; }
.logo { width: 40px; height: 40px; border-radius: 14px; background: var(--sun); display: grid; place-items: center; font-size: 20px; }
nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 15px; margin-left: 18px; }
nav a:hover { color: var(--accent); }

.hero { background: linear-gradient(160deg, #20152e 0%, #3b2560 55%, #ff5a36 130%); color: #fff; border-radius: 32px; padding: 56px 32px; margin-top: 8px; }
.hero h1 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(32px, 7vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.01em; }
.hero p { font-size: 19px; margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 30em; }
.pill { display: inline-block; margin-top: 28px; background: rgba(255, 255, 255, 0.16); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; }

h2 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.25; margin: 56px 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: 24px; padding: 22px; box-shadow: 0 6px 18px rgba(32, 21, 46, 0.07); }
.card .icon { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.note { background: var(--plum-soft); color: var(--plum); border-radius: 24px; padding: 22px; }
.note strong { color: var(--plum); }

/* текстовые страницы (политика) */
.doc { background: var(--surface); border-radius: 28px; padding: 36px 28px; margin-top: 8px; box-shadow: 0 6px 18px rgba(32, 21, 46, 0.07); }
.doc h1 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(26px, 6vw, 36px); line-height: 1.15; margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 40px 0 10px; scroll-margin-top: 16px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc em { color: var(--muted); }
.table { overflow-x: auto; margin: 16px -4px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
th { color: var(--ink); font-weight: 800; white-space: nowrap; }
td:first-child { color: var(--ink); font-weight: 700; }
mark { background: var(--sun-soft); color: var(--ink); border-radius: 6px; padding: 1px 6px; }

footer { margin: 64px 0 40px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; }
footer a { color: var(--ink-soft); font-weight: 700; text-decoration: none; }
@media (max-width: 520px) {
  .hero { padding: 40px 22px; border-radius: 26px; }
  .doc { padding: 26px 18px; border-radius: 22px; }
  nav a { margin-left: 12px; }
}
