/* Sketchcoded landing site. Static, self-contained, same voice as the app. */
@font-face { font-family: 'DM Sans'; font-weight: 400; src: url(assets/fonts/dm-sans-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 500; src: url(assets/fonts/dm-sans-latin-500-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 600; src: url(assets/fonts/dm-sans-latin-600-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'DM Sans'; font-weight: 700; src: url(assets/fonts/dm-sans-latin-700-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Caveat'; font-weight: 400; src: url(assets/fonts/caveat-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Caveat'; font-weight: 600; src: url(assets/fonts/caveat-latin-600-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Newsreader'; font-weight: 400; src: url(assets/fonts/newsreader-latin-400-normal.woff2) format('woff2'); font-display: swap; }
:root {
  --paper: #faf9f4;
  --ink: #303a32;
  --muted: #6c7467;
  --line: #dcded3;
  --green: #3d5144;
  --red: #b95144;
  --cork: #c9a97a;
  --serif: 'Newsreader', Georgia, serif;
  --hand: 'Caveat', cursive;
  --sans: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { color-scheme: light; }
body {
  font: 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 22px/1 var(--sans); letter-spacing: -0.4px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span { color: var(--red); }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; padding: 12px 14px; border-radius: 8px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { background: #ecefe4; }
/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start;
  padding: 64px 0 40px;
}
.hero h1 { font: 400 clamp(44px, 6vw, 72px)/1 var(--serif); letter-spacing: -1px; margin-bottom: 18px; }
.tagline { font: 500 clamp(19px, 2vw, 24px)/1.4 var(--sans); max-width: 26ch; }
.tagline b { display: block; color: var(--green); font-weight: 600; }
.tagline u { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lede { color: var(--muted); margin-top: 18px; max-width: 46ch; }
/* Example frame */
.example { display: block; text-decoration: none; color: inherit; }
.example figure {
  background: #fffef5; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  box-shadow: 1px 6px 22px #55452a24; transition: transform 0.15s, box-shadow 0.15s;
}
.example:hover figure, .example:focus-visible figure { transform: translateY(-2px); box-shadow: 2px 12px 34px #55452a30; }
.example img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid #e9e6da; background: var(--cork); }
.example figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 2px; }
.example figcaption span { font-family: var(--hand); font-size: 22px; color: #55604f; }
.example .cta { font: 600 14px var(--sans); background: var(--green); color: #fffef8; padding: 12px 16px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
/* Set up */
.setup { padding: 8px 0 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.setup h2, .more h2 { font: 400 30px/1.15 var(--serif); margin-bottom: 14px; }
.prompt-box { background: #fffef8; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.prompt-box .label { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.prompt-box p[data-prompt],
.guide pre[data-prompt] { font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; background: #f3f4ec; border-radius: 8px; padding: 14px 16px; margin: 12px 0 14px; user-select: all; overflow-wrap: anywhere; }
.prompt-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 9px; border: 1px solid var(--line); background: #fffef8; font: 600 15px var(--sans); color: var(--ink); text-decoration: none; cursor: pointer; }
.button:hover { background: #f1f3e9; }
.button.primary { background: var(--green); border-color: var(--green); color: #fffef8; }
.button.primary:hover { background: #2b4033; }
.requirements { color: var(--muted); font-size: 14px; margin-top: 12px; }
.local { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-left: 3px solid var(--green); background: #f3f5ec; border-radius: 0 10px 10px 0; }
.local strong { display: block; }
.local p { color: var(--muted); font-size: 15px; }
/* More */
.more { padding: 8px 0 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fffef8; border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font: 600 18px var(--sans); }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .button { align-self: flex-start; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
/* Guide */
.guide { padding: 48px 0 64px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.guide-nav { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.guide-nav a { text-decoration: none; padding: 10px 12px; border-radius: 8px; color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.guide-nav a:hover { background: #ecefe4; color: var(--ink); }
.guide article h1 { font: 400 44px/1.1 var(--serif); margin-bottom: 8px; }
.guide article > p.lede { margin-bottom: 32px; }
.guide section { padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.guide h2 { font: 400 28px/1.2 var(--serif); margin-bottom: 12px; }
.guide h3 { font: 600 17px var(--sans); margin: 18px 0 6px; }
.guide p, .guide li { color: #4a5346; }
.guide ul, .guide ol { padding-left: 22px; display: grid; gap: 6px; margin: 8px 0; }
.guide code { font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; background: #f3f4ec; padding: 2px 6px; border-radius: 5px; }
.guide pre { background: #f3f4ec; border-radius: 10px; padding: 14px 16px; overflow: auto; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.guide pre[data-prompt] { white-space: pre-wrap; overflow-wrap: anywhere; }
details.faq { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; margin: 8px 0; background: #fffef8; }
details.faq summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; }
details.faq p { padding: 0 0 14px; }
/* Mobile: one column; the setup block sits below the example frame, as drawn. */
@media (max-width: 860px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 14px; }
  .site-nav { margin-left: -14px; }
  .hero, .setup { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .hero { padding-bottom: 8px; }
  .setup { padding-top: 0; }
  .more { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; gap: 20px; }
  .guide-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .example figure { transition: none; }
}

/* The source link stands on its own under the setup prompt, centred, with the mark. */
.github-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  margin: 16px auto 0;
  min-height: 44px;
  text-decoration: none;
}
