/* ReelStack site styles.
   Palette lifted from the app's constants/tokens.ts, including the
   contrast-measured amber (#a06a1c light, #e8a838 dark). Do not lighten the
   light amber without redoing those measurements. */

:root {
  --bg: #ffffff;
  --surface: #f2f2f2;
  --surface2: #e8e8e8;
  --text: #1a1613;
  --text2: #6b645a;
  --text3: #9e968b;
  --border: rgba(0,0,0,0.07);
  --border2: rgba(0,0,0,0.12);
  --accent: #a06a1c;
  --accent-soft: rgba(160,106,28,0.14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d0b;
    --surface: #1a1612;
    --surface2: #241f19;
    --text: #f4f1ec;
    --text2: #a8a29a;
    --text3: #6b645a;
    --border: rgba(255,255,255,0.08);
    --border2: rgba(255,255,255,0.14);
    --accent: #e8a838;
    --accent-soft: rgba(232,168,56,0.14);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 0 20px 80px;
}
.wrap { max-width: 720px; margin: 0 auto; }
header { padding: 40px 0 8px; }
.brand {
  display: inline-block; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; font-size: 17px;
}
h1 { font-size: 2.1rem; line-height: 1.2; letter-spacing: -0.02em; margin: 28px 0 12px; }
h2 { font-size: 1.4rem; line-height: 1.3; letter-spacing: -0.01em; margin: 44px 0 12px; }
h3 { font-size: 1.12rem; margin: 32px 0 6px; }
p { margin: 0 0 16px; }
.dateline { color: var(--text3); font-size: 0.9rem; margin-bottom: 28px; }
a { color: var(--accent); }
.lede { font-size: 1.12rem; color: var(--text2); }

.disclosure {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 16px; margin: 28px 0; border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
}
.disclosure p:last-child { margin-bottom: 0; }

.note {
  background: var(--surface); border: 1px solid var(--border);
  padding: 14px 16px; border-radius: 10px; margin: 24px 0; font-size: 0.95rem;
}
.note p:last-child { margin-bottom: 0; }

/* Wide tables scroll inside their own box so the page body never does. */
.tablewrap { overflow-x: auto; margin: 20px 0 8px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; min-width: 640px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text2); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
tbody tr:last-child td { border-bottom: none; }
.app { font-weight: 600; white-space: nowrap; }
.row { font-weight: 600; }
.caption { color: var(--text3); font-size: 0.85rem; margin: 0 0 32px; }

.pick {
  border: 1px solid var(--border2); border-radius: 12px;
  padding: 18px 20px; margin: 18px 0; background: var(--surface);
}
.pick h3 { margin-top: 0; }
.for { color: var(--text2); font-size: 0.95rem; margin-bottom: 10px; }
.catch { font-size: 0.95rem; }
.catch strong { color: var(--text); }

ul { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

.cta {
  display: inline-block; background: var(--accent); color: var(--bg);
  text-decoration: none; font-weight: 600; padding: 13px 22px;
  border-radius: 10px; margin-top: 8px;
}
footer {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--text3); font-size: 0.85rem;
}
footer a { color: var(--text2); }

/* Home page. */
.hero { text-align: center; padding: 24px 0 8px; }
.hero img.icon {
  width: 96px; height: 96px; border-radius: 22px; display: block; margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}
.hero h1 { font-size: 2.4rem; margin: 0 0 12px; }
.hero .lede { max-width: 34rem; margin: 0 auto 20px; }
.small { color: var(--text3); font-size: 0.88rem; margin-top: 14px; }
.feature { margin: 0 0 26px; }
.feature h3 { margin: 0 0 4px; }
.feature p { margin: 0; color: var(--text2); }
.reading { list-style: none; padding: 0; }
.reading li { margin-bottom: 14px; }
.reading a { font-weight: 600; text-decoration: none; }
.reading span { display: block; color: var(--text2); font-size: 0.93rem; }
