/* Shared styling for the public legal and support pages.
 *
 * These are the URLs pasted into App Store Connect and the Play Console, so they are
 * served by the app's own backend rather than a separate site: one deployment, one
 * certificate, nothing to let lapse. Tokens match docs/design-system.md. */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --border: #E7DDD0;
  --text: #201A15;
  --text-secondary: #5B5047;
  --text-muted: #6F6459;
  --orange: #E26F3E;
  --orange-text: #B5491B;
  --sans: Inter, system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 740px; margin: 0 auto; padding: 56px 20px 96px; }
header { border-bottom: 1px solid var(--border); padding-bottom: 28px; margin-bottom: 40px; }
.mark { margin-bottom: 22px; }
.mark img { display: block; border-radius: 11px; }
h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 10px; }
h2 { font-size: 21px; letter-spacing: -.015em; margin: 44px 0 12px; }
h3 { font-size: 17px; margin: 28px 0 8px; }
p, li { color: var(--text-secondary); }
li { margin-bottom: 7px; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--orange-text); }
a:hover { color: var(--text); }
.updated { color: var(--text-muted); font-size: 15px; margin: 0; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 24px; margin: 26px 0;
}
.card p:first-child, .card ul:first-child { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15.5px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
td { color: var(--text-secondary); }
footer {
  border-top: 1px solid var(--border); margin-top: 56px; padding-top: 24px;
  color: var(--text-muted); font-size: 14.5px;
}
footer a { margin-right: 18px; }
.nav { margin-bottom: 8px; }
@media (max-width: 560px) {
  .wrap { padding: 36px 16px 72px; }
  h1 { font-size: 28px; }
  body { font-size: 16px; }
  table, thead, tbody, th, td, tr { display: block; }
  th { display: none; }
  td { border: 0; padding: 4px 0; }
  td:first-child { color: var(--text); font-weight: 600; padding-top: 14px; }
  tr { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
}

/* the delete-account form */
form#del label { color: var(--text); font-weight: 600; }
form#del input[type=email], form#del input[type=password] {
  width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 14px; font: inherit; color: var(--text);
  background: #F4EEE6; border: 1px solid #8F8173; border-radius: 14px;
}
form#del input[type=checkbox] { width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; accent-color: #C8511E; }
form#del button {
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: #D4382D; color: #fff;
  font: inherit; font-weight: 700; cursor: pointer;
}
form#del button:disabled { opacity: .5; cursor: wait; }
#del-msg { color: var(--orange-text); font-weight: 600; margin-bottom: 0; }
