:root {
  --red: #cc0000;
  --ink: #1a1a1a;
  --grey: #656565;
  --bg: #ffffff;
  --bg-tint: #f4f5f7;
  --line: #e2e4e8;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 5vw, 3rem);
  background: var(--bg);
  background-image: radial-gradient(ellipse 90% 70% at 50% 0%, var(--bg-tint) 0%, var(--bg) 70%);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 34rem;
}

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

.rule {
  width: 3.5rem;
  height: 3px;
  margin: clamp(1.5rem, 5vw, 2.25rem) auto;
  border: 0;
  border-radius: 3px;
  background: var(--red);
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 6vw, 2.125rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.lead {
  margin: 0.85rem 0 1.5rem;
  font-size: clamp(1rem, 3.6vw, 1.0625rem);
  color: var(--grey);
}

.contact { margin: 0; }

.contact a {
  display: inline-block;
  max-width: 100%;
  min-height: 44px;
  padding: 0.7rem clamp(0.8rem, 3.5vw, 1.35rem);
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-size: clamp(0.9375rem, 3.6vw, 1.0625rem);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: break-word;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.contact a:hover,
.contact a:focus-visible {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.contact a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.contact a:active { transform: translateY(0); }

.domain {
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 400px) {
  body { padding: 1rem; }
  .logo { max-width: 200px; }
}

@media (max-width: 350px) {
  .contact a {
    padding: 0.7rem 0.6rem;
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
