:root {
  color-scheme: light;
  --ink: #111f43;
  --muted: #526078;
  --blue: #1554f5;
  --paper: #f8f9f5;
  --line: #dce3e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Golos Text", sans-serif; font-size: 16px; line-height: 1.75; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
.legal-shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.legal-skip { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 8px 16px; background: white; transform: translateY(-160%); }
.legal-skip:focus { transform: translateY(0); }
.legal-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Nunito", sans-serif; font-weight: 1000; font-size: 31px; letter-spacing: -.05em; line-height: 1; }
.legal-brand img { display: block; }
.legal-brand b { color: var(--blue); font-weight: inherit; }
.legal-back { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.legal-back span { margin-left: 10px; color: var(--blue); }
.legal-hero { padding-block: 56px 36px; max-width: 900px; }
.legal-eyebrow { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-family: "Nunito", sans-serif; font-size: clamp(30px, 4.4vw, 54px); font-weight: 1000; letter-spacing: -.045em; line-height: 1.1; margin: 0 0 20px; overflow-wrap: anywhere; }
.legal-date { color: var(--muted); font-size: 14px; margin: 0; }
.legal-intro { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.65; margin: 20px 0 0; }
.legal-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); align-items: start; gap: 52px; padding-bottom: 72px; }
.legal-nav { position: sticky; top: 24px; padding-top: 8px; }
.legal-nav p { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.legal-nav a { display: block; width: fit-content; color: var(--muted); padding-block: 7px; text-decoration: none; font-size: 14px; line-height: 1.5; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--blue); }
.legal-nav a[aria-current="page"] { font-weight: 600; }
.legal-nav .legal-nav-divider { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-article { min-width: 0; }
.legal-article section + section { margin-top: 32px; }
.legal-article h2 { margin: 0 0 12px; font-size: 21px; font-weight: 650; line-height: 1.4; letter-spacing: -.02em; }
.legal-article p { margin: 0 0 14px; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article ul { padding-left: 22px; margin: 12px 0; }
.legal-article li { padding-left: 4px; margin: 7px 0; }
.legal-notice { padding: 24px 28px; margin-bottom: 30px; border-radius: 20px; background: #eaf1ff; }
.legal-notice strong { display: block; margin-bottom: 5px; font-size: 17px; }
.legal-notice p { font-size: 15px; line-height: 1.7; }
.legal-contact { padding: 28px; margin-top: 36px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.legal-contact h2 { margin-bottom: 8px; }
.legal-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 50px; padding: 10px 24px; background: var(--blue); color: #fff; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; transition: transform .18s ease, background .18s ease; }
.legal-button:hover { background: #1044c9; transform: translateY(-2px); }
.legal-button-secondary { color: var(--blue); background: #eaf1ff; }
.legal-button-secondary:hover { background: #dce7ff; }
.support-card { padding: 32px; border-radius: 24px; background: white; border: 1px solid var(--line); margin-bottom: 30px; }
.support-symbol { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 17px; font-size: 28px; font-weight: 700; background: #eaf1ff; color: var(--blue); }
.support-card h2 { font-family: "Nunito", sans-serif; font-weight: 1000; font-size: 32px; margin-bottom: 12px; }
.support-card .legal-button { margin-top: 12px; }
.support-meta { color: var(--muted); font-size: 14px; margin-top: 12px !important; }
.support-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.legal-footer { padding-block: 28px 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--muted); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.legal-footer a { color: var(--muted); text-decoration: none; }
.legal-footer a:hover { color: var(--blue); }

@media (max-width: 760px) {
  .legal-shell { width: calc(100% - 40px); }
  .legal-header { min-height: 82px; gap: 16px; }
  .legal-hero { padding-block: 38px 28px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
  .legal-nav { position: static; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
  .legal-nav p, .legal-nav .contents-link { display: none; }
  .legal-nav .legal-nav-divider { margin: 0; padding: 0; border: 0; }
  .legal-nav .documents { display: flex; gap: 0 20px; flex-wrap: wrap; }
  .legal-nav a { padding-block: 8px; }
  .legal-intro { font-size: 16px; }
  .legal-article h2 { font-size: 20px; }
  .legal-notice, .legal-contact { padding: 22px; }
  .support-card { padding: 24px; }
  .support-card h2 { font-size: 29px; }
  .legal-footer { flex-direction: column; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .legal-button { transition: none; }
  .legal-button:hover { transform: none; }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .legal-shell { width: 100%; }
  .legal-header { min-height: 60px; }
  .legal-hero { padding-block: 24px; }
  h1 { font-size: 28pt; }
  .legal-layout { display: block; }
  .legal-nav, .legal-back, .legal-skip, .legal-footer nav { display: none; }
  .legal-notice, .legal-contact, .support-card { border: 1px solid #ccc; background: white; }
  .legal-article section { break-inside: avoid; }
  a, .legal-button { color: #111f43; background: transparent; }
}
