:root {
  --color-background: #17365c;
  --color-accent: #8DAE10;
  --color-text: #ffffff;
  --color-light-fallback: #f6f6f6;
  --color-dark-fallback: #343A40; /* rgb(52, 58, 64) */
  --font-sans: Arial, sans-serif;
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-card: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-light-fallback);
  color: var(--color-dark-fallback);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #17365c;
  color: var(--color-text);
  padding-top: env(safe-area-inset-top);
  text-align: center;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #a6ca16;
}

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-shell {
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  flex: 1;
  display: grid;
  place-items: center;
}

.notice-card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.rub-logo {
  width: 205px;
  height: 40px;
  max-width: 100%;
  display: block;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(2.25rem, 8vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 62ch;
  margin: 1.4rem 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border: 2px solid var(--color-accent);
  border-radius: 999px;
  background: var(--color-accent);
  color: #17365c;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  background: transparent;
  color: var(--color-text);
  transform: translateY(-1px);
}

.site-footer {
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a {
  color: var(--color-text);
}

@media (max-width: 560px) {
  .hero {
    margin-bottom: 2.25rem;
  }

  .button-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
