:root {
  color-scheme: dark;

  /* Readability-first dark palette */
  --bg: #0b0f14;
  --panel: #121826;
  --fg: #e9eef5;
  --muted: rgba(233, 238, 245, 0.86);

  /* Gentle separation */
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  --radius: 14px;

  /* Typography tuning */
  --fs: 1.05rem;        /* slightly larger than default */
  --lh: 1.78;           /* generous line-height */
  --letter: 0.006em;    /* subtle Helvetica-like feel, not too tight */
  --maxw: 24ch;         /* readable line length */
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;

  padding: 0;

  background: radial-gradient(1200px 700px at 50% 10%, rgba(90, 140, 255, 0.10), transparent 60%),
              var(--bg);
  color: var(--fg);

  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;

  font-weight: 400;
  font-size: var(--fs);
  line-height: var(--lh);
  letter-spacing: var(--letter);

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: min(var(--maxw), 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  background-color: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  padding: 28px 30px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}
