/* Pages outside the board: terms, privacy, documentation, and the brand line shared with the sign-in and
   approval pages. Loaded after styles.css, whose variables (colours, fonts, dark mode) it uses; it adds no
   colour of its own. DESIGN.md has the rules. */

/* The mark and the wordmark, together. The mark is inline SVG so it follows the theme. */
.logo-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo-lockup svg { width: 34px; height: 34px; flex: none; }
.logo-lockup .bubble { stroke: var(--ink); }
.logo-lockup .scribble { stroke: var(--marker); }
.logo-lockup span { font-family: var(--hand); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.signin-card .logo-lockup { margin-bottom: 18px; }
.signin-card .logo-lockup span { font-size: 26px; }

/* A page to read. */
body.doc-page { overflow: auto; background: var(--paper); color: var(--ink); }
.doc { max-width: 720px; margin: 0 auto; padding: 36px 24px 64px; }
.doc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 56px; }
.doc-top nav { display: flex; gap: 18px; font-size: 14px; }
.doc-top nav a { color: var(--ink-soft); text-decoration: none; }
.doc-top nav a:hover, .doc-top nav a[aria-current="page"] { color: var(--ink); }
.doc h1 { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 10px; }
.doc .updated { font-size: 13px; color: var(--ink-faint); margin: 0 0 32px; }
.doc .summary { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 8px; }
.doc h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 12px; }
.doc h3 { font-size: 16.5px; font-weight: 600; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-faint); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--dot); line-height: 1.5; }
.doc th { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.doc .table-wrap { overflow-x: auto; }
.doc .note { border: 1px dashed var(--ui-line); background: var(--ui); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 28px; }

/* The line at the bottom of every page outside the board, and of the sign-in page. */
.page-footer { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--dot); font-size: 13px; color: var(--ink-faint); }
.page-footer a { color: var(--ink-soft); text-decoration: none; }
.page-footer a:hover { color: var(--ink); }
.signin-card .page-footer { margin-top: 40px; }

@media (max-width: 520px) {
  .doc { padding: 24px 18px 48px; }
  .doc-top { margin-bottom: 36px; }
  .doc h1 { font-size: 28px; }
}

/* On the start screen (your boards) the lockup is the page's heading. */
.start-card .logo-lockup { margin: 0 0 6px; }
.start-card .logo-lockup svg { width: 42px; height: 42px; }
.start-card .logo-lockup span { font-size: 32px; }
.signin-card h1.logo-lockup { font-size: inherit; letter-spacing: normal; }
#account-line .quiet-link { color: var(--ink-faint); text-decoration: none; padding: 4px 6px; }
#account-line .quiet-link:hover { color: var(--ink); }

/* Links in the sign-in and approval cards: ink, underlined, never the browser's blue (one accent only). */
.signin-card a:not(.page-footer a) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-faint); text-underline-offset: 3px; }
.signin-card a:not(.page-footer a):hover { text-decoration-color: var(--ink); }

/* The logo at the top of a page is a link home, not an underlined link. */
.doc .logo-lockup, .doc .logo-lockup:hover { text-decoration: none; }

/* Buttons on the sign-in and approval cards: the main one in ink, the other quiet (DESIGN.md). */
.signin-card button:not(.quiet):not(.signin-provider) { border: none; background: var(--ink); color: var(--paper); border-radius: 9px; padding: 10px 18px; font-weight: 600; font-size: 14.5px; }
.signin-card button:not(.quiet):not(.signin-provider):hover { opacity: 0.9; }
.signin-card button.quiet { font-size: 14px; padding: 10px 12px; }
