/* thelongviewapp.com shared stylesheet.
   Extracted from the original single-file index.html. Same colours, same
   type scale, same light/dark handling: this file is a refactor of that
   page, not a restyle. */

:root {
  --bg: #f7f5f1;
  --surface: #fffefb;
  --text: #1c1f22;
  --muted: #565d63;
  --faint: #7d858c;
  --border: #e2ded6;
  --accent: #2f6f5e;
  --serif: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171a;
    --surface: #1b1f23;
    --text: #eceae5;
    --muted: #a8b0b6;
    --faint: #838b91;
    --border: #2b3137;
    --accent: #7fc0ac;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 2rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) 1.5rem 3rem;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.tagline {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 3.5vw, 1.375rem);
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

h2 {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 2.5rem 0 0.5rem;
}

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.status {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.125rem 1.25rem;
  margin: 0 0 1rem;
}

.status p { margin: 0; color: var(--muted); }
.status strong { color: var(--text); font-weight: 600; }

.platforms {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0.875rem 0 0;
}

.platforms li {
  font-size: 0.8125rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  white-space: nowrap;
}

.disclaimer {
  font-size: 0.9375rem;
  color: var(--faint);
  border-left: 2px solid var(--border);
  padding-left: 1rem;
  margin: 1rem 0 0;
}

footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--faint);
}

footer h2 {
  font-size: 0.8125rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--faint);
  font-weight: 600;
  margin: 0 0 0.625rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.colophon { margin: 0; }

/* Site nav: not visible yet. With a single "Home" link there is nothing to
   navigate to and it would just duplicate the page's own <h1>, so
   tools/build.py renders no header at all (see render_nav in that file).
   This rule exists so the day a second page lands and the nav starts
   rendering, it already matches the site's type and colour system instead
   of needing a separate styling pass. */
.site-nav {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
}

.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
