/*
  /preview/crypto/ campaign layer (Binary Systems, Inc.): "Cryptocurrency".
  Same family as /Company/ and /Clients/ (co- classes), loaded AFTER the five live stylesheets.
  Always dark ("vault" look) regardless of colour scheme. Body type stays the live
  "Lucida Grande" stack from text.css; only hashes and code use a monospace stack.
  Accents: Monero orange is the page accent; Bitcoin orange and Ethereum blue-violet
  appear only inside their chain cards.
*/
:root {
  --cx-xmr: #F26822;
  --cx-xmr-light: #ff9257;
  --cx-btc: #F7931A;
  --cx-eth: #627EEA;
  --cx-vault: #0b0c0e;
  --cx-panel: #14161a;
  --cx-line: #2a2e35;
  --cx-text: #c9ced6;
  --cx-dim: #8d96a3;
  --cx-mono: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Page: dark behind the header too, so the reverse-clear logo reads; menu bar unchanged */
body.cx-page { background: var(--cx-vault) none; color: var(--cx-text); }
#header picture > img { content: normal; }
#header picture { display: inline-block; }

/* Skip link */
.co-skip { position: absolute; left: -9999px; top: 0; z-index: 10; }
.co-skip:focus { left: 8px; top: 8px; padding: 8px 14px; background: #000; color: #fff; border-radius: 4px; outline: 3px solid var(--cx-xmr); }

.co { display: block; outline: none; }
.co h1, .co h2, .co h3 { line-height: 1.25; color: #fff; }
.co h1 { margin-bottom: 16px; }
.co h2 { margin-bottom: 18px; max-width: 760px; }
.co h3 { margin-bottom: 8px; }
.co ul, .co ol { list-style: none; }
.co li { margin-left: 0; }
.co a { color: var(--cx-xmr-light); }
.co a:hover { color: #fff; }
.co a:focus-visible, .co-foot a:focus-visible { outline: 3px solid var(--cx-xmr); outline-offset: 2px; border-radius: 3px; }

.co-wrap { position: relative; }
.co-dark { background: linear-gradient(180deg, #1c1e22 0%, #000 100%); color: var(--cx-text); }
.co-eyebrow { text-transform: uppercase; letter-spacing: .14em; color: var(--cx-xmr); margin-bottom: 10px; }
.co-intro { max-width: 760px; }
.co-lede { color: #dfe4ea; }

/* Bands */
.cx-band { padding: 56px 0 40px; background: linear-gradient(180deg, #121417, var(--cx-vault)); border-top: 1px solid #000; }
.cx-band-alt { background: linear-gradient(180deg, #16181c, #0d0e11); }

/* Buttons */
.co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.co-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 22px; text-decoration: none; box-sizing: border-box; text-align: center; }
.cx-btn {
  color: #fff !important;
  background: linear-gradient(180deg, #ffa06a 0%, var(--cx-xmr) 48%, #d9561a 52%, #a83f0f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 2px 8px rgba(0,0,0,.5);
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
}
.cx-btn:hover { filter: brightness(1.1); }
.co-btn-glass { color: #fff !important; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.co-btn-glass:hover { background: rgba(255,255,255,.14); }

/* Hero */
.cx-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 55% 80% at 85% 40%, rgba(242,104,34,.22), transparent 70%),
    radial-gradient(ellipse 40% 60% at 5% 100%, rgba(242,104,34,.08), transparent 70%),
    linear-gradient(180deg, #2a2c30 0%, #0a0b0d 55%, #000 100%);
  border-top: 1px solid #000;
  border-bottom: 3px solid var(--cx-xmr);
}
.co-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: center; position: relative; z-index: 1; }
.cx-hero .co-lede { max-width: 600px; }
.cx-accent { color: var(--cx-xmr); }
.co-hero-tag { color: var(--cx-dim); margin: 0; letter-spacing: .06em; text-transform: uppercase; }

/* Decorative block-hash ticker (CSS only) */
.cx-chain { position: absolute; left: 0; right: 0; bottom: 10px; overflow: hidden; pointer-events: none; opacity: .16; }
.cx-chain-track { display: flex; width: max-content; gap: 28px; animation: cx-scroll 90s linear infinite; }
.cx-chain-track span { font-family: var(--cx-mono); font-size: 11px; color: var(--cx-xmr-light); white-space: nowrap; }
@keyframes cx-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Decorative Merkle tree */
.cx-merkle { font-family: var(--cx-mono); font-size: 11px; color: var(--cx-dim); }
.cx-m-row { display: flex; justify-content: space-around; gap: 6px; position: relative; padding-bottom: 22px; }
.cx-m-row:last-of-type { padding-bottom: 0; }
.cx-m-row span { position: relative; display: block; padding: 6px 8px; border: 1px solid rgba(242,104,34,.35); border-radius: 6px; background: rgba(242,104,34,.06); text-align: center; line-height: 1.4; }
.cx-m-row span b { display: block; color: #e9edf2; font-weight: normal; word-break: break-all; }
.cx-m-row + .cx-m-row span::before { content: ""; position: absolute; left: 50%; top: -22px; height: 22px; border-left: 1px solid rgba(242,104,34,.45); }
.cx-m-root { border-color: var(--cx-xmr) !important; background: rgba(242,104,34,.14) !important; box-shadow: 0 0 18px rgba(242,104,34,.3); }
.cx-m-leaves span { flex: 1 1 0; min-width: 0; padding: 6px 4px; }
.cx-m-cap { margin: 14px 0 0; text-align: center; font-family: var(--cx-mono); font-size: 11px; color: var(--cx-dim); }

/* 01 */
.cx-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.cx-split-copy { max-width: 640px; }
.cx-lead { color: #fff; }
.cx-fung { padding: 22px 24px 4px; border-radius: 10px; background: var(--cx-panel); border: 1px solid var(--cx-line); border-left: 4px solid var(--cx-xmr); }

/* 02 chain cards */
.cx-chains { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 18px; margin-bottom: 20px; align-items: stretch; }
.cx-coin { position: relative; padding: 22px 22px 6px; border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--cx-line); border-top: 3px solid var(--c); }
.cx-btc { --c: var(--cx-btc); }
.cx-eth { --c: var(--cx-eth); }
.cx-xmr { --c: var(--cx-xmr); border-color: rgba(242,104,34,.45); border-top-width: 3px; background: linear-gradient(180deg, rgba(242,104,34,.12), rgba(242,104,34,.02)); box-shadow: 0 0 0 1px rgba(242,104,34,.15), 0 12px 32px rgba(242,104,34,.10); }
.cx-mark { width: 64px; height: 64px; margin: 0 0 14px; border-radius: 50%; line-height: 0; box-shadow: 0 4px 14px rgba(0,0,0,.55), 0 0 0 1px rgba(255,214,120,.18); }
.cx-mark img { display: block; width: 64px; height: 64px; border-radius: 50%; }
.cx-role { color: var(--c); text-transform: uppercase; letter-spacing: .12em; margin: -4px 0 12px; }
.cx-flag { position: absolute; top: 18px; right: 18px; margin: 0; padding: 0 10px; border-radius: 10px; background: var(--cx-xmr); color: #1a0a02; text-transform: uppercase; letter-spacing: .1em; }
.cx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cx-tags li { padding: 0 9px; border-radius: 10px; border: 1px solid var(--c); color: #e9edf2; font-family: var(--cx-mono); font-size: 11px; line-height: 20px; }
.cx-xmr-list { margin-bottom: 16px; }
.cx-xmr-list dt { color: var(--cx-xmr-light); font-family: var(--cx-mono); }
.cx-xmr-list dd { margin: 0 0 10px; padding-left: 12px; border-left: 1px solid rgba(242,104,34,.35); }

/* 03 vault */
.cx-vault {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 48px),
    linear-gradient(180deg, #0f1013, #050506);
  border-top: 1px solid #000; border-bottom: 1px solid #000;
}
.cx-layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; counter-reset: cx-l; }
.cx-layers li { counter-increment: cx-l; padding: 16px 16px 14px; border-radius: 8px; background: var(--cx-panel); border: 1px solid var(--cx-line); border-bottom: 3px solid var(--cx-xmr); }
.cx-layers li::before { content: "L" counter(cx-l); display: block; font-family: var(--cx-mono); font-size: 11px; color: var(--cx-xmr); margin-bottom: 4px; }
.cx-layers b { display: block; color: #fff; margin-bottom: 6px; }
.cx-layers span { display: block; color: var(--cx-text); }
.cx-discreet { max-width: 760px; padding: 12px 18px; border-left: 4px solid var(--cx-xmr); background: rgba(242,104,34,.07); border-radius: 0 8px 8px 0; color: #e9edf2; font-style: italic; }

/* 04 services */
.cx-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.cx-svc-card { padding: 20px 20px 4px; border-radius: 10px; background: #181b20; border: 1px solid var(--cx-line); border-top: 3px solid var(--cx-xmr); }
.cx-svc-note { background: linear-gradient(180deg, rgba(242,104,34,.12), rgba(242,104,34,.03)); border-color: rgba(242,104,34,.4); border-style: dashed; border-top-style: solid; }

/* 05 depth */
.cx-depth { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 20px; }
.cx-depth > div { display: flex; flex-direction: column; padding: 20px 20px 16px; border-radius: 10px; background: var(--cx-panel); border: 1px solid var(--cx-line); }
.cx-depth dt { color: #fff; margin-bottom: 8px; font-size: 15px; line-height: 1.3; }
.cx-depth dd { margin: 0; display: flex; flex-direction: column; flex: 1; }
.cx-hash { display: block; margin-top: auto; padding-top: 12px; font-family: var(--cx-mono); font-size: 11px; color: var(--cx-xmr-light); word-break: break-all; overflow-wrap: anywhere; }

/* CTA */
.cx-cta {
  padding: 56px 0 36px; text-align: center;
  background:
    radial-gradient(ellipse 50% 90% at 50% 0%, rgba(242,104,34,.25), transparent 70%),
    linear-gradient(180deg, #121417, #000);
  border-top: 3px solid var(--cx-xmr);
}
.cx-cta h2 { margin-left: auto; margin-right: auto; }
.cx-cta .co-lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.cx-cta .co-actions { justify-content: center; }
.cx-accept { display: inline-block; max-width: 620px; padding: 6px 16px; border: 1px solid rgba(242,104,34,.5); border-radius: 18px; color: #fff; background: rgba(242,104,34,.08); }

/* Footer: dark band, reverse-clear SI logo, no plate */
.co-foot { padding: 36px 0 28px; background: #000; color: var(--cx-dim); border-top: 1px solid #222; }
.co-foot .si-mark { display: inline-block; margin-bottom: 16px; }
.co-foot .si-mark img { display: block; width: 410px; max-width: 100%; height: auto; }
.co-foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
.co-foot a { color: var(--cx-xmr-light); }
.co-foot a:hover { color: #fff; }
.co-foot p { margin-bottom: 8px; }
.co-copy { color: var(--cx-text); }
.co-tm, .cx-disclaimer { color: #6b7380; max-width: 760px; font-size: 11px; line-height: 16px; }

/* Responsive */
@media screen and (max-width: 999px) {
  .co-hero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  .cx-chains { grid-template-columns: 1fr 1fr; }
  .cx-xmr { grid-column: 1 / -1; }
  .cx-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cx-svc, .cx-depth { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 720px) {
  .cx-band { padding: 40px 0 24px; }
  .cx-hero { padding: 36px 0 48px; }
  .co-hero-grid, .cx-split { grid-template-columns: 1fr; gap: 28px; }
  .cx-merkle { max-width: 340px; }
  .cx-chains { grid-template-columns: 1fr; }
  .cx-layers { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 560px) {
  .cx-svc, .cx-depth { grid-template-columns: 1fr; }
  .cx-layers { grid-template-columns: 1fr; }
  .co-actions .co-btn { flex: 1 1 100%; }
  .cx-flag { position: static; display: inline-block; margin-bottom: 12px; }
  .cx-m-leaves span { font-size: 10px; }
}

/* Reduced motion: ticker stops; logos swap to still frames in the HTML */
@media (prefers-reduced-motion: reduce) {
  .cx-chain-track { animation: none; }
  .cx-btn:hover { filter: none; }
}

/* Monero view-key trust point */
.cx-viewkey { padding: 12px 14px; border-radius: 8px; background: rgba(0,0,0,.35); border: 1px solid rgba(242,104,34,.35); }
.cx-viewkey b { color: #fff; font-weight: normal; display: block; margin-bottom: 2px; }
@media screen and (max-width: 600px) {
  .cx-depth dt { font-size: 17px; }
}
