:root {
  --bg: #14110e;
  --ink: #f3ead8;
  --muted: #c4b7a0;
  --accent: #e08a3c;
  --panel: rgba(20, 17, 14, 0.72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% 8%, #2a2118 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 90%, #1c1814 0%, transparent 50%),
    var(--bg);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
}

.tracks {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: #8a7358;
}

.tracks__svg {
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.tracks__rails line {
  stroke: url(#rail);
  stroke-width: 3;
}

.tracks__ties line {
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: square;
  opacity: 0.28;
}

.panel {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 2.75rem 2.5rem 2.5rem;
  background: var(--panel);
  border: 1px solid rgba(243, 234, 216, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.mark {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

@media (max-width: 540px) {
  .panel {
    padding: 2rem 1.4rem 1.75rem;
  }
}
