/* Shared styling for the legal pages (privacy, terms).
   Deliberately a separate stylesheet rather than a copy of index.html's inline
   <style>: these pages are plain prose and need almost none of the marketing
   layout, and a policy that drifts visually from the product is a policy nobody
   believes is current. Palette tokens mirror index.html exactly. */
:root{
  --navy:#0C2848; --navy-deep:#081D36; --cream-soft:#F4F0E8;
  --ink:#15202B; --sub:#5B6470; --card:#FFFFFF;
  --line:rgba(12,40,72,.12); --accent:#8E4A0E; --radius:18px;
}
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,sans-serif;
  color:var(--ink); background:var(--cream-soft); line-height:1.65;
}
a{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.wrap{max-width:760px;margin:0 auto;padding:0 24px}

/* Keyboard focus. These pages had no visible focus at all, and they are the
   ones a person is most likely to be reading with a screen reader or keyboard —
   App Store review opens the privacy URL, and so does anyone who actually
   cares what we do with their data. Two-tone: the amber accent reads on the
   cream page, white on the navy header. */
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
header :focus-visible{outline-color:#fff}

header{background:var(--navy);color:#fff;padding:18px 0}
header .wrap{display:flex;align-items:center;gap:10px}
header a{color:#fff;text-decoration:none;display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px;min-height:44px}
header img{width:36px;height:36px;border-radius:9px;background:#E9E2D7;padding:3px;display:block}

main{padding:44px 0 72px}
.doc{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:40px 38px}
h1{font-size:32px;line-height:1.2;color:var(--navy);margin-bottom:6px}
.updated{color:var(--sub);font-size:14px;margin-bottom:8px}

/* The summary box. A policy people actually read beats a policy that merely
   exists, and the plain-language version is what most users will read. */
/* Accent tracks index.html's --accent, which is now the logo's burnt amber
   rather than the green that belonged to a competitor. Kept in step
   deliberately: a policy page that has visibly drifted from the product reads
   as one nobody has looked at since launch. */
.tldr{background:#FCF6EE;border:1px solid rgba(142,74,14,.26);border-left:4px solid var(--accent);
      border-radius:12px;padding:18px 20px;margin:22px 0 8px}
.tldr strong{color:var(--accent)}
.tldr ul{margin:8px 0 0 18px}
.tldr li{margin:4px 0}

h2{font-size:21px;color:var(--navy);margin:32px 0 10px;padding-top:6px}
h3{font-size:16px;margin:20px 0 6px}
p,li{font-size:15.5px;color:#233242}
ul,ol{margin:10px 0 10px 22px}
li{margin:6px 0}

table{width:100%;border-collapse:collapse;margin:14px 0;font-size:14.5px}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
th{color:var(--navy);font-weight:700;background:rgba(12,40,72,.04)}
.scroll{overflow-x:auto}

.note{background:rgba(12,40,72,.045);border-radius:10px;padding:14px 16px;margin:16px 0;font-size:14.5px;color:#33404E}

footer{padding:34px 0 56px;color:var(--sub);font-size:14px;text-align:center}
/* 18px-tall links are a coin-flip to hit with a thumb. Padded to the 44px
   minimum; the flex wrapper keeps them on one centred row.
   Note the inline mailto: links in the prose are deliberately NOT padded —
   WCAG 2.5.8 exempts links inside a sentence, and forcing them to 44px would
   wreck the line spacing of the paragraphs they sit in. */
footer nav,footer .links{display:flex;flex-wrap:wrap;gap:0 6px;justify-content:center}
footer a{color:var(--sub);margin:0 10px;display:inline-flex;align-items:center;min-height:44px}

@media (max-width:560px){
  .doc{padding:26px 20px}
  h1{font-size:26px}
}
