:root {
  --brand: #c8505a;
  --background: #fff;
  --foreground: #2a2420;
  --muted: #f1f1f1;
  --muted-foreground: #6b6560;
  --radius-sm: 0.25rem;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --content-max: 52rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.splash {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem 2rem;
}

.splash__inner {
  width: 100%;
  max-width: var(--content-max);
  text-align: center;
}

.splash__title {
  margin: 0;
  line-height: 0;
  opacity: 0;
  transform: translateY(0.6rem);
  animation: splash-in 0.7s ease forwards;
}

.splash__logo {
  display: block;
  width: min(100%, 22rem);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.splash__intro {
  margin: 2.5rem auto 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted-foreground);
  opacity: 0;
  transform: translateY(0.6rem);
  animation: splash-in 0.7s ease 0.12s forwards;
}

.splash__entrances {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 3.5rem auto 0;
  max-width: 40rem;
  text-align: center;
  opacity: 0;
  transform: translateY(0.75rem);
  animation: splash-in 0.75s ease 0.24s forwards;
}

@media (min-width: 640px) {
  .splash__entrances {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: none;
  }
}

.splash__entrance {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 300px;
  padding: 1.5rem 1.25rem 1.35rem;
  color: inherit;
  text-decoration: none;
  background: var(--muted);
  border-radius: var(--radius-sm);
  transition: background-color 0.35s ease;
}

.splash__entrance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.35rem;
  color: var(--foreground);
}

.splash__entrance-icon svg {
  width: 100%;
  height: 100%;
}

.splash__entrance:hover,
.splash__entrance:focus-visible {
  opacity: 1;
  color: inherit;
  background: #ebebeb;
  text-decoration: none;
}

.splash__entrance:hover .splash__entrance-icon,
.splash__entrance:focus-visible .splash__entrance-icon {
  color: var(--foreground);
}

.splash__entrance:hover .splash__entrance-desc,
.splash__entrance:focus-visible .splash__entrance-desc {
  color: var(--muted-foreground);
}

.splash__entrance:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 6px;
}

.splash__entrance-label {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-decoration: none;
  transition: color 0.2s ease;
}

.splash__entrance-desc {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}


.splash-footer {
  flex-shrink: 0;
  padding: 1.25rem 1.25rem 1.75rem;
  text-align: center;
  opacity: 0;
  animation: splash-in 0.7s ease 0.36s forwards;
}

.splash-footer p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.splash-footer a {
  color: var(--brand);
}

@keyframes splash-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash__title,
  .splash__intro,
  .splash__entrances,
  .splash-footer {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
