/* Colours follow the app's light theme (app/src/theme.ts): sun-warmed wheat primary, plain system greys.
   Light only, like the app's default (user, 2026-10-11). */
:root {
  --bg: #ffffff;
  --card: #f6ead7;
  --text: #1c1c1e;
  --muted: #5e5e63;
  --border: #e5e5ea;
  --primary: #8e6534;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Noto Sans SC", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--primary); }

.top, main, .foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

.top { padding-top: 16px; padding-bottom: 16px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img { border-radius: 7px; }

/* Landing page */
.hero { text-align: center; padding: 40px 0 32px; }
.hero-icon { border-radius: 28px; }
.hero h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.15; margin: 24px 0 16px; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 34em; margin: 0 auto; }

.soon {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding-bottom: 32px;
}

.point { background: var(--card); border-radius: 16px; padding: 20px; }
.point h2 { font-size: 1.05rem; margin: 0 0 8px; }
.point p { margin: 0; color: var(--muted); }

/* Legal documents */
.doc { padding-bottom: 32px; }
.doc h1 { font-size: 1.9rem; line-height: 1.2; }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc li { margin: 4px 0; }
.doc code { font: inherit; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; min-width: 560px; font-size: 0.93rem; }
th, td { border-bottom: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

.foot { border-top: 1px solid var(--border); padding-top: 16px; padding-bottom: 32px; color: var(--muted); font-size: 0.875rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot p { margin: 12px 0 0; }
