* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg-deep); color: var(--text); }
body { display: flex; flex-direction: column; min-height: 100svh; font-family: "Avenir LT Pro", Arial, sans-serif; line-height: 1.6; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
a { color: var(--text-soft); text-underline-offset: 4px; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 58px; padding: 14px 18px 0; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--accent-line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.back:hover { border-color: var(--accent); background: var(--surface-hover); }
.back--main { min-height: 54px; margin-top: 10px; padding: 12px 24px; border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-size: 16px; font-weight: 800; }
.back--main:hover { background: var(--accent-hover); }
.lang { display: flex; gap: 2px; margin-left: auto; }
.lang a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 4px; opacity: .65; }
.lang img { display: block; width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgb(255 255 255 / .25); }
.lang a:hover, .lang a:focus-visible, .lang a[aria-current] { opacity: 1; }
.lang a[aria-current] img { box-shadow: 0 0 0 1px var(--bg-deep), 0 0 0 2px var(--accent); }
.lang a:focus-visible { outline-width: 2px; outline-offset: 1px; }

.wrap { flex: 1; display: grid; place-items: center; padding: 22px 18px 40px; }
.card { width: 100%; max-width: 520px; text-align: center; }
.brand-home { display: inline-flex; align-items: center; min-height: 44px; }
.logo { display: block; width: min(280px, 76vw); height: auto; margin-bottom: 12px; }
.brand { margin: 0 0 24px; color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font-family: "Bebas Neue Pro", Arial, sans-serif; font-size: clamp(36px, 9vw, 52px); line-height: 1.1; }
h1 span { color: var(--accent-text); }
.brand-home + h1 { margin-top: 14px; }
.sub { margin: 0 auto 26px; max-width: 440px; color: var(--text-soft); }
.fine { margin: 14px 0 0; color: var(--text-muted); font-size: 12px; }
.fine a { display: inline-flex; align-items: center; min-height: 44px; }
