:root {
  --bg: #F7F4EE;
  --surface: #FFFFFF;
  --wood: #C69A68;
  --wood-deep: #7A5534;
  --text: #22190F;
  --muted: #5F5345;
  --line: #E2D8C8;
  --data: #2F6B73;
  --accent: #9E2A2B;
  --body: "Zen Kaku Gothic New", sans-serif;
  --heading: "Shippori Mincho B1", serif;
  --utility: "Cormorant Garamond", serif;
  --section: clamp(3.5rem, 2rem + 6vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem)/1.75 var(--body);
  overflow-wrap: anywhere;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); }
p { max-width: 40em; margin: 0.75em 0 0; }
figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
[hidden] { display: none !important; }
.utility { font-family: var(--utility); font-weight: 600; letter-spacing: normal; font-variant-numeric: lining-nums; }
.muted { color: var(--muted); }
.plain-list { list-style: none; margin: 0; padding: 0; }
body:not(.top-page) {
  --night: #14100c;
  background: var(--night);
  color: var(--bg);
  color-scheme: dark;
}
body:not(.top-page) :is(main, .site-header) :focus-visible {
  outline-color: var(--bg);
}
body:not(.top-page) main a:not(.button, .card-link) {
  color: var(--wood);
}
body:not(.top-page) .steps li::marker {
  font-family: var(--utility);
  font-weight: 600;
  font-variant-numeric: lining-nums;
}
body:not(.top-page) .metrics .utility,
body:not(.top-page) .steps li::marker {
  color: var(--wood);
}
body:not(.top-page) h1 {
  font-size: clamp(1.75rem, 4.5vw, 5rem);
  text-wrap: balance;
}
body:not(.top-page) h2 {
  font-size: clamp(1.5rem, 1.2rem + 2.6vw, 3.5rem);
  text-wrap: balance;
}
body:not(.top-page) h3 {
  font-size: clamp(1.125rem, 1rem + 1.5vw, 2.25rem);
}
body:not(.top-page) main :is(ul, ol):not(.plain-list),
body:not(.top-page) .feature-list dd {
  max-width: 40em;
}
