/* The landing page's look (#148) carried onto the detail and legal pages (#150).
   Loaded after styles.css and scoped to body.detail. It re-points the shared tokens
   and reshapes buttons, cards and labels; layout and content stay as they were. */

.detail {
  --paper: #ffffff;
  --ink: #101010;
  --body: #373737;
  --mid: #373737;
  --mid2: #4a4a4a;
  --link-muted: #5a5a5a;
  --muted: #6e6e6e; /* 5.1:1 on white */
  --hairline: #e2e2e2;
  --accent: #2f5bea;
  --accent-hover: #1f47c9;
  --tint: rgba(47, 91, 234, .05);
  --tint-soft: rgba(47, 91, 234, .03);
  --sans: 'Albert Sans', system-ui, sans-serif;
  --display: var(--sans);
  --mono: var(--sans);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}
.detail ::selection { background: rgba(47, 91, 234, .18); }

/* One family now, so the former mono labels drop their tracking and capitals
   and grow to a readable sans size. */
.detail .back-link, .detail .page-label, .detail .cap, .detail .shot-cap, .detail .mini-h,
.detail .step-tag, .detail .cell-h, .detail .flink, .detail .mlink, .detail .updated,
.detail .foot-addr, .detail .foot-note, .detail .foot-links, .detail .consent-reopen,
.detail .legal dt, .detail .q-question, .detail .pblock-h, .detail .kicker, .detail .toc-tag {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
.detail .step-tag, .detail .legal dt { font-size: 14px; }

/* headings: the landing's weights and tracking */
.detail h1, .detail h2, .detail h3 { font-weight: 500; }
.detail .detail-title { font-weight: 500; letter-spacing: -0.03em; }
.detail .sec-title, .detail .q-title, .detail .foot-lead { font-weight: 400; letter-spacing: -0.02em; }
.detail .stat-num { font-weight: 500; letter-spacing: -0.02em; }

/* shapes: pills, rounder cards and screenshots, no accent bar */
.detail .bar { display: none; }
.detail .cta, .detail .consent-btn {
  border-radius: 1000px;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}
.detail .card, .detail .pill, .detail .mini { border-radius: 16px; }
.detail .shot img, .detail img.shot { border-radius: 12px; }
.detail .consent-text { font-size: 15px; }

.detail .card-text, .detail .mini p { font-size: 15px; line-height: 1.5; }
.detail .card-title { font-size: 19px; }

/* my story */
.story-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px clamp(24px, 4vw, 56px); }
.story-head img { width: clamp(120px, 16vw, 200px); height: auto; border-radius: 20px; }
.story-head > div { flex: 1 1 360px; min-width: 0; }
.story-head .detail-title { margin-top: 0; }
.story-body > p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: var(--body); max-width: 40em; }
.story-body > p a { color: var(--ink); text-underline-offset: 3px; }
.story-body > p a:hover { color: var(--accent); }

/* The owner's two steps: ink, like the "I approve" pills and the diagram's solid boxes. */
.detail .card--gate { border-color: var(--ink); background: transparent; }
.detail .step-tag--gate { color: var(--ink); font-weight: 500; }
