/* Twirly, style A mockup: the small pages (thanks.html, confirmed.html, privacy.html). */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
:root {
  color-scheme: light;
  --bg: #fbefe2;
  --card: #fffaf4;
  --peach: #f9e0c8;
  --ink: #2a2140;          /* 13.3:1 on cream */
  --ink-2: #554a66;        /* 7.3:1 on cream */
  --violet-ink: #4f40c4;   /* 6.5:1 on cream */
  --btn-ink: #fff6ec;
  --shadow: 0 10px 0 -4px rgba(150, 92, 52, .10), 0 18px 40px -18px rgba(150, 92, 52, .35);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.55 "Instrument Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  text-align: center;
}
main { max-width: 34rem; }
.art { width: min(78vw, 300px); height: auto; margin: 0 auto 24px; display: block; }
.logo { width: 40px; height: 40px; display: block; }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 650; margin: 0 0 18px; text-wrap: balance; }
h1 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.1em; letter-spacing: -.01em; }
p { color: var(--ink-2); margin: 0 0 14px; }
p b { color: var(--ink); font-weight: 650; }
.sig { color: var(--ink); margin-top: 24px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.3em; }
a { color: var(--violet-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet-ink); outline-offset: 3px; border-radius: 8px; }
.back {
  display: inline-flex; align-items: center; height: 48px; margin-top: 28px; padding: 0 24px;
  border-radius: 999px; background: var(--ink); color: var(--btn-ink);
  font-weight: 600; text-decoration: none; box-shadow: var(--shadow);
}
.back:hover, .back:focus-visible { background: #3b2f5a; }

/* privacy.html: a longer, left-aligned page on a card */
body.doc { display: block; text-align: left; padding: 40px 16px 64px; }
body.doc main {
  margin: 0 auto; max-width: 42rem;
  padding: clamp(28px, 6vw, 56px);
  border-radius: 32px; background: var(--card); box-shadow: var(--shadow);
}
body.doc .logo { margin: 0 0 28px; }
body.doc h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin-bottom: 24px; }
body.doc h2 { font-size: 1.0625rem; font-weight: 650; margin: 28px 0 6px; color: var(--ink); }
body.doc p { font-size: 17px; }
body.doc .back { margin-top: 36px; }

body.doc .updated { margin-top: -14px; font-size: .9rem; opacity: .75; }
