:root {
  color-scheme: dark;
  --navy-950: #040b12;
  --navy-900: #071321;
  --navy-800: #0b2137;
  --navy-700: #173a57;
  --navy-600: #315776;
  --gold-600: #d9a247;
  --gold-500: #f5c76f;
  --gold-300: #f5d78b;
  --cream-100: #fff8ea;
  --cream-200: #ead9b6;
  --cream-300: #c9b68e;
  --paper: #0c2137;
  --ink: #fff8ea;
  --muted: #b5c2cf;
  --line: rgba(255, 248, 234, 0.18);
  --focus: #ffd57f;
  --info: #75a7c8;
  --warning: #f5c76f;
  --danger: #c76c6c;
  --success: #85bd78;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --content-width: 72rem;
  --reading-width: 48rem;
  --touch-size: 2.75rem;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-title: Georgia, "Times New Roman", serif;
  --font-scale: 1;
}

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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 0, rgba(245, 199, 111, 0.14), transparent 28rem),
    radial-gradient(circle at 12% 32%, rgba(30, 83, 104, 0.2), transparent 34rem),
    linear-gradient(180deg, #07111d 0%, #040b12 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: calc(1rem * var(--font-scale));
  line-height: 1.65;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: var(--gold-300);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream-100);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--cream-100);
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.65rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.55rem, 4vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
}

p,
ul,
ol,
dl,
blockquote {
  margin: 0;
}

ul,
ol {
  padding-inline-start: 1.35rem;
}

img,
svg,
canvas {
  max-width: 100%;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--gold-500);
  color: var(--navy-950);
}
