/* ── SITE PAGES v3: /compare, /security, /ai-and-data-use, /data-deletion ──
   Built from design_handoff_site_pages (Oct 11, 2026). Tokens, shared type
   and the footer come from site-v3.css; everything here is scoped to .pg-.
   Breakpoints: under 760px is narrow, under 1100px the side TOC hides. */

.pg { background: var(--v3-cream); color: var(--v3-ink); font-family: var(--sans); }
.pg a { color: var(--v3-blue-ink); }
.pg-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--v3-gutter); }
.pg-wrap--read { max-width: 1040px; }
.pg-wrap--narrow { max-width: 760px; }

/* top band */
.pg-top { padding: clamp(120px, 12vw, 168px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--v3-line); }
.pg-crumb { margin: 0 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6A6A6A; }
.pg-crumb a { color: #6A6A6A; text-decoration: none; }
.pg-crumb a:hover { color: var(--v3-ink); }
.pg-h1 {
  margin: 0;
  max-width: 980px;
  font-family: var(--display);
  font-weight: bold;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--v3-ink);
}
.pg-h1 span { color: var(--v3-blue); }
.pg-answer { margin: 26px 0 0; max-width: 680px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: #2E2E2E; text-wrap: pretty; }
.pg-entity { margin: 14px 0 0; max-width: 680px; font-size: 14px; line-height: 1.6; color: #5C5C5C; }
.pg-updated { margin: 18px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #5C5C5C; }

/* section rhythm */
.pg-sec { padding: clamp(64px, 7vw, 104px) 0; }
.pg-sec--stone { background: var(--v3-stone); }
.pg-sec--dark { background: var(--v3-black); color: #F2F2F2; }
.pg-sec .v3-h2 { margin-bottom: clamp(28px, 3vw, 40px); }
.pg-sec--dark .v3-h2 { color: #F7F7F7; }
.pg-sec--dark .v3-h2 .v3-acc { color: var(--v3-green); }
.pg-sec--dark .v3-eyebrow { color: var(--v3-green); }
.pg-note { margin: 22px 0 0; font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: 0.04em; color: #6A6A6A; }

/* compare: stage cards */
.pg-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pg-stage { display: flex; flex-direction: column; min-width: 0; }
.pg-stage__photo { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 22px; }
.pg-stage__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-stage__band { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v3-blue-ink); }
.pg-stage__fee { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: #2E2E2E; }
.pg-stage__call { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--v3-line); font-size: 15.5px; line-height: 1.55; color: #2E2E2E; }
.pg-stage__call b { color: var(--v3-ink); }
.pg-stage .v3-textlink { margin-top: auto; padding-top: 22px; align-self: flex-start; border-bottom: 0; }
.pg-stage .v3-textlink span { border-bottom: 1px solid #BFD8FF; padding-bottom: 3px; }

/* compare: grouped list */
.pg-list { max-width: 1000px; margin: 0 auto; }
.pg-list__group { margin-top: 36px; }
.pg-list__group:first-of-type { margin-top: 0; }
.pg-list__h { margin: 0 0 4px; padding-bottom: 10px; border-bottom: 1px solid var(--v3-ink); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #5C5C5C; }
.pg-list__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--v3-line); text-decoration: none; }
.pg-list__row:hover .pg-list__t { color: var(--v3-blue-ink); }
.pg-list__t { display: block; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--v3-ink); }
.pg-list__d { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: #5C5C5C; }
.pg-list__min { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6A6A6A; white-space: nowrap; }
.pg-list__arrow { font-family: var(--mono); font-size: 16px; color: var(--v3-blue-ink); }

/* compare: rules (dark) */
.pg-rules { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 3vw, 40px); border: 1px solid #222; border-radius: 18px; }
.pg-rules ol { list-style: none; margin: 0; padding: 0; }
.pg-rules li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid #1E1E1E; font-size: 17px; line-height: 1.5; color: #E6E6E6; }
.pg-rules li:last-child { border-bottom: 0; }
.pg-rules li span { font-family: var(--mono); font-size: 13px; color: var(--v3-green); padding-top: 3px; }

/* FAQ */
.pg-faq { max-width: 1000px; margin: 0 auto; }
.pg-faq details { border-bottom: 1px solid var(--v3-line); }
.pg-faq details:first-of-type { border-top: 1px solid var(--v3-line); }
.pg-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary h3 { margin: 0; font-family: var(--display); font-weight: bold; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; text-transform: uppercase; color: var(--v3-ink); }
.pg-faq summary i { flex: none; font-style: normal; font-family: var(--mono); font-size: 20px; color: #5C5C5C; transition: transform 0.2s ease; }
.pg-faq details[open] summary i { transform: rotate(45deg); }
.pg-faq details p { margin: 0 0 20px; max-width: 760px; font-size: 16px; line-height: 1.6; color: #2E2E2E; }

/* related links */
.pg-related { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 36px auto 0; max-width: 1000px; }
.pg-related a { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--v3-blue-ink); border-bottom: 1px solid #BFD8FF; padding-bottom: 3px; }
.pg-related a:hover { border-bottom-color: currentColor; }

/* document pages: sticky TOC + one reading column */
.pg-doc { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 64px; justify-content: center; padding: clamp(48px, 6vw, 80px) var(--v3-gutter) clamp(72px, 8vw, 112px); }
.pg-toc { position: sticky; top: 112px; align-self: start; display: flex; flex-direction: column; gap: 10px; }
.pg-toc span { margin-bottom: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #6A6A6A; }
.pg-toc a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--v3-blue-ink); }
.pg-toc a:hover { color: var(--v3-ink); }
.pg-doc article { min-width: 0; }
.pg-part { padding-top: 12px; margin-bottom: clamp(48px, 5vw, 64px); scroll-margin-top: 110px; }
.pg-part__n { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; color: var(--v3-blue-ink); }
.pg-part h2 { margin: 0 0 22px; font-family: var(--display); font-weight: bold; font-size: clamp(36px, 3.6vw, 52px); line-height: 0.95; text-transform: uppercase; color: var(--v3-ink); }
.pg-part h2 span { color: var(--v3-blue); }
.pg-part p, .pg-part li { font-size: 16.5px; line-height: 1.6; color: #2E2E2E; }
.pg-part p { margin: 0 0 14px; }
.pg-part ul { margin: 0 0 14px; padding-left: 20px; }
.pg-part li { margin-bottom: 8px; }
.pg-lead { font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.3 !important; color: var(--v3-ink) !important; font-weight: 500; }
.pg-panel { padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: var(--v3-black); color: #F2F2F2; }
.pg-panel h2 { color: #F7F7F7; }
.pg-panel h2 span { color: var(--v3-green); }
.pg-panel .pg-part__n { color: var(--v3-green); }
.pg-panel dl { margin: 0; }
.pg-panel dl div { padding: 18px 0; border-top: 1px solid #222; }
.pg-panel dt { font-size: 17px; font-weight: 600; color: #F7F7F7; }
.pg-panel dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; color: #CFCFCF; }

/* tables */
.pg-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 16px; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.pg-table th, .pg-table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--v3-line); }
.pg-table thead th { padding-top: 0; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #6A6A6A; border-bottom-color: var(--v3-ink); }
.pg-table tbody th { font-weight: 600; color: var(--v3-ink); white-space: nowrap; }
.pg-table td { color: #2E2E2E; }

/* doc pages: the FAQ follows the doc column without a double gap */
.pg-doc + .pg-sec { padding-top: 0; }

/* data deletion: path cards */
.pg-paths { display: grid; gap: 16px; margin: 0 0 16px; }
.pg-path { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 24px; border: 1px solid var(--v3-line); border-radius: 14px; background: #fff; }
.pg-path__k { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--v3-black); color: var(--v3-green); font-family: var(--mono); font-size: 15px; font-weight: 700; }
.pg-path h3 { margin: 0; font-size: 18px; line-height: 1.3; color: var(--v3-ink); }
.pg-path__when { margin: 4px 0 10px !important; font-style: italic; font-size: 15px !important; color: #5C5C5C !important; }
.pg-path p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.55; color: #2E2E2E; }
.pg-part .pg-times, .pg-times { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 13px; line-height: 1.6; }
.pg-part .pg-times li, .pg-times li { margin: 0; font-size: 13px; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--v3-line); color: #2E2E2E; }
.pg-times b { font-weight: 500; color: var(--v3-ink); }

@media (max-width: 1099px) {
  .pg-doc { grid-template-columns: minmax(0, 720px); }
  .pg-toc { display: none; }
  .pg-stages { gap: 22px; }
}
@media (max-width: 759px) {
  .pg-stages { grid-template-columns: 1fr; gap: 40px; }
  .pg-list__row { grid-template-columns: minmax(0, 1fr) 20px; }
  .pg-list__min { grid-column: 1; grid-row: 2; }
  .pg-list__arrow { grid-column: 2; grid-row: 1 / span 2; }
  .pg-table { min-width: 560px; }
  .pg-part .pg-times li, .pg-times li { grid-template-columns: 1fr; gap: 2px; }
  .pg-path { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-faq summary i { transition: none; }
}

/* Wide tables stack into labeled rows on phones (no sideways scroll). */
@media (max-width: 759px) {
  .pg-table--stack { min-width: 0; }
  .pg-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pg-table--stack tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--v3-line); }
  .pg-table--stack th, .pg-table--stack td { display: block; padding: 0; border: 0; white-space: normal; }
  .pg-table--stack tbody th { font-size: 16px; margin-bottom: 8px; }
  .pg-table--stack td + td, .pg-table--stack th + td { margin-top: 8px; }
  .pg-table--stack td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #6A6A6A; }
  .pg-table:not(.pg-table--stack) { min-width: 0; }
  .pg-table:not(.pg-table--stack) tbody th { white-space: normal; }
}
