:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4f2;
  --text: #171717;
  --text-secondary: #4f4f52;
  --text-muted: #737378;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-hover: rgba(255, 255, 255, 0.9);
  --bar-bg: rgba(244, 244, 242, 0.8);
  --accent: #171717;
  --accent-dim: rgba(23, 23, 23, 0.1);
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.14);
}

:root[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse 90% 60% at 50% -30%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(0, 0, 0, 0.025), transparent),
    radial-gradient(ellipse 40% 30% at 0% 60%, rgba(0, 0, 0, 0.02), transparent);
}

:root[data-theme="light"] .lang-btn.active {
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

:root[data-theme="light"] .contact-prompt__sheet {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.top-bar {
  gap: 10px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  color: var(--text-secondary);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  color: var(--text);
  background: var(--glass-hover);
  transform: translateY(-1px);
}

.theme-toggle__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.contact-card {
  padding-top: 30px;
}

.about-link,
.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  background: var(--glass);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.about-link {
  margin-top: 24px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
}

.about-link::after {
  content: "→";
  margin-left: 8px;
}

.about-link:hover,
.home-link:hover {
  background: var(--glass-hover);
  transform: translateY(-1px);
}

.home-link {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .top-bar { align-items: center; }
  .lang-nav { flex: 1; }
  .theme-toggle { width: 38px; height: 38px; flex-basis: 38px; }
}

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