*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #080808;
  --panel: rgba(18, 18, 18, 0.82);
  --red: #c8102e;
  --red-bright: #e8192e;
  --white: #f2f2f2;
  --gray: #8a8a8a;
  --line: rgba(255, 255, 255, 0.1);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.cs {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
}

.cs-tagline {
  margin: 0 0 1.25rem;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cs-card {
  width: min(440px, 100%);
  padding: 1.75rem 1.25rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
}

.cs-card h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.cs-lead {
  margin: 0.6rem 0 1.25rem;
  color: var(--gray);
  font-size: 0.92rem;
}

.cs-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.cs-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.cs-link:hover,
.cs-link:focus-visible {
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.1);
  transform: translateX(3px);
  outline: none;
}

.cs-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.06);
}

.cs-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.cs-link:hover .cs-icon {
  color: var(--red-bright);
}

.cs-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cs-label small {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
}

.cs-arrow {
  color: var(--gray);
  transition: color 0.2s;
}

.cs-link:hover .cs-arrow {
  color: var(--white);
}

.cs-lang {
  display: flex;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.cs-lang a {
  padding: 0.3rem 0.6rem;
  color: var(--gray);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.cs-lang a.is-active,
.cs-lang a:hover {
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .cs-link {
    transition: none;
  }

  .cs-link:hover,
  .cs-link:focus-visible {
    transform: none;
  }
}
