/* paginas.css: the pages built before the gold-and-black home (security, business, march and the legal pages) keep
   their own markup, scripts and site.css, and take the look from base.css. Load order: site.css, base.css, then this
   file, which remaps site.css's chapter tokens to the palette and its type to Barlow. */
:root{--bronze:#b8902f;--bronze-ink:#6f5518;--paper:#ffffff;--header:0px;--s-head:clamp(2.25rem,.8rem + 4.2vw,5.5rem);--s-lead:var(--step-lead);--s-body:var(--step-body)}
body{font-family:var(--text);background:var(--glass)}
::selection{background:#ecd27a;color:#111111}

/* the chapters: night, white glass and the gold band */
.ch-dark{--bg:#0d0d0d;--fg:#f2f2f0;--soft:#bdbdb8;--accent:#ecd27a;--on-accent:#111111;--tone:#1d1d1d;--slip:#ffffff;--slip-fg:#101010;--slip-soft:#4a4a4a}
.ch-paper{--bg:#ffffff;--fg:#101010;--soft:#4a4a4a;--accent:#111111;--on-accent:#ecd27a;--tone:#f3f3ef;--slip:#f3f3ef;--slip-fg:#101010;--slip-soft:#4a4a4a;color-scheme:light}
.ch-bronze{--bg:#b8902f;--fg:#111111;--soft:#2b2410;--accent:#111111;--on-accent:#ecd27a;--tone:#c9a446;--slip:#ffffff;--slip-fg:#101010;--slip-soft:#4a4a4a;color-scheme:light}

/* type: condensed capitals for headlines, one colour (no accent word) */
.display{font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:-.02em;line-height:.9;font-size:clamp(3rem,1rem + 7.4vw,8.5rem)}
.display .two,.ch-paper .display .two,.ch-bronze .display .two{color:inherit}
.hero[data-fit="long"] .display{font-size:clamp(2.6rem,1rem + 6.4vw,7.5rem)}
.hero[data-fit="longer"] .display{font-size:clamp(2.4rem,1rem + 5.6vw,6.5rem)}
h2,.h2{font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:-.02em;line-height:.92}
h3,.h3{font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:-.01em;line-height:1}
.qa-table .q{font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:-.01em;line-height:1}
.sec-head.light h2{font-weight:700}

/* the action: the home's button */
.button{font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:.01em;font-size:22px;border-radius:0;min-height:48px}
.button:hover{background:var(--fg);color:var(--bg)}

/* the first section sits under the home's header, which is not fixed */
.hero[class*="ch-"]{min-height:0;display:flex;overflow:visible;padding-top:clamp(56px,9vh,120px)}
.close{min-height:0;padding-bottom:clamp(72px,9vw,120px)}

/* interface fragments in the home's face; the Sheet check keeps Google Sheets' Arial on purpose */
[data-ui],.app-chart text{font-family:var(--text)}
/* a table whose side picture went (own pictures only) takes the whole row */
.table-row>.table-wrap:last-child{grid-column:1/-1}
.wisp-wrap h2{font-size:clamp(2rem,1rem + 3.2vw,4.25rem)}

/* the bilingual legal pages: lang-switch.js keeps driving .language-switch, .primary-nav and data-es/data-en */
.top .primary-nav{margin-left:0;gap:24px;font-size:inherit;font-weight:500}
.top .language-switch{display:inline-flex;gap:4px;font-size:inherit}
.top .language-switch a{opacity:.55;padding:4px 6px}
.top .language-switch a[aria-current="true"]{opacity:1;text-decoration:underline;text-underline-offset:5px}
.legal-hero h1{font-size:var(--step-head)}
@media (max-width:820px){.top .primary-nav{display:none}}

/* round 2 of the audit: the older heroes stay left-aligned, the legal titles take the whole measure */
.hero[class*="ch-"]{text-align:left;padding-bottom:clamp(72px,8vw,120px)}
.legal-hero h1{max-width:none;font-size:var(--step-head)}
.qa-table .q{font-family:var(--text);text-transform:none;font-weight:600;letter-spacing:-.01em;line-height:1.2}

/* wide screens: the older pages' frame keeps the same content width as the home */
.shell{max-width:none;padding-inline:max(var(--m),calc((100% - var(--max)) / 2))}
