@font-face { font-family: "Instrument Serif"; src: url(/fonts/InstrumentSerif-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree.ttf) format("truetype"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #f4f1ea; --card: #fbfaf6; --ink: #2a1f24; --muted: #6b6461; --line: #e0d9cd;
  --tint: #eae4d9; --flowbert: #f0576d; --cherry: #ce2e48; --cheek: #ffe0e6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e171a; --card: #2a2125; --ink: #f1ece3; --muted: #b3aaa3; --line: #3d3337;
    --tint: #342a2e; --cherry: #ff8fa0; --cheek: #3a2a30;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 Figtree, system-ui, sans-serif;
}
a { color: inherit; text-decoration-color: var(--flowbert); text-underline-offset: 3px; }
a:hover { color: var(--cherry); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(44px, 9vw, 76px); }
h2 { font-size: clamp(32px, 6vw, 44px); margin-top: 1.6em; }
h3 { font-size: 26px; margin-top: 1.4em; }
p, ul, ol, dl { margin: 0 0 1em; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 40px 0 24px; }
.hero h1 span { color: var(--flowbert); }
.lede { font-size: 20px; color: var(--muted); max-width: 32em; }
.mascot { width: min(300px, 70vw); margin: 0 auto; }

.get { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none;
}
.btn:hover { color: var(--bg); background: var(--cherry); }
.btn.soft { background: var(--tint); color: var(--ink); cursor: default; }
.small { font-size: 14px; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px 0; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.fact b { display: block; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 40px; line-height: 1; color: var(--flowbert); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.shots figcaption { text-align: center; font-size: 15px; color: var(--muted); margin-top: 8px; }

.faq dt { font-weight: 700; margin-top: 1.1em; }
.faq dd { margin: .2em 0 0; color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin: 20px 0; }
.steps { padding-left: 1.2em; margin-top: 24px; }
.steps li { margin-bottom: .9em; }
.hash dd { margin: 0 0 .8em; font: 13px/1.5 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.hash dt { font-size: 14px; color: var(--muted); }

.page { padding: 24px 0 40px; }
.page h1 { font-size: clamp(40px, 8vw, 60px); }
.updated { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .mascot { order: -1; width: 180px; }
  .facts { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .wrap { padding: 0 16px; }
  .top nav { gap: 12px; font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: no-preference) {
  .mascot { animation: bob 4s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
}

code { font: 0.9em ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
