:root {
  color-scheme: light;
  --bg-primary: #f4efe6;
  --bg-accent: radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 45%);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-border: rgba(84, 64, 42, 0.14);
  --text-primary: #1f1a14;
  --text-secondary: #5d5245;
  --button-bg: #1f1a14;
  --button-text: #f8f3ec;
  --button-shadow: rgba(31, 26, 20, 0.18);
}

[data-theme='dark'] {
  color-scheme: dark;
  --bg-primary: #14110f;
  --bg-accent: radial-gradient(circle at top, rgba(214, 169, 97, 0.16), transparent 40%);
  --surface: rgba(30, 25, 23, 0.78);
  --surface-border: rgba(255, 243, 227, 0.1);
  --text-primary: #f6efe5;
  --text-secondary: #c6b6a2;
  --button-bg: #f1dfc5;
  --button-text: #1b1612;
  --button-shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background:
    var(--bg-accent),
    linear-gradient(160deg, var(--bg-primary) 0%, color-mix(in srgb, var(--bg-primary) 85%, #8d6a3c 15%) 100%);
  color: var(--text-primary);
  transition: background 220ms ease, color 220ms ease;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hero-card {
  width: min(100%, 640px);
  padding: 40px;
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.05;
}

.description {
  margin: 18px 0 0;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.theme-toggle {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 700;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: 0 12px 30px var(--button-shadow);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-status {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .hero-card {
    padding: 28px;
    border-radius: 24px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .theme-toggle {
    width: 100%;
  }
}
