/* Stark site: the app's Braun/Bauhaus dark look. One accent colour, hard edges, monospace. */
:root {
  --bg: #1a1a1a;
  --fg: #f0f0f0;
  --muted: #888888;
  --faint: #555555;
  --accent: #e8461a;
  --border: #333333;
  --gutter: 40px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Courier New", Courier, monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

/* Header: the STARK wordmark over the page title. */
.site-header {
  padding: 48px var(--gutter) 32px;
  border-bottom: 1px solid var(--border);
}
.wordmark { font-size: 13px; letter-spacing: 4px; color: var(--accent); }
.wordmark a { color: var(--accent); }
.wordmark a:hover { text-decoration: none; }

h1 { font-size: 28px; font-weight: 400; margin-top: 16px; line-height: 1.3; }
.sub { color: var(--muted); font-size: 18px; margin-top: 8px; letter-spacing: 1px; line-height: 1.4; }
.updated { font-size: 11px; color: var(--faint); margin-top: 8px; letter-spacing: 1px; }

main { padding: 48px var(--gutter); flex: 1; max-width: 640px; width: 100%; }

h2 { font-size: 11px; font-weight: 400; letter-spacing: 3px; color: var(--accent); margin-top: 40px; margin-bottom: 12px; text-transform: uppercase; }
main > h2:first-child { margin-top: 0; }

p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
p strong { color: var(--fg); }

.badge { display: inline-block; line-height: 0; }
.badge:hover { text-decoration: none; }
.badge img { height: 48px; width: auto; }

.contact-block { border: 1px solid var(--border); padding: 20px 24px; margin-top: 12px; font-size: 14px; overflow-wrap: anywhere; }

/* Screenshot strip: scrolls sideways inside itself, never the page. */
.screenshots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 40px var(--gutter);
  scrollbar-width: none;
  border-top: 1px solid var(--border);
  max-width: 100vw;
}
.screenshots::-webkit-scrollbar { display: none; }
.screenshots img { height: 480px; width: auto; flex-shrink: 0; display: block; }

/* Footer: links, copyright and the build id. */
.site-footer {
  padding: 24px var(--gutter);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--faint);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.site-footer a { color: var(--faint); text-transform: uppercase; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.site-footer p { font-size: 11px; color: var(--faint); line-height: 1.4; margin: 0; }
.site-footer .build-id { color: var(--faint); }

/* Generated 404 and "app not built" pages (h1 and text in main, no header). */
code { background: var(--border); color: var(--fg); padding: 0.1rem 0.3rem; }

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .site-header { padding-top: 32px; padding-bottom: 24px; }
  h1 { font-size: 24px; }
  .sub { font-size: 16px; }
  main { padding-top: 32px; padding-bottom: 32px; }
  .screenshots { padding-top: 32px; padding-bottom: 32px; }
  .screenshots img { height: 400px; }
}
