/* Rogue Tellers — общий стиль сайта-визитки. Без внешних шрифтов и скриптов:
   сайт должен открываться мгновенно и не собирать ничего о посетителях. */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1d1b22;
  --muted: #5d5866;
  --line: #e6e0d6;
  --accent: #b23a48;
  --accent-ink: #ffffff;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141218;
    --surface: #1d1a22;
    --text: #eeeaf2;
    --muted: #a8a1b3;
    --line: #2e2a35;
    --accent: #e0606f;
    --accent-ink: #141218;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
nav.site { display: flex; gap: 18px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(34px, 7vw, 54px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.01em; }
.hero p { font-size: 19px; color: var(--muted); margin: 0; max-width: 34em; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 24px; }
.card h2 { margin: 0 0 6px; font-size: 24px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.card p { margin: 0 0 12px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }

section { margin: 0 0 40px; }
section > h2 { font-size: 22px; margin: 0 0 8px; }

/* Юридические страницы */
.doc { padding: 40px 0 24px; }
.doc h1 { font-size: 34px; line-height: 1.2; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc h3 { font-size: 17px; margin: 20px 0 4px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.table-scroll { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }

footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  nav.site { gap: 12px; font-size: 14px; }
  .brand span { display: none; }
  .hero { padding: 48px 0 32px; }
}
