/* Wishpen site. Tokens from apps/ios/Wishpen/Design/Tokens.swift. No framework, no build step. */
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/Fraunces-Italic.ttf") format("truetype");
}
:root {
  --navy: #1d1a4d;
  --gold: #ef9f27;
  --gold-deep: #ba7517;
  --gold-text: #412402;
  --muted: #5a5677;
  --paper: #f2f2f7;
  --card: #ffffff;
  --hairline: #e5e5ea;
  --text: var(--navy);
  --link: #8a5410;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141233;
    --card: #1d1a4d;
    --hairline: #34306b;
    --text: #f2f2f7;
    --muted: #b9b6d6;
    --link: #fac775;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.55 var(--sans);
}
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 20px 0 8px; }
header.site a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
header.site img { width: 32px; height: 32px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 1.6em 0 0.5em; }
h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.1rem; margin-top: 0.8em; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p, ul, ol { margin: 0.6em 0; }
li { margin: 0.3em 0; }
.meta { color: var(--muted); font-size: 0.9rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: 20px; padding: 4px 20px; margin: 20px 0; }
.note { background: var(--card); border-left: 4px solid var(--gold); border-radius: 8px; padding: 10px 16px; margin: 20px 0; font-size: 0.95rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--hairline); }
th { color: var(--muted); font-weight: 600; }
footer.site { margin-top: 56px; padding: 24px 0 40px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 0.9rem; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 0; margin-bottom: 10px; }
footer.site nav a { color: var(--muted); }
footer.site nav a + a::before { content: "\2022"; display: inline-block; margin: 0 12px; color: var(--gold-deep); text-decoration: none; }
footer.site nav a:hover { color: var(--text); }
details { border-bottom: 1px solid var(--hairline); padding: 12px 0; }
details:last-of-type { border-bottom: 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; padding-right: 24px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; color: var(--gold-deep); font-size: 1.3rem; line-height: 1; top: 0; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); }
.button { display: inline-block; background: var(--gold); color: var(--gold-text); font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 26px; }
@media (prefers-reduced-motion: no-preference) { .button { transition: transform 0.12s ease; } .button:active { transform: scale(0.98); } }
