:root {
  --ink: #101418;
  --muted: #667078;
  --paper: #f1eee7;
  --paper-bright: #faf8f3;
  --night: #070b0e;
  --night-2: #10171b;
  --line: rgba(16, 20, 24, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --gold: #a77a39;
  --gold-bright: #d5af74;
  --sans: Inter, Aptos, ui-sans-serif, system-ui, sans-serif;
  --display: Eurostile, "Eurostile Extended", "Eurostile LT Std", "Microgramma D Extended", Microgramma, "Bank Gothic", Orbitron, "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 82px;
  padding: 0 clamp(22px, 4vw, 72px); background: rgba(12,17,20,.97); border-bottom: 1px solid rgba(213,175,116,.38); color: #fff; backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-decoration: none; }
.brand img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(213,175,116,.35); }
.site-header nav { width: max-content; display: flex; justify-self: center; justify-content: center; align-items: center; gap: 5px; padding: 5px; border: 1px solid rgba(213,175,116,.24); background: rgba(255,255,255,.045); }
.site-header nav a { position: relative; padding: 11px clamp(13px, 1.5vw, 21px); color: rgba(255,255,255,.72); font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: color .2s ease, background .2s ease; }
.site-header nav a::after { content: none; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a[aria-current="page"] { background: rgba(213,175,116,.14); color: var(--gold-bright); }
.text-button { border: 0; background: transparent; cursor: pointer; }
.header-cta { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid var(--gold); background: var(--gold); color: var(--night); font-family: var(--display); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.header-cta:hover, .header-cta:focus-visible { background: var(--gold-bright); color: var(--night); }
.menu-toggle { position: relative; display: none; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(213,175,116,.45); background: rgba(255,255,255,.04); cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 20px; height: 1px; margin: 5px auto; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle:hover, .menu-toggle:focus-visible { border-color: var(--gold-bright); background: rgba(213,175,116,.12); }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; min-height: calc(100vh - 110px); display: flex; align-items: center; overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(4,7,9,.95) 0%, rgba(4,7,9,.86) 34%, rgba(4,7,9,.47) 57%, rgba(4,7,9,.08) 78%), linear-gradient(0deg, rgba(4,7,9,.64), transparent 52%); }
.hero-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.82) contrast(1.04); }
.hero-copy { position: relative; z-index: 2; width: min(1450px, 78%); align-self: flex-start; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(30px, 3.2vw, 50px) clamp(28px, 7vw, 120px) clamp(70px, 8vw, 120px); text-shadow: 0 3px 22px rgba(0,0,0,.42); }
.eyebrow { margin: 0 0 24px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1 { max-width: 820px; margin: 0; font-size: clamp(48px, 5.8vw, 92px); line-height: .96; letter-spacing: .005em; text-transform: uppercase; }
.hero h1 { max-width: 1200px; font-size: clamp(44px, 4.8vw, 76px); line-height: .94; }
h1 em { color: var(--gold-bright); font-family: var(--display); font-style: normal; font-weight: 700; }
.hero-lede { max-width: 650px; margin: 35px 0 0; color: rgba(255,255,255,.76); font-size: clamp(16px, 1.4vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; border: 1px solid transparent; border-radius: 0; font-size: 12px; font-weight: 600; letter-spacing: .045em; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.hero .button-primary { border-color: rgba(255,255,255,.16); background: #f3eee3; color: var(--ink); text-shadow: none; }
.hero .button-primary:hover { background: var(--gold-bright); }
.hero .button-quiet { border-color: rgba(255,255,255,.35); color: #fff; text-shadow: none; }
.hero .button-quiet:hover { background: rgba(255,255,255,.1); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--gold); }
.button-quiet { border-color: var(--line); background: transparent; }
.button-quiet:hover { background: var(--paper-bright); }
.hero-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 65px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.24); list-style: none; }
.hero-principles li { color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .06em; }
.hero-principles span { display: block; margin-bottom: 5px; color: var(--gold-bright); font-size: 9px; }
.hero-evidence-card { position: absolute; z-index: 3; right: clamp(24px, 4vw, 66px); bottom: clamp(24px, 4vw, 60px); width: min(300px, calc(100% - 48px)); padding: 22px; border: 1px solid var(--line-light); background: rgba(9,14,17,.8); color: #fff; backdrop-filter: blur(16px); }
.hero-evidence-card > span { color: var(--gold-bright); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.hero-evidence-card > strong { display: block; margin: 8px 0 20px; font-family: var(--display); font-size: 22px; font-weight: 500; }
.hero-evidence-card dl { margin: 0; }
.hero-evidence-card dl div { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line-light); font-size: 11px; }
.hero-evidence-card dt { color: rgba(255,255,255,.52); }
.hero-evidence-card dd { margin: 0; }

.signal-strip { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 24px clamp(28px, 6vw, 104px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-bright); }
.signal-strip p { margin: 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.signal-strip div { display: flex; flex-wrap: wrap; gap: 11px 30px; }
.signal-strip span { font-size: 11px; letter-spacing: .04em; }
.signal-strip span::before { content: "·"; margin-right: 12px; color: var(--gold); }

.section { padding: clamp(80px, 10vw, 150px) clamp(28px, 7vw, 120px); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(300px, .55fr); gap: 70px; align-items: end; margin-bottom: 68px; }
h2 { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1.06; letter-spacing: -.045em; }
.section-heading > p, .process-intro > p:last-child, .issuer-card p, .closing-section > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.flow-section { background: var(--night-2); color: #fff; }
.flow-section .section-heading > p { color: rgba(255,255,255,.62); }
.flow-diagram { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; }
.flow-diagram > i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--gold-bright); font-style: normal; }
.flow-step { position: relative; min-height: 250px; display: flex; flex-direction: column; padding: 26px; overflow: hidden; color: #fff; }
.flow-step::after { content: ""; position: absolute; right: -45px; bottom: -60px; width: 145px; height: 145px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.035), 0 0 0 64px rgba(255,255,255,.025); }
.flow-step > span { font-size: 9px; letter-spacing: .14em; opacity: .72; }
.flow-step > strong { margin-top: 38px; font-family: var(--display); font-size: 24px; line-height: 1.05; }
.flow-step > p { margin: 13px 0 28px; font-size: 12px; line-height: 1.6; opacity: .78; }
.flow-step > b { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; padding: 7px 9px; border: 1px solid rgba(255,255,255,.35); font-size: 9px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.flow-upload { background: linear-gradient(145deg, #155477, #132b42); }
.flow-organize { background: linear-gradient(145deg, #087e78, #16433f); }
.flow-advance { background: linear-gradient(145deg, #c18429, #714516); }
.flow-sign { background: linear-gradient(145deg, #744c86, #382744); }
.asset-section { background: var(--paper-bright); }
.asset-section .section-heading h2 { max-width: 840px; font-size: clamp(32px, 4vw, 58px); }
.asset-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.asset-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 8px 13px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.filter.is-active { border-color: var(--line); background: #fff; color: var(--ink); }
.asset-toolbar > span { color: var(--muted); font-size: 11px; }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.asset-card { border: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.asset-card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(16,20,24,.08); }
.asset-card[hidden] { display: none; }
.asset-art { position: relative; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; overflow: hidden; color: #fff; }
.asset-art::before, .asset-art::after { content: ""; position: absolute; pointer-events: none; }
.asset-art::before { display: none; }
.asset-art::after { z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(4,7,9,.18) 0%, rgba(4,7,9,.08) 42%, rgba(4,7,9,.82) 100%); }
.asset-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.asset-card:hover .asset-art img { transform: scale(1.035); }
.asset-art span, .asset-art b { position: relative; z-index: 2; text-shadow: 0 2px 18px rgba(0,0,0,.65); }
.asset-art span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.asset-art b { font-family: var(--display); font-size: 31px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.asset-energy .asset-art { background: linear-gradient(145deg, #4f4b2f, #151a16 72%); }
.asset-property .asset-art { background: linear-gradient(145deg, #615546, #15181a 72%); }
.asset-collectible .asset-art { background: linear-gradient(145deg, #304b50, #11171b 72%); }
.asset-body { padding: 24px; }
.asset-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.pill { padding: 6px 8px; border: 1px solid var(--line); color: var(--gold); }
.asset-body h3 { margin: 20px 0 12px; font-size: 24px; letter-spacing: -.03em; }
.asset-body > p { min-height: 74px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.asset-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.asset-facts div { padding: 14px 5px 14px 0; }
.asset-facts dt { color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.asset-facts dd { margin: 6px 0 0; font-size: 11px; }
.asset-link { padding: 0; border: 0; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; }

.process-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 150px); background: var(--night); color: #fff; }
.process-intro { position: sticky; top: 120px; align-self: start; }
.process-intro > p:last-child { max-width: 500px; margin-top: 28px; color: rgba(255,255,255,.55); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 30px 0 34px; border-top: 1px solid var(--line-light); }
.process-list li:last-child { border-bottom: 1px solid var(--line-light); }
.process-list li > span { color: var(--gold-bright); font-size: 10px; }
.process-list h3 { margin: -5px 0 10px; font-size: 30px; font-weight: 400; }
.process-list p { max-width: 580px; margin: 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; }

.issuer-section { background: var(--paper); }
.issuer-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: clamp(35px, 6vw, 80px); border: 1px solid var(--line); background: var(--paper-bright); }
.issuer-card > div:last-child { align-self: center; }
.issuer-card ul { margin: 26px 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.issuer-card li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.issuer-card li::before { content: "↳"; margin-right: 12px; color: var(--gold); }

.trust-section { padding-top: 30px; }
.trust-heading { margin-bottom: 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust-grid article { min-height: 270px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid span { color: var(--gold); font-size: 9px; }
.trust-grid h3 { margin: 55px 0 16px; font-size: 21px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.closing-section { padding: clamp(90px, 12vw, 170px) 28px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(213,175,116,.19), transparent 44%), var(--night-2); color: #fff; }
.closing-section h2 { margin-bottom: 26px; }
.closing-section > p:not(.eyebrow) { max-width: 760px; margin: 0 auto 34px; color: rgba(255,255,255,.67); }
.closing-section .button-primary { background: var(--gold-bright); color: var(--night); }
.closing-section .button-primary:hover { background: #fff; }

.site-footer { padding: 65px clamp(28px, 6vw, 104px) 25px; background: var(--night); color: #fff; }
.footer-identity { max-width: 620px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .17em; }
.footer-brand span { display: block; margin-top: 5px; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-provider-note { max-width: 590px; margin: 24px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.75; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 980px; margin: 65px 0 65px auto; }
.footer-links > div { display: grid; gap: 11px; }
.footer-links span { margin-bottom: 8px; color: var(--gold-bright); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 25px; border-top: 1px solid var(--line-light); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.42); font-size: 9px; line-height: 1.6; }

.access-dialog { width: min(570px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: clamp(28px, 5vw, 52px); border: 0; background: var(--paper-bright); box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.access-dialog::backdrop { background: rgba(4,7,9,.76); backdrop-filter: blur(7px); }
.access-dialog h2 { font-size: clamp(35px, 6vw, 52px); }
.access-dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.dialog-close { position: absolute; top: 15px; right: 18px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.access-dialog form { display: grid; gap: 15px; margin-top: 28px; }
.access-dialog label { display: grid; gap: 7px; color: #4f585e; font-size: 11px; }
.access-dialog input, .access-dialog select, .access-dialog textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); }
.access-dialog textarea { resize: vertical; }
.form-note { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

.legal-main { min-height: 70vh; background: var(--paper-bright); }
.legal-hero { padding: clamp(80px, 11vw, 150px) clamp(28px, 7vw, 120px) clamp(55px, 8vw, 100px); border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-hero h1 { max-width: 980px; color: var(--ink); font-size: clamp(46px, 7vw, 88px); text-shadow: none; }
.legal-hero > p:last-child { max-width: 760px; margin: 30px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 790px); gap: clamp(50px, 9vw, 145px); justify-content: center; padding: clamp(65px, 9vw, 120px) clamp(28px, 7vw, 120px); }
.legal-nav { position: sticky; top: 120px; align-self: start; display: grid; gap: 12px; padding-top: 4px; }
.legal-nav span { margin-bottom: 8px; color: var(--gold); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.legal-nav a { color: var(--muted); font-size: 12px; text-decoration: none; }
.legal-nav a[aria-current="page"], .legal-nav a:hover { color: var(--ink); }
.legal-content { min-width: 0; }
.legal-notice { margin: 0 0 52px; padding: 22px 24px; border-left: 3px solid var(--gold); background: var(--paper); color: #4d565d; font-size: 13px; line-height: 1.7; }
.legal-content section { padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--line); }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { margin: 0 0 18px; font-size: clamp(25px, 3vw, 36px); letter-spacing: .01em; }
.legal-content h3 { margin: 28px 0 10px; font-size: 18px; }
.legal-content p, .legal-content li { color: #566067; font-size: 14px; line-height: 1.8; }
.legal-content ul { padding-left: 19px; }
.legal-content a { text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 25px; padding: 24px 0; font-family: var(--display); font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 24px; }

/* PrimaFlow transaction intelligence */
.algorithm-section { padding-top: clamp(42px, 5vw, 72px); background: var(--paper); }
.algorithm-section .section-heading h2 { max-width: 900px; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; }
.algorithm-section .section-heading h2 span { color: var(--gold); }
.algorithm-model { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); background: var(--paper-bright); }
.formula-card { display: flex; flex-direction: column; justify-content: center; min-height: 430px; padding: clamp(32px, 5vw, 68px); border-right: 1px solid var(--line); }
.formula-card > span { color: var(--gold); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.formula-card > strong { display: block; margin: 35px 0; font-family: var(--display); font-size: clamp(25px, 3vw, 42px); font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.formula-card > p { margin: 30px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.formula-legend { display: flex; flex-wrap: wrap; gap: 10px; }
.formula-legend span { padding: 8px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.formula-legend b { margin-right: 4px; color: var(--ink); font-family: var(--display); }
.agent-panel { padding: clamp(32px, 5vw, 58px); background: var(--night); color: #fff; }
.agent-panel ul { margin: 0; padding: 0; list-style: none; }
.agent-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 19px 0; border-top: 1px solid var(--line-light); }
.agent-panel li:last-child { border-bottom: 1px solid var(--line-light); }
.agent-panel li > span { color: var(--gold-bright); font-size: 9px; }
.agent-panel strong { display: block; font-family: var(--display); font-size: 15px; }
.agent-panel small { display: block; margin-top: 7px; color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.6; }
.algorithm-guardrail { max-width: 1000px; margin: 22px auto 0; color: var(--muted); font-size: 10px; line-height: 1.7; text-align: center; }

/* One-bank pilot */
.pilot-hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pilot-hero .button-primary { background: #f3eee3; color: var(--ink); }
.pilot-hero .button-primary:hover { background: var(--gold-bright); }
.pilot-hero .button-quiet { border-color: rgba(255,255,255,.3); color: #fff; }
.pilot-hero .button-quiet:hover { background: rgba(255,255,255,.08); }
.pilot-split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.pilot-column { min-height: 420px; padding: clamp(32px, 5vw, 65px); }
.pilot-column + .pilot-column { border-left: 1px solid var(--line); }
.pilot-column > span { color: var(--gold); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.pilot-column ul { margin: 45px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pilot-column li { padding: 16px 0; border-bottom: 1px solid var(--line); color: #566067; font-size: 13px; line-height: 1.55; }
.pilot-column li::before { content: "↳"; margin-right: 12px; color: var(--gold); }
.pilot-column.is-dark { background: var(--night); color: #fff; }
.pilot-column.is-dark ul, .pilot-column.is-dark li { border-color: var(--line-light); }
.pilot-column.is-dark li { color: rgba(255,255,255,.65); }
.pilot-timeline { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.pilot-timeline li { display: grid; grid-template-columns: 100px minmax(0, 1fr) 180px; gap: 28px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); }
.pilot-timeline li > span { color: var(--gold); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.pilot-timeline h3 { margin: 0 0 8px; font-size: 20px; }
.pilot-timeline p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pilot-timeline li > b { justify-self: end; color: #586168; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Institutional platform pages */
.enterprise-main { background: var(--paper-bright); }
.enterprise-hero { position: relative; overflow: hidden; padding: clamp(95px, 12vw, 175px) clamp(28px, 7vw, 120px) clamp(70px, 9vw, 125px); border-bottom: 1px solid var(--line); background: var(--night); color: #fff; }
.enterprise-hero::after { content: ""; position: absolute; width: min(620px, 55vw); aspect-ratio: 1; right: -12%; bottom: -65%; border: 1px solid rgba(213,175,116,.28); border-radius: 50%; box-shadow: 0 0 0 80px rgba(213,175,116,.03), 0 0 0 160px rgba(213,175,116,.02); }
.enterprise-hero h1 { position: relative; z-index: 1; max-width: 1050px; font-size: clamp(48px, 7.2vw, 104px); }
.enterprise-hero h1 em { color: var(--gold-bright); font-style: normal; }
.enterprise-hero > p:last-child { position: relative; z-index: 1; max-width: 780px; margin: 34px 0 0; color: rgba(255,255,255,.62); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.7; }
.enterprise-section { padding: clamp(75px, 9vw, 135px) clamp(28px, 7vw, 120px); }
.enterprise-section.is-paper { background: var(--paper); }
.enterprise-section.is-night { background: var(--night); color: #fff; }
.enterprise-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: clamp(45px, 8vw, 120px); align-items: end; margin-bottom: 55px; }
.enterprise-heading h2 { max-width: 840px; }
.enterprise-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.is-night .enterprise-heading > p { color: rgba(255,255,255,.58); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 245px; padding: 29px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid .feature-number { color: var(--gold); font-size: 9px; letter-spacing: .12em; }
.feature-grid h3 { margin: 58px 0 14px; font-size: 22px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.is-night .feature-grid { border-color: var(--line-light); }
.is-night .feature-grid article { border-color: var(--line-light); }
.is-night .feature-grid p { color: rgba(255,255,255,.55); }
.workflow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 55px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-grid li { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.workflow-grid li > span { color: var(--gold); font-size: 10px; }
.workflow-grid h3 { margin: -5px 0 9px; font-size: 21px; }
.workflow-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.control-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 110px); padding: clamp(42px, 6vw, 80px); border: 1px solid var(--line); background: #fff; }
.control-band h2 { font-size: clamp(37px, 4.5vw, 66px); }
.control-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.control-list li { padding: 15px 0; border-bottom: 1px solid var(--line); color: #525c63; font-size: 13px; line-height: 1.5; }
.control-list li::before { content: "✓"; margin-right: 12px; color: var(--gold); }
.fee-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; align-items: center; padding: clamp(36px, 6vw, 75px); background: #dcd4c6; }
.fee-number { font-family: var(--display); font-size: clamp(80px, 12vw, 170px); font-weight: 700; line-height: .8; color: var(--gold); }
.fee-panel h2 { font-size: clamp(32px, 4vw, 55px); }
.fee-panel p { max-width: 700px; margin: 20px 0 0; color: #566067; font-size: 14px; line-height: 1.75; }
.enterprise-cta { padding: clamp(85px, 11vw, 150px) 28px; background: var(--night); color: #fff; text-align: center; }
.enterprise-cta h2 { margin-bottom: 24px; }
.enterprise-cta > p:not(.eyebrow) { max-width: 700px; margin: 0 auto 32px; color: rgba(255,255,255,.58); line-height: 1.7; }
.enterprise-cta .button-primary { background: #f3eee3; color: var(--ink); }
.enterprise-cta .button-primary:hover { background: var(--gold-bright); }

/* Portal preview */
.preview-banner { padding: 13px 28px; border-bottom: 1px solid rgba(213,175,116,.35); background: #17150f; color: var(--gold-bright); font-size: 10px; line-height: 1.5; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
.portal-hero { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 650px; background: var(--night); color: #fff; }
.portal-hero-copy { align-self: center; padding: clamp(70px, 9vw, 130px) clamp(28px, 7vw, 120px); }
.portal-hero h1 { font-size: clamp(48px, 6.4vw, 92px); }
.portal-hero-copy > p:last-of-type { max-width: 690px; color: rgba(255,255,255,.58); font-size: 16px; line-height: 1.7; }
.portal-access-card { align-self: center; margin: 45px clamp(28px, 6vw, 80px) 45px 0; padding: 34px; border: 1px solid var(--line-light); background: rgba(255,255,255,.04); }
.portal-access-card > span { color: var(--gold-bright); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.portal-access-card h2 { margin: 12px 0 14px; font-size: 31px; }
.portal-access-card p { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.65; }
.portal-access-card label { display: grid; gap: 8px; margin: 24px 0 12px; color: rgba(255,255,255,.62); font-size: 10px; }
.portal-access-card input { width: 100%; padding: 14px; border: 1px solid var(--line-light); background: rgba(255,255,255,.06); color: #fff; }
.portal-access-card .button { width: 100%; background: #f3eee3; color: var(--ink); }
.portal-access-card small { display: block; margin-top: 13px; color: rgba(255,255,255,.35); font-size: 9px; line-height: 1.5; }
.portal-preview { padding: clamp(70px, 9vw, 125px) clamp(28px, 6vw, 100px); background: #e8e4dc; }
.workspace-shell { overflow: hidden; border: 1px solid var(--line); background: var(--paper-bright); box-shadow: 0 30px 80px rgba(16,20,24,.09); }
.workspace-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.workspace-topbar strong { font-family: var(--display); font-size: 12px; letter-spacing: .1em; }
.workspace-topbar span { color: var(--muted); font-size: 10px; }
.workspace-grid { display: grid; grid-template-columns: 245px minmax(0, 1fr) 310px; min-height: 650px; }
.workspace-steps { margin: 0; padding: 26px 20px; border-right: 1px solid var(--line); background: #ece8df; list-style: none; }
.workspace-steps li { display: grid; grid-template-columns: 25px 1fr; gap: 10px; padding: 12px 8px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.workspace-steps li span { color: var(--gold); font-size: 9px; }
.workspace-steps li.is-active { background: #fff; color: var(--ink); }
.workspace-form { padding: 38px; }
.workspace-form h2 { font-size: clamp(30px, 3.5vw, 46px); }
.workspace-form > p { max-width: 680px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.portal-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.portal-form-grid label { display: grid; gap: 8px; color: #555f65; font-size: 10px; }
.portal-form-grid label.is-wide { grid-column: 1 / -1; }
.portal-form-grid input, .portal-form-grid select { width: 100%; min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); }
.workspace-summary { padding: 30px 25px; border-left: 1px solid var(--line); background: var(--night-2); color: #fff; }
.workspace-summary > span { color: var(--gold-bright); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.workspace-summary h3 { margin: 12px 0 25px; font-size: 23px; }
.momentum-score { display: flex; align-items: flex-end; gap: 13px; margin: 20px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line-light); }
.momentum-score > strong { color: var(--gold-bright); font-family: var(--display); font-size: 68px; line-height: .8; }
.momentum-score small { color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.55; text-transform: uppercase; letter-spacing: .08em; }
.workspace-summary dl { margin: 0; }
.workspace-summary dl div { padding: 13px 0; border-top: 1px solid var(--line-light); }
.workspace-summary dt { color: rgba(255,255,255,.4); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.workspace-summary dd { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.workspace-summary .status-line { margin-top: 26px; padding: 15px; border: 1px solid rgba(213,175,116,.3); color: var(--gold-bright); font-size: 10px; line-height: 1.6; }
.portal-note { max-width: 880px; margin: 28px auto 0; color: #5f696f; font-size: 11px; line-height: 1.7; text-align: center; }
.local-sandbox { background: var(--paper-bright); }
.sandbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sandbox-card { padding: clamp(28px, 4vw, 45px); border: 1px solid var(--line); background: #fff; }
.sandbox-card.is-wide { grid-column: 1 / -1; }
.sandbox-card > span, .sandbox-card-heading span { color: var(--gold); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.sandbox-card h3 { margin: 14px 0 12px; font-size: 25px; }
.sandbox-card > p { margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.sandbox-upload { min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 14px; border: 1px dashed rgba(167,122,57,.55); background: var(--paper); color: #555f65; font-size: 11px; cursor: pointer; }
.sandbox-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sandbox-list { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sandbox-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sandbox-list b { font-size: 11px; font-weight: 600; }
.sandbox-list small { color: var(--muted); font-size: 9px; text-align: right; }
.sandbox-inline-form { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.sandbox-inline-form label { display: grid; gap: 7px; color: var(--muted); font-size: 9px; }
.sandbox-inline-form input, .sandbox-inline-form select, .task-add-form input, .task-add-form select { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 0; background: var(--paper-bright); color: var(--ink); }
.sandbox-inline-form .button { grid-column: 1 / -1; }
.sandbox-card-heading { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; }
.sandbox-progress { display: flex; align-items: flex-end; gap: 7px; }
.sandbox-progress strong { color: var(--gold); font-family: var(--display); font-size: 28px; }
.sandbox-progress small { padding-bottom: 3px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.task-board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.task-board label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; min-height: 78px; padding: 15px; border: 1px solid var(--line); background: var(--paper-bright); cursor: pointer; }
.task-board input { width: 15px; height: 15px; accent-color: var(--gold); }
.task-board b { display: block; font-size: 11px; line-height: 1.45; }
.task-board small { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.task-board label:has(input:checked) { opacity: .62; }
.task-board label:has(input:checked) b { text-decoration: line-through; }
.task-add-form { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 10px; margin-top: 18px; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto auto; justify-content: space-between; }
  .site-header nav { position: absolute; top: 82px; left: 0; right: 0; width: auto; display: none; align-items: stretch; padding: 18px 24px 24px; border: 0; border-bottom: 1px solid rgba(213,175,116,.35); background: var(--night-2); }
  .site-header nav.is-open { display: grid; }
  .site-header nav a { padding: 13px 12px; }
  .site-header nav a::after { display: none; }
  .menu-toggle { display: block; grid-column: 2; }
  .header-cta { grid-column: 3; }
  .hero { min-height: 780px; align-items: flex-start; }
  .hero-copy { width: min(850px, 82%); min-height: 680px; padding-top: 38px; }
  .hero-background { object-position: 64% center; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .algorithm-model { grid-template-columns: 1fr; }
  .flow-diagram { grid-template-columns: 1fr 34px 1fr; }
  .flow-diagram > i:nth-of-type(2) { display: none; }
  .flow-step { min-height: 230px; }
  .formula-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .pilot-timeline li { grid-template-columns: 80px minmax(0, 1fr); }
  .pilot-timeline li > b { grid-column: 2; justify-self: start; }
  .workspace-grid { grid-template-columns: 200px minmax(0, 1fr); }
  .workspace-summary { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
  .workspace-summary dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding-inline: 18px; }
  .site-header nav { top: 66px; }
  .brand span { display: none; }
  .header-cta { font-size: 10px; }
  .hero { min-height: 790px; align-items: flex-start; }
  .hero::before { background: linear-gradient(90deg, rgba(4,7,9,.9), rgba(4,7,9,.48)), linear-gradient(0deg, rgba(4,7,9,.88) 0%, rgba(4,7,9,.18) 62%); }
  .hero-copy { width: 100%; min-height: auto; padding: 32px 24px 250px; }
  h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-principles { grid-template-columns: 1fr; gap: 14px; margin-top: 48px; }
  .hero-background { object-position: 67% center; }
  .hero-evidence-card { right: 24px; bottom: 24px; left: 24px; width: auto; }
  .signal-strip { align-items: flex-start; flex-direction: column; padding-inline: 24px; }
  .signal-strip div { display: grid; grid-template-columns: 1fr 1fr; }
  .flow-diagram { grid-template-columns: 1fr; }
  .flow-diagram > i { width: 30px; height: 30px; margin: -2px auto; transform: rotate(90deg); }
  .flow-diagram > i:nth-of-type(2) { display: grid; }
  .flow-step { min-height: 215px; }
  .section { padding: 80px 24px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 48px; }
  h2 { font-size: clamp(38px, 12vw, 55px); }
  .asset-toolbar { align-items: flex-start; flex-direction: column; }
  .asset-grid { grid-template-columns: 1fr; }
  .process-section { grid-template-columns: 1fr; gap: 50px; }
  .process-intro { position: static; }
  .issuer-card { grid-template-columns: 1fr; gap: 35px; padding: 32px 24px; }
  .trust-section { padding-top: 10px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article { min-height: 230px; }
  .footer-links { grid-template-columns: 1fr 1fr; margin-left: 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 45px; }
  .legal-nav { position: static; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; }
  .legal-nav span { grid-column: 1 / -1; }
  .enterprise-heading, .control-band, .fee-panel, .portal-hero { grid-template-columns: 1fr; }
  .feature-grid, .workflow-grid { grid-template-columns: 1fr; }
  .formula-card { min-height: 0; }
  .pilot-split { grid-template-columns: 1fr; }
  .pilot-column { min-height: 0; }
  .pilot-column + .pilot-column { border-left: 0; border-top: 1px solid var(--line); }
  .pilot-timeline li { grid-template-columns: 1fr; gap: 11px; }
  .pilot-timeline li > b { grid-column: 1; }
  .portal-access-card { margin: 0 24px 70px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .workspace-steps { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .workspace-form { padding: 28px 22px; }
  .portal-form-grid { grid-template-columns: 1fr; }
  .portal-form-grid label.is-wide { grid-column: auto; }
  .workspace-summary dl { grid-template-columns: 1fr 1fr; }
  .sandbox-grid, .task-board { grid-template-columns: 1fr; }
  .sandbox-card.is-wide { grid-column: auto; }
  .sandbox-inline-form, .task-add-form { grid-template-columns: 1fr; }
  .sandbox-inline-form .button { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
