/* clownable: one small stylesheet, light and dark aware. No external fonts. */
:root {
  color-scheme: light dark;
  --bg: #fffbf2;
  --surface: #ffffff;
  --text: #1d1b3a;
  --muted: #4a4766;
  --accent: #b5121f;
  --accent-text: #ffffff;
  --sun: #ffc93c;
  --border: #e9e2cf;
  --banner-bg: #fff0b8;
  --banner-text: #3b2f00;
  --radius: 14px;
  --font: ui-rounded, "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15142a;
    --surface: #1f1d3a;
    --text: #f4f1ff;
    --muted: #c3bfe0;
    --accent: #ff8a8f;
    --accent-text: #15142a;
    --border: #34315a;
    --banner-bg: #3d3200;
    --banner-text: #ffe08a;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 var(--font);
}
a { color: var(--accent); text-underline-offset: 0.15em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 0.75rem; z-index: 1; }

.site-header { padding: 1.25rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand img { width: 2.25rem; height: 2.25rem; }

main.wrap { padding-bottom: 3rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.4rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.25rem; }
.lede { font-size: 1.25rem; color: var(--muted); margin: 0 0 1.5rem; }
.hero { text-align: center; padding: 2rem 0 1rem; }
.hero-mark { width: 6rem; height: 6rem; border-radius: 22%; }
/* The mascot icons have an opaque white background: show them as app-icon tiles. */
.brand img { border-radius: 22%; }
.wish { display: inline-block; font-style: italic; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 1rem; }

.steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--sun); color: #1d1b3a; font-weight: 700; margin-bottom: 0.5rem; }
.steps h3 { margin-top: 0; }
.steps p { margin: 0; color: var(--muted); }

.cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; margin-top: 2rem; }
.cta h2 { margin-top: 0; }
.button { display: inline-block; background: var(--accent); color: var(--accent-text); padding: 0.7rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.fine { font-size: 0.9rem; color: var(--muted); }

.banner { background: var(--banner-bg); color: var(--banner-text); border-radius: var(--radius); padding: 0.85rem 1.1rem; margin: 1rem 0; font-weight: 600; }
.legal h2 { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.legal li { margin: 0.3rem 0; }
.updated { color: var(--muted); margin-top: 0; }

/* Landing page: just the card, sized to fit the viewport. */
.landing { display: flex; justify-content: center; padding: 1.5rem 1rem 2rem; }
.landing picture { display: block; }
.card { display: block; width: auto; height: auto; max-width: min(100%, 36rem); max-height: calc(100svh - 9rem); aspect-ratio: 2 / 3; border-radius: 6px; box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 0.18); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0 2.5rem; font-size: 0.95rem; color: var(--muted); }
.site-footer nav ul { list-style: none; padding: 0; margin: 0 0 0.75rem; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer p { margin: 0.25rem 0; }
