:root {
  --bg: #f0eee6;
  --panel: rgba(17, 17, 17, 0.92);
  --panel-border: rgba(17, 17, 17, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.44);
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --shadow: 0 28px 120px rgba(0, 0, 0, 0.18);
  --font-serif: "Newsreader", Georgia, serif;
  --font-sans: "Geist", "Inter", sans-serif;
  --font-mono: "Geist Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 32px 32px;
}

.ascii-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.ascii-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.panel {
  width: min(100%, 38rem);
  padding: 2.25rem;
  border: 1px solid var(--panel-border);
  border-radius: 2rem;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}

h1 {
  margin: 1.4rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 10vw, 5.1rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.summary {
  margin: 1.2rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.summary-muted {
  margin-top: 0.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 1rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-hover);
}

@media (max-width: 640px) {
  .panel {
    padding: 1.6rem;
    border-radius: 1.5rem;
  }
}

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