/* OffExchange */
:root {
  --ink: #0e2341;           /* Brand/Navy, Text/Primary */
  --navy: #0e2341;
  --bronze: #b5561f;        /* Brand/Bronze */
  --text-2: #4a5566;        /* Text/Secondary */
  --muted: #5b6575;
  --warm: #fbf3ec;          /* Surface/Warm Neutral */
  --line: #e3e6eb;          /* Border/Subtle */
  --accent: #b5561f;
  --focus: #b5561f;
  --btn-bg: #0e2341;        /* CTA/Primary */
  --btn-bg-hover: #1b3762;  /* CTA/Primary Hover */
  --btn-radius: 4px;
  --header-h: 88px;
  --max-w: 1200px;
  --gutter: 40px;
}

.bronze { color: var(--bronze); }
.eyebrow { font-size: 13px; letter-spacing: .26em; color: #34445c; line-height: 1.75; }
.section { padding: 56px 0; }
.section h2 { font-size: clamp(34px, 3.7vw, 52px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 14px 0 0; color: var(--navy); }
.lede { font-size: 22px; line-height: 1.45; color: var(--text-2); margin-top: 14px; max-width: 980px; }
.lede span { display: block; }
.icon { width: 46px; height: 46px; color: var(--navy); }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: grid; text-decoration: none; line-height: 1; }
.wordmark { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: var(--navy); }
.brand-sub { font-size: 14px; color: var(--text-2); margin-top: 6px; padding-left: 2px; }
.site-nav { gap: 40px; margin-right: 32px; }
.site-nav a { font-size: 14px; color: var(--navy); }
.site-nav a:hover { color: var(--bronze); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f7f8, #f5f3f1); min-height: 540px; display: flex; align-items: center; }
.hero-art { position: absolute; right: 0; bottom: 0; width: 57%; aspect-ratio: 2528 / 1696; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%), linear-gradient(180deg, transparent 0, #000 9%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 12%), linear-gradient(180deg, transparent 0, #000 9%); mask-composite: intersect; }
.hero-label {
  position: absolute; transform: translate(-50%, calc(-100% - 22px));
  font-size: 11px; font-weight: 500; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; text-align: center; white-space: nowrap; color: #24344d;
}
.hero-label::after { content: ""; position: absolute; left: 50%; top: calc(100% + 4px); width: 1px; height: 18px; background: #5d6a7c; }
.hero-inner { position: relative; padding-top: 48px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(46px, 5vw, 72px); font-weight: 600; letter-spacing: -.025em; line-height: 1.06; margin: 18px 0 22px; color: var(--navy); }
.hero h1 span { display: block; }
.hero-copy { font-size: 19px; line-height: 1.5; color: #39465a; max-width: 500px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions .btn { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-secondary { border-color: #8a96a6; background: rgba(255,255,255,.6); color: var(--navy); }

/* Benefits */
.benefits { background: #fff; padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefit { display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; padding: 6px 28px; border-left: 1px solid var(--line); }
.benefit:first-child { border-left: 0; }
.benefit .icon { color: var(--bronze); width: 50px; height: 50px; margin-bottom: 4px; }
.benefit h3 { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--navy); min-height: 2.6em; display: grid; align-items: center; }
.benefit p { font-size: 15.5px; line-height: 1.5; color: var(--text-2); max-width: 270px; }

/* Comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.compare-card { border-radius: 6px; padding: 26px 32px 30px; }
.traditional { background: #f4f5f7; }
.offx { background: var(--warm); }
.compare-title { font-size: 14px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); }
.offx .compare-title { color: var(--bronze); }
.flow { list-style: none; margin: 24px 0 0; padding: 0; display: flex; align-items: flex-start; justify-content: space-between; }
.flow li { flex: 1; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: 16px; line-height: 1.35; color: var(--text-2); position: relative; }
.flow li + li::before { /* arrow between steps */
  content: ""; position: absolute; left: -12px; top: 21px; width: 24px; height: 8px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4h22m-4-3.5L22 4l-4 3.5' fill='none' stroke='%230e2341' stroke-width='1.5'/%3E%3C/svg%3E");
}
.flow .icon { width: 48px; height: 48px; }
.flow .strong { color: var(--navy); font-weight: 600; }
.flow .glass { object-fit: contain; mix-blend-mode: multiply; width: 54px; height: 54px; margin-top: -3px; }
.flow .icon.bronze { color: var(--bronze); }
.compare-caption { margin-top: 24px; text-align: center; font-size: 17px; color: var(--text-2); }
.compare-caption.bronze { color: var(--bronze); }

/* Liquidity cards */
.liquidity { padding-top: 24px; }
.liq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; }
.liq-card { display: grid; grid-template-columns: 34% 1fr; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; min-height: 240px; box-shadow: 0 1px 2px rgba(14,35,65,.04); }
.liq-card img { width: 100%; height: 100%; object-fit: cover; }
.liq-body { padding: 28px 30px; display: flex; flex-direction: column; }
.liq-body h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--navy); }
.liq-body p { margin-top: 14px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.text-link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--navy); text-decoration: none; }
.text-link:hover { color: var(--bronze); }
.text-link .arrow { width: 20px; height: 20px; transition: transform .2s; }
.text-link:hover .arrow { transform: translateX(3px); }

/* Ecosystem */
.ecosystem { padding-top: 24px; padding-bottom: 48px; }
.eco-grid { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.eco-grid li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 8px; padding: 4px 16px; border-left: 1px solid var(--line); }
.eco-grid li:first-child { border-left: 0; }
.eco-grid .icon { margin-bottom: 8px; }
.eco-grid h3 { font-size: 16px; font-weight: 600; color: var(--navy); }
.eco-grid p { font-size: 15px; line-height: 1.45; color: var(--text-2); max-width: 170px; }

/* Closing CTA */
.cta { position: relative; overflow: hidden; background: linear-gradient(90deg, #fbf3ec 0%, #f8ece2 45%, #f3e5d9 100%); }
.cta-art { position: absolute; right: 0; top: 0; height: 100%; width: 58%; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.cta-inner { position: relative; padding-top: 40px; padding-bottom: 44px; }
.cta h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; margin: 16px 0 10px; color: var(--navy); }
.cta h2 span { display: block; }
.cta-sub { font-size: 24px; color: #24344d; margin-bottom: 22px; }
.cta .btn { height: 60px; padding: 0 40px; font-size: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 22px 0 18px; }
.footer-top { display: flex; align-items: center; gap: 40px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-footer .wordmark { color: #fff; font-size: 30px; }
.site-footer .brand-sub { color: rgba(255,255,255,.82); }
.footer-nav { display: flex; gap: 36px; margin-left: auto; margin-right: 24px; }
.footer-nav a { font-size: 14px; text-decoration: none; color: rgba(255,255,255,.9); }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef1f5; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; font-size: 13px; color: rgba(255,255,255,.7); }
.legal-links a { margin-left: 28px; text-decoration: none; }
.legal-links a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1180px) {
  .site-nav { gap: 26px; margin-right: 8px; }
  .hero-art { width: 60%; opacity: .9; }
  .eco-grid { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .eco-grid li:nth-child(4) { border-left: 0; }
  .flow li { font-size: 14.5px; }
}
@media (max-width: 960px) {
  :root { --header-h: 76px; --gutter: 24px; }
  .wordmark { font-size: 28px; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-art { position: relative; width: 100%; order: 2; }
  .hero-art img { -webkit-mask-image: none; mask-image: none; }
  .hero-label { font-size: 9px; transform: translate(-50%, calc(-100% - 14px)); }
  .hero-label::after { height: 10px; }
  .hero-inner { padding-bottom: 8px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .benefit:nth-child(3) { border-left: 0; }
  .compare, .liq-grid { grid-template-columns: 1fr; }
  .footer-top { flex-wrap: wrap; }
  .footer-nav { margin-left: 0; flex-wrap: wrap; gap: 16px 24px; width: 100%; order: 3; }
  .cta-art { width: 100%; opacity: .35; }
}
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
  .lede { font-size: 18px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { border-left: 0; }
  .flow { flex-wrap: wrap; row-gap: 22px; }
  .flow li { flex: 1 1 50%; }
  .flow li + li::before { display: none; }
  .compare-card { padding: 22px 18px; }
  .liq-card { grid-template-columns: 1fr; }
  .liq-card img { aspect-ratio: 16 / 9; }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .eco-grid li { border-left: 0; }
  .cta .btn { width: 100%; }
  .footer-legal { flex-direction: column; }
  .legal-links a { margin: 0 24px 0 0; }
}
