/* notabs.app: shared styles for the subpages (legal, download, buy, 404).
   The home page carries its own styles inline and uses the same tokens. */
:root {
  --ink: #1d1d1f; --soft: #6e6e73; --faint: #86868b;
  --bg: #ffffff; --tint: #f5f5f7; --line: #d2d2d7;
  --green: #2f6f4f; --green-hover: #275e43;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 17px/1.5 var(--font); letter-spacing: -.022em; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }

nav.local { position: sticky; top: 0; z-index: 50; height: 52px; background: rgba(251,251,253,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.nav-in { max-width: 1024px; height: 100%; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--ink); text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 980px; background: var(--green); color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; transition: background .2s; }
.pill:hover { background: var(--green-hover); }
.pill.sm { padding: 5px 12px; font-size: 12px; }
.more { color: var(--green); text-decoration: none; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }

/* single-message pages: download, buy, 404 */
.single { text-align: center; padding: 120px 0 140px; }
.single h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -.009em; margin-bottom: 18px; }
.single p { font-size: 21px; line-height: 1.38; color: var(--soft); max-width: 640px; margin: 0 auto 12px; letter-spacing: .004em; }
.single .actions { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }

/* legal pages */
.legal { padding: 88px 0 120px; }
.legal .doc { max-width: 720px; }
.legal h1 { font-size: clamp(40px, 5.6vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -.009em; margin-bottom: 10px; }
.legal .updated { color: var(--faint); font-size: 15px; margin-bottom: 48px; }
.legal h2 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: .002em; margin: 44px 0 12px; }
.legal p, .legal li { color: #424245; font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 10px; }
.legal li + li { margin-top: 6px; }
.legal dl { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 14px 28px; margin-top: 8px; }
.legal dt { font-weight: 600; font-size: 15px; color: var(--ink); }
.legal dd { color: #424245; font-size: 17px; }
.legal .see { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--soft); }

footer { background: var(--tint); color: var(--soft); font-size: 12px; letter-spacing: -.01em; padding: 22px 0 40px; }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer nav a + a::before { content: "·"; margin: 0 8px; color: var(--faint); }

@media (max-width: 640px) {
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .single { padding: 80px 0 100px; }
}
