/* pages.css — document-page vocabulary shared by /security, /about,
   /how-it-works and /for-professional-services. Tokens only. */

/* ── two-column doc block: sticky label left, content right ── */
.dblock { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 4vw, 54px); padding: clamp(30px, 5vh, 52px) 0; border-top: 1px solid var(--hairline); align-items: start; }
.dblock:first-child { border-top: 0; padding-top: 0; }
.dblock-label { position: sticky; top: 88px; margin: 0; font-weight: 700; font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--tertiary); }
.dblock-lead { margin: 0 0 18px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--heading); max-width: 54ch; text-wrap: pretty; font-weight: 700; letter-spacing: -.008em; }
.dblock p { margin: 0 0 16px; font-size: 16px; line-height: 1.68; color: var(--body); max-width: 62ch; text-wrap: pretty; }
.dblock p:last-child { margin-bottom: 0; }
.dblock strong { color: var(--heading); font-weight: 700; }

/* ── a claim given its own weight ── */
.claim { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--hairline); border-left: 3px solid var(--teal); }
.claim-line { margin: 0; font-weight: 700; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.34; letter-spacing: -.01em; color: var(--heading); text-wrap: pretty; }
.claim-body { margin: 12px 0 0; font-size: 15.5px; line-height: 1.62; color: var(--body); max-width: 60ch; }

/* §3 (review 02): the one-sentence engine-identity line on the daily-briefing
   service page. Teal is the proof accent — this is a dogfooding statement. */
.svc-identity { margin: 18px 0 0; padding-left: 14px; border-left: 2px solid var(--teal); font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 52ch; text-wrap: pretty; }

/* §4 (review 02): the walkthrough line under the /how-it-works timeline. */
.tl-walkthrough { margin: clamp(26px, 4vh, 40px) 0 0; font-size: 16px; line-height: 1.65; color: var(--body); max-width: 62ch; }

/* ── plain fact list ── */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fact { padding: 14px 0; border-top: 1px solid var(--hairline); }
.fact:first-child { border-top: 0; padding-top: 0; }
.fact-label { margin: 0; font-weight: 700; font-size: 15.5px; line-height: 1.4; color: var(--heading); }
.fact-detail { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); max-width: 62ch; text-wrap: pretty; }
.facts--tight .fact { padding: 10px 0; }
.facts--tight .fact-label { font-weight: 400; color: var(--body); }

/* ── data table (retention, subprocessors) ── */
.dtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.dtable th { text-align: left; padding: 0 16px 12px 0; font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tertiary); border-bottom: 1px solid var(--hairline-strong); }
.dtable td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hairline); color: var(--body); line-height: 1.55; vertical-align: top; }
.dtable td:last-child, .dtable th:last-child { padding-right: 0; }
.dtable-cat { color: var(--heading); font-weight: 700; }
/* NOT nowrap: "Life of the agreement, plus 90 days" forces the wrap to scroll
   inside shell--narrow, and a horizontal scrollbar on a retention table hides
   the half of the sentence a reader most needs. */
.dtable-period { color: var(--gold-text); font-weight: 700; }
.dtable th:first-child, .dtable td:first-child { width: 56%; }
.dtable-note { display: block; margin-top: 5px; font-size: 13.5px; color: var(--tertiary); max-width: 46ch; }
.dtable-wrap { overflow-x: auto; }

/* ── a program badge inside the processors block (the flip, §3) ──
   The vendor's full logo, unmodified (the kit's white form on dark, the primary
   form on light). Clear space = the symbol's height, which is the lockup's full
   height (1102 : 156, the symbol spans it) — the figure's 36 px margin and gap
   are at least the rendered height at every width. One image per theme; the
   placeholder only stands in if a record ever lacks its files. */
.program { display: flex; align-items: center; gap: clamp(36px, 4vw, 44px); margin: 36px 0 0; padding: 0; }
.program-badge { position: relative; flex: 0 0 auto; width: clamp(200px, 26vw, 250px); display: block; }
.program-img { display: block; width: 100%; height: auto; }
.program-img--light { display: none; }
:root[data-theme="light"] .program-img--dark { display: none; }
:root[data-theme="light"] .program-img--light { display: block; }
.program-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 12px; border: 1px dashed var(--hairline-strong); border-radius: 6px; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--surface-1) 6px 12px); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; line-height: 1.3; letter-spacing: .02em; color: var(--tertiary); overflow: hidden; }
.program-ph span:first-child { color: var(--body); font-weight: 700; }
.program-caption { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); max-width: 44ch; text-wrap: pretty; }
@media (max-width: 640px) { .program { flex-direction: column; align-items: flex-start; gap: 36px; } }

/* the row a prospect's counsel actually reads gets a line, not a footnote */
.termination { margin-top: 26px; padding: clamp(18px, 2.6vw, 24px); border-radius: var(--r-lg); border: 1px solid var(--gold); background: rgba(221,172,58,.07); }
:root[data-theme="light"] .termination { background: rgba(221,172,58,.13); }
.termination p { margin: 0; font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.45; color: var(--heading); max-width: none; }

/* ── the open-edges list: things we could claim and are not claiming ── */
.edges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.edge { padding: 20px; border-radius: var(--r-lg); border: 1px dashed var(--hairline-strong); background: var(--surface-1); }
.edge-item { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--heading); }
.edge-why { margin: 10px 0 0; font-size: 14.5px; line-height: 1.58; color: var(--body); }

/* ── contact line (security@, helpdesk@) ── */
.mailline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mailaddr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(15px, 1.6vw, 18px); color: var(--gold-text); text-decoration: none; }

/* ── timeline (how it works) ── */
.tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(26px, 4vh, 44px); }
.tl-item { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.tl-when { margin: 0; position: relative; padding-left: 22px; font-weight: 700; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.3; letter-spacing: -.01em; color: var(--gold-text); }
.tl-when::before { content: ""; position: absolute; left: 0; top: .52em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.tl-when::after { content: ""; position: absolute; left: 4px; top: calc(.52em + 16px); bottom: -46px; width: 1px; background: var(--hairline-strong); }
.tl-item:last-child .tl-when::after { display: none; }
.tl-title { margin: 0 0 10px; font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.3; letter-spacing: -.012em; color: var(--heading); }
.tl-body { margin: 0 0 14px; font-size: 16px; line-height: 1.66; color: var(--body); max-width: 60ch; text-wrap: pretty; }
.tl-body:last-child { margin-bottom: 0; }
.tl-yours { margin: 14px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-1); font-size: 14.5px; line-height: 1.58; color: var(--body); max-width: 58ch; }
.tl-yours strong { color: var(--heading); }

/* ── vertical cards ── */
.verts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.vert { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--hairline); }
.vert-name { margin: 0 0 10px; font-weight: 700; font-size: 18px; letter-spacing: -.008em; color: var(--heading); }
.vert-pain { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); text-wrap: pretty; }

/* ── about: the person ── */
.person { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--hairline); max-width: 720px; }
.person-name { margin: 0; font-weight: 700; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.2; letter-spacing: -.015em; color: var(--heading); }
.person-role { margin: 6px 0 0; font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-text); }
.person-body { margin: 0; font-size: 16px; line-height: 1.66; color: var(--body); max-width: 58ch; text-wrap: pretty; }
.person-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.person-tag { font-size: 13px; font-weight: 700; color: var(--body); background: var(--surface-1); border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); padding: 6px 12px; }

/* ── numbered value stack (about) ── */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 34px); }
.stack-item { padding-top: 20px; border-top: 1px solid var(--hairline-strong); }
.stack-title { margin: 0 0 10px; font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--heading); }
.stack-body { margin: 0; font-size: 15px; line-height: 1.62; color: var(--body); text-wrap: pretty; }

@media (max-width: 860px) {
  .dblock { grid-template-columns: 1fr; gap: 14px; }
  .dblock-label { position: static; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; }
  .tl-when::after { display: none; }
}

/* ══ /privacy (brief #3 §4) ══ */
.dated { color: var(--body); letter-spacing: 0; text-transform: none; font-weight: 400; }
.page-sub a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.page-sub a:hover { color: var(--gold-100); }
/* who this is for — three groups, each pointed at its block */
.who-for { margin-top: clamp(26px, 4vh, 40px); padding-top: 22px; border-top: 1px solid var(--hairline); }
.who-for-label { margin: 0 0 12px; font-weight: 700; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--tertiary); }
.who-for-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.who-for-list a { display: flex; flex-direction: column; gap: 4px; min-height: 44px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--hairline); background: var(--surface-1); text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.who-for-list a:hover { border-color: var(--gold); background: var(--surface-2); }
.who-for-list b { font-size: 15px; line-height: 1.35; color: var(--heading); }
.who-for-list span { font-size: 13.5px; line-height: 1.5; color: var(--tertiary); }
@media (max-width: 760px) { .who-for-list { grid-template-columns: 1fr; } }
/* the contents strip — the blocks' labels as anchors; scrolls sideways on a phone */
.contents-strip { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.contents-strip a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--hairline-strong); font-size: 13px; color: var(--body); text-decoration: none; white-space: nowrap; transition: color .18s ease, border-color .18s ease; }
.contents-strip a:hover { color: var(--heading); border-color: var(--gold); }
@media (max-width: 640px) { .contents-strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; } .contents-strip::-webkit-scrollbar { display: none; } }
.dblock-more { margin-top: 4px; }
.dblock-more a { color: var(--gold-text); text-decoration: none; font-weight: 700; font-size: 15px; }
.dblock-more a:hover { color: var(--gold-100); }
.dblock-dated { margin-top: 14px; font-size: 13.5px; color: var(--tertiary); }
.dblock p a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
/* the paste-ready paragraph for a client's notice (fact 13) */
.paste { margin: 4px 0 18px; }
.paste-q { margin: 0; padding: clamp(18px, 2.6vw, 24px); border-radius: var(--r-lg); border: 1px solid var(--hairline-strong); border-left: 3px solid var(--gold); background: var(--surface-2); }
.paste-q p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--heading); max-width: none; }
.paste-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
.paste-note { font-size: 13.5px; color: var(--tertiary); }
/* print: a document, not a web page — the chrome, the ambient and the contents drop;
   each label sits above its block; links carry their address */
/* brief #4 §8 item 5: the sheet selects from <body> — the shell's nav and footer are the page's SIBLINGS in
   production (the canvas has no shell), so `.page--privacy .site-nav` never matched them; `body:has(.page--privacy)`
   does, as production selects. */
@media print {
  body:has(.page--privacy) .site-nav, body:has(.page--privacy) .site-footer, body:has(.page--privacy) .ambient, body:has(.page--privacy) .contents-strip, body:has(.page--privacy) .cta-band, body:has(.page--privacy) .rvw, body:has(.page--privacy) .paste-foot .an-btn { display: none !important; }
  body:has(.page--privacy), body:has(.page--privacy) .page { background: #fff; color: #1a1a18; }
  body:has(.page--privacy) .page-title, body:has(.page--privacy) .dblock-lead, body:has(.page--privacy) .fact-label, body:has(.page--privacy) .paste-q p, body:has(.page--privacy) .who-for-list b { color: #1a1a18; }
  body:has(.page--privacy) .page-sub, body:has(.page--privacy) .dblock p, body:has(.page--privacy) .who-for-list span, body:has(.page--privacy) .dblock-dated { color: #333; }
  body:has(.page--privacy) .dblock { grid-template-columns: 1fr; gap: 8px; padding: 18pt 0; border-top: 1px solid #ccc; break-inside: avoid; }
  body:has(.page--privacy) .dblock-label { position: static; color: #555; }
  body:has(.page--privacy) .who-for-list a, body:has(.page--privacy) .paste-q { border-color: #bbb; background: none; }
  body:has(.page--privacy) a { color: #1a1a18; text-decoration: none; }
  body:has(.page--privacy) .dblock a[href^="http"]::after, body:has(.page--privacy) .dblock-more a::after { content: " (" attr(href) ")"; font-size: 11pt; color: #555; }
  body:has(.page--privacy) [data-rise] { opacity: 1 !important; transform: none !important; }
}
