/* ASU — юридические документы. Та же палитра и шрифты, что у лендинга (css/landing.css). */
@font-face { font-family: 'Songer G'; src: url('../assets/fonts/SONGER_G_Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #0A0F18; --surface: #131C2A; --text: #EAF0F8; --muted: #9DAAC0; --faint: #6B7A93;
  --line: rgba(233, 240, 248, .08); --line-strong: rgba(233, 240, 248, .15); --accent: #6FB0B8;
  --display: 'Songer G', Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding-inline: 24px; }

.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(10, 15, 24, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 16px; padding-block: 14px; max-width: 1100px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 28px; height: 28px; flex-shrink: 0; background: var(--accent); -webkit-mask: url('../assets/asu-logo-mark.svg') center/contain no-repeat; mask: url('../assets/asu-logo-mark.svg') center/contain no-repeat; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand__word { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: .02em; }
.brand__sub { font-size: 11px; color: var(--faint); line-height: 1.2; }
.btn { height: 40px; padding: 0 16px; border-radius: 11px; display: inline-flex; align-items: center; font-size: 14px; white-space: nowrap; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--muted); }
.btn--ghost:hover { color: var(--text); text-decoration: none; }

.doc { padding-block: 48px 24px; }
.doc__back { font-size: 14px; color: var(--muted); }
.doc h1 { margin: 20px 0 10px; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 6vw, 48px); line-height: 1; text-wrap: balance; }
.doc__meta { margin: 0 0 32px; font-size: 14px; color: var(--faint); }
.doctext h2 { margin: 40px 0 12px; font-size: 20px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.doctext p, .doctext li { color: var(--muted); max-width: 68ch; }
.doctext b, .doctext strong { color: var(--text); font-weight: 600; }
.doctext ul, .doctext ol { padding-left: 22px; }
.doctext li + li { margin-top: 6px; }
.doctext table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doctext th, .doctext td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doctext th { width: 40%; padding-right: 16px; font-weight: 400; color: var(--faint); }
.note { margin-top: 32px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted); }

.doclist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.doccard { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.doccard:hover { text-decoration: none; }
.doccard:hover h3 { color: var(--accent); }
.doccard h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; transition: color .2s; }
.doccard p { margin: 0; font-size: 14px; color: var(--muted); }
.doccard .arrow { color: var(--faint); flex-shrink: 0; }
.doccard.soon { opacity: .6; }
.doccard.soon span { color: var(--faint); font-size: 13px; }

.footer { margin-top: 64px; border-top: 1px solid var(--line); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--faint); max-width: 1100px; }
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .brand__sub { display: none; }
  .doctext th, .doctext td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .doctext tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
}
