/* Documents, confirmation pages and billing returns — 2026-09-03.
 *
 * Loaded AFTER /site.css. Covers three families that share a reading column
 * and differ only in length:
 *   .doc     privacy policy, /what-works/, /linkedin-account-risk/
 *   .thanks  /thanks/, /welcome/, /uninstalled/ — short, centred
 *   .receipt /billing/success/, /billing/cancel/ — short, centred, one CTA
 *
 * These carry legal and disclosure copy, so the rules here change
 * presentation only. Nothing in this file hides, reorders or truncates
 * content: a policy that is hard to find is a policy that was not disclosed.
 *
 * The CSP constraints are documented at the top of site.css. Note in
 * particular that inline style="..." attributes are silently dropped, which
 * is why /welcome/ has real classes (.stack-block, .push) instead of the
 * three inline styles it shipped with — they had never applied in
 * production.
 */

.page { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); position: relative; }

/* The reading column. 68ch is the comfortable measure for long-form; the
 * shell keeps the gutters consistent with the landing page. */
.doc-shell { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------- titles */

.doc h1, .thanks h1, .receipt h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: 18px;
}
.thanks h1, .receipt h1 { max-width: none; }

/* Section breaks have to be findable when someone is scanning a policy for
 * one clause, so they get a rule and real space above them. */
/* The base rule zeroes heading margins for the landing page's own layout, so
 * documents restate both sides here — without the bottom margin every
 * section title sits flush against its first paragraph. */
.doc h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: 2.8em;
  margin-bottom: 0.7em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line-dark);
}
.doc h3 { font-size: 1.08rem; margin-top: 2em; margin-bottom: 0.55em; }

/* Deliberately NOT uppercased. On /privacy/ this line is two dates and would
 * survive it, but on /linkedin-account-risk/ it is a full sentence of
 * authorship disclosure that ran to three lines of all-caps mono — the least
 * readable setting available, on the line whose whole job is to be read
 * before the argument is. Mono and letterspacing keep it distinct enough. */
.meta {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em;
  line-height: 1.6; color: var(--brand-soft);
  margin-bottom: 2.4em;
}

.lede {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: var(--fg-dark-dim);
  margin-bottom: 2em;
}

/* ---------------------------------------------------------- body copy */

.doc p, .thanks p, .receipt p { color: var(--fg-dark-dim); }
.doc strong, .thanks strong, .receipt strong { color: var(--fg-dark); font-weight: 600; }
.doc a, .thanks a, .receipt a { color: var(--brand-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.doc ul { padding-left: 1.2em; margin: 1.1em 0; }
.doc li { color: var(--fg-dark-dim); margin-bottom: 0.5em; }
.doc li::marker { color: var(--brand); }

code {
  font-family: var(--mono); font-size: 0.88em;
  background: rgba(255,255,255,0.07);
  padding: 2px 6px; border-radius: 5px;
  overflow-wrap: anywhere;
}

/* Quoted clauses in the account-risk piece. The whole point of that page is
 * that the reader can tell our words from LinkedIn's, so the boundary has to
 * be visible rather than implied by punctuation alone. */
blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: rgba(255,255,255,0.035);
  border-radius: 0 12px 12px 0;
  color: var(--fg-dark-dim);
  font-size: 0.98rem;
}
blockquote p:last-child { margin-bottom: 0; }

/* Wide tables must scroll inside their own box rather than pushing the page
 * sideways, so the wrapper is what scrolls. */
.table-wrap { overflow-x: auto; margin: 1.6em 0; }
table { border-collapse: collapse; width: 100%; min-width: 460px; }
th, td {
  border: 1px solid var(--line-dark);
  padding: 11px 13px; text-align: left; vertical-align: top;
  font-size: 0.92rem; color: var(--fg-dark-dim);
}
th { background: rgba(255,255,255,0.04); color: var(--fg-dark); font-weight: 600; }

.note { font-size: 0.93rem; color: var(--fg-dark-dim); }

/* The "what it doesn't do" block on /what-works/: the negative claims carry
 * the trust load on a product with no reviews yet, so each gets a boundary. */
.nots p { border-left: 2px solid var(--line-dark); padding-left: 16px; margin: 1.2em 0; }
.nots strong { color: var(--fg-dark); }

.fit { margin: 1.4em 0; }

/* Legacy .cta wrapper, kept because three pages still use it. */
.cta { margin: 2em 0; display: flex; flex-wrap: wrap; gap: 14px; }
.cta a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px;
  background: var(--brand); color: #ffffff;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), background-color .3s;
}
.cta a:hover { background: #4338ca; transform: translateY(-2px); }

/* ------------------------------------------- confirmation / receipt */

.thanks, .receipt { text-align: center; }
.thanks .doc-shell, .receipt .doc-shell { max-width: 620px; }
.thanks .lede, .receipt .tagline {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: var(--fg-dark-dim);
  margin-bottom: 1.6em;
}
.thanks .cta, .receipt .cta { justify-content: center; }

/* The tick on /billing/success/. A ring rather than a bare glyph, so it
 * reads as a status badge instead of stray punctuation. */
.icon {
  width: 62px; height: 62px; margin: 0 auto 26px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 1.7rem; line-height: 1;
  color: #6ee7b7;
  background: rgba(110,231,183,0.10);
  border: 1px solid rgba(110,231,183,0.35);
}

/* /welcome/'s three steps. Left-aligned inside a centred page — this is what
 * the page's three inline style attributes were trying to do before the CSP
 * dropped them on the floor. */
.stack-block {
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.stack-block p {
  margin: 0;
  border: 1px solid var(--line-dark);
  border-left: 2px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  font-size: 0.97rem;
}
.push { margin-top: 28px; }
