/* Glasshour site. The icon's deep teal and its lit aqua liquid, on a mist
   ground in light mode. System type only: iPhones render SF, which is the
   app's own face, and no webfont means nothing to cache-poison. */

:root {
  --ground: #EEF3F4;
  --surface: #FFFFFF;
  --ink: #10272B;
  --ink-2: #4A6166;
  --rule: rgba(16, 39, 43, 0.12);
  --accent: #1A6A6E;
  --teal: #1D3E44;
  --aqua: #6FE0D6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0D1F22;
    --surface: #132B2F;
    --ink: #E4EFF0;
    --ink-2: #9DB4B8;
    --rule: rgba(228, 239, 240, 0.12);
    --accent: #7FE3DA;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

/* Header and footer shared by every page. */
.bar {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bar a.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 600; letter-spacing: -0.01em;
}
.bar img { width: 32px; height: 32px; border-radius: 8px; }
.bar .sep { color: var(--ink-2); }
.bar .here { color: var(--ink-2); }

.foot {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 14px; color: var(--ink-2);
}
.foot a { color: var(--ink-2); }
.foot .copy { margin-left: auto; }
@media (max-width: 480px) { .foot .copy { margin-left: 0; width: 100%; } }

/* Long-form pages: privacy, terms, support. */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}
.doc h1 {
  font-size: clamp(30px, 7vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 24px 0 8px;
}
.doc .meta { color: var(--ink-2); font-size: 14px; margin: 0 0 32px; }
.doc h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 8px;
  padding-top: 8px;
}
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { max-width: 65ch; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc .lead { font-size: 19px; color: var(--ink); }
.doc .caps { text-transform: none; font-size: 15px; }
.doc .note {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
}
.doc .note p { margin: 0; }
.doc .note p + p { margin-top: 8px; }

/* Support FAQ. */
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  font-weight: 600;
  position: relative;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 12px;
  font-weight: 400; font-size: 22px; line-height: 1;
  color: var(--ink-2);
  transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
