

:root {
  --bg: #f7f1ea;
  --card: #fffbf3;
  --tint: #f0c0ba;
  --highlight: #f6c75c;
  --line: rgb(30 21 18 / 0.10);
  --ink: #1e1512;
  --stamp: #7e2430;
  --ink-soft: #7a6357;
  --cta: #d6414e;
  --cta-ink: #fffbf3;
  --shadow: 0 10px 30px rgb(30 21 18 / 0.10);
  --grain: .07;
  --font-display: "New York", "Iowan Old Style", Georgia, serif;
  --font-body: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --font-stamp: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1a17;
    --card: #2a2320;
    --tint: #e6c3be;
    --highlight: #d9c99a;
    --line: rgb(243 235 226 / 0.14);
    --ink: #f3ebe2;
    --stamp: #e0b45e;
    --ink-soft: #c9b8aa;
    --cta: #c4515d;
    --cta-ink: #f3ebe2;
    --shadow: 0 8px 24px rgb(0 0 0 / 0.35);
    --grain: .06;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: var(--grain);
  background-size: 256px 256px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='256' height='256'><filter id='g' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch' seed='7'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
}

main {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 64px max(24px, env(safe-area-inset-left));
}

.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}

.home {
  color: var(--ink-soft);
  font-size: 15px;
  text-decoration: none;
}

.bear { flex: none; width: 64px; height: 64px; }

.eyebrow {
  margin: 40px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--stamp);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  margin: 10px 0 0;
  font-size: clamp(44px, 12vw, 60px);
  letter-spacing: -1.4px;
}

h1 em, .lede em { font-style: italic; }

.stamp {
  margin: 14px 0 0;
  font-family: var(--font-stamp);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lede {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
}

.card {
  margin: 28px 0 0;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--stamp);
}

.card ul { margin: 12px 0 0; padding-left: 20px; }
.card li + li { margin-top: 6px; }

section { margin-top: 44px; }

section > h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.6px;
}

section > h3 {
  margin: 24px 0 0;
  font-size: 21px;
  font-style: italic;
  letter-spacing: -0.3px;
}

p { margin: 12px 0 0; }

ul, ol { margin: 12px 0 0; padding-left: 22px; }
li + li { margin-top: 8px; }
li::marker { color: var(--ink-soft); }

a {
  color: inherit;
  text-decoration-color: var(--ink-soft);
  text-underline-offset: 3px;
}

strong { font-weight: 700; }

.quote {
  display: inline;
  font-family: var(--font-display);
  font-style: italic;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin: 28px 0 0;
  padding: 0 20px;
  border-radius: 20px;
  background: var(--cta);
  color: var(--cta-ink);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
}

.address {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--font-stamp);
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--ink-soft);
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

footer a[aria-current="page"] { color: var(--ink); text-decoration: none; }
footer .copy { margin-left: auto; }

::selection { background: var(--tint); color: var(--ink); }

:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

code {
  font-family: var(--font-stamp);
  font-size: 0.85em;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--line);
}
