/* MotionPass legal and support pages: black like the app, one hot orange, easy to read on a phone. */
:root {
  --bg: #000;
  --card: #141414;
  --stroke: rgba(255, 255, 255, 0.09);
  --text: #f4f4f4;
  --muted: rgba(255, 255, 255, 0.62);
  --accent: #ff6a33;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

a { color: var(--accent); }

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  margin-bottom: 36px;
  font-size: 15px;
}

nav .brand {
  margin-right: auto;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav a:not(.brand) { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--text); }

/* Opened inside the app: the app has its own close button and title. */
.in-app nav { display: none; }
.in-app main { padding-top: 20px; }

h1 {
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.updated { margin: 0 0 28px; color: var(--muted); font-size: 15px; }

h2 {
  margin: 40px 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

h3 { margin: 24px 0 6px; font-size: 18px; }

p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
li::marker { color: var(--muted); }

.summary {
  margin: 0 0 8px;
  padding: 18px 20px 6px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
}

.summary h2 { margin-top: 0; font-size: 18px; }

.contact {
  display: inline-block;
  margin: 8px 0 18px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

details {
  margin: 0 0 10px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
}

summary { cursor: pointer; font-weight: 650; }
details[open] summary { margin-bottom: 8px; }
details p:last-child, details ul:last-child, details ol:last-child { margin-bottom: 4px; }

table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 15px;
}

th, td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
  vertical-align: top;
}

th { color: var(--muted); font-weight: 600; }

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