:root {
  --bg: #f4ead5;
  --text: #3d3424;
  --text-secondary: #5c5244;
  --text-tertiary: #7a6f5f;
  --border: #d4c9b0;
  --badge-bg: #e8dcc4;
}

[data-theme="dark"] {
  --bg: #121212;
  --text: #e8e8e8;
  --text-secondary: #a0a0a0;
  --text-tertiary: #6b6b6b;
  --border: #2a2a2a;
  --badge-bg: #1e1e1e;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content {
  text-align: center;
  max-width: 480px;
}

.logo {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 2rem;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 2rem;
}

.description {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--badge-bg);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.01em;
}

.theme-toggle {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--text-secondary);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.icon-sun,
.icon-moon {
  display: none;
}

:root .icon-moon {
  display: block;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

.footer {
  position: absolute;
  bottom: 2rem;
  text-align: center;
}

.footer p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer a:hover {
  color: var(--text);
  border-color: var(--text);
}

@media (max-width: 640px) {
  .container {
    padding: 1.5rem;
  }

  .logo {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .description {
    font-size: 0.9375rem;
  }

  .footer {
    position: relative;
    bottom: auto;
    margin-top: 4rem;
  }

  .theme-toggle {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
}
