/* Meridian support site. Palette mirrors ui/Theme.kt's DarkColors so the pages
   read as part of the app rather than as a generic support page. */
:root {
  --space: #03060B;
  --surface: #0B1017;
  --surface-raised: #161C25;
  --divider: rgba(255, 255, 255, 0.08);
  --outline: rgba(255, 255, 255, 0.12);
  --on-surface: #FFFFFF;
  --on-surface-muted: rgba(255, 255, 255, 0.55);
  --on-surface-faint: rgba(255, 255, 255, 0.35);
  --night: #7FA8D9;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 20px;
  background: var(--space);
  color: var(--on-surface);
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding-block: 56px 72px;
}

/* Poppins has wide sidebearings; the negative tracking here matches the app's
   type scale, which does the same thing for the same reason. */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.25; }
h1 { font-size: 30px; font-weight: 600; margin: 0 0 8px; }
h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; }

.lede { color: var(--on-surface-muted); margin: 0 0 8px; }

a { color: var(--night); text-decoration: none; border-bottom: 1px solid rgba(127, 168, 217, 0.35); }
a:hover { border-bottom-color: var(--night); }

.card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 20px 0;
}

.card h3:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

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

.muted { color: var(--on-surface-muted); }
.faint { color: var(--on-surface-faint); font-size: 14px; }

.mail {
  display: inline-block;
  background: var(--surface-raised);
  border: 1px solid var(--outline);
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 4px;
  font-weight: 500;
  border-bottom-width: 1px;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  color: var(--on-surface-faint);
  font-size: 14px;
}

footer a { color: var(--on-surface-muted); border-bottom-color: var(--divider); }

nav { margin-bottom: 32px; font-size: 14px; }
nav a { color: var(--on-surface-muted); border-bottom: none; margin-right: 18px; }
nav a:hover { color: var(--on-surface); }
