/* Interim styling for littlestracker.com. System fonts only and a small
   neutral palette, by Sanjay's ruling of 2026-09-22: the landing-page design
   is a placeholder and the design system and typography will change.
   Deliberately does NOT copy the app's design tokens from
   lib/core/theme/tokens.dart. Revisit when the real design lands. */

:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --ink-muted: #5c5c5c;
  --rule: #e3e3e3;
  --link: #2456b3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --ink: #f2f2f2;
    --ink-muted: #b0b0b0;
    --rule: #2e2e2e;
    --link: #8ab4f8;
  }
}

html {
  color-scheme: light dark;
}

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
}

h2 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
}

p,
li {
  color: var(--ink);
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

.meta {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.25rem;
}

/* Tables scroll, the page does not. Plan 15.2-06 must put every <table>
   inside a <div class="table-scroll"> so a wide table never forces the
   whole page sideways on a phone. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
}

th,
td {
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

th {
  color: var(--ink-muted);
  font-weight: 600;
}

/* Reduced motion: there is no animation on this site, so there is nothing
   to disable. No prefers-reduced-motion media query is needed. */
