/* Meadow legal pages — palette from the app mockup (sand, forest, clay). */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

:root {
  --bg: #efe7d6;
  --bg-deep: #e4d9c2;
  --surface: #fffdf8;
  --line: #e4d9c2;
  --ink: #1f2a22;
  --muted: #6f7a6b;
  --forest: #24382b;
  --brand: #d8693a;
  --brand-strong: #c25a2d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(60% 35% at 100% 0%, rgba(216, 105, 58, 0.14), transparent 70%),
    radial-gradient(70% 40% at 0% 100%, rgba(78, 107, 74, 0.16), transparent 70%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 16px/1.65 'Bricolage Grotesque', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }

.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--forest); font-weight: 800; font-size: 24px; letter-spacing: -0.8px;
  text-transform: lowercase; text-decoration: none;
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(216, 105, 58, 0.16);
}

h1 { font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -1px; margin: 28px 0 4px; color: var(--forest); }
h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.3px; margin: 32px 0 8px; color: var(--forest); }
.updated, .muted { color: var(--muted); }
.updated { margin-top: 0; font-size: 14px; }

a { color: var(--brand-strong); }
a:hover { color: var(--forest); }

table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; background: var(--bg-deep); }
td:first-child { width: 42%; }

li { margin: 6px 0; }

/* Landing */
.hero {
  display: grid; gap: 24px; justify-items: start;
  margin-top: 8px; padding: 32px 28px; border-radius: 32px;
  background: var(--forest); color: var(--bg);
}
.hero h1 { color: var(--bg); font-size: 44px; margin-top: 0; }
.hero p { margin: 0; color: rgba(239, 231, 214, 0.82); max-width: 460px; }
.hero img { border-radius: 36px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); }
.button {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 700; text-decoration: none;
}
.button:hover { background: var(--brand-strong); color: #fff; }
.cards { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.cards a {
  display: block; padding: 16px 20px; border-radius: 20px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none;
}
.cards a:hover { border-color: var(--brand); }

footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 560px) {
  h1 { font-size: 32px; }
  .hero h1 { font-size: 36px; }
  table, tbody, tr, td, th { display: block; width: 100%; }
  tr:first-child { display: none; }
  td:first-child { width: 100%; padding-bottom: 0; border-bottom: 0; }
}
