/* Hallmark · shape: Split Studio · genre: modern-minimal · theme: Cobalt (deal 3/3, seed casa-cambio-valpara-pizarra-9278·9a288562·2026-11-20·r0) · job: book · draw: 0348ad
 * hero: Index (swapped from Banner: the rate board is the reason to come) · nav: edge-aligned, wordmark, today's open state and one key (swapped from search-led bar: nothing to search) · footer: colophon block · imagery: product built 3 (rate board, registro, comprobante), photographs 1: the client's own photo of the branch, in colour, retouched (side shutters cropped, cables and fixtures on the pillar removed, perspective two thirds corrected, 4:3) · signature: the branch's rate board live on graphite, each row opening the calculator
 * axes: light/geometric-sans/cool · posture: restrained · brand: World Exchange (manual de marca ronda 2, octubre 2026; palette and Plus Jakarta Sans kept, JetBrains Mono for rates as the manual sets) · contrast: pass · fold: pass · render: by hand in the browser pane at 1440, 1280 and 375 (no puppeteer-core) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, a counter page argues little, so the head states today's dollar price instead of a slogan and the board does the persuading */
/* Hallmark · finish-review: subagent · fix · 8 findings · 7 resolved 1 partial (the receipt grew, its well stays) · gap: render tier not run */
/* Hallmark · answered F14 · the amount field's error line shows only on a typing error, so the calculator keeps no empty 1lh hole between the field and the result */
/* Hallmark · theme note · Cobalt's ASCII field is left out: a casa de cambio has no traffic to map behind the head, and the client asked for the product, not ornament */
/* Hallmark · dismissed 58 · the static count includes the eight FAQ answers inside closed details; the rendered page shows 421 words at 1440 */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- shared ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flag { width: 28px; height: 20px; flex-shrink: 0; border-radius: 2px; outline: 1px solid color-mix(in oklab, var(--color-ink) 14%, transparent); outline-offset: -1px; }
.fw { fill: var(--color-flag-white); }
.fus-r { fill: var(--color-flag-us-red); } .fus-b { fill: var(--color-flag-us-blue); }
.feu-b { fill: var(--color-flag-eu-blue); } .feu-g { fill: var(--color-flag-eu-gold); }
.fbr-g { fill: var(--color-flag-br-green); } .fbr-y { fill: var(--color-flag-br-gold); } .fbr-b { fill: var(--color-flag-br-blue); }
.far-s { fill: var(--color-flag-ar-sky); } .far-y { fill: var(--color-flag-ar-sun); }
.num { font-variant-numeric: tabular-nums; }
h1, h2 { font-weight: var(--display-weight); }
strong { font-weight: 700; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }

/* keys: cobalt keycaps in the brand blue */
.key { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.key:disabled, .key[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.key[aria-busy="true"] { cursor: progress; }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--primary:hover { background: var(--color-accent-deep); }
.key--wide { width: 100%; }

.link { color: var(--color-accent-deep); font-weight: 700; text-decoration: underline; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.22em; transition: text-decoration-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.link:hover { text-decoration-color: var(--color-accent); color: var(--color-ink); }
.link:active { color: var(--color-ink-2); }
.link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
.lead { color: var(--color-ink-2); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__inner { display: flex; align-items: center; gap: var(--space-lg); min-height: 72px; }
.wordmark { font: 800 var(--text-lg)/1 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--color-ink-2); }
.wordmark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 2px; }
.nav__status { display: flex; align-items: center; gap: var(--space-xs); margin-left: auto; font-size: var(--text-sm); color: var(--color-muted); }
.nav__status .icon { width: 16px; height: 16px; }
.nav__action-short { display: none; }

/* ---------- hero: the board ---------- */
.hero { padding-block: var(--space-xl) var(--space-2xl); }
.hero__head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-xl) var(--space-2xl); align-items: end; }
.hero h1 { font-size: var(--text-display-s); line-height: 1.02; max-width: 16ch; }
.hero__aside { display: grid; gap: var(--space-lg); }
.hero__aside .lead { font-size: var(--text-lg); }

.board { margin-top: var(--space-xl); padding: var(--space-lg) var(--space-xl) var(--space-md); background: var(--color-graphite); color: var(--color-graphite-ink); border-radius: var(--radius-card); }
@supports (corner-shape: bevel) { .board { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }
.board__head { display: flex; align-items: center; gap: var(--space-md); padding-bottom: var(--space-md); }
.board__logo { width: 52px; height: auto; }
.board__title { font: 700 var(--text-xl)/1.1 var(--font-display); letter-spacing: -0.02em; }
.board__time { margin-left: auto; font-size: var(--text-sm); color: var(--color-graphite-muted); }
.board__table { width: 100%; border-collapse: collapse; }
.board__table th, .board__table td { padding: var(--space-sm) 0; text-align: left; vertical-align: middle; }
.board__table thead th { padding-block: var(--space-xs); font-size: var(--text-sm); font-weight: 400; color: var(--color-graphite-muted); }
.board__table thead th.num, .board__table td.num { text-align: right; padding-left: var(--space-xl); }
.board__table tbody tr { border-top: var(--rule-hair) solid var(--color-graphite-rule); }
.board__table tbody th { display: flex; align-items: center; gap: var(--space-md); min-height: 84px; font: 700 var(--text-xl)/1.1 var(--font-display); letter-spacing: -0.01em; }
.board__table td.num { font: 500 var(--text-board)/1 var(--font-outlier); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--color-graphite-ink); }
.board__table td.is-sell { color: var(--color-accent-2); }
.board__go { width: 1%; padding-left: var(--space-xl) !important; text-align: right; white-space: nowrap; }
.board__go a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-graphite-rule); border-radius: var(--radius-input); color: var(--color-graphite-ink); font-weight: 700; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.board__go a:hover { background: var(--color-graphite-2); border-color: var(--color-graphite-muted); }
.board__go a:active { transform: translateY(1px); }
.board__go a:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 2px; }
.board__note { padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-graphite-rule); font-size: var(--text-sm); color: var(--color-graphite-muted); }

/* ---------- rows: the split studio ---------- */
.row { padding-top: var(--section-gap); }
.row--calc { padding-top: var(--section-gap-s); }
.row--reg { padding-top: var(--section-gap-l); }
.row--faq { margin-top: var(--section-gap); padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.row--branch { padding-top: var(--section-gap-l); padding-bottom: var(--section-gap); }
.split { display: grid; gap: var(--space-xl) var(--space-3xl); align-items: center; }
.split--lead { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--five { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--mirror { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--mirror .split__proof { order: -1; }
.split__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); align-content: center; }
.split__text--top { align-self: start; }
.split__text h2 + .lead, .split__text h2 + p { margin-top: calc(-1 * var(--space-2xs)); }

/* calculator: a real control on the board's numbers */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding: var(--space-xl); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); box-shadow: none; }
@supports (corner-shape: bevel) { .calc { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__group { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
.calc__label { font-size: var(--text-sm); color: var(--color-muted); padding: 0; }
.tray { display: flex; gap: var(--space-2xs); padding: var(--space-2xs); background: var(--color-paper-3); border-radius: var(--radius-input); }
.tray input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tray label { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-md); border-radius: var(--radius-input); color: var(--color-muted); font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.tray label:hover { color: var(--color-ink); }
.tray label:active { transform: translateY(1px); }
.tray input:checked + label { background: var(--color-key-face); color: var(--color-ink); box-shadow: var(--shadow-card), 0 0 0 1px var(--color-rule); }
.tray input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.tray input:disabled + label { opacity: 0.55; cursor: not-allowed; }
.tray--op label { min-height: 52px; font-size: var(--text-lg); }
.calc__field { display: flex; gap: var(--space-xs); }
.calc__input { flex: 1; min-width: 0; min-height: 56px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-muted); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-xl)/1 var(--font-outlier); font-variant-numeric: tabular-nums; outline: 2px solid transparent; outline-offset: -3px; }
.calc__input:hover { border-color: var(--color-ink-2); }
.calc__input:focus-visible { outline-color: var(--color-focus); }
.calc__input[aria-invalid="true"] { border-color: var(--color-error); }
.calc__input:disabled { opacity: 0.55; cursor: not-allowed; }
.tray--unit { flex: 0 0 auto; }
.tray--unit label { min-height: 48px; padding: 0 var(--space-sm); font-family: var(--font-outlier); font-weight: 500; }
.calc__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }
.calc__group .calc__help:empty { display: none; }
.calc__help.is-error { color: var(--color-error); }
.calc__result { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.calc__total { font: 500 var(--text-section)/1.05 var(--font-outlier); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; }
.calc__sub { color: var(--color-ink-2); }
.calc__send { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.calc__msg { padding: var(--space-md); background: var(--color-paper-2); border-radius: var(--radius-input); color: var(--color-ink-2); font-size: var(--text-sm); }
.calc__send .key { min-height: 52px; }

/* registro: the product, built */
.reg { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); min-height: 440px; padding: var(--space-xl); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); align-content: start; }
@supports (corner-shape: bevel) { .reg { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }
.reg__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.reg__steps li { counter-increment: step; padding-top: var(--space-sm); border-top: 2px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.reg__steps li::before { content: counter(step) ". "; font-variant-numeric: tabular-nums; }
.reg__steps .is-done { border-top-color: var(--color-ink-2); color: var(--color-ink-2); }
.reg__steps .is-now { border-top-color: var(--color-accent); color: var(--color-ink); font-weight: 700; }
.reg__title { font: 700 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.02em; }
.reg__docs { margin: 0; padding: 0; list-style: none; }
.reg__docs li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 52px; border-top: var(--rule-hair) solid var(--color-rule); }
.reg__docs li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.reg__ok { display: inline-flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 700; color: var(--color-success); }
.reg__ok .icon { width: 16px; height: 16px; }
.reg__todo { font-size: var(--text-sm); font-weight: 700; color: var(--color-accent-deep); }
.reg__data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); margin: 0; }
.reg__data dt { font-size: var(--text-sm); color: var(--color-muted); }
.reg__data dd { margin: 0; font-weight: 700; }
.reg__next { padding: var(--space-md); background: var(--color-accent-wash); border-radius: var(--radius-input); color: var(--color-ink); font-size: var(--text-sm); }

/* en caja */
.steps { display: grid; gap: var(--space-md); margin: 0; padding: 0; list-style: none; counter-reset: caja; }
.steps li { counter-increment: caja; display: grid; grid-template-columns: var(--space-xl) minmax(0, 1fr); gap: var(--space-sm); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); }
.steps li::before { content: counter(caja); font: 500 var(--text-lg)/1.45 var(--font-outlier); color: var(--color-accent-deep); }
.steps strong { color: var(--color-ink); }
.desk { display: grid; place-items: center; min-height: 520px; padding: var(--space-2xl) var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper-3); }
.receipt { width: min(100%, 27rem); padding: var(--space-xl) var(--space-lg) var(--space-lg); background: var(--color-key-face); color: var(--color-ink); box-shadow: var(--shadow-paper); }
.receipt__brand { font: 800 var(--text-lg)/1 var(--font-display); letter-spacing: -0.02em; text-align: center; }
.receipt__kind { margin-top: var(--space-xs); font-size: var(--text-sm); text-align: center; color: var(--color-muted); }
.receipt__rows { display: grid; gap: var(--space-xs); margin: var(--space-lg) 0 0; padding-top: var(--space-md); border-top: var(--rule-hair) dashed var(--color-rule-2); }
.receipt__rows div { display: flex; justify-content: space-between; gap: var(--space-md); font-size: var(--text-md); }
.receipt__rows dt { color: var(--color-muted); }
.receipt__rows dd { margin: 0; font-family: var(--font-outlier); font-weight: 500; }
.receipt__rows .receipt__total { margin-top: var(--space-xs); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-ink); font-size: var(--text-xl); }
.receipt__rows .receipt__total dt { color: var(--color-ink); font-weight: 700; }
.receipt__thanks { margin-top: var(--space-lg); text-align: center; font-size: var(--text-sm); }
.receipt__site { margin-top: var(--space-2xs); text-align: center; font-size: var(--text-sm); color: var(--color-muted); }

/* preguntas */
.faq { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq details { border-top: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding-block: var(--space-sm); font: 700 var(--text-lg)/1.3 var(--font-display); letter-spacing: -0.01em; cursor: pointer; list-style: none; transition: color var(--dur-short) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--color-ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }
.faq summary .icon { color: var(--color-muted); transition: transform var(--dur-short) var(--ease-in-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { max-width: 62ch; padding-bottom: var(--space-lg); color: var(--color-ink-2); }

/* sucursal: the close */
.branch__status { display: flex; align-items: center; gap: var(--space-xs); font-weight: 700; color: var(--color-ink); }
.branch__status .icon { color: var(--color-accent-deep); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); text-align: left; font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: var(--rule-hair) solid var(--color-rule); }
.hours td { text-align: right; color: var(--color-ink-2); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--color-ink); }
.hours tr.is-today th::after { content: " (hoy)"; font-weight: 400; color: var(--color-accent-deep); }
.photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); }
/* la foto real de la sucursal va en color: el azul del local es la marca */
.photo[data-slot] > img { filter: none; mix-blend-mode: normal; }
.photo[data-slot]:has(> img)::before { content: none; }

/* ---------- footer: colophon on graphite ---------- */
.foot { margin-top: 0; padding-block: var(--space-3xl); background: var(--color-graphite); color: var(--color-graphite-ink); }
.foot__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-xl); align-items: start; }
.foot__logo { width: 72px; height: auto; }
.foot__text { display: grid; gap: var(--space-md); max-width: 68ch; }
.foot__colophon { font-size: var(--text-lg); line-height: 1.55; }
.foot__legal { font-size: var(--text-sm); color: var(--color-graphite-muted); }
.foot a { color: var(--color-graphite-ink); text-decoration-color: var(--color-graphite-muted); transition: text-decoration-color var(--dur-short) var(--ease-out); }
.foot a:hover { text-decoration-color: var(--color-accent-2); }
.foot a:focus-visible { outline: 2px solid var(--color-accent-2); outline-offset: 2px; border-radius: 2px; }
/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .hero__head, .split--lead, .split--even, .split--five, .split--mirror { grid-template-columns: minmax(0, 1fr); }
  .split--mirror .split__proof { order: 0; }
  .split { gap: var(--space-xl); }
  .nav__status { display: none; }
  .nav__action { margin-left: auto; }
  .desk { min-height: 0; }
}
@media (max-width: 40rem) {
  .nav__inner { min-height: 64px; }
  .nav__action-long { display: none; }
  .nav__action-short { display: inline; }
  .board { padding: var(--space-md); margin-inline: calc(-1 * var(--space-xs)); }
  .board__head { flex-wrap: wrap; gap: var(--space-xs) var(--space-sm); }
  .board__logo { width: 40px; }
  .board__time { margin-left: 0; flex-basis: 100%; }
  .board__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .board__table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "name go" "buy sell"; gap: var(--space-xs) var(--space-md); padding-block: var(--space-sm); }
  .board__table tbody th { grid-area: name; min-height: 44px; padding: 0; font-size: var(--text-lg); }
  .board__table td.num { padding: 0; text-align: left; font-size: clamp(1.5rem, 7.2vw, 2rem); }
  .board__table td.num::before { content: attr(data-label); display: block; margin-bottom: var(--space-2xs); font: 400 var(--text-sm)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-graphite-muted); }
  .board__table td.num:not(.is-sell) { grid-area: buy; }
  .board__table td.is-sell { grid-area: sell; }
  .board__go { grid-area: go; justify-self: end; width: auto; padding: 0 !important; }
  .calc { padding: var(--space-lg) var(--space-md); }
  .tray--cur { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tray--op label { font-size: var(--text-md); padding: 0 var(--space-xs); }
  .tray--unit label { padding: 0 var(--space-xs); }
  .reg { padding: var(--space-lg) var(--space-md); }
  .reg__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk { padding: var(--space-xl) var(--space-md); }
  .foot__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .key, .tray label, .link, .board__go a, .faq summary .icon { transition: none; }
  .key:hover, .key:active, .tray label:active, .board__go a:active { transform: none; }
}
