/* Shared shell for the three text pages: privacy, terms, support.
   The landing page is a demo and carries its own styles. These are
   documents, so they get one narrow column and nothing else. Tokens are
   copied from index.html deliberately: if the palette moves there, it
   moves here too. */
:root {
  --ink:        #080A0E;
  --surface:    #141A22;
  --hairline:   #232B37;
  --text:       #F4F6F9;
  --text-soft:  #97A2B2;
  --text-faint: #5A6472;
  --amber:      #F0A93B;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 664px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  padding-block: 4px;
}

/* The product mark, identical to the app icon and the extension icon. */
.brand .mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: block;
  flex: none;
}

.top nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.top nav a {
  color: var(--text-soft);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
}

.top nav a:hover,
.top nav a:focus-visible { color: var(--text); }
.top nav a[aria-current="page"] { color: var(--amber); }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-wrap: balance;
}

.updated {
  /* 13.5px body text, so it has to clear 4.5:1. --text-faint lands at 3.3:1
     on this ground and is reserved for list markers and rules. */
  color: var(--text-soft);
  font-size: 13.5px;
  margin: 0 0 40px;
}

h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  text-wrap: balance;
}

h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 8px;
}

p { margin: 0 0 16px; color: var(--text-soft); }

.lede { color: var(--text); font-size: 17.5px; }

strong { color: var(--text); font-weight: 600; }

ul { margin: 0 0 16px; padding-left: 20px; color: var(--text-soft); }
li { margin-bottom: 8px; }
li::marker { color: var(--text-faint); }

a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }

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

.scroller { overflow-x: auto; }

th, td {
  text-align: left;
  vertical-align: top;
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--hairline);
}

th { color: var(--text); font-weight: 600; }
td { color: var(--text-soft); }

.callout {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 20px;
}

.callout p:last-child { margin-bottom: 0; }

.foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--text-soft);
}

@media (max-width: 520px) {
  .wrap { padding: 28px 18px 72px; }
  .top { margin-bottom: 34px; }
}
