/* Yammi legal & support pages — self-contained, no external requests.
   Apple's review crawler must be able to load these with no JS and no login. */

:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --ink: #22251f;
  --muted: #5f6459;
  --faint: #8b9083;
  --green: #2f5233;
  --line: #e6e0d3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px 80px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 720px; margin: 0 auto; }

header {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}

.brand {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
}

h1 { font-size: 30px; line-height: 1.25; margin: 14px 0 6px; }
h2 { font-size: 19px; margin: 36px 0 10px; color: var(--green); }
h3 { font-size: 16px; margin: 24px 0 6px; }

.updated { color: var(--faint); font-size: 14px; margin: 0; }

p, li { color: var(--muted); }
li { margin-bottom: 7px; }
strong { color: var(--ink); }

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}

.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.callout {
  background: #fff8e8;
  border: 1px solid #e8d9b0;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 600; }
td { color: var(--muted); }

nav.links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
nav.links a { margin-right: 20px; }

footer { margin-top: 48px; color: var(--faint); font-size: 13px; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16180f;
    --surface: #1e2118;
    --ink: #f2efe4;
    --muted: #b9bdaf;
    --faint: #82877a;
    --green: #9ec49a;
    --line: #333829;
  }
  .callout { background: #2a2413; border-color: #4a4126; }
}
