:root {
  --blue: #3975a9;
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --pill-bg: #f5f5f7;
  --pill-hover: #e8e8ed;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --text: #f5f5f7;
    --muted: #86868b;
    --line: #3a3a3c;
    --pill-bg: #1c1c1e;
    --pill-hover: #2c2c2e;
  }
}

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

html,
body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  font-family: "Inter", -apple-system, sans-serif;
  color: var(--text);
  overflow: hidden;
}

.page {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 120px);
  gap: 0;
}

svg#logo {
  width: clamp(100px, 12vw, 160px);
  height: auto;
  overflow: visible;
  margin-bottom: clamp(32px, 6vh, 56px);
  opacity: 0;
  animation: fadeIn 0.8s ease 0.1s forwards;
}

.fill-t {
  fill: currentColor;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fill-a {
  fill: var(--blue);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fill-m,
.fill-e,
.fill-d,
.fill-i,
.fill-ma {
  fill: currentColor;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.filled {
  opacity: 1 !important;
}

.outline-t,
.outline-a,
.outline-letter,
.cline,
.dot {
  display: none;
}

.divider {
  width: clamp(40px, 6vw, 80px);
  height: 1px;
  background: var(--line);
  margin-bottom: clamp(24px, 4vh, 40px);
  opacity: 0;
  animation: fadeIn 0.8s ease 1s forwards;
}

.headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  line-height: 1.15;
  margin-bottom: clamp(10px, 2vh, 18px);
  opacity: 0;
  animation: fadeUp 0.9s ease 1.2s forwards;
}

.subline {
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0;
  margin-bottom: clamp(32px, 6vh, 56px);
  opacity: 0;
  animation: fadeUp 0.9s ease 1.4s forwards;
}

.links {
  display: flex;
  gap: clamp(8px, 2vw, 20px);
  opacity: 0;
  animation: fadeUp 0.9s ease 1.6s forwards;
}

.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 980px;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.links a.primary {
  background: var(--blue);
  color: #fff;
}

.links a.primary:hover {
  background: #2d62922;
  transform: scale(1.03);
}

.links a.ghost {
  background: var(--pill-bg);
  color: var(--text);
}

.links a.ghost:hover {
  background: var(--pill-hover);
  transform: scale(1.03);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
