/* Custodio Advisory v1.0 (23.11.2026). Identity manual ch. 06. Single look: board pack paper.
   Fonts: https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap */
:root {
  --paper: #eceae6;      /* ground, ~70 % */
  --panel: #e1ded7;      /* cards */
  --field: #f7f6f3;      /* inputs */
  --navy: #141b2d;       /* text Lc 91.7, buttons, ~25 % */
  --slate: #4f5462;      /* secondary text Lc 73.9, not long body */
  --brass: #74582a;      /* rules, labels, focus Lc 70.3. Never on navy (2.6:1) */
  --line: #d3d0c9;
  --border: #8d8f97;     /* input borders, 3:1 */
  --error: #9b1c1c;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Scale 1.333 from 18 */
  --t-57: 600 clamp(40px, 6vw, 57px)/1.08 var(--serif);
  --t-43: 600 clamp(32px, 4.4vw, 43px)/1.1 var(--serif);
  --t-32: 600 clamp(26px, 3.2vw, 32px)/1.15 var(--serif);
  --t-24: 600 24px/1.3 var(--serif);
  --t-18: 400 18px/1.55 var(--serif);
  --t-14: 500 14px/1.4 var(--sans);
  color-scheme: light;
}
body { background: var(--paper); color: var(--navy); font: var(--t-18); font-variation-settings: "opsz" 18; }
h1, h2, h3 { font-variation-settings: "opsz" 60; letter-spacing: -.012em; text-wrap: balance; }
a { color: var(--navy); text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.skip { background: var(--navy); color: var(--paper); font: var(--t-14); }
.label { font: 600 13px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.secondary { color: var(--slate); }
.measure { max-width: 66ch; }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums lining-nums; }

/* Wordmark as live text fallback (SVG is primary) */
.wordmark { display: inline-grid; }
.wordmark .rule { border-top: 2px solid var(--brass); margin-top: 6px; transform-origin: left; }
.wordmark .rule + .rule { margin-top: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 2px;
  background: var(--navy); color: var(--paper); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #222b42; }
.btn[disabled] { opacity: .6; cursor: progress; }

.field { display: grid; gap: 6px; }
.field label { font: 600 15px/1.3 var(--sans); }
.field label .opt { font-weight: 400; color: var(--slate); }
.field input, .field textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--navy); background: var(--field); border: 1px solid var(--border); border-radius: 2px; padding: 12px; }
.field textarea { min-height: 88px; resize: vertical; }
.field .err { font: 500 14px/1.35 var(--sans); color: var(--error); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; padding: 11px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font: 400 15px/1.45 var(--sans); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }

.rule-double { border: 0; border-top: 2px solid var(--brass); padding-top: 3px; position: relative; }
.rule-double::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid var(--brass); }
