/* Tagtale brand, from the Brand and Product Book, section 3 "Visual identity: logo, type, colours" (adopted 25 Nov 2026).
   Loaded last on every page so the whole site speaks with one voice. Change the book first, then this file. */

:root {
  /* Colours */
  --ink: #14162B;        /* Text and the one dark button */
  --body: #14162B;       /* Running text is text: ink */
  --mute: #545262;       /* Quiet text, details */
  --paper: #FFFFFF;      /* Page */
  --tile: #F4F3F0;       /* Ground behind each photo */
  --card: #FAF9F7;       /* Cards on the page */
  --label: #0A7FB8;      /* Fields from the label */
  --owner: #8A6A2A;      /* Fields from you, the owner */
  --web: #C2542A;        /* Fields from the web */
  --good: #2E7D5B;       /* Good news, a Buy verdict */
  --warn: #C8102E;       /* Warnings only */

  /* Typefaces */
  --brand: "Bodoni Moda", "Bodoni 72", Didot, serif;                                  /* Wordmark only */
  --didone: "Bodoni Moda", "Bodoni 72", Didot, serif;
  --display: ui-serif, "New York", "Newsreader", Georgia, serif;                       /* Titles */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; /* Text, numbers, labels, buttons */
}

/* Text, numbers, labels: San Francisco; numbers in even-width digits. */
body { color: var(--ink); font-family: var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }

/* Section headings: San Francisco semibold, 11 pt, capitals, tracking 1.8, in ink. */
.caps, .kicker { font-family: var(--sans) !important; font-weight: 600 !important; font-size: 11px !important; letter-spacing: .164em !important; text-transform: uppercase; }
.kicker, .offer .caps, .compare thead .caps, .compare tbody tr.group th, .fees .caps, .story .steps h3 span { color: var(--ink) !important; }

/* Hairlines separate sections, not boxes or shadows. */
*, *::before, *::after { box-shadow: none !important; }
.join-wrap .appicon, .pl-app .pl-icon, .get-icon { box-shadow: 0 0 0 1px rgba(20,22,43,.12) !important; }

/* Photography: each piece on the pale tile ground, cropped 3:4, with space around it. */
.st-hero > img:not(.orb) { background: var(--tile); padding: 7%; aspect-ratio: 3 / 4; object-fit: contain; }
.story .shot-photos .big { aspect-ratio: 3 / 4; object-fit: contain; background: var(--tile); padding: 6%; }
.story .shot-photos .thumbs img { aspect-ratio: 3 / 4; object-fit: contain; background: var(--tile); padding: 8%; }

/* Cards on the page: Card, with a hairline. */
.pcard { background: var(--card) !important; border: 1px solid rgba(20,22,43,.12) !important; }

/* Source colours: where each fact came from. Part of Tagtale's honesty rule, not decoration. */
.src-label { color: var(--label) !important; }
.src-web { color: var(--web) !important; }
.src-owner { color: var(--owner) !important; }
.src-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font: 400 13px/1.4 var(--sans); color: var(--mute); }
.src-key span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: currentColor; vertical-align: 1px; }

/* No lines between sections (3 Dec 2026, at the founder's request): space separates the sections.
   Rows inside a table or a passport card keep their hairlines. */
.story > div + div, .story .screen, .figs, .figs > div + div, .st-trust .founder, .get-end,
main > h2, footer, footer .in, footer.tidy .in, .site-foot { border-top: 0 !important; }
.figs > div + div { border-left: 0 !important; }
.story .screen { padding-top: 0 !important; }
.st-trust .founder { padding-top: 0 !important; }


/* Passport rows exactly as the app draws them (PassportView.row): a 6 pt dot in the source's colour, the field name in
   IBM Plex Mono 10, capitals, tracking 1.4, mute, 110 wide; the value in San Francisco 14, ink, aligned right; a hairline above. */
:root { --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; }
.pcard dl div, .screen dl div { grid-template-columns: 6px 110px minmax(0, 1fr) !important; column-gap: 10px !important; align-items: baseline; padding: 9px 0 !important; border-top: 1px solid rgba(20,22,43,.12); }
.pcard dl div::before, .screen dl div::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C9C7CF; align-self: start; margin-top: 4px; }
.pcard dl div:has(> dd.src-label)::before, .screen dl div:has(> dd.src-label)::before { background: var(--label); }
.pcard dl div:has(> dd.src-web)::before, .screen dl div:has(> dd.src-web)::before { background: var(--web); }
.pcard dl div:has(> dd.src-owner)::before, .screen dl div:has(> dd.src-owner)::before { background: var(--owner); }
.pcard dt, .screen dt { font: 400 10px/1.4 var(--mono) !important; letter-spacing: 1.4px !important; text-transform: uppercase; color: var(--mute) !important; }
.pcard dd, .screen dd { font: 400 14px/1.4 var(--sans) !important; color: var(--ink) !important; text-align: right; }
.pcard dd small { font: 400 11px/1.4 var(--sans); color: var(--mute); text-align: right; }
.pcard .pc-kick, .screen .sc-tag { font: 400 11px/1.3 var(--mono) !important; letter-spacing: 1.4px !important; text-transform: uppercase; color: var(--mute) !important; }
.screen .sc-tag::before { display: none !important; }
/* The key, as at the foot of an app passport: dots and lower-case mono words. */
.src-key { font: 400 10px/1.4 var(--mono) !important; letter-spacing: 1px; text-transform: lowercase; color: var(--mute) !important; gap: 8px 18px; }
.src-key span { color: var(--mute) !important; }
.src-key span::before { width: 6px !important; height: 6px !important; }
.src-key span.src-label::before { background: var(--label); }
.src-key span.src-web::before { background: var(--web); }
