:root {
  --bg: #10110f;
  --ink: #f3efe6;
  --muted: #b7b0a4;
  --line: #2a2924;
  --amber: #e4b15a;
  --warn: #9a3412;
  --warn-ink: #fff6ee;
  --peak: #c2412d;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

body {
  min-height: 100dvh;
  padding: calc(18px + env(safe-area-inset-top)) 20px calc(22px + env(safe-area-inset-bottom));
}

.screen {
  max-width: 520px;
  margin: 0 auto;
  min-height: calc(100dvh - 40px);
  display: flex;
  flex-direction: column;
}

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

h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 12vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.sub {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.35;
}

#banner {
  margin-top: 22px;
  background: var(--warn);
  color: var(--warn-ink);
  border-radius: 18px;
  padding: 18px 18px 16px;
}

#banner.peak { background: var(--peak); }

#banner[hidden] { display: none; }

#banner p {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

#banner h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 44px);
  line-height: 1.02;
  font-weight: 600;
}

#banner .body {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
}

button {
  font: inherit;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}

#start {
  background: var(--amber);
  color: #1b1408;
  font-weight: 750;
  font-size: 22px;
  min-height: 68px;
  padding: 14px 18px;
}

#start.stop {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

#simulate {
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  min-height: 48px;
}

.note {
  margin: 16px 0 0;
  color: #8d877c;
  font-size: 14px;
  line-height: 1.4;
}

a { color: var(--amber); }
