/* ==========================================================================
   BANSO SOLUTIONS — light lodge version (derived from versione-fiat) — v4 skin: Wintermute / Jump Crypto (black, neon green,
   square buttons, mono labels, pixel field). Structure from ndax.io (v3).
   ========================================================================== */

:root {
  --bg:      #FBF9F4;
  --panel:   #F4F0E6;
  --tile:    #EEE9DD;
  --tile-2:  #E6E0D1;
  --line:    #E4DECD;
  --line-2:  #CFC6AC;

  --accent:   #8A6A1E;
  --accent-2: #B08D34;
  --accent-dim: rgba(176,141,52,.10);
  --red:     #B4262F;

  --text:    #17140E;
  --text-2:  #4E4739;
  --text-3:  #7D7563;

  --font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(1rem, 3vw, 2rem);
  --r: 2px;
  --dur: 160ms;
}

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
::selection { background: var(--accent); color: var(--text); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section[id] { scroll-margin-top: 5.5rem; }

.label { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.muted { color: var(--text-2); }
.green { color: var(--accent); }
/* section title with the Jump-style underscore */
.sec-title { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.sec-title::after { content: "_"; color: var(--accent); }

/* ---- Buttons (square) --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; height: 3rem; padding: 0 1.3rem; border-radius: var(--r); font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color var(--dur), border-color var(--dur), color var(--dur); }
.btn svg { width: .9rem; height: .9rem; }
.btn-green { background: var(--accent); color: var(--text); }
.btn-green:hover { background: var(--accent-2); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 2.4rem; padding: 0 1rem; font-size: .72rem; }
.textlink { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; color: var(--text-2); }
.textlink:hover { color: var(--accent); }
.textlink svg { width: .85rem; height: .85rem; }

/* ---- Notice bar (Jump-style scam warning) ------------------------------ */
.notice { background: var(--panel); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .02em; color: var(--text-2); }
.notice .wrap { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 2.3rem; position: relative; text-align: center; }
.notice .dot { width: 6px; height: 6px; background: var(--accent); flex: none; }
.notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.notice-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text-3); cursor: pointer; padding: .25rem .5rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.notice-close:hover { color: var(--text); }
.notice[hidden] { display: none; }

/* ---- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,249,244,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { width: 26px; height: 26px; }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; }
.brand-name::after { content: "_"; color: var(--accent); }
.brand-badge { display: inline-flex; align-items: center; gap: .6rem; padding-left: .8rem; margin-left: .3rem; border-left: 1px solid var(--line-2); font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; color: var(--text-3); }
.brand-badge svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.nav a:hover, .nav a[aria-current="true"], .nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-actions .login { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.header-actions .login:hover { color: var(--text); }
.nav-toggle { display: none; width: 2.4rem; height: 2.4rem; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; border-radius: var(--r); }
.nav-toggle span { position: absolute; left: 50%; top: 50%; width: 1rem; height: 1px; background: var(--text); transform: translate(-50%, -4px); box-shadow: 0 8px 0 var(--text); }
.nav-open .nav-toggle span { transform: translate(-50%, 0) rotate(45deg); box-shadow: none; }
.nav-open .nav-toggle span::after { content: ""; position: absolute; inset: 0; background: var(--text); transform: rotate(90deg); }

/* ---- Hero: full-bleed black, green rule ------------------- */
.hero { position: relative; overflow: clip; }
/* faint scanlines */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(23,20,14,.016) 0 1px, transparent 1px 3px); }
.hero .wrap { position: relative; z-index: 2; padding: clamp(5rem, 11vw, 9rem) 0 clamp(2rem, 4vw, 3rem); }
/* Jump-style vertical accent line */
.hero-copy { position: relative; max-width: 760px; padding-left: clamp(1.25rem, 3vw, 2.5rem); }
.hero-copy::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .2em; width: 1px; background: var(--accent); box-shadow: 0 0 12px rgba(176,141,52,.6); }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; color: var(--text-3); }
.hero-kicker i { width: 6px; height: 6px; background: var(--accent); }
.hero-copy h1 { color: var(--text); }
.hero-copy h1 .green { text-shadow: 0 0 24px rgba(176,141,52,.35); }
.hero-copy p { margin-top: 1.5rem; font-size: 1.1rem; color: var(--text-2); max-width: 52ch; }
.hero-cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }

/* live strip: terminal cards */
.rates-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: clamp(3rem, 8vw, 6.5rem); background: var(--line); border: 1px solid var(--line); }
.rate { background: rgba(251,249,244,.92); padding: 1rem 1.1rem; display: grid; gap: .9rem; }
.rate .label { color: var(--text-3); }
.rate-val { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; font-family: var(--mono); font-weight: 500; font-size: 1rem; font-variant-numeric: tabular-nums; }
.chg { font-family: var(--mono); font-size: .75rem; }
.chg.up { color: var(--accent); } .chg.down { color: var(--red); } .chg.flat { color: var(--text-3); }

/* ---- Facts strip -------------------------------------------------------- */
.facts { padding: clamp(3rem, 6vw, 5rem) 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: .5rem 1.5rem .5rem 1.5rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .big { font-family: var(--mono); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1; color: var(--accent); }
.fact .lbl { margin-top: .75rem; font-size: .9rem; color: var(--text-2); }

/* ---- Services ----------------------------------------------------------- */
.services { padding: clamp(5rem, 9vw, 8rem) 0 0; }
.sec-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.sec-row .lead { max-width: 44ch; color: var(--text-2); margin-top: .5rem; }
.svc-stage { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem 4rem; align-items: start; }
.svc-title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.svc-title::after { content: "_"; color: var(--accent); }
.svc-desc p { font-size: 1.05rem; color: var(--text-2); }
.svc-desc ul { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: .25rem; }
.svc-desc li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.svc-desc li span:first-child { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: .15rem; }
.svc-desc li span:last-child { color: var(--text-2); text-align: right; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
.tile { height: 4.5rem; border: 0; cursor: pointer; text-align: left; padding: .8rem .9rem; background: var(--tile); color: var(--text-2); display: flex; align-items: flex-start; justify-content: space-between; transition: background-color var(--dur), color var(--dur); }
.tile .label { font-size: .66rem; line-height: 1.3; max-width: 10ch; }
.tile .idx { font-family: var(--mono); font-size: .66rem; color: var(--text-3); }
.tile:hover { background: var(--tile-2); color: var(--text); }
.tile[aria-selected="true"] { background: var(--accent); color: var(--text); }
.tile[aria-selected="true"] .idx { color: rgba(0,0,0,.6); }

/* ---- Markets: black terminal panel ------------------------------------ */
.markets { padding: clamp(4rem, 7vw, 6rem) 0 0; }
.paper { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3.5vw, 3rem); }
.paper .sec-row h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; }
.paper .sec-row h2::after { content: "_"; color: var(--accent); }
.paper .live { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.paper .live i { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.table { width: 100%; border-collapse: collapse; margin-top: 1.75rem; font-variant-numeric: tabular-nums; font-family: var(--mono); }
.table th { text-align: left; font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 0 .75rem .9rem; border-bottom: 1px solid var(--line-2); }
.table td { padding: .95rem .75rem; border-bottom: 1px solid var(--line); font-size: .9rem; white-space: nowrap; color: var(--text); }
.table th.num, .table td.num { text-align: right; }
.table tr:last-child td { border-bottom: 0; }
.asset { display: flex; align-items: center; gap: .8rem; font-family: var(--font); font-weight: 600; }
.asset img, .asset .fallback { width: 24px; height: 24px; border-radius: 50%; }
.asset .fallback { background: var(--tile-2); color: var(--text-2); display: grid; place-items: center; font-family: var(--mono); font-size: .55rem; }
.asset small { font-family: var(--mono); color: var(--text-3); font-weight: 400; margin-left: .4rem; font-size: .72rem; }
.table .group td { padding-top: 1.75rem; padding-bottom: .6rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--line-2); }
.table .up { color: var(--accent); } .table .down { color: var(--red); }
.paper-foot { margin-top: 1.5rem; font-family: var(--mono); font-size: .72rem; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ---- Compliance block ------------------------------------------------- */
.compliance { padding: clamp(4rem, 7vw, 6rem) 0 0; }
.grad-block { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, #EEE9DD 0%, var(--bg) 100%); padding: clamp(2rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 6rem); overflow: hidden; }
.grad-block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 18px rgba(176,141,52,.5); }
.grad-block .label { color: var(--accent); }
.grad-block h2 { margin-top: 1rem; }
.grad-block .muted { margin-top: 1.25rem; max-width: 50ch; font-size: 1.05rem; }
.rules { margin-top: 2rem; border-top: 1px solid var(--line-2); }
.rules li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; }
.rules b { font-family: var(--mono); font-weight: 500; font-size: .72rem; color: var(--accent); padding-top: .2rem; }
.rules span { color: var(--text-2); }
.record { background: rgba(251,249,244,.8); border: 1px solid var(--line-2); border-radius: var(--r); padding: 1.5rem; align-self: start; }
.record-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-2); }
.record-head .label { color: var(--text-3); }
.status { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.status i { width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.record dl { margin: 0; }
.record dl > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.record dl > div:last-of-type { border-bottom: 0; }
.record dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: .2rem; }
.record dd { margin: 0; font-weight: 500; }
.record dd.mono { font-family: var(--mono); color: var(--accent); }
.record-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.record-foot small { color: var(--text-3); font-size: .76rem; max-width: 32ch; }

/* ---- Hairline columns (company, steps) -------------------------------- */
.columns { padding: clamp(5rem, 9vw, 8rem) 0 0; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; border-top: 1px solid var(--line); }
.col { padding: 2rem 2rem 0 0; border-right: 1px solid var(--line); margin-right: 2rem; }
.col:last-child { border-right: 0; margin-right: 0; }
.col .big { font-family: var(--mono); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1; color: var(--accent); }
.col h3 { margin-top: 1.25rem; font-size: 1.15rem; font-weight: 600; }
.col p { margin-top: .6rem; color: var(--text-2); font-size: .95rem; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); max-width: 900px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; font-size: 1.1rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 1rem; height: 1rem; color: var(--accent); transition: transform var(--dur); }
.faq[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 0 1.5rem; color: var(--text-2); max-width: 70ch; }

/* ---- Contact ------------------------------------------------------------ */
.contact { padding: clamp(5rem, 9vw, 8rem) 0 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line); padding-top: 2.5rem; }
.contact-grid .label { color: var(--accent); }
.contact-grid .muted { margin-top: 1.25rem; font-size: 1.05rem; max-width: 46ch; }
.contact-list { margin: 2rem 0 0; }
.contact-list div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); font-size: .95rem; }
.contact-list dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: .2rem; }
.contact-list dd { margin: 0; }
.contact-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--text); }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.field input, .field select, .field textarea { width: 100%; height: 3rem; padding: 0 1rem; border-radius: var(--r); background: var(--tile); border: 1px solid var(--line); color: var(--text); }
.field textarea { height: auto; min-height: 7rem; padding: .9rem 1rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(-45deg, transparent 50%, var(--text-2) 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 1rem) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-family: var(--mono); font-size: .78rem; color: var(--accent); }

/* ---- Footer: outlined box (Jump) -------------------------------------- */
.site-footer { padding: clamp(4rem, 7vw, 6rem) 0 1.25rem; }
.footer-panel { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); padding: clamp(2rem, 4vw, 3rem); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; }
.footer-cols h4 { font-size: 1rem; font-weight: 600; }
.footer-cols h4::after { content: "_"; color: var(--accent); }
.footer-cols ul { margin-top: 1rem; display: grid; gap: .5rem; }
.footer-cols a { color: var(--text-2); font-size: .92rem; }
.footer-cols a:hover { color: var(--accent); }
.footer-legal { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem 3rem; font-size: .78rem; line-height: 1.55; color: var(--text-3); }
.footer-legal .regs { display: grid; gap: .6rem; align-content: start; font-family: var(--mono); color: var(--accent); font-size: .78rem; }
.footer-legal .regs span { display: block; color: var(--text-3); margin-top: .15rem; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: var(--text-3); }
.footer-bottom a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--accent); }

/* scrolling rows: no visible scrollbar */
.rates-row, .tiles, .table-wrap { scrollbar-width: none; }
.rates-row::-webkit-scrollbar, .tiles::-webkit-scrollbar, .table-wrap::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .rates-row { grid-template-columns: repeat(5, minmax(200px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .rate { scroll-snap-align: start; }
  .facts-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .svc-stage { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
  .grad-block, .contact-grid { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; border-top: 0; }
  .col { border-right: 0; margin-right: 0; padding: 1.75rem 0; border-top: 1px solid var(--line); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-open .nav { display: flex; }
  .nav-toggle { display: block; }
  .header-actions .login, .header-actions .btn { display: none; }
  .brand-badge { display: none; }
  .hero .wrap { padding-top: 3.5rem; }
  .hero-copy { padding-left: 1rem; }
  .rate-val { display: grid; gap: .3rem; font-size: .95rem; }
  .notice-long { display: none; }
  .hero-copy p { font-size: 1rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
  .fact:first-child { border-top: 0; padding-top: 0; }
  .sec-row { flex-direction: column; }
  .svc-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .record dl > div { grid-template-columns: 1fr; gap: .15rem; }
  .table th:nth-child(4), .table td:nth-child(4), .table th:nth-child(5), .table td:nth-child(5) { display: none; }
  .table td { padding: .85rem .4rem; font-size: .84rem; }
  .table th { padding: 0 .4rem .8rem; }
  .asset small { display: none; }
  .paper { padding: 1.4rem 1rem; }
  .notice .wrap { justify-content: flex-start; text-align: left; padding-right: 2.5rem; min-height: 2.75rem; padding-block: .4rem; }
  .notice-close { font-size: 1rem; line-height: 1; padding: .25rem .4rem; }
  .notice-close span { display: none; }
  .notice-close::before { content: "×"; }
}


/* ==========================================================================
   Additions for the second version: green converter band, market tiles
   ========================================================================== */
.convert-band { background: var(--accent); color: var(--text); padding: clamp(4rem, 8vw, 7rem) 0; }
.convert-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem clamp(2rem, 6vw, 6rem); align-items: center; }
.convert-copy .label { color: rgba(0,0,0,.6); }
.convert-copy h2 { margin-top: 1rem; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.convert-copy p { margin-top: 1.5rem; font-size: 1.05rem; color: rgba(0,0,0,.75); max-width: 50ch; }
.convert-points { margin-top: 1.75rem; border-top: 1px solid rgba(0,0,0,.25); }
.convert-points li { padding: .8rem 0; border-bottom: 1px solid rgba(0,0,0,.18); font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.convert { background: var(--bg); color: var(--text); border-radius: var(--r); padding: 1.5rem; border: 1px solid rgba(0,0,0,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.convert-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.convert-head .label { color: var(--text-3); }
.convert .live { color: var(--text-2); }
.cv-field { background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); padding: .85rem 1rem; display: grid; gap: .35rem; }
.cv-field + .cv-field { margin-top: .6rem; }
.cv-field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.cv-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cv-row input, .cv-row output { font-family: var(--mono); font-size: 1.8rem; font-weight: 500; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.cv-row input { border: 0; background: transparent; width: 100%; min-width: 0; padding: 0; }
.cv-row input:focus-visible { outline: none; }
.cv-row output { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--accent); }
.cv-ccy { flex: none; display: inline-flex; align-items: center; gap: .4rem; height: 2.3rem; padding: 0 .8rem; border-radius: var(--r); background: var(--tile-2); border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .06em; }
.cv-ccy select { appearance: none; border: 0; background: transparent; color: var(--text); font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .06em; padding-right: 1rem; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(-45deg, transparent 50%, var(--accent) 50%); background-position: right .35rem top 55%, right 0 top 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.cv-ccy select option, .cv-ccy select optgroup { color: #000; }
.cv-ccy select:focus-visible { outline: none; }
.cv-rate { margin-top: .9rem; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--text-3); }
.cv-rate strong { color: var(--text); font-weight: 500; }
.convert .btn { width: 100%; margin-top: 1rem; }

.mgroup { margin-top: 2.5rem; font-size: 1rem; font-weight: 600; display: flex; align-items: baseline; gap: .75rem; }
.mgroup::after { content: "_"; color: var(--accent); order: -1; margin-right: -.6rem; display: none; }
.mgroup small { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 400; }
.mgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1rem; }
.mtile { background: var(--panel); padding: 1.1rem 1.1rem 1.2rem; display: grid; gap: .25rem; min-height: 7.5rem; align-content: start; transition: background-color var(--dur); }
.mtile:hover { background: var(--tile); }
.mcode { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--accent); display: inline-flex; align-items: center; gap: .5rem; }
.mcode img, .mcode .fallback { width: 18px; height: 18px; border-radius: 50%; }
.mcode .fallback { display: none; }
.mname { font-size: .82rem; color: var(--text-2); }
.mval { margin-top: .6rem; font-family: var(--mono); font-size: 1.05rem; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.mtile .chg { font-size: .72rem; }
.msource { margin-top: 1.5rem; font-family: var(--mono); font-size: .72rem; color: var(--text-3); letter-spacing: .02em; }
.msource a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
  .convert-grid { grid-template-columns: 1fr; }
  .mgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .cv-row input, .cv-row output { font-size: 1.45rem; }
  .convert { padding: 1.1rem; }
}


/* ---- Section rhythm: alternate pure black and graphite panels -------- */
.markets { background: var(--panel); border-block: 1px solid var(--line); padding: clamp(4rem, 7vw, 6rem) 0; margin-top: clamp(4rem, 7vw, 6rem); }
.markets .mgrid { background: var(--line-2); border-color: var(--line-2); }
.markets .mtile { background: var(--bg); }
.markets .mtile:hover { background: var(--tile); }
#how.columns { background: var(--panel); border-block: 1px solid var(--line); padding: clamp(5rem, 9vw, 8rem) 0; margin-top: clamp(5rem, 9vw, 8rem); }
#how .cols, #how .col { border-color: var(--line-2); }
.contact { background: var(--panel); border-top: 1px solid var(--line); padding: clamp(5rem, 9vw, 8rem) 0; margin-top: clamp(5rem, 9vw, 8rem); }
.contact .contact-grid { border-top: 0; padding-top: 0; }
.contact .field input, .contact .field select, .contact .field textarea { background: var(--bg); }
.site-footer { padding-top: clamp(3rem, 5vw, 4rem); }
.site-footer .footer-panel { background: var(--bg); }


/* ==========================================================================
   Second version: every section a different form (no card grids)
   ========================================================================== */
/* hero: one mono tape line instead of price cards */
.tape { display: flex; align-items: center; gap: 1.6rem; margin-top: clamp(3rem, 8vw, 6.5rem); padding: .9rem 0; border-block: 1px solid var(--line-2); font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; overflow-x: auto; white-space: nowrap; scrollbar-width: none; background: rgba(251,249,244,.85); }
.tape::-webkit-scrollbar { display: none; }
.tape-lbl { color: var(--text-3); text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; }
.tape-lbl.right { margin-left: auto; }
.tape-item { display: inline-flex; align-items: baseline; gap: .5rem; }
.tape-item b { font-weight: 500; color: var(--accent); }
.tape-item .px { color: var(--text); }
.tape-item .chg { font-size: .7rem; }

/* registration: one giant number */
.bignum { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.bignum-kicker { color: var(--text-3); }
.bignum-value { margin-top: 1rem; font-family: var(--mono); font-weight: 500; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9; letter-spacing: -0.04em; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.bignum-foot { margin-top: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; }
.bignum-foot p { color: var(--text-2); max-width: 64ch; }

/* markets: terminal table, no panel */
.markets { background: transparent; border: 0; margin-top: 0; padding: clamp(5rem, 9vw, 8rem) 0 0; }
.board { width: 100%; border-collapse: collapse; margin-top: 2rem; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.board th { text-align: left; font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding: 1.6rem .6rem .7rem; border-bottom: 1px solid var(--line-2); }
.board tbody + thead th { padding-top: 3rem; }
.board td { padding: .85rem .6rem; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--text); white-space: nowrap; }
.board td small { color: var(--text-3); margin-left: .5rem; font-size: .72rem; }
.board th.num, .board td.num { text-align: right; }
.board .up { color: var(--accent); } .board .down { color: var(--red); }
.board td:first-child { font-family: var(--font); font-weight: 500; }

/* company: horizontal timeline */
.tline { padding: clamp(5rem, 9vw, 8rem) 0 0; }
.timeline { margin-top: 3rem; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; padding-top: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: .5rem 1.5rem 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: -1.5rem; width: 9px; height: 9px; background: var(--accent); transform: translateY(-4px); }
.timeline li.future::before { background: var(--bg); border: 1px solid var(--accent); }
.timeline li.now::before { box-shadow: 0 0 0 4px rgba(176,141,52,.2); }
.timeline time { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.timeline h3 { margin-top: .6rem; font-size: 1.15rem; font-weight: 600; }
.timeline p { margin-top: .4rem; color: var(--text-2); font-size: .92rem; }
.timeline li.future h3, .timeline li.future p { color: var(--text-3); }

@media (max-width: 1024px) {
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .bignum-foot { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; }
  .bignum-value { font-size: clamp(2.4rem, 13vw, 4rem); }
  .board th:nth-child(4), .board td:nth-child(4), .board th:nth-child(5), .board td:nth-child(5) { display: none; }
  .board td { padding: .75rem .4rem; font-size: .82rem; }
  .tape { gap: 1.2rem; }
}

.tape { gap: 1.3rem; }


/* ==========================================================================
   Lodge version: black, ONE gold accent, centred symmetric compositions,
   a seal built from the registry data, roman numerals, tessellated rules.
   Sources: Xapo Bank (centred emblem lockup with "EST.", gold on black),
   corporate seals / US Great Seal (ring text), banknote frames (double
   hairline), Masonic tessellated border and twin pillars (Boaz / Jachin).
   ========================================================================== */
:root {
  --accent: #8A6A1E;
  --accent-2: #B08D34;
  --accent-dim: rgba(138,106,30,.10);
  --accent-line: rgba(138,106,30,.38);
  --up: #1F7A45;
}
/* 24h changes keep the finance convention */
.chg.up, .board .up, .table .up { color: var(--up); }

/* no Jump underscores here: the marker is a pair of hairlines */
.brand-name::after, .footer-cols h4::after, .paper .sec-row h2::after, .svc-title::after { content: none; }
.sec-row { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.sec-row .lead { margin-inline: auto; }
.sec-title { display: inline-flex; align-items: center; gap: 1.25rem; }
.sec-title::before, .sec-title::after { content: ""; width: 3rem; height: 1px; background: var(--accent-line); }


/* hero: centred, twin pillars, seal, gold clearing */
.hero .wrap { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.hero .wrap::before, .hero .wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--accent-line) 12%, var(--accent-line) 88%, transparent); }
.hero .wrap::before { left: 0; } .hero .wrap::after { right: 0; }
.hero-copy { max-width: 860px; margin: 0 auto; padding-left: 0; text-align: center; display: grid; justify-items: center; }
.hero-copy::before { content: none; }
.seal { width: clamp(180px, 24vw, 300px); height: auto; color: var(--accent); filter: drop-shadow(0 0 28px rgba(138,106,30,.16)); }
.seal text { font-family: var(--mono); font-weight: 500; fill: currentColor; }
.seal .seal-b { font-family: var(--font); font-weight: 700; }
.hero-kicker { margin-top: 2rem; margin-bottom: 1.25rem; color: var(--text-2); }
.hero-kicker i { display: none; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); color: var(--text); }
.hero-copy p { margin-inline: auto; }
.hero-cta { justify-content: center; }
.tape { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

/* registration: centred */
.bignum { text-align: center; border-bottom: 0; padding-top: clamp(3.5rem, 7vw, 6rem); }
.bignum-kicker { color: var(--text-2); }
.bignum-value { color: var(--accent); }
.bignum-foot { grid-template-columns: 1fr; justify-items: center; gap: 1.25rem; }
.bignum-foot p { text-align: center; }

/* converter: dark, framed by a banknote double hairline */
.convert-band { background: var(--bg); color: var(--text); padding: clamp(3rem, 6vw, 5rem) 0; }
.convert-band .convert-grid { border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: 5px; padding: clamp(1.75rem, 4vw, 3.5rem); }
.convert-copy .label { color: var(--accent); }
.convert-copy p { color: var(--text-2); }
.convert-points { border-top-color: var(--line-2); }
.convert-points li { border-bottom-color: var(--line); color: var(--text-2); }
.convert { background: var(--panel); border-color: var(--line-2); box-shadow: none; }
.cv-row output { color: var(--accent); }

/* services: roman numerals */
.svc-n { font-size: .95rem; }

/* compliance: the registry record as a framed certificate, obligations in two columns */
.compliance.block { padding: clamp(5rem, 9vw, 8rem) 0; margin-top: clamp(4rem, 7vw, 6rem); background: linear-gradient(180deg, var(--tile) 0%, var(--bg) 100%); border-block: 1px solid var(--line); }
.cert { position: relative; max-width: 960px; margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: 5px; text-align: center; background: rgba(255,255,255,.6); }
.cert-mark { width: 64px; height: 64px; margin: 0 auto; color: var(--accent); }
.cert-kicker { margin-top: 1.25rem; color: var(--text-2); display: inline-flex; align-items: center; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.cert-grid { margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; text-align: left; border-top: 1px solid var(--line-2); }
.cert-grid > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cert-grid dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: .2rem; }
.cert-grid dd { margin: 0; font-weight: 500; }
.cert-grid dd.mono { color: var(--accent); }
.cert-foot { margin-top: 1.75rem; display: grid; justify-items: center; gap: .9rem; }
.cert-foot small { color: var(--text-3); font-size: .76rem; max-width: 52ch; }
.compliance .sec-row { margin-top: clamp(3rem, 6vw, 5rem); }
.compliance .sec-row .lead { max-width: 62ch; }
.rules { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; border-top: 1px solid var(--line-2); }
.rules li { grid-template-columns: 2.5rem 1fr; }
.rules b { font-size: .8rem; }

@media (max-width: 1024px) {
  .cert-grid, .rules { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero .wrap { padding-top: 2.5rem; }
  .seal { width: 170px; }
  .sec-title::before, .sec-title::after { width: 1.5rem; }
  .cert { padding: 1.5rem 1.1rem; }
  .cert-grid > div { grid-template-columns: 1fr; gap: .15rem; }
  .convert-band .convert-grid { padding: 1.25rem 1rem; }
  .convert-band { padding: 2.5rem 0; }
}

/* ---- Services: five registered services, five forms ---------------------- */
.svc { padding: clamp(4rem, 7vw, 6rem) 0 0; }
.svc > .wrap:first-child { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.dossier { padding: clamp(3.5rem, 6vw, 5.5rem) 0; border-top: 1px solid var(--line-2); }
.dossier.panel { background: var(--panel); }
.dossier-head { display: grid; grid-template-columns: 6rem 1fr auto; gap: 1.5rem clamp(2rem, 4vw, 4rem); align-items: start; }
.dossier-n { font-family: var(--mono); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; color: var(--accent); padding-top: .4rem; }
.dossier-head h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
.dossier-lead { margin-top: 1rem; font-size: 1.1rem; color: var(--text-2); max-width: 56ch; }
.dossier-cat { text-align: right; color: var(--text-3); line-height: 1.5; padding-top: .5rem; }
.dossier-cat b { font-weight: 500; color: var(--accent); }
.dossier-what { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--text); letter-spacing: -0.01em; }
.dossier-what.narrow { margin: clamp(2rem, 4vw, 3rem) auto 0; max-width: 62ch; text-align: center; }
.for { margin-top: clamp(2rem, 3.5vw, 2.75rem); font-size: .95rem; color: var(--text-2); max-width: 78ch; }
.dossier-foot { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: start; gap: 2rem; flex-wrap: wrap; }
.brief summary { list-style: none; cursor: pointer; color: var(--text); }
.brief summary::-webkit-details-marker { display: none; }
.brief summary svg { transition: transform var(--dur); }
.brief[open] summary svg { transform: rotate(180deg); }
.brief summary:hover { color: var(--accent); }
.brief-body { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; max-width: 900px; }
.brief-body p { color: var(--text-2); font-size: .95rem; }
.dots li { position: relative; padding: .45rem 0 .45rem 1.1rem; color: var(--text-2); font-size: .9rem; border-bottom: 1px solid var(--line); }
.dots li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 5px; height: 5px; background: var(--accent); }
.dots li:last-child { border-bottom: 0; }
.dossier .quote { color: var(--text); }
.dossier .quote:hover { color: var(--accent); }

/* steps: vertical (I) and horizontal (II) */
.steps-v { margin-top: 2rem; border-top: 1px solid var(--line-2); }
.steps-v li { display: grid; grid-template-columns: 2rem 1fr; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.steps-v b, .steps-h b { font-family: var(--mono); font-weight: 500; color: var(--accent); font-size: 1rem; line-height: 1.3; }
.steps-v strong, .steps-h strong { font-size: 1rem; font-weight: 600; }
.steps-v span, .steps-h span { grid-column: 2; color: var(--text-2); font-size: .92rem; }
.steps-h { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.steps-h li { display: grid; gap: .4rem; align-content: start; }
.steps-h b { font-size: 1.4rem; line-height: 1; }
.steps-h span { grid-column: auto; }

/* shared control styling */
.tool select, .tool input, .route-pick select, .flow select, .flow input, .ex-field select { height: 2.5rem; padding: 0 .75rem; background: var(--tile); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; }
.tool select, .route-pick select, .flow select, .ex-field select { appearance: none; padding-right: 1.9rem; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(-45deg, transparent 50%, var(--accent) 50%); background-position: calc(100% - 1.1rem) 50%, calc(100% - .75rem) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.tool select option, .route-pick select option, .flow select option, .ex-field select option { color: #000; }
.tool input:focus-visible, .tool select:focus-visible, .route-pick select:focus-visible, .flow select:focus-visible, .flow input:focus-visible, .ex-field select:focus-visible { outline: none; border-color: var(--accent); }
.tool-ccy { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--text-3); }
.tool-ccy-select { height: 2.2rem !important; padding: 0 1.6rem 0 .5rem !important; font-size: .68rem !important; }
.tool-eq { color: var(--text-3); font-family: var(--mono); }
.tool-note { font-family: var(--mono); font-size: .66rem; letter-spacing: .02em; color: var(--text-3); line-height: 1.5; }
.st-lbl { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: .6rem; }

/* I: live reference dominant */
.d1-grid { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 0 clamp(2.5rem, 5vw, 5rem); align-items: start; }
.tool-big { border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: 5px; padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: 1.1rem; align-content: start; background: rgba(255,255,255,.55); }
.tool-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tool-head .label { color: var(--text-3); }
.tool-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tool-price { font-family: var(--mono); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.tool-price.big { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.spark-lg { display: block; width: 100%; height: 110px; }
.tool-calc { display: grid; grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.tool-calc input { width: 100%; min-width: 0; font-size: 1rem; }
.tool-calc output { font-family: var(--mono); font-weight: 500; font-size: 1.25rem; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* II: rate board */
.board-head { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; padding-bottom: .6rem; border-bottom: 1px solid var(--line-2); }
.board-head .label { color: var(--text-3); }
.board { width: 100%; border-collapse: collapse; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.board th { text-align: left; font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); padding: 1.1rem .6rem .7rem; border-bottom: 1px solid var(--line); }
.board td { padding: .95rem .6rem; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--text); white-space: nowrap; }
.board td small { color: var(--text-3); margin-left: .5rem; font-size: .72rem; }
.board th.num, .board td.num { text-align: right; }
.board td:first-child { font-family: var(--font); font-weight: 500; }
.board td.vd { color: var(--text-2); font-family: var(--font); font-size: .88rem; padding-left: 2rem; }
.board th:last-child { padding-left: 2rem; }
.board .up { color: var(--up); } .board .down { color: var(--red); } .board .flat { color: var(--text-3); }
.board-note { margin-top: 1rem; font-family: var(--mono); font-size: .68rem; color: var(--text-3); letter-spacing: .02em; }

/* III: route */
.route-head { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem clamp(2.5rem, 5vw, 5rem); align-items: end; }
.route-head .dossier-what { max-width: 50ch; }
.route-pick { display: grid; gap: .6rem; justify-items: start; }
.route-pick .label { color: var(--text-3); }
.route-pick select { width: 100%; height: 3rem; font-size: .9rem; }
.route { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(4, 1fr); position: relative; padding-top: 1.75rem; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--accent-line); }
.route li { position: relative; padding-right: 2rem; }
.route li::before { content: ""; position: absolute; left: 0; top: -1.75rem; width: 9px; height: 9px; background: var(--accent); transform: translateY(-4px); }
.route li:last-child::before { background: var(--bg); border: 1px solid var(--accent); }
.route b { display: block; font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.route li > span:last-child { display: block; margin-top: .5rem; color: var(--text-2); font-size: .9rem; }

/* IV: questionnaire */
.quiz { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line-2); }
.tool-q { border: 0; padding: 0; margin: 0; display: grid; gap: .55rem; align-content: start; }
.tool-q legend { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding: 0; margin-bottom: .6rem; }
.tool-q label { display: flex; align-items: center; gap: .7rem; font-size: 1rem; color: var(--text-2); cursor: pointer; padding: .35rem 0; }
.tool-q input { accent-color: var(--accent); margin: 0; width: 1rem; height: 1rem; }
.tool-q label:hover { color: var(--text); }
.tool-verdict { grid-column: 1 / -1; margin-top: 1rem; border-left: 2px solid var(--accent); padding: .75rem 0 .75rem 1.5rem; }
.tool-verdict b { display: block; font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tool-verdict p { margin-top: .5rem; font-size: 1.05rem; color: var(--text); max-width: 80ch; }
.tool-verdict.no { border-color: var(--red); }
.tool-verdict.no b { color: var(--red); }

/* V: flow */
.flow { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: 5px; }
.flow li { padding: 1.5rem; border-right: 1px solid var(--line-2); display: grid; gap: .6rem; align-content: start; min-height: 13rem; }
.flow li:last-child { border-right: 0; }
.flow li > b { font-size: 1.05rem; font-weight: 600; }
.flow li > span:not(.st-lbl) { color: var(--text-2); font-size: .88rem; }
.flow-amt { display: flex; align-items: center; gap: .6rem; }
.flow-amt input { width: 100%; min-width: 0; font-size: 1rem; }
.flow-amt output { font-family: var(--mono); font-weight: 500; font-size: 1.35rem; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow select { width: 100%; }
.flow-rate { font-family: var(--mono) !important; font-size: .7rem !important; color: var(--text-3) !important; }

.bignum { padding-top: clamp(5rem, 9vw, 8rem); }

/* compliance: obligation explorer */
.explorer { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1.7fr; gap: 2rem clamp(2rem, 5vw, 5rem); }
.ex-controls { display: grid; gap: 1.6rem; align-content: start; }
.ex-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: .55rem; }
.ex-field output { color: var(--accent); font-size: .9rem; letter-spacing: .02em; }
.ex-field select { width: 100%; height: 2.8rem; }
.ex-field input[type="range"] { width: 100%; accent-color: var(--accent); margin: .3rem 0 0; cursor: pointer; }
.ex-check { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--text-2); cursor: pointer; }
.ex-check input { accent-color: var(--accent); margin: 0; }
.obligations { border-top: 1px solid var(--line-2); }
.obligations li { display: grid; grid-template-columns: 8.5rem 1fr; gap: .2rem 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--line); transition: opacity var(--dur); }
.obligations .ob-state { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: .3rem; }
.obligations li[data-state="on"] .ob-state, .obligations li[data-state="always"] .ob-state { color: var(--accent); }
.obligations li[data-state="off"], .obligations li[data-state="na"] { opacity: .5; }
.obligations b { font-size: 1rem; font-weight: 600; }
.obligations p { grid-column: 2; color: var(--text-2); font-size: .9rem; }
.ex-note { grid-column: 1 / -1; font-family: var(--mono); font-size: .7rem; color: var(--text-3); letter-spacing: .02em; max-width: 90ch; }

/* how it works: client-type toggle and document list */
.who { display: inline-flex; margin-top: 1rem; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.who button { background: none; border: 0; padding: .5rem .9rem; color: var(--text-3); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.who button[aria-selected="true"] { background: var(--accent); color: var(--text); }
.docs { margin-top: 1rem; }
.docs li { position: relative; padding: .45rem 0 .45rem 1rem; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: .92rem; }
.docs li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 5px; height: 5px; background: var(--accent); }
.docs li:last-child { border-bottom: 0; }

/* contact: live desk status */
.desk { display: inline-flex; align-items: center; gap: .55rem; }
.desk i { width: 7px; height: 7px; background: var(--text-3); flex: none; }
.desk.open i { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
#desk-status small { display: block; margin-top: .25rem; font-family: var(--mono); font-size: .7rem; color: var(--text-3); }

/* page rhythm: the timeline sits on graphite, how-it-works back on black */
.tline { background: var(--panel); border-block: 1px solid var(--line); padding: clamp(5rem, 9vw, 8rem) 0; margin-top: clamp(4rem, 7vw, 6rem); }
#how.columns { background: transparent; border: 0; margin-top: 0; padding-bottom: 0; }   /* same rhythm as every other section: space comes from the next section's top padding */
#how .cols, #how .col { border-color: var(--line); }

@media (max-width: 1024px) {
  .dossier-head { grid-template-columns: 4rem 1fr; }
  .dossier-cat { grid-column: 2; text-align: left; padding-top: 0; }
  .d1-grid, .route-head { grid-template-columns: 1fr; gap: 2.5rem 0; }
  .route, .flow { grid-template-columns: 1fr 1fr; }
  .route li { padding-bottom: 2rem; }
  .flow li { border-bottom: 1px solid var(--line-2); min-height: 0; }
  .flow li:nth-child(2n) { border-right: 0; }
  .flow li:nth-last-child(-n+2) { border-bottom: 0; }
  .quiz { grid-template-columns: 1fr; }
  .brief-body { grid-template-columns: 1fr; }
  .explorer { grid-template-columns: 1fr; }
  .board th:nth-child(4), .board td:nth-child(4) { display: table-cell; }
}
@media (max-width: 760px) {
  .dossier-head { grid-template-columns: 1fr; gap: 1rem; }
  .dossier-cat { grid-column: 1; }
  .dossier-n { padding-top: 0; }
  .dossier-what.narrow { text-align: left; }
  .steps-h { grid-template-columns: 1fr; gap: 1.5rem; }
  .route, .flow { grid-template-columns: 1fr; }
  .flow li { border-right: 0; }
  .flow li:nth-last-child(2) { border-bottom: 1px solid var(--line-2); }
  .tool-calc { grid-template-columns: minmax(0, 1fr) auto; }
  .tool-eq { display: none; }
  .spark-lg { height: 80px; }
  .board th:nth-child(3), .board td:nth-child(3), .board th:nth-child(5), .board td:nth-child(5) { display: none; }
  .board th:nth-child(4), .board td:nth-child(4) { display: table-cell; }
  .board td { padding: .8rem .4rem; font-size: .84rem; }
  .obligations li { grid-template-columns: 1fr; gap: .15rem; }
  .obligations p { grid-column: 1; }
}

/* flow: the received amount gets its own line, the currency select sits under it */
.flow li:nth-child(3) .flow-amt { display: grid; gap: .5rem; justify-items: start; }
.flow li:nth-child(3) .flow-amt output { max-width: 100%; }

/* route on narrow screens: one vertical line with the stations down the side */
@media (max-width: 1024px) {
  .route { grid-template-columns: 1fr; padding-top: 0; }
  .route::before { top: 0; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .route li { padding: 0 0 2rem 1.75rem; }
  .route li:last-child { padding-bottom: 0; }
  .route li::before { top: .3rem; left: 0; transform: none; }
}

/* the real logo: gold engraving on transparent */
.brand-mark { width: auto; height: 38px; }
.seal { width: clamp(240px, 30vw, 420px); height: auto; }
.cert-mark { width: 96px; height: auto; }
.hero-kicker { margin-top: 1.25rem; }
@media (max-width: 760px) { .seal { width: 230px; } .brand-mark { height: 32px; } }

/* header: the wordmark cut from the logo, nothing else */
.brand-word { height: 31px; width: auto; display: block; }
@media (max-width: 760px) { .brand-word { height: 26px; } }

/* hero: no glow behind the logo */
.seal { filter: none; }

/* hero title: keeps clear of the pillars at every width; three lines everywhere */
.hero-copy { padding-inline: clamp(1rem, 4vw, 2.5rem); }
.hero-copy h1 { max-width: 11em; }
@media (max-width: 760px) { .hero-copy h1 { font-size: clamp(1.6rem, 7.6vw, 2.3rem); } }


/* ==========================================================================
   Light version: the same lodge printed on paper. Ink text; three golds
   (bronze for text, mid gold for marks and figures, pale gold for fills);
   no glows, because light does not bloom on paper.
   ========================================================================== */
:root { --accent-fill: #DCBF66; }
.btn-green, .tile[aria-selected="true"], .who button[aria-selected="true"] { background: var(--accent-fill); color: var(--text); }
.btn-green:hover { background: var(--accent-2); }
::selection { background: var(--accent-fill); color: var(--text); }
.bignum-value { color: var(--accent-2); }
.notice .dot, .hero-kicker i, .paper .live i, .status i, .timeline li::before, .dots li::before, .docs li::before, .route li::before, .desk.open i { background: var(--accent-2); box-shadow: none; }
.timeline li.future::before, .route li:last-child::before { background: var(--bg); border-color: var(--accent-2); }
.timeline li.now::before { box-shadow: 0 0 0 4px rgba(176,141,52,.22); }
.tool-q input, .ex-field input[type="range"], .ex-check input { accent-color: var(--accent-2); }
.seal { filter: none; }
.hero::after { content: none; }                                   /* paper has no scanlines */


/* quote tool (dossier I, foreign exchange): one framed box, form above, quote lines below; every number from desk.json */
.quote-tool { margin-top: clamp(2rem, 3.5vw, 3rem); border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: 5px; padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: 1.25rem; background: var(--panel); }
.q-form { display: grid; grid-template-columns: 1fr 1.4fr 2fr; gap: 1rem; align-items: end; }
.q-field { display: grid; gap: .45rem; }
.q-field .st-lbl { margin-bottom: 0; }
.q-field select, .q-field input { width: 100%; min-width: 0; }
.q-amt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.q-amt-row input { font-size: 1rem; }
.q-out { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; border-top: 1px solid var(--line-2); }
.q-out > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.q-out dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.q-out dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--text); }
.q-out .q-main { grid-column: 1 / -1; }
.q-out .q-main dd { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; color: var(--accent); line-height: 1.1; }
.q-out .q-docs { grid-column: 1 / -1; }
.q-out .q-docs dd { font-family: var(--font); color: var(--text-2); font-size: .9rem; }
.quote-tool .btn { justify-self: start; }
@media (max-width: 760px) { .q-form { grid-template-columns: 1fr 1.7fr; } .q-form .q-amt { grid-column: 1 / -1; } .q-out { grid-template-columns: 1fr; } .q-out > div { grid-template-columns: 6.5rem 1fr; } }

/* dossier II: payment planner (destination, who, amount -> calendar route + checklist); corridors from desk.json */
.route-head { grid-template-columns: 1fr 1.3fr; }
.plan-form { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: .8rem; align-items: end; }
.plan-form select, .plan-form input { width: 100%; min-width: 0; height: 2.75rem; }
.plan-need { margin-top: clamp(2rem, 3.5vw, 3rem); padding-top: 1.25rem; border-top: 1px solid var(--line-2); }
.checks { margin-top: .7rem; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 2.5rem; }
.checks li { position: relative; padding: .35rem 0 .35rem 1.6rem; color: var(--text-2); font-size: .92rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .6rem; width: .75rem; height: .75rem; border: 1px solid var(--accent-2); }
.plan-foot { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.plan-foot .tool-note { max-width: 72ch; }
@media (max-width: 1024px) { .route-head { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .plan-form { grid-template-columns: 1fr 1fr; } .plan-form .q-field:first-child { grid-column: 1 / -1; } }

/* dossier III: compact OTC ticket (buy/sell, asset, amount -> our price, network fee, settlement, delivery), margins from desk.json */
.otc-row { display: grid; grid-template-columns: 5.5rem 1fr minmax(0, 1.2fr) 5.5rem; gap: .5rem; align-items: center; }
.otc-row input, .otc-row select { width: 100%; min-width: 0; }
.otc-out { display: grid; gap: .3rem; padding-top: .25rem; }
.otc-out output { font-family: var(--mono); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.85rem); color: var(--accent); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otc-lines { grid-template-columns: 1fr; }
.otc-lines > div { grid-template-columns: 7rem 1fr; padding: .55rem 0; font-size: .88rem; }
.otc-lines dd { white-space: normal; }
@media (max-width: 760px) { .otc-row { grid-template-columns: 5.5rem 1fr 5.5rem; } .otc-row #vc-asset { grid-column: 2 / 4; } .otc-row #vc-amt { grid-column: 1 / 3; } }

/* dossiers IV and V: descriptive, three columns of facts instead of a tool */
.facts3 { margin-top: clamp(2rem, 3.5vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(2rem, 4vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.facts3 .dots { margin-top: .5rem; }
@media (max-width: 1024px) { .facts3 { grid-template-columns: 1fr; gap: 1.5rem; } }

/* company: intro paragraph and a five-step timeline */
.company-intro { max-width: 68ch; margin: 1.75rem auto 0; text-align: center; color: var(--text-2); font-size: 1.05rem; line-height: 1.6; }
.timeline.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .timeline.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .timeline.five { grid-template-columns: 1fr; } }

/* legal pages (privacy, terms, AML, complaints): one column of text with a contents box */
.legal { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
.legal .meta { margin-top: 1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.legal .intro { margin-top: 1.5rem; font-size: 1.1rem; color: var(--text-2); line-height: 1.6; }
.legal .toc { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--accent-line); outline: 1px solid var(--accent-line); outline-offset: 4px; }
.legal .toc ol { columns: 2; column-gap: 2rem; }
.legal .toc li { padding: .25rem 0; break-inside: avoid; }
.legal .toc a { color: var(--text-2); font-size: .92rem; }
.legal .toc a:hover { color: var(--accent); }
.legal h2 { margin-top: 2.75rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; scroll-margin-top: 6rem; }
.legal p { margin-top: .9rem; color: var(--text-2); line-height: 1.65; }
.legal p strong { color: var(--text); font-weight: 600; }
.legal ul { margin-top: .9rem; }
.legal ul li { position: relative; padding: .35rem 0 .35rem 1.2rem; color: var(--text-2); line-height: 1.6; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 5px; height: 5px; background: var(--accent-2); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .legal .toc ol { columns: 1; } }

/* official channels: three columns of facts, links in the accent */
.channels .facts3 a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.channels .facts3 strong { color: var(--text); font-weight: 600; }

/* partners: two marks in the page's own tones, each with its name and one line */
.partner-grid { margin-top: clamp(2rem, 3.5vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; padding-top: 1.75rem; border-top: 1px solid var(--line-2); }
.partner { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.5rem; align-items: center; padding: 0 clamp(2rem, 4vw, 4rem) 0 0; color: inherit; text-decoration: none; }
.partner + .partner { border-left: 1px solid var(--line); padding: 0 0 0 clamp(2rem, 4vw, 4rem); }
.partner .p-mark { width: 7.5rem; height: 7.5rem; object-fit: contain; display: block; }
.partner strong { display: block; font-size: 1.15rem; font-weight: 600; }
.partner .p-text > span { display: block; margin-top: .4rem; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.partner small { display: block; margin-top: .6rem; font-family: var(--mono); font-size: .8rem; color: var(--accent); }
a.partner:hover strong { color: var(--accent); }
@media (max-width: 760px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner { padding: 0; }
  .partner + .partner { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; margin-top: 1.5rem; }
  .partner .p-mark { width: 6rem; height: 6rem; }
}

/* language switcher: the current code in the header, a small list of native names when opened */
.lang { position: relative; margin-right: .25rem; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); padding: .4rem .55rem; border: 1px solid transparent; border-radius: var(--r); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: .36em; height: .36em; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-.12em) rotate(45deg); transition: transform .15s; }
.lang[open] summary::after { transform: translateY(.1em) rotate(225deg); }
.lang summary:hover, .lang[open] summary { color: var(--text); border-color: var(--line-2); }
.lang-menu { position: absolute; right: 0; top: calc(100% + .45rem); min-width: 11.5rem; margin: 0; padding: .35rem; list-style: none; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 14px 34px rgba(60, 45, 10, .12); z-index: 60; }
.lang-menu a { display: flex; align-items: baseline; gap: .75rem; padding: .5rem .65rem; color: var(--text); text-decoration: none; font-size: .9rem; border-radius: var(--r); white-space: nowrap; }
.lang-menu a span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--text-2); width: 1.7rem; flex: none; }
.lang-menu a:hover { background: var(--panel); }
.lang-menu a[aria-current], .lang-menu a[aria-current] span { color: var(--accent); }

/* registration: band on the home page, steps on register.html */
.reg-band { margin-top: clamp(2rem, 3.5vw, 3rem); padding-top: 1.75rem; border-top: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.reg-band p { max-width: 58ch; color: var(--text-2); line-height: 1.6; }
.reg-band .btn { flex: none; }
.register .meta { margin-top: 0; }
.legal a.btn, .legal a.btn:hover { text-decoration: none; color: var(--text); }   /* .legal a would paint the button text gold on gold */
.register h1 { margin-top: .75rem; }
.reg-cta { margin-top: 1.75rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.reg-cta span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.reg-steps { margin-top: 2.5rem; list-style: none; padding: 0; border-top: 1px solid var(--line-2); }
.reg-steps li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.reg-steps li > span { font-family: var(--mono); font-size: 1.4rem; line-height: 1; color: var(--accent); }
.register .reg-steps h2 { margin-top: 0; font-size: 1.1rem; }
.register .reg-steps p { margin-top: .4rem; }
@media (max-width: 760px) { .reg-band { flex-direction: column; align-items: flex-start; } }
/* registration: text column with the services list, three phone screenshots beside it */
.reg-band { align-items: flex-start; }
.reg-text { flex: 1 1 22rem; max-width: 34rem; }
.reg-text p, .register .reg-text p { max-width: none; }
.reg-list { margin-top: .75rem; list-style: none; padding: 0; }
.reg-list li { position: relative; padding: .45rem 0 .45rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--text); font-size: .95rem; }
.reg-list li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 5px; height: 5px; background: var(--accent-2); }
.reg-list li:last-child { border-bottom: 0; }
.reg-official { margin-top: 1rem; font-weight: 600; color: var(--text); }
.legal .reg-official { color: var(--text); }
.reg-text .btn { margin-top: 1.25rem; }
.reg-shots { flex: 1 1 24rem; max-width: 36rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.register .reg-shots { max-width: none; margin-top: 2.5rem; }
.reg-shots figure { margin: 0; }
.reg-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 14px; background: var(--tile); }
.reg-shots figcaption { margin-top: .5rem; font-size: .78rem; line-height: 1.4; color: var(--text-3); }
@media (max-width: 1024px) { .reg-band { flex-direction: column; } .reg-shots { max-width: none; width: 100%; } }
@media (max-width: 760px) { .reg-shots { gap: .5rem; } .reg-shots figcaption { font-size: .68rem; } }

.register-cta .lead a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.register-cta .lead a:hover { color: var(--text); }

/* screenshot carousel: one phone at a time, timed progress bars, arrows; pauses on hover */
.reg-shots.carousel { display: block; flex: 0 0 auto; width: min(100%, 16.5rem); }
.register .reg-shots.carousel { max-width: 18rem; margin: 2.5rem auto 0; }
.car-frame { display: grid; }
.car-slide { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateX(18px); transition: opacity .55s ease, transform .55s ease; pointer-events: none; }
.car-slide[data-dir="-1"] { transform: translateX(-18px); }
.car-slide.is-leaving { transform: translateX(-18px); }
.car-slide.is-leaving[data-dir="-1"] { transform: translateX(18px); }
.car-slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; z-index: 1; }
.car-nav { margin-top: .9rem; display: flex; align-items: center; gap: .75rem; }
.car-btn { flex: none; width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.car-btn svg { width: 1rem; height: 1rem; }
.car-btn:hover { color: var(--text); border-color: var(--accent-line); }
.car-bars { flex: 1; display: flex; gap: .4rem; }
.car-bar { flex: 1; height: 3px; padding: 0; border: 0; background: var(--line-2); position: relative; overflow: hidden; cursor: pointer; border-radius: 2px; }
.car-bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.car-bar.is-done i { transform: scaleX(1); }
.car-bar.is-active i { animation: car-progress linear forwards; }
@keyframes car-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 1024px) { .reg-shots.carousel { margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .car-slide { transition: none; } .car-bar.is-active i { animation: none; transform: scaleX(1); } }

/* registration band: text and phone as one centred pair, text vertically centred beside the phone */
.register-cta .lead { max-width: 70ch; }
.register-cta .reg-band { display: grid; grid-template-columns: minmax(0, 36rem) 16rem; justify-content: center; column-gap: clamp(3rem, 7vw, 7rem); row-gap: 2rem; align-items: center; }
.register-cta .reg-text { max-width: none; }
.register-cta .reg-shots.carousel { width: 100%; }
@media (max-width: 1024px) { .register-cta .reg-band { grid-template-columns: minmax(0, 36rem); justify-items: start; } .register-cta .reg-shots.carousel { width: min(100%, 16rem); justify-self: center; } }

/* register page: same text-and-phone band as the home section, the rest of the page stays narrow */
.register .wrap { max-width: 1100px; }
.register .wrap > h2, .register .wrap > p, .register .reg-steps { max-width: 760px; }
.register .reg-band { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 36rem) 16rem; justify-content: start; column-gap: clamp(3rem, 7vw, 7rem); row-gap: 2rem; align-items: center; }
.register .reg-band .reg-text { max-width: none; }
.register .reg-band .reg-shots.carousel { width: 100%; margin: 0; }
.register .reg-cta { margin-top: 1.25rem; }
.register .reg-steps { margin-top: 3rem; }
@media (max-width: 1024px) { .register .reg-band { grid-template-columns: minmax(0, 36rem); } .register .reg-band .reg-shots.carousel { width: min(100%, 16rem); justify-self: center; } }
/* registration: explicit intro, three-stop path, partner badge, external-link note */
.reg-intro { color: var(--text); line-height: 1.6; }
.reg-path { margin: 1rem 0 1.5rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.reg-path li { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding: .4rem .65rem; border: 1px solid var(--line-2); border-radius: var(--r); }
.reg-path li:last-child { color: var(--accent); border-color: var(--accent-line); }
.reg-path li + li { position: relative; margin-left: 1.3rem; }
.reg-path li + li::before { content: "\2192"; position: absolute; left: -1.15rem; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--text-3); letter-spacing: 0; }
.reg-partner { margin-top: 1.25rem; display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--text-2); }
.reg-partner img { width: 2rem; height: 2rem; }
.reg-text > .btn { margin-top: 1rem; }
.reg-cta { margin-top: 1rem; flex-direction: column; align-items: flex-start; gap: .6rem; }
.reg-cta span { text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: .82rem; color: var(--text-3); }
.reg-partner { margin-top: 1.1rem; }
.reg-why { margin-top: 1rem; color: var(--text-2); line-height: 1.6; }
.legal .reg-why { margin-top: 1rem; }

/* services overview on the home page: five rows, each opening its sheet on services.html */
.svc-list { margin-top: clamp(2rem, 3.5vw, 3rem); padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.svc-list li { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 1rem 1.5rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.svc-list .num { font-family: var(--mono); font-size: 1.4rem; line-height: 1; color: var(--accent); }
.svc-list h3 { font-size: 1.1rem; font-weight: 600; }
.svc-list h3 a { color: inherit; text-decoration: none; }
.svc-list h3 a:hover { color: var(--accent); }
.svc-list p { margin-top: .3rem; color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.svc-go { width: 2.2rem; height: 2.2rem; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.svc-go svg { width: 1rem; height: 1rem; }
.svc-go:hover { color: var(--text); border-color: var(--accent-line); }
.svc-cta { margin-top: 2rem; text-align: center; }
@media (max-width: 760px) { .svc-list li { grid-template-columns: 2.4rem 1fr auto; gap: .75rem 1rem; } }
/* narrow screens: the dropdown menu also carries Contact and the registration page, hidden in the header at that width */
.nav .nav-mobile { display: none; }
@media (max-width: 760px) { .nav .nav-mobile { display: block; } .nav .nav-cta.btn { display: inline-flex; align-self: flex-start; margin: 1rem 0 .5rem; padding: .75rem 1.15rem; border-bottom: 0; } }

/* carousel: every screenshot fills the same phone-shaped frame; the label says which app the screens belong to */
.car-frame img { aspect-ratio: 390 / 797; object-fit: cover; object-position: top; }
.car-label { margin: 0 0 .6rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--text-3); }

/* ---- Client accounts: sign-up, sign-in, portal (register.html, login.html, account.html; auth.js) ---- */
.auth .wrap { max-width: 560px; }
.auth-form { margin-top: 2rem; }
.legal .field-hint, .field-hint { margin-top: .4rem; font-size: .8rem; line-height: 1.5; color: var(--text-3); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .2rem; accent-color: var(--accent); cursor: pointer; }
.check input:disabled { cursor: default; }
.legal .auth-msg, .auth-msg { margin-top: 0; padding: .75rem 1rem; border-left: 2px solid var(--accent-2); background: var(--panel); font-size: .9rem; line-height: 1.5; color: var(--text); }
.auth-msg.is-error { border-left-color: var(--red); }
.auth-msg[hidden] { display: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--accent-2); }
.form-actions .linkbtn { margin-left: .25rem; }
.legal .auth-alt { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .92rem; }
.auth-done { margin-top: 2rem; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line-2); background: var(--panel); }
.legal .auth-done h2 { margin-top: 0; }
.auth-done .auth-form { margin-top: 1.25rem; }
.auth-done.auth-form { display: grid; gap: 1rem; }
.auth-done.auth-form > p { margin-top: 0; }
.portal .wrap { max-width: 1100px; }
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-2); }
.portal-head h1 { margin-top: .6rem; }
.legal .portal-who { margin-top: .6rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: baseline; }
.portal-who span { font-family: var(--mono); font-size: .8rem; color: var(--text-3); }
.portal > .wrap > #pt-msg, #portal > .auth-msg { margin-top: 1.5rem; }
.portal-card { margin-top: 2rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); background: var(--panel); }
.portal-card > .label { color: var(--accent); }
.legal .portal-card h2 { margin-top: .6rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; }
.portal-card > p { max-width: 62ch; }
.portal-card .check { margin-top: 1.5rem; padding: 1rem 1.1rem; border: 1px solid var(--line-2); background: var(--bg, #FBF9F4); }
.portal-card .auth-msg { margin-top: 1rem; }
.portal-card .auth-form { max-width: 28rem; margin-top: 1.25rem; }
.legal .portal-note { padding-left: 1rem; border-left: 2px solid var(--accent-2); color: var(--text); }
.portal-card .reg-band { margin-top: 1.5rem; }
.legal ol.portal-steps { margin-top: 1.25rem; counter-reset: step; list-style: none; padding: 0; }
.legal ol.portal-steps li { counter-increment: step; position: relative; padding: .5rem 0 .5rem 2.2rem; color: var(--text-2); line-height: 1.55; }
.legal ol.portal-steps li::before { content: counter(step); position: absolute; left: 0; top: .5rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; font-family: var(--mono); font-size: .72rem; color: var(--text); border: 1px solid var(--accent-2); }
.register-cta .reg-band.solo { grid-template-columns: minmax(0, 40rem); justify-content: start; }
.register-cta .reg-cta { flex-direction: row; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.register-cta .reg-cta .btn { margin-top: 0; }
.legal .check-links { margin-top: -.5rem; padding-left: 1.8rem; }

/* ---- Portal: "Notify me" invitation for BANSO accounts (auth.js toggles data-state off/on) ---- */
.notify { margin-top: 1.75rem; display: flex; gap: 1.25rem; align-items: flex-start; padding: clamp(1.25rem, 3vw, 1.75rem); background: linear-gradient(135deg, rgba(220,191,102,.18), rgba(220,191,102,.05) 60%), var(--bg); border: 1px solid var(--accent-2); border-radius: var(--r); position: relative; overflow: hidden; }
.notify::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border: 1px solid rgba(176,141,52,.25); border-radius: 50%; box-shadow: 0 0 0 18px rgba(176,141,52,.05); pointer-events: none; }
.notify-icon { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent-fill, #DCBF66); color: var(--text); }
.notify-icon svg { width: 1.35rem; height: 1.35rem; }
.notify-body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.legal .notify-title { margin-top: .15rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.legal .notify-text { margin-top: .4rem; max-width: 52ch; color: var(--text-2); }
.notify-actions { margin-top: 1.1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.notify-actions .btn { padding: 0 1.5rem; }
.notify-actions .btn svg { width: 1rem; height: 1rem; }
.legal .notify-hint { margin-top: .75rem; font-size: .8rem; color: var(--text-3); }
.notify[data-state="off"] .n-on, .notify[data-state="on"] .n-off { display: none; }
.notify .i-check, .notify[data-state="on"] .notify-icon .i-bell { display: none; }
.notify[data-state="on"] .notify-icon .i-check { display: block; }
.notify[data-state="on"] { background: var(--bg); border-color: var(--line-2); }
.notify[data-state="on"] .notify-icon { background: var(--text); color: var(--accent-fill, #DCBF66); }
.notify.just-on .notify-icon { animation: notify-pop .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes notify-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .notify.just-on .notify-icon { animation: none; } }
@media (max-width: 520px) { .notify { flex-direction: column; gap: .9rem; } .notify-actions .btn { width: 100%; } }

/* ======================================================================
   HOME v5 (2026-09-24): short copy, live converter, markets, news.
   Same tokens, fonts and buttons; fewer lines and decorations, more air.
   ====================================================================== */
:root { --up: #1F7A45; --card: #FFFEFB; --r2: 6px; }
.ic { width: 1.5rem; height: 1.5rem; color: var(--accent); flex: none; }

/* live dot */
.live { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--up); white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(31,122,69,.15); animation: live-pulse 2.4s ease-in-out infinite; }
.live.is-off { color: var(--text-3); } .live.is-off i { background: var(--text-3); box-shadow: none; animation: none; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 6px rgba(31,122,69,0); } }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }

/* segmented control */
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--tile); border-radius: var(--r2); }
.seg button { border: 0; background: transparent; padding: .5rem .9rem; border-radius: calc(var(--r2) - 2px); font: 500 .82rem/1 var(--font); color: var(--text-2); cursor: pointer; white-space: nowrap; }
.seg button[aria-selected="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(23,20,14,.08); }
.seg button:hover { color: var(--text); }

/* hero */
.hx { padding: clamp(4rem, 8.5vw, 7.5rem) 0 clamp(3.5rem, 6.5vw, 6rem); }
.hx-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 27rem); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.op-badge { display: inline-flex; align-items: center; gap: .9rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--text-3); }
.op-badge .live { text-transform: uppercase; letter-spacing: .1em; }
.hx-title { margin-top: 1.5rem; font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.hx-lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--text-2); max-width: 44ch; }
.hx-cta { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* converter */
.conv { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 1.4rem; box-shadow: 0 1px 2px rgba(23,20,14,.04), 0 18px 40px -24px rgba(23,20,14,.22); display: grid; gap: .85rem; position: relative; }
.conv-head { display: flex; justify-content: space-between; align-items: center; }
.conv-head h2 { font-size: 1rem; letter-spacing: -0.01em; }
.conv .seg { width: 100%; } .conv .seg button { flex: 1; }
.conv-field label, .conv-lbl { display: block; margin-bottom: .4rem; font-size: .78rem; color: var(--text-3); }
.conv-in { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg); transition: border-color var(--dur); }
.conv-in:focus-within { border-color: var(--accent-2); }
.conv-in input, .conv-in output { flex: 1; min-width: 0; padding: .85rem 1rem; border: 0; background: transparent; font: 600 1.35rem/1.2 var(--font); color: var(--text); letter-spacing: -0.01em; }
.conv-in input:focus { outline: none; }
.conv-in output { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-in select { border: 0; border-left: 1px solid var(--line); background: transparent; padding: 0 2rem 0 1rem; font: 600 .9rem var(--mono); color: var(--text); cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(-45deg, transparent 50%, var(--text-2) 50%); background-position: calc(100% - 1.05rem) 52%, calc(100% - .75rem) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.conv-swap { justify-self: center; width: 2.4rem; height: 2.4rem; margin: -.35rem 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer; transition: transform var(--dur), border-color var(--dur); }
.conv-swap .ic { width: 1.05rem; height: 1.05rem; color: var(--text-2); }
.conv-swap:hover { border-color: var(--accent-2); transform: rotate(180deg); }
.conv-rate { font-family: var(--mono); font-size: .8rem; color: var(--text-2); text-align: center; }
.conv-cta { width: 100%; }
.conv-note { font-size: .74rem; line-height: 1.5; color: var(--text-3); text-align: center; }

/* trust strip */
.trust { border-block: 1px solid var(--line); background: var(--card); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: .85rem; padding: 1.3rem 1.25rem; color: var(--text-3); font-size: .82rem; line-height: 1.35; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item b { display: block; color: var(--text); font-size: .92rem; font-weight: 600; }
a.trust-item:hover b { color: var(--accent); }

/* section frame */
.sx { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.sx-tint { background: var(--panel); }
.sx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: var(--sec-head, 2.5rem); }
.sx-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; }
.sx-lead { margin-top: .6rem; color: var(--text-2); font-size: 1.05rem; max-width: 52ch; }
.sx-more { margin-top: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* markets */
.mk { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.25rem; }
.mk-panel, .mk-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); }
.mk-panel { padding: 1.4rem 1.4rem 1rem; display: flex; flex-direction: column; min-width: 0; }
.mk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.mk-title { font-weight: 600; font-size: 1.05rem; }
.mk-title small { margin-left: .4rem; font: 500 .75rem var(--mono); color: var(--text-3); }
.mk-price { margin-top: .35rem; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.mk-price > span:not(.chg) { font: 500 .85rem var(--mono); color: var(--text-3); }
.mk .chg, .conv .chg { font-size: .8rem; }
.mk .chg.up { color: var(--up); } .mk .chg.down { color: var(--red); }
.mk-ranges { display: inline-flex; gap: .25rem; }
.mk-ranges button { border: 1px solid transparent; background: transparent; padding: .35rem .6rem; border-radius: var(--r2); font: 500 .75rem var(--mono); color: var(--text-3); cursor: pointer; }
.mk-ranges button[aria-pressed="true"] { border-color: var(--line); background: var(--bg); color: var(--text); }
.mk-chart { position: relative; height: 300px; margin-top: 1rem; color: var(--accent-2); }
.mk-chart svg.chart { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .ylab text, .chart .xlab text { font: 500 11px var(--mono); fill: var(--text-3); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .cross-x { stroke: var(--text-3); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .cross circle { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.chart .hit { cursor: crosshair; touch-action: pan-y; }
.chart-tip { position: absolute; pointer-events: none; padding: .45rem .65rem; background: var(--text); color: var(--bg); border-radius: var(--r2); font-size: .8rem; line-height: 1.3; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.chart-tip b { display: block; font-weight: 600; } .chart-tip span { font: 500 .7rem var(--mono); opacity: .75; }
.chart-empty { height: 100%; display: grid; place-items: center; color: var(--text-3); font-size: .9rem; }
.mk-foot { margin-top: .75rem; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; font-size: .74rem; color: var(--text-3); }
.mk-list { list-style: none; margin: 0; padding: .4rem; align-self: start; }
.mk-list li + li { border-top: 1px solid var(--line); }
.mk-row { width: 100%; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) 5rem auto; align-items: center; gap: .8rem; padding: .75rem .7rem; border: 0; background: transparent; border-radius: var(--r2); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.mk-row:hover { background: var(--bg); }
.mk-row[aria-pressed="true"] { background: var(--accent-dim); }
.mk-badge { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--tile); font: 600 .62rem var(--mono); color: var(--text-2); letter-spacing: .02em; }
.mk-row[aria-pressed="true"] .mk-badge { background: var(--accent-fill, #DCBF66); color: var(--text); }
.mk-name { min-width: 0; } .mk-name b { display: block; font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-name small { font: 500 .7rem var(--mono); color: var(--text-3); }
.spark { width: 5rem; height: 1.75rem; } .spark path { fill: none; stroke: var(--accent-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.mk-val { text-align: right; } .mk-val b { display: block; font: 600 .9rem var(--mono); white-space: nowrap; }
.mk-empty, .news-empty { padding: 1.5rem; color: var(--text-3); font-size: .9rem; list-style: none; }

/* cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.card h3 { margin-top: .5rem; font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.25; }
.card p { color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.card .textlink { margin-top: auto; padding-top: .5rem; font-size: .72rem; }
.card .textlink svg { width: .8rem; height: .8rem; }

/* news */
.news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.news-card { height: 100%; display: flex; flex-direction: column; gap: .8rem; padding: 1.3rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); transition: border-color var(--dur), transform var(--dur); }
.news-card:hover { border-color: var(--accent-2); transform: translateY(-2px); }
.news-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font: 500 .72rem var(--mono); color: var(--text-3); }
.news-topic { padding: .2rem .5rem; border-radius: 999px; background: var(--tile); color: var(--text-2); }
.news-topic.crypto { background: var(--accent-dim); color: var(--accent); }
.news-title { font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--text); }
.news-src { margin-top: 1.25rem; font-size: .76rem; color: var(--text-3); }

/* account band */
.band { display: flex; justify-content: space-between; align-items: center; gap: 2rem 3rem; flex-wrap: wrap; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--r2); background: linear-gradient(135deg, rgba(220,191,102,.22), rgba(220,191,102,.06) 55%), var(--card); border: 1px solid var(--accent-2); }
.band h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.03em; }
.band p { margin-top: .6rem; color: var(--text-2); max-width: 56ch; }
.band-cta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

/* compliance */
.cmp { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.cmp-seal img { width: 100%; height: auto; display: block; }

/* faq + contact in the v5 frame */
.faq-wrap .faq-list { margin-top: 0; }
.contact.sx { margin-top: 0; border-top: 0; }
.contact .sx-lead { margin-bottom: .5rem; }

/* header: sign-in as text, open account as button */
.header-actions .login { text-transform: uppercase; }

@media (max-width: 1080px) {
  .hx-grid { grid-template-columns: 1fr; }
  .conv { max-width: 32rem; }
  .mk { grid-template-columns: 1fr; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .news { grid-template-columns: repeat(2, 1fr); }
  .cmp { grid-template-columns: 1fr; } .cmp-seal { width: 10rem; }
  .cards3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards4, .news, .trust-row { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .mk-chart { height: 230px; }
  .mk-row { grid-template-columns: 2rem minmax(0, 1fr) auto; } .mk-row .spark { display: none; }
  .mk-ranges { width: 100%; }
  .conv-in input, .conv-in output { font-size: 1.15rem; }
}
.mk-badge.is-long { font-size: .54rem; letter-spacing: 0; }
@media (max-width: 640px) { .news li:nth-child(n+7) { display: none; } }

/* ---- v5.1: varied sections ---- */
/* news: one lead story, the others as a list */
.news-ed { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.news-ed li.is-lead { grid-row: span 6; }
.news-ed li.is-lead .news-card { padding: clamp(1.5rem, 3vw, 2.25rem); justify-content: flex-end; min-height: 100%; background: linear-gradient(160deg, rgba(220,191,102,.20), rgba(220,191,102,0) 60%), var(--card); }
.news-ed li.is-lead .news-title { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; }
.news-ed li:not(.is-lead) .news-card { background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 1rem 0; gap: .4rem; }
.news-ed li:not(.is-lead) .news-card:hover { transform: none; }
.news-ed li:not(.is-lead) .news-card:hover .news-title { color: var(--accent); }
.news-ed li:not(.is-lead) .news-title { font-size: .95rem; }
@media (max-width: 1080px) { .news-ed { grid-template-columns: 1fr; } .news-ed li.is-lead { grid-row: auto; margin-bottom: .5rem; } }
@media (max-width: 640px) { .news-ed li:nth-child(n+7) { display: list-item; } }
/* services list inside the v5 frame */
.sx .svc-list { margin-top: 0; }
.svc-list li { padding: 1.5rem 0; }
.svc-list .num { font-size: 1.6rem; }
/* restored sections: spacing in the v5 rhythm */
.cmp-head { margin-bottom: var(--sec-head); }
.compliance.block { padding: var(--sec) 0; background: var(--panel); }
.bignum { padding: var(--sec) 0; }
/* one vertical rhythm for new and restored sections: --sec above and below each section; two sections on the same
   background share one gap (the second has no top padding), so the space between any two sections is always --sec */
:root { --sec: clamp(4.5rem, 9.5vw, 8.5rem); --sec-head: clamp(2.25rem, 4.5vw, 3.5rem); }
.sx { padding: var(--sec) 0; }
.columns { padding: var(--sec) 0; }
#markets + #services, #services + #how, #how + #register, #partners + #faq { padding-top: 0; }
#partners + #faq { padding-top: calc(var(--sec) * 1.45); }   /* wider pause before the FAQ (asked by the owner) */
.compliance .cmp-head { margin-top: 0; }
.tline { margin-top: 0; }
.bignum { border-top: 1px solid var(--line); }
/* lead story: meta on top, headline, link at the bottom */
.news-ed li.is-lead .news-card { justify-content: space-between; gap: 2rem; }
.news-ed li.is-lead .news-title { margin-top: auto; }
.news-more { font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
/* restored sections keep their look but follow the v5 spacing */
#how.columns { padding: var(--sec) 0; }
#compliance { margin-top: 0; padding: var(--sec) 0; }
#company { margin-top: 0; padding: var(--sec) 0; }
.hx-title { margin-top: 0; }
/* markets: the chart panel sets the row height; the price list scrolls inside it */
.mk { align-items: stretch; }
.mk-list { align-self: stretch; contain: size; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.mk-list::-webkit-scrollbar { width: 6px; } .mk-list::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
@media (max-width: 1080px) { .mk-list { contain: none; overflow: visible; } }
/* markets: real crypto logos and currency signs */
.mk-badge.is-logo { background: transparent; padding: 0; }
.mk-badge.is-logo img { width: 100%; height: 100%; display: block; }
.mk-badge.is-sign { font: 600 .95rem var(--font); letter-spacing: -0.01em; color: var(--text); background: var(--tile); }
.mk-badge.is-sign.is-long { font-size: .72rem; letter-spacing: -0.02em; }
.mk-row[aria-pressed="true"] .mk-badge.is-logo { box-shadow: 0 0 0 2px var(--card), 0 0 0 3.5px var(--accent-2); }
.mk-title { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.mk-title small { margin-left: 0; }
.mk-badge.is-sm { width: 1.6rem; height: 1.6rem; font-size: .75rem; }
.mk-badge.is-sm.is-long { font-size: .56rem; }
/* lead story with the publisher's picture */
.news-ed li.is-lead .news-card { padding: 0; overflow: hidden; gap: 0; justify-content: flex-start; background: var(--card); }
.news-ed li.is-lead .news-card > :not(.news-img) { margin-inline: clamp(1.25rem, 2.5vw, 1.75rem); }
.news-ed li.is-lead .news-meta { margin-top: 1.25rem; }
.news-ed li.is-lead .news-title { margin-top: .75rem; }
.news-ed li.is-lead .news-more { margin-top: auto; padding: 1.25rem 0 1.5rem; }
.news-img { display: block; aspect-ratio: 16 / 9; background: var(--tile); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.news-card:hover .news-img img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .news-card:hover .news-img img { transform: none; } }

/* ---- v5.2: news chips, rate-decision calendar, 30-day range ---- */
/* news cards: one stretched link on the title, chips above it */
.news-card { position: relative; cursor: pointer; }
.news-card .news-title::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.news-card .news-title { color: var(--text); text-decoration: none; }
.news-card .news-title:focus-visible { outline: none; } .news-card:has(.news-title:focus-visible) { outline: 1px solid var(--accent); outline-offset: 3px; }
.nchips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .4rem; }
.nchip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .55rem .25rem .3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font: 500 .72rem var(--mono); color: var(--text); cursor: pointer; transition: border-color var(--dur), background var(--dur); }
.nchip:hover { border-color: var(--accent-2); background: var(--card); }
.nchip b { font-weight: 600; }
.nchip .chg { font-size: .68rem; } .nchip .chg.up { color: var(--up); } .nchip .chg.down { color: var(--red); }
.mk-badge.is-xs { width: 1.15rem; height: 1.15rem; font-size: .55rem; }
.mk-badge.is-xs.is-long { font-size: .42rem; }
.news-ed li:not(.is-lead) .nchips { margin-top: .15rem; }
.news-ed li.is-lead .nchips { margin: .9rem clamp(1.25rem, 2.5vw, 1.75rem) 0; }

/* next interest-rate decisions: countdown (left) + six-month timeline, one lane per bank (right) */
.cb { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 1.75rem clamp(2rem, 4vw, 3.5rem); align-items: start; padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--line-2); }
.cb-head h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.cb-head p { margin-top: .4rem; font-size: .85rem; line-height: 1.5; color: var(--text-2); }
.cb-next { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px dashed var(--line-2); }
.cb-next:empty { display: none; }
.cb-k { font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.cb-head .cb-who { margin-top: .55rem; display: flex; align-items: center; gap: .6rem; margin-top: .55rem; }
.cb-head .cb-who b { font-size: 1.05rem; font-weight: 600; line-height: 1.2; color: var(--text); }
.cb-head .cb-at { margin-top: .35rem; font-size: .8rem; color: var(--text-3); }
.cb-at::first-letter { text-transform: uppercase; }
.cb-count { display: flex; gap: .35rem; margin-top: .9rem; }
.cb-count span { flex: 1; display: grid; justify-items: center; gap: .15rem; padding: .55rem .2rem .45rem; background: var(--text); color: var(--bg); border-radius: var(--r2); }
.cb-count b { font: 600 1.35rem/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cb-count small { font: 500 .6rem var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .65; }

.cb-tl { position: relative; --lab: 11.5rem; }
.cb-row { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); align-items: center; }
.cb-lanes { list-style: none; margin: 0; padding: 0; }
.cb-lanes .cb-row { border-top: 1px solid var(--line); }
.cb-lanes .cb-row:last-child { border-bottom: 1px solid var(--line); }
.cb-lab { display: flex; align-items: center; gap: .6rem; min-width: 0; padding-right: 1rem; }
.cb-lab b { display: block; font-size: .82rem; font-weight: 600; line-height: 1.2; }
.cb-lab small { font: 500 .66rem var(--mono); color: var(--text-3); }
.cb-short { display: none !important; }
.cb-track { position: relative; height: 3.4rem; margin-right: .75rem; }
.cb-axis .cb-track { height: 1.6rem; }
/* month columns, today, the line */
.cb-g { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--line); }
.cb-m, .cb-today { position: absolute; bottom: .35rem; font: 500 .66rem var(--mono); color: var(--text-3); text-transform: capitalize; white-space: nowrap; padding-left: .35rem; border-left: 1px solid var(--line-2); line-height: 1; }
.cb-today { left: 0; color: var(--accent); border-color: var(--accent-2); font-weight: 600; }
.cb-track::before { content: ""; position: absolute; left: 0; right: 0; top: 62%; height: 1px; background: var(--line-2); }
.cb-axis .cb-track::before { display: none; }
.cb-lanes .cb-track::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 1px solid var(--accent-2); opacity: .5; }
.cb-run { position: absolute; left: 0; top: calc(62% - 1px); height: 3px; border-radius: 2px; background: var(--text-3); transform-origin: left center; }
.is-next .cb-run { background: var(--accent-2); }
/* decisions */
.cb-dot { position: absolute; top: 62%; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border: 0; background: transparent; cursor: pointer; z-index: 1; }
.cb-dot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--text-3); transition: transform var(--dur); }
.cb-dot.is-first::before { background: var(--text-2); border-color: var(--text-2); }
.is-next .cb-dot.is-first::before { inset: 6px; background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 0 0 2px var(--bg); }
.is-next .cb-dot.is-first::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--accent-2); animation: cb-pulse 2.4s ease-out infinite; }
.cb-dot:hover::before, .cb-dot:focus-visible::before { transform: scale(1.3); }
.cb-dot:focus-visible { outline: none; }
.cb-dot:focus-visible::before { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--accent); }
@keyframes cb-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
.cb-when { position: absolute; top: .3rem; transform: translateX(-50%); font: 600 .7rem var(--mono); color: var(--text-2); white-space: nowrap; }
.cb-when.is-end { transform: translateX(-100%); }
.is-next .cb-when { color: var(--accent); }
.cb-tip { z-index: 3; }
.cb-tip span { display: block; margin-top: .15rem; }
/* first time in view: lines draw from today, then the decisions appear in date order */
@media (prefers-reduced-motion: no-preference) {
  .cb.will-in .cb-run { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1) .15s; }
  .cb.will-in .cb-dot, .cb.will-in .cb-when { opacity: 0; transition: opacity .35s ease calc(.2s + var(--p, 0) * 9ms); }
  .cb.will-in .cb-when { transition-delay: .8s; }
  .cb.will-in.is-in .cb-run { transform: none; }
  .cb.will-in.is-in .cb-dot, .cb.will-in.is-in .cb-when { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .is-next .cb-dot.is-first::after { animation: none; display: none; } }
@media (max-width: 1080px) { .cb { grid-template-columns: 1fr; } .cb-next { max-width: 22rem; } }
@media (max-width: 640px) {
  .cb-tl { --lab: 4.2rem; }
  .cb-lab { gap: .4rem; padding-right: .5rem; }
  .cb-lab .mk-badge { display: none; }
  .cb-long { display: none !important; }
  .cb-short { display: block !important; }
  .cb-track { margin-right: 1.25rem; }
}

/* converter: today's rate within the last 30 days */
.conv-range { display: grid; gap: .45rem; padding: .85rem 1rem; border-radius: var(--r2); background: var(--bg); border: 1px solid var(--line); }
.conv-range[hidden] { display: none; }
.rg-bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--tile-2), var(--accent-fill, #DCBF66)); }
.rg-dot { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 2px solid var(--card); transform: translate(-50%, -50%); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .5s cubic-bezier(.2,.7,.2,1); }
.rg-ends { display: flex; justify-content: space-between; gap: .5rem; font: 500 .68rem var(--mono); color: var(--text-3); }
.rg-mid { text-transform: uppercase; letter-spacing: .08em; }
.rg-text { font-size: .8rem; line-height: 1.45; color: var(--text); text-align: center; }
/* lead story: the picture takes the free height, so text never floats in empty space */
.news-ed li.is-lead .news-img { flex: 1 1 auto; aspect-ratio: auto; min-height: 14rem; }
.news-ed li.is-lead .news-more { margin-top: 0; padding-top: 1rem; }
@media (max-width: 1080px) { .news-ed li.is-lead .news-img { flex: none; aspect-ratio: 16 / 9; min-height: 0; } }
/* range: the dot stays inside the box at 0% and 100%; a stable pair shows a flat, neutral bar */
.rg-bar { margin-inline: 7px; }
.conv-range.is-stable .rg-bar { background: var(--tile-2); }
.conv-range.is-stable .rg-dot { background: var(--text-3); }
.live.is-stale { color: var(--text-3); } .live.is-stale i { background: var(--accent-2); box-shadow: none; animation: none; }

/* one look for every form field: the converter's (card surface, soft border, rounded, gold focus) */
.field input, .field select, .field textarea,
.contact .field input, .contact .field select, .contact .field textarea { background-color: var(--card); border: 1px solid var(--line-2); border-radius: var(--r2); transition: border-color var(--dur), box-shadow var(--dur); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-dim); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field select, .contact .field select { padding-right: 2.5rem; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(-45deg, transparent 50%, var(--text-2) 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 1rem) 55%; background-size: 5px 5px; background-repeat: no-repeat; }

/* FAQ: title and a way to ask on the left, the questions on the right */
@media (min-width: 900px) {
  .faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .faq-wrap .faq-head { margin-bottom: 0; position: sticky; top: 6rem; }
  .faq-wrap .faq-list { max-width: none; }
}
.faq-ask { display: inline-flex; margin-top: 1.25rem; }

/* notice bar: keep the centred text clear of the Dismiss button */
@media (min-width: 761px) { .notice .wrap { padding-inline: 7.5rem; } }

/* contact form: honeypot, messages, confirmation */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note.is-bad { color: var(--red); }
.form-done { padding: clamp(1.5rem, 3vw, 2rem); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r2); border-left: 3px solid var(--accent-2); }
.form-done b { display: block; font-size: 1.1rem; font-weight: 600; }
.form-done p { margin-top: .4rem; color: var(--text-2); }
form:has(> .form-done) { align-self: start; }

/* hero: the BANSO seal pressed into the background, like a blind emboss on paper.
   The inner element is the seal's shape filled with a tone just darker than the page; the outer one adds a light edge
   above and a soft shadow below (drop-shadow must sit outside the mask, or the mask would cut it away). */
.hx { position: relative; overflow: clip; }
.hx > .wrap { position: relative; z-index: 1; }
.hx-emboss { position: absolute; z-index: 0; pointer-events: none; left: 50%; top: 50%; width: min(820px, 92vw); aspect-ratio: 1444 / 1346; transform: translate(-50%, -50%);
  filter: drop-shadow(0 -1px 0 rgba(23,20,14,.05)) drop-shadow(0 1px 0 rgba(255,255,255,.9)); }
.hx-emboss i { position: absolute; inset: 0; background: #F5F2EA;
  -webkit-mask: url(logo-full.png?v=1) center / contain no-repeat; mask: url(logo-full.png?v=1) center / contain no-repeat; }
@media (max-width: 900px) { .hx-emboss { top: 1.5rem; transform: translateX(-50%); width: min(640px, 120vw); } }
.nchg:empty { display: none; }

/* segmented switches (converter, markets, news): the chosen option is filled dark, the others read as buttons */
.seg { padding: 4px; gap: 4px; background: var(--card); border: 1px solid var(--line-2); }
.seg button { padding: .6rem 1rem; color: var(--text-2); transition: background var(--dur), color var(--dur); }
.seg button:hover { background: var(--tile); color: var(--text); }
.seg button[aria-selected="true"], .seg button[aria-selected="true"]:hover { background: var(--text); color: var(--bg); box-shadow: 0 1px 3px rgba(23,20,14,.2); }
.seg button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 1px; }

/* converter: the 30-day range sits under the card */
.hx-side { display: grid; gap: .9rem; min-width: 0; }
.hx-side .conv-range { background: var(--card); border-color: var(--line); padding: .9rem 1.1rem; }

/* currency pickers: button with logo or flag, list with names */
.conv-in { position: relative; }
.ccy-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ccy-btn { flex: none; display: flex; align-items: center; gap: .5rem; padding: 0 .85rem 0 .8rem; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font: 600 .9rem var(--mono); border-radius: 0 var(--r2) var(--r2) 0; transition: background var(--dur); }
.ccy-btn:hover, .ccy-btn[aria-expanded="true"] { background: var(--tile); }
.ccy-btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }
.ccy-caret { width: .95rem; height: .95rem; color: var(--text-2); transition: transform var(--dur); }
.ccy-btn[aria-expanded="true"] .ccy-caret { transform: rotate(180deg); }
.ccy-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: -1px; right: -1px; max-height: 18.5rem; overflow-y: auto; margin: 0; padding: .35rem; list-style: none;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r2); box-shadow: 0 18px 40px -18px rgba(23,20,14,.35); scrollbar-width: thin; }
.ccy-list:focus { outline: none; }
.ccy-list li { display: grid; grid-template-columns: auto 4rem minmax(0, 1fr) 1rem; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: calc(var(--r2) - 2px); cursor: pointer; }
.ccy-list li b { font: 600 .85rem var(--mono); }
.ccy-list li span:last-child { font-size: .85rem; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccy-list li.is-active { background: var(--tile); }
.ccy-list li[aria-selected="true"] b { color: var(--accent); }
.ccy-list li::after { content: ""; }
.ccy-list li[aria-selected="true"]::after { content: "✓"; color: var(--accent); font-size: .85rem; }
.mk-badge.is-flag { overflow: hidden; box-shadow: 0 0 0 1px rgba(23,20,14,.1); }
.mk-badge.is-flag img { border-radius: 50%; object-fit: cover; }
/* the Individual / Company switch in "How it works" uses the same switch */
.who.seg { border-radius: var(--r2); overflow: visible; }
.who.seg button { font: 500 .82rem/1 var(--font); letter-spacing: 0; text-transform: none; border-radius: calc(var(--r2) - 2px); }
/* currency sign after the name, in a lighter tone: Dollaro statunitense US$ */
.mk-sign { display: inline-block; flex: none; margin-left: .45rem; font: 500 .85em/1 var(--font); letter-spacing: 0; color: var(--text-3); }
.mk-name b { display: flex; align-items: center; min-width: 0; }
.mk-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ccy-sign { font: normal 600 .8rem var(--mono); color: var(--text-3); margin-left: .35rem; }
/* swap button: centred between the two amount boxes (the "You receive" label sits in the gap below it) */
.conv-swap { translate: 0 .8rem; }
