:root {
  --red: #9c1917;
  --red-dark: #7d1412;
  --grey: #bcbbba;
  --ink: #1a1a1a;
  --muted: #5c5b5a;
  --bg: #f4f3f2;
  --surface: #fff;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--red) 0 6px, transparent 6px),
    var(--bg);
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 40px 28px 32px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 12px 32px rgb(0 0 0 / 8%);
  text-align: center;
}

.logo {
  margin: 0;
}

.logo img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.intro {
  margin: 20px 0 32px;
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.links {
  display: grid;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 20px;
  border: 2px solid var(--red);
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn svg .dot {
  fill: currentcolor;
  stroke: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--red);
}

.btn-secondary:hover {
  background: var(--red);
  color: #fff;
}

.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 359px) {
  .card {
    padding: 32px 18px 24px;
  }

  .intro {
    font-size: 0.85rem;
  }

  .btn {
    padding: 12px;
    font-size: 1rem;
  }
}

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