:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --muted-color: #666666;
  --link-color: #111111;
  --link-hover: #333333;
  --icon-fill: #111111;
}

[data-theme='dark'] {
  --bg-color: #0f0f0f;
  --text-color: #f0f0f0;
  --muted-color: #888888;
  --link-color: #f0f0f0;
  --link-hover: #ffffff;
  --icon-fill: #f0f0f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 100vh;   /* fallback */
  min-height: 100dvh;
}

.theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text-color);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--icon-fill);
  transition: stroke 0.3s ease;
}

.hero {
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted-color);
  margin-bottom: 2rem;
}

.links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.links a svg {
  width: 28px;
  height: 28px;
  fill: var(--icon-fill);
  transition: fill 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

.links a.mail-icon svg {
  transform: scale(1.2);
  transform-origin: center;
  color: var(--icon-fill);
}

.links a:hover svg {
  fill: var(--link-hover);
}

.note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted-color);
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .links {
    gap: 1rem;
  }
}
