/* Shared shell for the two public app-store pages: /app/privacy and
   /app/support. Apple and Google both fetch these URLs while the app is in
   review, and a customer follows them from the store listing, so they have to
   stand on their own with no login and no app chrome.

   Same palette as the rest of the public site (get_started.html): cream ground,
   near-black ink, Fraunces for headings. Deliberately one stylesheet for both
   pages rather than a copy of the block in each: these get edited by hand when
   the policy changes, and two drifting copies of the styling is how a legal
   page ends up looking broken on one route and not the other. */

:root {
  --bg:#F2F0EE; --card:#fff;
  --ink:#0a0a0a; --ink-muted:rgba(10,10,10,.66); --ink-faint:rgba(10,10,10,.45);
  --line:rgba(10,10,10,.14);
  --body:'Geist',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --serif:'Fraunces','Times New Roman',serif;
  --mono:'Geist Mono','SF Mono',Menlo,monospace;
}

* { box-sizing:border-box; }
html, body { margin:0; padding:0; }
body {
  background:var(--bg); color:var(--ink);
  font-family:var(--body); font-size:1.0625rem; line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
  padding:env(safe-area-inset-top) env(safe-area-inset-right)
          env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color:inherit; text-decoration:underline; text-underline-offset:.2em; }
a:hover { text-decoration-thickness:2px; }

.nav { padding:1.5rem 0; border-bottom:1px solid rgba(10,10,10,.08); }
.logo {
  font-family:'Audiowide',sans-serif; font-size:1.2rem; letter-spacing:.04em;
  text-transform:uppercase; text-align:center; display:block; text-decoration:none;
}

.wrap { max-width:720px; margin:0 auto; padding:0 clamp(1.25rem,5vw,2rem); }

.head { padding:clamp(2rem,6vw,3rem) 0 1rem; }
.eyebrow {
  font-family:var(--mono); font-size:.6875rem; letter-spacing:.24em;
  text-transform:uppercase; color:var(--ink-faint); margin:0 0 1rem;
}
h1 {
  font-family:var(--serif); font-weight:500; font-size:clamp(2rem,6vw,3rem);
  line-height:1.06; letter-spacing:-.015em; margin:0 0 .75rem;
}
.lead { font-size:1.125rem; color:var(--ink-muted); margin:0; max-width:52ch; }
.updated { font-family:var(--mono); font-size:.75rem; color:var(--ink-faint); margin:1.25rem 0 0; }

section { padding:2rem 0 0; }
h2 {
  font-family:var(--serif); font-weight:500; font-size:clamp(1.3rem,3.2vw,1.65rem);
  letter-spacing:-.01em; margin:0 0 .75rem; padding-top:1.5rem;
  border-top:1px solid var(--line);
}
section:first-of-type h2 { border-top:0; padding-top:0; }
h3 { font-size:1rem; font-weight:600; margin:1.5rem 0 .4rem; }
p { margin:0 0 1rem; }
ul { margin:0 0 1rem; padding-left:1.25rem; }
li { margin:0 0 .5rem; }
li > strong { font-weight:600; }

.card {
  background:var(--card); border:1px solid var(--line); border-radius:14px;
  padding:clamp(1.1rem,3vw,1.5rem); margin:0 0 1.25rem;
}
.card p:last-child, .card ul:last-child { margin-bottom:0; }
.card h3:first-child { margin-top:0; }

.contact { font-family:var(--mono); font-size:.9375rem; line-height:1.9; }

.note {
  background:#fff8e6; border:1px solid rgba(180,140,20,.28); border-radius:12px;
  padding:1rem 1.15rem; margin:0 0 1.25rem; font-size:.9375rem;
}
.note strong { font-weight:600; }

footer {
  margin-top:3rem; padding:2rem 0 3rem; border-top:1px solid var(--line);
  font-size:.875rem; color:var(--ink-faint);
}
footer a { margin-right:1.25rem; }
/* The trading-name + company-number line, above the footer links. Its own rule
   rather than a bare <p> so it does not inherit the link row's spacing and so
   it stays legible when the links wrap on a phone. */
footer .legal { margin:0 0 1rem; line-height:1.5; }

/* The brand mark beside the wordmark in the nav, where the brand has one.
   `.logo` is display:block + text-align:center, which centres an inline image
   and its text together with no further work; this only stops a tall mark from
   stretching the bar. */
.logo img { max-height:1.4em; width:auto; vertical-align:-.3em; }

@media print {
  body { background:#fff; }
  .nav, footer { border-color:#ccc; }
}
