/* Shared styling for the static legal pages (terms/privacy/refund).
   No-JS, crawler-safe, print-friendly. Kept as a plain stylesheet so the pages
   have zero build-time coupling to the app bundle. */
:root {
  --ink: #0e1620;
  --muted: #566270;
  --line: #d3d9e0;
  --bg: #ffffff;
  --accent: #0e1620;
  --wash: #f3f5f7;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px / 1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}
.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
header.masthead {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
header.masthead a.brand {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .2px;
}
header.masthead .sub {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: .35rem;
}
h1 {
  font-size: 1.9rem;
  line-height: 1.15;
  margin: 0 0 .4rem;
  text-wrap: balance;
}
.updated {
  color: var(--muted);
  font-size: .85rem;
  margin: 0 0 2rem;
}
h2 {
  font-size: 1.2rem;
  margin: 2.2rem 0 .6rem;
}
h3 {
  font-size: 1rem;
  margin: 1.4rem 0 .4rem;
}
p,
li {
  color: #23331f;
}
a {
  color: var(--accent);
}
ul {
  padding-left: 1.25rem;
}
li {
  margin: .3rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .92rem;
}
th,
td {
  text-align: left;
  padding: .5rem .6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--wash);
  font-weight: 600;
}
.note {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .8rem 1rem;
  font-size: .9rem;
  color: var(--muted);
}
.todo {
  background: #fff7e6;
  border: 1px solid #e6c65d;
  border-radius: 8px;
  padding: .8rem 1rem;
  font-size: .9rem;
}
footer.foot {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1rem;
  font-size: .85rem;
  color: var(--muted);
}
footer.foot a {
  margin-right: 1rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9ecf0;
    --muted: #9aa4ae;
    --line: #2a3440;
    --bg: #0e1620;
    --accent: #d3d9e0;
    --wash: #1a2430;
  }
  p,
  li {
    color: #d3d9e0;
  }
}
