:root {
  color-scheme: light;
  --bg: #f4efe5;
  --panel: rgba(255, 252, 247, 0.9);
  --text: #1e1b18;
  --accent: #9f3d23;
  --accent-dark: #772b16;
  --border: rgba(30, 27, 24, 0.12);
  --shadow: 0 24px 60px rgba(52, 36, 24, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(159, 61, 35, 0.18), transparent 28%),
    linear-gradient(160deg, #f7f1e7 0%, #efe4d1 100%);
}

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

.card {
  width: min(680px, 100%);
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
}

.copy {
  margin: 16px 0 24px;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42ch;
}

button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  color: #fff8f0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}

.output {
  margin: 24px 0 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 248, 240, 0.92);
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.5;
}
