:root {
  color-scheme: light;

  --bg: #f8f8f8;
  --text: rgba(15, 23, 42, 0.92);
  --muted: rgba(15, 23, 42, 0.62);
  --border: rgba(15, 23, 42, 0.14);

  --accent: #c4242c;

  /* Modular-ish scale + spacing (8px baseline) */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;

  --text-xs: 0.75rem;
  --text-sm: 0.9375rem;
  --text-md: 1rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    "Google Sans",
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  font-size: var(--text-md);
  color: var(--text);
  background:
    radial-gradient(
      56.25rem circle at 18% 0%,
      rgba(196, 36, 44, 0.09),
      transparent 56%
    ),
    radial-gradient(
      56.25rem circle at 92% 14%,
      rgba(196, 36, 44, 0.06),
      transparent 62%
    ),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 70%);

  background-size: 120% 120%, 135% 135%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 0% 0%;
  animation: background-drift 18s ease-in-out infinite alternate;

  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes background-drift {
  0% {
    background-position: 0% 0%, 100% 0%, 0% 0%;
  }
  100% {
    background-position: 6% 10%, 94% 14%, 0% 0%;
  }
}

p {
  font-size: clamp(1.2rem, 6vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  text-wrap: balance;
}

.page {
  width: 100%;
  max-width: 61.25rem;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.logo {
  display: block;
  width: 15rem;
  height: auto;
}

.slogan {
  margin: 0;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.02;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
  text-wrap: balance;
}

.main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel {
  width: min(47.5rem, 100%);
  padding: var(--space-2) 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.contactInfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.contactItem {
  margin: 0;
  font-size: clamp(1rem, 6vw, 1.25rem);
  color: var(--muted);
}


/* Email link: keep same size as before, but look like a link */
.link {
    color: var(--accent);
}

.link:hover {
  opacity: 0.82;
}

.link:focus-visible {
  outline: 0.1875rem solid rgba(196, 36, 44, 0.35);
  outline-offset: 0.25rem;
  border-radius: 0.375rem;
}

/* Address: bigger than email, per request */

.footer {
  color: var(--muted);
  font-size: var(--text-xs);
  padding: var(--space-4) 0;
}

.footer p {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.35;
}

.disclaimer {
  margin-top: var(--space-2);
}

/* Accessibility */
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }

  .link {
    transition: none;
  }
}
