:root,
[data-theme="dark"] {
  --color-primary: #FAFAFA;
  --color-on-primary: #09090B;
  --color-accent: #60A5FA;
  --color-background: #09090B;
  --color-foreground: #FAFAFA;
  --color-muted: #A1A1AA;
  --color-border: #27272A;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Archivo', sans-serif;
}

[data-theme="light"] {
  --color-primary: #18181B;
  --color-on-primary: #FFFFFF;
  --color-accent: #2563EB;
  --color-background: #FAFAFA;
  --color-foreground: #09090B;
  --color-muted: #71717A;
  --color-border: #E4E4E7;
}

body {
  transition: background-color 200ms ease, color 200ms ease;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
}

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero__inner {
  max-width: 640px;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.hero__name {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__tagline {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.btn--instagram {
  background: var(--color-accent);
  color: #FFFFFF;
}

.btn--instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn--instagram:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.theme-toggle:hover {
  background: color-mix(in srgb, var(--color-foreground) 8%, transparent);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.theme-toggle__icon {
  width: 20px;
  height: 20px;
}

.theme-toggle__icon--sun {
  display: none;
}

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

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

[data-theme="light"] .theme-toggle__icon--moon {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .btn--instagram:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 12px 22px;
    font-size: 15px;
  }
}
