


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::before,
*::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
ol, ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
table { border-collapse: collapse; }


:root {
  --bg-primary: #fbf7f2;
  --bg-secondary: #f2e7dc;
  --surface: #ffffff;
  --deep: #241c26;
  --deep-soft: #33283a;
  --text-primary: #2a232c;
  --text-secondary: #6b5f6a;
  --text-neutral: #333333;
  --text-invert: #f7efe7;
  --accent: #c0603c;
  --accent-deep: #a44e2f;
  --accent-soft: #e7ab8d;
  --tone: #4c6b5d;
  --tone-soft: #8fa899;
  --line: rgba(42, 35, 44, 0.14);
  --line-invert: rgba(247, 239, 231, 0.16);
  --glow: rgba(192, 96, 60, 0.34);
  --glow-soft: rgba(192, 96, 60, 0.16);
  --shade: rgba(36, 28, 38, 0.16);

  --sp-1: 0.618em;
  --sp-2: 1em;
  --sp-3: 1.618em;
  --sp-4: 2.618em;
  --sp-5: 4.236em;

  --rd-s: 0.625em;
  --rd-m: 1em;
  --rd-pill: 999em;
  --ease: 0.3s ease;
}

[data-theme="dark"] {
  --bg-primary: #1d1721;
  --bg-secondary: #271f2c;
  --surface: #2f2635;
  --deep: #150f18;
  --deep-soft: #221a27;
  --text-primary: #f4ece5;
  --text-secondary: #bfb1bd;
  --text-neutral: #ded2d8;
  --line: rgba(247, 239, 231, 0.16);
  --shade: rgba(0, 0, 0, 0.45);
}


body {
  font-family: 'Merriweather Sans', 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.1em; line-height: 1.25; }
h2 { font-size: 1.7em; }
h3 { font-size: 1.15em; }
h4 { font-size: 1em; }
p { font-size: 1em; line-height: 1.7; margin-bottom: var(--sp-2); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--accent-deep); }


.d-fx { display: flex; }
.d-blk { display: block; }
.d-none { display: none; }
.fx-w { flex-wrap: wrap; }
.fx-col { flex-direction: column; }
.fx-row { flex-direction: row; }
.fx-1 { flex: 1; }
.fx-half { flex: 1 1 calc(50% - 0.5em); min-width: 18.75em; }
.fx-full { flex: 1 1 100%; }
.ai-c { align-items: center; }
.ai-s { align-items: flex-start; }
.ai-st { align-items: stretch; }
.jc-c { justify-content: center; }
.jc-sb { justify-content: space-between; }
.rel { position: relative; }
.ovh { overflow: hidden; }


.g-1 { gap: var(--sp-1); }
.g-2 { gap: var(--sp-2); }
.g-3 { gap: var(--sp-3); }
.g-4 { gap: var(--sp-4); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.p-2 { padding: var(--sp-2); }
.p-3 { padding: var(--sp-3); }
.p-4 { padding: var(--sp-4); }
.pt-3 { padding-top: var(--sp-3); }
.mx-a { margin-left: auto; margin-right: auto; }


.tc { text-align: center; }
.tl { text-align: left; }
.fs-xs { font-size: 0.78em; }
.fs-sm { font-size: 0.875em; }
.fs-lg { font-size: 1.15em; }
.fs-xl { font-size: 1.45em; }
.fw-b { font-weight: 700; }
.fw-m { font-weight: 500; }
.up { text-transform: uppercase; letter-spacing: 0.16em; }
.srif { font-family: 'Merriweather', Georgia, serif; }
.ink-mu { color: var(--text-secondary); }
.ink-ac { color: var(--accent-deep); }
.ink-in { color: var(--text-invert); }
.ink-nt { color: var(--text-neutral); }


.bg-sf { background: var(--surface); }
.bg-cr { background: var(--bg-secondary); }
.rd-s { border-radius: var(--rd-s); }
.rd-m { border-radius: var(--rd-m); }
.bd-t { border-top: 0.0625em solid var(--line); }
.mw-l { max-width: 44em; }
.mw-m { max-width: 34em; }
.mw-s { max-width: 26em; }
.w-100 { width: 100%; }
.sr-only {
  position: absolute;
  width: 0.0625em;
  height: 0.0625em;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
