/* Reading pages (privacy, support, account deletion). Loaded after styles.css; same tokens. */

.topnav a[aria-current="page"] { color: var(--on-night); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* Head: night region, statement left, signboard plate right */
.doc-head { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.doc-head__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: end; }
.doc-head .display { font-size: clamp(2.9rem, 7vw, 5rem); max-width: 12ch; }
.doc-head .lede { margin-top: 24px; max-width: 52ch; }
.doc-plate { padding: 24px 22px 20px; }
.doc-plate__label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.doc-plate dl { display: grid; gap: 14px; margin-top: 4px; }
.doc-plate dl div { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(20, 22, 58, .12); }
.doc-plate dl div:first-child { padding-top: 0; border-top: 0; }
.doc-plate dt { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.doc-plate dd { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: anywhere; }
.doc-plate dd a { color: var(--livery); text-underline-offset: 4px; }
@media (max-width: 860px) { .doc-head__grid { grid-template-columns: 1fr; align-items: start; } }

@media (prefers-reduced-motion: no-preference) {
  .doc-plate { animation: rack-in .9s var(--ease-out) 160ms backwards; }
}

/* Body: route index left, prose right */
.doc { padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.doc__grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .doc__grid { grid-template-columns: 1fr; } }

/* The index is a route: a sky line with one stop per section; the stop you are reading fills rose. */
.route { position: sticky; top: 96px; }
.route__title { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 14px; }
.route ol { position: relative; display: grid; }
.route ol::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 4px; background: var(--sky); }
.route a {
  position: relative; display: block; padding: 8px 0 8px 34px; min-height: 40px;
  color: var(--ink-soft); font-weight: 500; font-size: .95rem; line-height: 1.35; text-decoration: none;
  transition: color .2s var(--ease-out);
}
.route a::before {
  content: ""; position: absolute; left: 1px; top: 11px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 4px var(--night);
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.route a:hover { color: var(--ink); }
.route a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.route a[aria-current="true"]::before { background: var(--rose); box-shadow: inset 0 0 0 4px var(--rose), 0 0 0 5px rgba(224, 112, 143, .25); transform: scale(1.1); }
@media (max-width: 960px) {
  .route { position: static; padding-bottom: 32px; border-bottom: 1px solid rgba(20, 22, 58, .14); }
}

/* Prose */
.prose { max-width: 68ch; }
.prose > section { padding: 0; scroll-margin-top: 88px; }
.prose > section + section { margin-top: clamp(56px, 7vw, 88px); }
.prose h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.025em; line-height: 1;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-wrap: balance;
  margin-bottom: 20px;
}
.prose h3 { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.1; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p strong, .prose li strong, .prose dd strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--livery); font-weight: 600; text-underline-offset: 4px; }
.prose a:hover { color: var(--ink); }
.prose ul { display: grid; gap: 10px; margin-top: 14px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--livery); }
.prose * + p { margin-top: 1em; }
.prose h3 + p, .prose h3 + ul { margin-top: 0; }

/* "In short": the trust list from the pitch page, at reading size */
.facts { border-top: 3px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 13rem 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(20, 22, 58, .14); }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.1; letter-spacing: -.015em; }
.facts dd { color: var(--ink-soft); }
@media (max-width: 640px) { .facts div { grid-template-columns: 1fr; gap: 6px; } }

/* Tables of data and services */
.table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .975rem; }
.table caption { text-align: left; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); padding-bottom: 10px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid rgba(20, 22, 58, .14); }
.table thead th { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); border-bottom: 3px solid var(--ink); padding-top: 0; }
.table tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.table td { color: var(--ink-soft); }
@media (max-width: 640px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table tr { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid rgba(20, 22, 58, .14); }
  .table th, .table td { display: block; padding: 0; border: 0; width: auto; }
  .table tbody th { width: auto; }
  .table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}

/* Mail plate: the one place to act on a page */
.mail { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 24px 24px 22px; }
.mail__label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.mail__address { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3.6vw, 2rem); letter-spacing: -.025em; line-height: 1.05; color: var(--ink); overflow-wrap: anywhere; }
.prose .mail .btn { color: var(--on-night); font-weight: 600; text-decoration: none; }
.prose .mail .btn:hover { color: var(--on-night); }

/* Deletion steps: one route per app */
.steps-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); margin-top: 28px; }
@media (max-width: 720px) { .steps-pair { grid-template-columns: 1fr; } }
.app-route__name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 18px; }
.app-route ol { position: relative; display: grid; counter-reset: stop; }
.app-route li { position: relative; padding: 4px 0 22px 50px; color: var(--ink-soft); counter-increment: stop; }
.app-route li:last-child { padding-bottom: 0; }
.app-route li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 16px; bottom: -4px; width: 6px; background: var(--sky); z-index: 0; }
.app-route li::before {
  content: counter(stop); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  z-index: 1;
  background: var(--night); color: var(--on-night); box-shadow: inset 0 0 0 4px var(--paper);
  font-family: var(--display); font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums;
}
.app-route li:last-child::before { background: var(--rose); color: #2A0C17; }
.app-route li strong { color: var(--ink); }

/* What goes and what stays */
.fate { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; border-radius: var(--panel); overflow: hidden; box-shadow: var(--sheet); }
.fate__side { background: var(--paper-raised); padding: clamp(22px, 3vw, 32px); }
.fate__side--stays { background: var(--livery); color: var(--on-night); }
.fate__title { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.025em; line-height: 1; margin-bottom: 14px; }
.prose .fate__side--stays li { color: var(--on-night-soft); }
.prose .fate__side--stays li strong { color: var(--on-night); }
.prose .fate__side--stays li::before { background: var(--sky); }
@media (max-width: 720px) { .fate { grid-template-columns: 1fr; } }

.note { margin-top: 20px; font-size: .95rem; color: var(--ink-soft); }
