/* LIONTRADE — core design system (light, Oct 2026).
   After the Lexington "Navy" reference: near-white lavender ground, deep navy
   ink, the logo's ultramarine for emphasis, gradient fields (fx.js) for the
   hero, section breaks and footer. Shared by every page. */

:root {
  --bg: #F8F8FC;
  --surface: #FFFFFF;
  --ink: #12142B;
  --ink-mid: #474A66;
  --ink-lo: #63667F;
  --line: #E4E5F0;
  --line-strong: #C9CBDD;
  --brand: #2300F4;
  --brand-hi: #3D22FF;
  --tint-1: #ECEAFF;
  --tint-2: #E3E8FF;
  --tint-3: #F1F2FA;
  --navy: #0B0D2B;
  --ok: #1F8A5B;
  --ok-tint: #E3F4EC;
  --err: #B42318;
  --err-tint: #FDECEA;
  --sans: 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; font-weight: 600; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons: primary / secondary / text link ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 8px;
  font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .18s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 2px rgba(18,20,43,.18); }
.btn-primary:hover { background: var(--brand); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--tint-1); }
.btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(10,11,44,.18); }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-wide { width: 100%; }
.wa { width: 8px; height: 8px; border-radius: 50%; background: #25D366; flex: none; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 500 15px var(--sans); color: var(--ink); text-decoration: none; }
.link svg { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.link:hover { color: var(--brand); }
.link:hover svg { transform: translateX(3px); }
.spin { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- type ---------- */
.label { display: inline-flex; gap: 8px; font: 500 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mid); }
.label::before { content: "///"; color: var(--brand); letter-spacing: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.028em; }
.h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; }
.h1-page { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; }
.h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.lede { font-size: 18px; color: var(--ink-mid); max-width: 560px; margin: 18px 0 0; }
.muted { color: var(--ink-mid); }
.mono { font-family: var(--mono); font-size: .92em; }

/* ---------- editorial sections ---------- */
.sec { padding: clamp(80px, 10vw, 136px) 0; }
.sec.tight { padding-top: 0; }
.sec-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 32px; }
.sec-grid > .label { padding-top: 12px; }
.sec-body { margin-top: 56px; }

/* ---------- header ---------- */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
header.site .bar { display: flex; align-items: center; gap: 28px; height: 80px; }
header.site .brand { display: flex; align-items: center; }
header.site .brand img { height: 34px; width: auto; filter: brightness(0) invert(1); transition: filter .25s; }
header.site nav { display: flex; gap: 26px; margin-left: 20px; }
header.site nav a { font-size: 15px; color: rgba(255,255,255,.84); text-decoration: none; padding: 10px 0; }
header.site nav a:hover, header.site nav a[aria-current] { color: #fff; }
header.site nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
header.site .acts { margin-left: auto; display: flex; gap: 10px; align-items: center; }
header.site .btn { min-height: 42px; font-size: 14.5px; padding: 0 16px; }
header.site.solid { background: rgba(248,248,252,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
header.site.solid .brand img { filter: none; }
header.site.solid nav a { color: var(--ink-mid); }
header.site.solid nav a:hover, header.site.solid nav a[aria-current] { color: var(--ink); }
header.site.solid .btn-ghost-dark { color: var(--ink); border-color: var(--line-strong); background: transparent; }
header.site.solid .btn-on-dark { background: var(--ink); color: #fff; }
header.site.solid .btn-on-dark:hover { background: var(--brand); }
.menu-btn { display: none; min-height: 42px; padding: 0 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.42); background: transparent; color: #fff; font-weight: 500; cursor: pointer; }
header.site.solid .menu-btn { color: var(--ink); border-color: var(--line-strong); }
.menu-panel { position: fixed; inset: 88px 12px auto 12px; z-index: 29; display: none; flex-direction: column; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 24px 48px -16px rgba(18,20,43,.25); }
.menu-panel.open { display: flex; }
.menu-panel a { padding: 14px 12px; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel a:last-child { border-bottom: 0; }

/* ---------- gradient fields: CSS fallback under a WebGL canvas (fx.js) ---------- */
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fx-css, .fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.fx canvas.on { opacity: 1; }
.fx-css.arch { background:
    radial-gradient(160% 105% at 38% 0%, #0A0B2C 0%, #0A0B2C 38%, #1C1A7A 52%, #3A2BF2 65%, #B8BCF5 80%, rgba(248,248,252,0) 96%),
    linear-gradient(#E6E7FA, var(--bg)); }
.fx-css.band { background: linear-gradient(200deg, var(--bg) 0%, #B8BCF5 24%, #3A2BF2 36%, #1C1A7A 44%, #0A0B2C 50%, #1C1A7A 56%, #3A2BF2 64%, #B8BCF5 76%, var(--bg) 100%); }
.fx-css.floor { background:
    radial-gradient(160% 68% at 50% 100%, #0A0B2C 0%, #0A0B2C 38%, #1C1A7A 52%, #3A2BF2 65%, #B8BCF5 80%, rgba(248,248,252,0) 96%),
    linear-gradient(to top, #E6E7FA, var(--bg)); }
.band { height: clamp(220px, 26vw, 360px); position: relative; overflow: hidden; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 168px 0 0; background: var(--bg); }
.page-hero .inner { position: relative; padding-bottom: clamp(120px, 14vw, 190px); }
.page-hero .crumbs { font-size: 14px; color: rgba(255,255,255,.72); display: flex; gap: 8px; }
.page-hero .crumbs a { color: #fff; text-decoration: none; }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero h1 { margin-top: 20px; max-width: 900px; }
.page-hero .lede { color: rgba(255,255,255,.84); max-width: 620px; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eyebrow-live { font-size: 14px; color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #7CF5B4; }
.eyebrow-live.closed .dot { background: #F5C27C; }

/* ---------- shared blocks ---------- */
.tag { display: inline-flex; align-items: center; font: 500 12.5px/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rows { border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.row b { font-weight: 500; font-size: 17px; }
.row p { margin: 0; color: var(--ink-mid); font-size: 15px; }
.row small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-lo); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.num { font-size: clamp(44px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.04em; }
.num small { font-size: .5em; color: var(--brand); letter-spacing: -0.01em; margin-left: 2px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field > .lab { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .req { color: var(--brand); }
.field .help { font-size: 13px; color: var(--ink-lo); }
.field .err-msg { display: none; font-size: 13px; color: var(--err); }
.field.err .err-msg { display: block; }
.input, .select, .textarea { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 14px; font: 16px var(--sans); color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.textarea { padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2312142B' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--tint-1); }
.field.err .input, .field.err .select, .field.err .textarea { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-tint); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 42px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-mid); font-weight: 500; font-size: 14.5px; cursor: pointer; transition: all .15s var(--ease); }
.seg button:hover { border-color: var(--ink); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.notice { border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.notice.err { background: var(--err-tint); color: var(--err); }
.notice.ok { background: var(--ok-tint); color: var(--ok); }
.notice.info { background: var(--tint-1); color: var(--ink); }

/* ---------- closing CTA + footer on a rising "floor" field ---------- */
.floor { position: relative; overflow: hidden; background: var(--bg); }
.floor > .cta, .floor > footer { position: relative; z-index: 1; }
.cta { padding: clamp(80px, 10vw, 128px) 0 clamp(220px, 24vw, 320px); }
.cta .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
footer.site { color: rgba(255,255,255,.8); padding: 0 0 32px; }
footer.site .cols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 28px; }
footer.site .brandcol img { height: 40px; width: auto; filter: brightness(0) invert(1); }
footer.site .brandcol p { margin: 16px 0 0; font-size: 14.5px; max-width: 280px; }
footer.site h3 { margin: 0 0 12px; font: 500 14px var(--sans); color: #fff; letter-spacing: 0; }
footer.site a, footer.site .col span { display: block; text-decoration: none; padding: 5px 0; font-size: 14.5px; }
footer.site a:hover { color: #fff; }
footer.site .status { margin-top: 18px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
footer.site .status i { width: 7px; height: 7px; border-radius: 50%; background: #7CF5B4; }
footer.site .status.closed i { background: #F5C27C; }
footer.site .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }

/* ---------- motion (driven by fx.js) ---------- */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em 0; margin: 0 -.08em -.1em 0; }
[data-words] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
[data-words].in .w > span { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].stagger { opacity: 1; transform: none; }
[data-reveal].stagger [data-reveal-item] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .25s var(--ease); }
[data-reveal].stagger.in [data-reveal-item] { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js [data-reveal-item] { opacity: 1 !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  header.site nav, header.site .btn-ghost-dark { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  /* Phone/tablet header: Menu · centred logo · Quote */
  header.site .bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; }
  header.site .menu-btn { grid-column: 1; grid-row: 1; justify-self: start; }
  header.site .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  header.site .acts { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
  header.site .brand img { height: 32px; }
}
@media (max-width: 400px) {
  header.site .brand img { height: 28px; }
  header.site .btn, .menu-btn { padding: 0 12px; }
}
@media (max-width: 960px) {
  .sec-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  footer.site .brandcol { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 12px; }
  footer.site .brandcol img { height: 44px; }
  footer.site .brandcol p { max-width: 340px; }
  footer.site .legal { justify-content: center; text-align: center; }
}
@media (max-width: 600px) {
  .row { grid-template-columns: 1fr; gap: 6px; }
  .grid-2 { grid-template-columns: 1fr; }
  header.site .bar { height: 72px; }
  .menu-panel { inset: 80px 12px auto 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  [data-reveal], [data-reveal] [data-reveal-item] { opacity: 1 !important; transform: none !important; }
}
.floor.short .floor-gap { height: clamp(140px, 16vw, 220px); }
