/* Robin Piano's support site: the App Store's privacy policy and support URLs.

   No color here is chosen for the site. Each is a Robin token, read from
   ios/RobinKit/Sources/UI/Tokens.swift and Domain/KeyPaint.swift, so the page
   wears the app's own two themes:

     --bg      canvas          (dark #141416 / light #E9E9EC)
     --card    bg              (dark #1c1c1e / light #E1E1E4)
     --rule    border          (dark #3a3a3d / light #B9B9BC)
     --text    text-primary    (dark #ededed / light #101110)
     --muted   text-secondary  (dark #9a9a9f / light #505155)
     --accent  the tonic's ink, Robin's tint (dark #F0B759 / light #855B00)

   WCAG contrast, measured on canvas / card: text 15.72 / 14.53 dark and
   15.62 / 14.50 light; muted 6.57 / 6.07 and 6.54 / 6.07; links 10.18 / 9.42
   and 4.96 / 4.61. Links are also underlined, so the color is not the only
   cue. If a token changes in Tokens.swift, change it here too. */

:root {
  --bg: #E9E9EC;
  --card: #E1E1E4;
  --rule: #B9B9BC;
  --text: #101110;
  --muted: #505155;
  --accent: #855B00;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141416;
    --card: #1c1c1e;
    --rule: #3a3a3d;
    --text: #ededed;
    --muted: #9a9a9f;
    --accent: #F0B759;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  font-size: 15px;
}

nav a:first-child { font-weight: 600; color: var(--text); margin-right: auto; text-decoration: none; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }

.icon {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 0 20px;
}

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.02em; }
h2 { font-size: 21px; margin: 40px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 28px 0 4px; }

.lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; }
.meta { font-size: 14px; color: var(--muted); }

.summary {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 4px 20px;
  margin: 32px 0;
}

ul { padding-left: 22px; }
li { margin: 6px 0; }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--muted);
}
