:root {
  color-scheme: light dark;
  --bg: #f5f0e4;
  --paper: rgba(255, 251, 241, 0.94);
  --ink: #18342b;
  --muted: #5f6c65;
  --line: rgba(24, 52, 43, 0.16);
  --gold: #b8872f;
  --deep: #09231d;
  --shadow: 0 24px 80px rgba(24, 31, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 50% 4%, rgba(216, 183, 99, 0.34), transparent 24rem),
    radial-gradient(circle at 5% 18%, rgba(25, 92, 73, 0.14), transparent 20rem),
    linear-gradient(145deg, #fff8e7, #efe4c7 62%, #d7c39b);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(30deg, transparent 0 48%, rgba(184, 135, 47, 0.08) 49% 51%, transparent 52%),
    linear-gradient(150deg, transparent 0 48%, rgba(24, 52, 43, 0.06) 49% 51%, transparent 52%);
  background-size: 72px 124px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

a {
  color: inherit;
}

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--deep);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(184, 135, 47, 0.5);
  border-radius: 16px;
  color: #f7d88b;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 225, 141, 0.34), transparent 18px),
    var(--deep);
  box-shadow: 0 10px 28px rgba(9, 35, 29, 0.2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(28px, 5vw, 64px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.16;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--deep);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 600;
}

h2 {
  color: var(--deep);
  font-size: clamp(1.12rem, 3vw, 1.42rem);
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.actions,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--deep);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
}

.button.primary {
  border-color: transparent;
  color: #fff6db;
  background: linear-gradient(135deg, #09231d, #1b5948);
}

.page {
  padding: clamp(24px, 4vw, 48px);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.meta li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--deep);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.55);
}

.section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
}

.section ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.note {
  margin: 24px 0 0;
  border: 1px solid rgba(184, 135, 47, 0.34);
  border-radius: 22px;
  padding: 18px;
  color: var(--deep);
  background: rgba(255, 234, 184, 0.4);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 4px 0;
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07130f;
    --paper: rgba(10, 31, 25, 0.94);
    --ink: #f4ead2;
    --muted: #d5c9af;
    --line: rgba(240, 210, 137, 0.2);
    --deep: #fff1ca;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  }

  body {
    background:
      radial-gradient(circle at 50% 4%, rgba(255, 208, 102, 0.2), transparent 24rem),
      radial-gradient(circle at 5% 18%, rgba(46, 122, 99, 0.22), transparent 20rem),
      linear-gradient(145deg, #020806, #071b15 62%, #211709);
  }

  .button {
    background: rgba(255, 255, 255, 0.06);
  }

  .button.primary {
    color: #07130f;
    background: linear-gradient(135deg, #f2d487, #bb8730);
  }

  .meta li {
    background: rgba(255, 255, 255, 0.05);
  }
}
