/* COPE landing, brand system v2: white, COPE blue, COPE orange, square
   corners, one touch of pixel halftone where it counts. Light only, as the
   brand system defines it. */

:root {
  --paper: #FFFFFF; --band: #EEF0FF; --ink: #08090D; --ink-body: #3B3F55; --ink-muted: #5A5E73;
  --line: #E3E5F0; --line-control: #C9CCDD; --blue: #293BFF; --blue-press: #1424C8; --orange: #E8452F; --on: #FFFFFF;
  --sans: "Space Grotesk", system-ui, sans-serif; --px: "Pixelify Sans", monospace;
  --nav-h: 68px; --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.blue { color: var(--blue); }

/* Pixel halftone: white pixels on blue or orange, in a corner. */
.px { position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; image-rendering: pixelated; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease; }
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn.p { background: var(--blue); color: var(--on); }
.btn.p:hover { background: var(--blue-press); }
.btn.s { background: var(--paper); color: var(--ink); border-color: var(--line-control); }
.btn.s:hover { border-color: var(--ink); }
.btn.o { min-height: 44px; padding: 0 18px; font-size: 15px; color: var(--blue); border-color: var(--blue); background: transparent; }
.btn.o:hover { background: var(--band); }
.btn.i { background: var(--paper); color: var(--blue); }
.btn.i:hover { background: var(--band); }
.btn.i:focus-visible { outline-color: var(--on); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 40px; }
.brand img { width: 100px; height: auto; }
.links { display: flex; gap: 28px; margin-left: auto; }
.links a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-body); transition: color .2s ease; }
.links a:hover { color: var(--blue); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); min-height: min(calc(100dvh - var(--nav-h)), 760px); display: flex; align-items: center; }
.hero-art { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: 54%; object-fit: cover; object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.hero-in { position: relative; padding-top: 64px; padding-bottom: 72px; }
.kicker { font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.kicker.light { color: var(--on); opacity: .85; }
.hero h1 { margin-top: 20px; font-weight: 700; font-size: clamp(44px, 5vw, 68px); line-height: .92; letter-spacing: -.035em; text-transform: uppercase; max-width: 9.5em; }
.hero h1 span { display: block; }
.lead { margin-top: 28px; max-width: 27em; font-size: 19px; line-height: 1.55; color: var(--ink-body); }
.hero .btns { margin-top: 36px; }

/* ---------------------------------------------------------------- stat band */
.band { position: relative; overflow: hidden; background: var(--blue); color: var(--on); }
.band .px { transform-origin: inherit; }
.band-in { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.stat b { display: block; font: 600 clamp(40px, 5vw, 64px)/1 var(--px); letter-spacing: 0; }
.stat span { display: block; margin-top: 12px; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 120px 0; }
.band-bg { background: var(--band); }
.sec h2, .h2 { font-weight: 700; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; max-width: 18em; }
.h3 { font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase; }
.body { margin-top: 24px; max-width: 34em; color: var(--ink-body); }
.small { font-size: 13px; line-height: 1.6; color: var(--ink-muted); }

/* how it works: the step band */
.steps { position: relative; overflow: hidden; margin-top: 56px; background: var(--blue); color: var(--on); }
.steps ol { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 40px 0; }
.steps li { padding: 8px 40px; display: flex; flex-direction: column; gap: 16px; }
.steps li + li { border-left: 1px solid rgba(255,255,255,.35); }
.steps .n { font-size: 13px; font-weight: 500; opacity: .85; }
.steps h3 { font-weight: 700; font-size: 22px; letter-spacing: -.02em; text-transform: uppercase; }
.steps p { font-size: 15px; line-height: 1.6; max-width: 26em; }

/* cashback: copy and the tier staircase */
.cash { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: end; }
.cash h2, .split h2 { font-size: clamp(30px, 3.4vw, 44px); }
.example { margin-top: 40px; position: relative; background: var(--orange); color: var(--on); padding: 28px 32px; }
.ex-k { font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ex-v { margin-top: 10px; font: 600 clamp(44px, 5vw, 64px)/1 var(--px); }
.ex-s { margin-top: 8px; font-size: 15px; }
.tiers { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 420px; }
.tiers li { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.tiers b { font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.tiers li::after { content: ""; order: 2; display: block; margin-top: 10px; height: calc(var(--h) * 3px + 6px); background: var(--blue);
  transform-origin: bottom; transform: scaleY(var(--grow, 1)); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.tiers li.max::after { background: var(--orange); }
.tiers li.max b { color: var(--orange); }
.tiers span { order: 3; margin-top: 10px; font-weight: 600; font-size: 11px; letter-spacing: .04em; color: var(--ink-muted); white-space: nowrap; }

/* the pool */
.pool { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pool-art { position: relative; overflow: hidden; background: var(--orange); aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pool-art img { position: relative; width: 82%; transform: translate(6%, 4%); }
.facts { margin-top: 40px; display: grid; gap: 24px; }
.facts div { padding-left: 20px; border-left: 2px solid var(--blue); }
.facts dt { font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: -.01em; }
.facts dd { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--ink-body); max-width: 30em; }

/* tokens */
/* Each card spans the same four rows (head and three points), so the points line up across cards. */
.toks { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.tok { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.tok ul { grid-row: 2 / span 3; display: grid; grid-template-rows: subgrid; }
.tok-head { position: relative; overflow: hidden; color: var(--on); padding: 28px 32px 32px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.tok-head.orange { background: var(--orange); }
.tok-head.blue-bg { background: var(--blue); }
.tok-head .art { position: absolute; top: 50%; right: -8%; height: 150%; width: auto; max-width: none; transform: translateY(-50%); opacity: .9; }
.tag { position: relative; font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pxname { position: relative; font: 600 clamp(48px, 6vw, 76px)/.9 var(--px); letter-spacing: 0; }
.tok ul { background: var(--paper); border: 1px solid var(--line); border-top: 0; }
.tok li { position: relative; padding: 16px 24px 16px 44px; font-size: 15px; color: var(--ink-body); }
.tok li + li { border-top: 1px solid var(--line); }
.tok li::before { content: ""; position: absolute; left: 24px; top: 24px; width: 8px; height: 8px; background: var(--blue); }
.tok:first-child li::before { background: var(--orange); }

/* where a loss goes */
.split { border: 1px solid var(--line); padding: 40px; background: var(--paper); }
.split-top { display: grid; gap: 10px; }
.bar { margin-top: 24px; display: flex; height: 64px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--on); }
.bar div { display: flex; align-items: center; padding: 0 20px; white-space: nowrap; }
.b-pool { flex: 78.75; background: var(--orange); }
.b-cash { flex: 20; background: var(--ink); justify-content: center; }
.b-dao { flex: 0 0 auto; background: var(--blue); min-width: 96px; justify-content: center; }
.leg { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 48px; }
.it { display: flex; gap: 14px; align-items: flex-start; }
.sq { flex: none; width: 12px; height: 12px; margin-top: 4px; background: var(--blue); }
.sq.orange { background: var(--orange); }
.sq.ink { background: var(--ink); }
.v { margin-top: 8px; font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.03em; }

/* referrals */
.ref-sec { padding-top: 0; }
.ref { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ref-nums { display: grid; gap: 32px; }
.ref-nums div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
.ref-nums b { font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.03em; color: var(--blue); }
.ref-nums p { color: var(--ink-body); font-size: 16px; }

/* closing */
/* PaperTrade and COPE */
.vs-sec { padding-top: 0; }
.vs { margin-top: 48px; border: 1px solid var(--line); background: var(--paper); }
.vs-row { display: grid; grid-template-columns: 200px 1fr 1fr; }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row span { padding: 20px 24px; font-size: 16px; color: var(--ink-body); }
.vs-row [role="rowheader"] { font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); align-self: center; }
.vs-head span { font: 600 22px/1 var(--px); color: var(--ink); padding-top: 24px; padding-bottom: 24px; }
.vs-row .vs-us { color: var(--ink); font-weight: 600; background: var(--band); }
.vs-head .vs-us { background: var(--blue); color: var(--on); }
.vs-key span { font-size: 18px; }
.vs-key .vs-us { background: var(--blue); color: var(--on); }

/* Follow the money: two flows side by side, PaperTrade muted, COPE in colour. */
.flow { --g: 10px; --rg: 18px; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.flow-cap { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding: 16px 28px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.flow-cap span { font-weight: 400; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-muted); }
.flow-side { padding: 24px 28px 28px; }
.flow-us { border-left: 1px dashed var(--line-control); background: var(--band); }
.flow-name { font: 600 22px/1 var(--px); color: var(--ink-muted); }
.flow-us .flow-name { color: var(--blue); }
.flow-lanes { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--g); row-gap: var(--rg); }
.flow-k { margin-bottom: calc(8px - var(--rg)); text-align: center; font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.fs { position: relative; display: grid; gap: 1px; padding: 10px 12px; text-align: center; background: var(--paper); border: 1px solid var(--line); }
.fs b { font-weight: 700; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.fs span { font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
.flow-them .fs { background: #F7F8FB; }
.flow-them .fs b { color: var(--ink-body); }
/* Down to the next step; the fee row joins below instead. */
.fs:nth-of-type(-n+4)::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: var(--rg); margin: 1px 0 0 -4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='18' viewBox='0 0 8 18'%3E%3Cpath d='M4 0v16M1 13l3 3.5 3-3.5' fill='none' stroke='%239A9EB3' stroke-width='1.25'/%3E%3C/svg%3E") center / 8px 100% no-repeat; }
.fs-pool { border-color: var(--orange); }
.fs-pool span { color: var(--orange); font-weight: 600; }
/* Both fees meet and land on the split: half each way. */
.fsplit { position: relative; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; height: 52px; }
.fsplit::before, .fsplit::after { content: ""; position: absolute; bottom: 100%; border: 0 solid #9A9EB3; }
.fsplit::before { left: calc((100% - var(--g)) / 4); right: calc((100% - var(--g)) / 4); height: 14px; margin-bottom: 14px; border-width: 0 1.25px 1.25px; }
.fsplit::after { left: 50%; height: 14px; border-left-width: 1.25px; }
.fsplit div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; background: #E3E5F0; color: var(--ink-body); }
.fsplit b, .fsplit span { font-weight: 700; font-size: 15px; }
.fsplit span { opacity: .75; }
.fsplit .fs-team { background: var(--ink-muted); color: var(--on); }
.fsplit .fs-copium { background: var(--orange); color: var(--on); }
.fsplit .fs-cope { background: var(--blue); color: var(--on); }
.fsplit-notes { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.fsplit-notes p { font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.flow-us .fsplit-notes p { color: var(--ink-body); }
.flow-notes { grid-column: 1 / -1; padding: 14px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }

.closing-sec { padding-top: 0; }
.closing { display: grid; grid-template-columns: 7fr 3fr; background: var(--blue); color: var(--on); }
.closing-copy { position: relative; overflow: hidden; padding: 56px 48px 64px; }
.closing-copy > :not(.px) { position: relative; }
.closing h2 { margin-top: 16px; color: var(--on); }
.closing .btn { margin-top: 36px; }
.closing-art { background: var(--paper); overflow: hidden; display: grid; place-items: center; }
.closing-art img { width: 180%; max-width: none; height: 100%; object-fit: cover; object-position: 30% 50%; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 32px; padding-bottom: 40px; }
.foot p { font-size: 13px; color: var(--ink-muted); max-width: 44em; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .band .stat:nth-child(2) { transition-delay: .08s; }
  .js .band .stat:nth-child(3) { transition-delay: .16s; }
  .js .band .stat:nth-child(4) { transition-delay: .24s; }
  .js .tiers:not(.in) li::after { --grow: 0; }
  .js .tiers li:nth-child(2)::after { transition-delay: .06s; }
  .js .tiers li:nth-child(3)::after { transition-delay: .12s; }
  .js .tiers li:nth-child(4)::after { transition-delay: .18s; }
  .js .tiers li:nth-child(5)::after { transition-delay: .24s; }
  .js .tiers li:nth-child(6)::after { transition-delay: .30s; }
  .js .tiers li:nth-child(7)::after { transition-delay: .36s; }
  .hero-in > * { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-in > :nth-child(2) { animation-delay: .06s; }
  .hero-in > :nth-child(3) { animation-delay: .12s; }
  .hero-in > :nth-child(4) { animation-delay: .18s; }
  .hero-art { animation: fade 1.2s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: 0; }
  .hero-art { position: relative; max-width: none; width: 100%; height: 420px; -webkit-mask-image: none; mask-image: none; object-position: 70% 60%; }
  .hero-in { padding-top: 48px; padding-bottom: 8px; }
}
@media (max-width: 1023px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .cash, .pool, .ref { grid-template-columns: 1fr; gap: 48px; }
  .tiers { height: 360px; }
  .closing { grid-template-columns: 1fr; }
  .closing-art { height: 260px; }
  .flow { grid-template-columns: 1fr; }
  .flow-us { border-left: 0; border-top: 1px dashed var(--line-control); }
  .closing-art img { width: 100%; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --nav-h: 60px; }
  .brand img { width: 88px; }
  .hero-art { height: 300px; }
  .hero-in { padding-top: 40px; }
  .lead { font-size: 17px; }
  .band-in { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .band .px { transform: scale(.6); }
  .sec { padding: 80px 0; }
  .ref-sec, .vs-sec, .closing-sec { padding-top: 0; }
  .steps ol { grid-template-columns: 1fr; padding: 16px 0; }
  .steps li { padding: 24px; }
  .steps li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); }
  .tiers { grid-template-columns: 1fr; height: auto; gap: 8px; }
  .tiers li { display: grid; grid-template-columns: 64px 1fr 76px; align-items: center; gap: 12px; height: auto; text-align: left; }
  .tiers b { order: 1; font-size: 18px; }
  .tiers li::after { order: 2; margin: 0; height: 20px; width: calc(var(--h) * 1% + 4px); transform-origin: left; transform: scaleX(var(--grow, 1)); }
  .tiers span { order: 3; margin: 0; text-align: right; }
  .toks { grid-template-columns: 1fr; }
  .tok + .tok { margin-top: 16px; }
  .split { padding: 24px; }
  .bar { font-size: 16px; height: 56px; }
  .b-dao { min-width: 76px; padding: 0 12px; }
  .leg { grid-template-columns: 1fr; }
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-row [role="rowheader"] { grid-column: 1 / -1; padding-bottom: 0; }
  .vs-head [role="columnheader"]:first-child { display: none; }
  .vs-row span { padding: 14px 16px; font-size: 15px; }
  .flow-cap, .flow-notes { padding-left: 16px; padding-right: 16px; }
  .flow-side { padding: 20px 16px 24px; }
  .fs { padding: 9px 6px; }
  .fs b { font-size: 14px; }
  .fs span { font-size: 12px; }
  .fsplit div { padding: 0 10px; }
  .fsplit b, .fsplit span { font-size: 13px; }
  .fsplit-notes { column-gap: 10px; }
  .fsplit-notes p { font-size: 12px; }
  .ref-nums div { grid-template-columns: 96px 1fr; }
  .ref-nums b { font-size: 40px; }
  .closing-copy { padding: 40px 24px 48px; }
  .band .px:nth-of-type(2) { display: none; }
  .tok-head .art { right: -38%; opacity: .45; }
  .hero .btns .btn { flex: 1 1 100%; justify-content: center; }
  .sec h2 br { display: none; }
  .closing h2 { font-size: 32px; }
  .closing .px { transform: scale(.6); transform-origin: right bottom; }
  .example { padding: 24px; }
}
