/* landing.css — the landing page. Layout reference: iceberg.cash. Brand blue #0075ED, Satoshi. */
@font-face { font-family: Satoshi; src: url(fonts/satoshi-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Satoshi; src: url(fonts/satoshi-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url(fonts/satoshi-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --blue: #0075ED; --blue-ink: #0b4fb0; --pale: #eaf1fd; --pale-2: #dceafc; --ink: #14181f; --ink2: #4d5766; --ink3: #8a93a3;
  --grey: #f2f4f6; --line: #e4e8ee; --paper: #fff; --bg: #01030a; --up: #0f9d6b; --dn: #d93a55;
  --gut: 56px; --r-card: 30px; --r-pill: 18px; --shadow: 0 12px 40px rgba(6, 22, 60, .14);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.5 Satoshi, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 { font-weight: 500; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.045em; }
h2 em, .lead em { font-style: normal; color: var(--blue); }
.skip { position: fixed; left: 12px; top: -80px; z-index: 99; background: var(--paper); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* pill buttons */
.pill { display: inline-flex; align-items: center; gap: 18px; background: var(--paper); color: var(--ink); border-radius: var(--r-pill); padding: 8px 8px 8px 22px; font-weight: 500; font-size: 17px; line-height: 1; box-shadow: var(--shadow); white-space: nowrap; transition: transform .2s; }
.pill:hover { transform: translateY(-2px); }
.pill.line { box-shadow: none; padding-left: 0; background: none; gap: 14px; }
.sq { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--blue); color: #fff; flex: none; transition: background .2s; }
.pill:hover .sq { background: #0a66cf; }

/* nav */
.nav { position: fixed; z-index: 50; left: 0; right: 0; top: calc(20px + var(--sat)); display: flex; justify-content: center; pointer-events: none; padding: 0 28px; }
.menu { pointer-events: auto; width: 420px; background: var(--paper); border-radius: var(--r-pill); box-shadow: var(--shadow); overflow: hidden; }
.menu-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px; }
.mark img { display: block; width: 44px; height: 44px; border-radius: 13px; }
.wordmark { font-weight: 500; letter-spacing: .36em; font-size: 15px; padding-left: .36em; text-transform: uppercase; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; }
.burger:hover { background: var(--grey); }
.menu-list { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 8px; }
.menu.open .menu-list { max-height: 520px; padding-bottom: 8px; }
.menu-list a { display: block; padding: 11px 14px; border-radius: 12px; font-size: 17px; }
.menu-list a:hover { background: var(--pale); }
.launch { pointer-events: auto; position: absolute; right: 28px; top: 0; }

/* the section rail (desktop) */
.rail { position: fixed; z-index: 40; right: 22px; top: 50%; transform: translateY(-50%); background: var(--paper); border-radius: 14px; padding: 10px 9px; display: flex; flex-direction: column; gap: 7px; box-shadow: var(--shadow); }
.rail a { display: block; width: 10px; height: 10px; border-radius: 5px; background: var(--pale-2); transition: height .25s, background .25s; }
.rail a.on { height: 26px; background: var(--blue); }

/* hero */
.hero, .end { position: relative; color: #fff; background: var(--bg); overflow: hidden; }
.hero { height: 100svh; min-height: 620px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(1, 3, 10, .35), rgba(1, 3, 10, 0) 30%, rgba(1, 3, 10, 0) 70%, rgba(1, 3, 10, .45)); pointer-events: none; }
.hero-in { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 20px 40px; text-align: center; }
h1 { font-weight: 500; font-size: min(11.4vw, 21svh); line-height: .98; letter-spacing: -.05em; display: flex; flex-direction: column; align-items: center; text-shadow: 0 4px 50px rgba(0, 10, 40, .45); }
h1 .l1, h1 .l2 { display: block; }
.cta-row { display: flex; align-items: center; justify-content: center; gap: 15vw; margin: .1em 0 .02em; letter-spacing: 0; text-shadow: none; }
.br { font-weight: 400; font-size: .86em; line-height: 1; transform: translateY(-.04em); }
.cta { font-size: 19px; padding: 10px 10px 10px 26px; gap: 26px; letter-spacing: 0; }
.cta .sq { width: 48px; height: 48px; border-radius: 14px; }
.powered { margin-top: 3svh; font-size: clamp(16px, 1.7vw, 24px); letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0, 10, 40, .6); }
.copy, .explore { position: absolute; z-index: 2; bottom: calc(26px + var(--sab)); font-size: 16px; }
.copy { left: 34px; } .copy span { letter-spacing: .04em; }
.explore { right: 34px; display: inline-flex; align-items: center; gap: 10px; }

/* sections */
.sec { padding: 130px var(--gut) 0; max-width: 1560px; margin: 0 auto; }
.idea { padding-top: 110px; }
.lead { font-size: clamp(30px, 3.5vw, 50px); line-height: 1.16; letter-spacing: -.035em; max-width: 21em; }
.sub { margin-top: 26px; max-width: 34em; color: var(--ink2); font-size: 19px; }
.idea .pill { margin-top: 30px; }

/* inside: fold-out list beside a big panel */
.inside-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 70px; margin-top: 70px; align-items: start; }
.acc { display: grid; gap: 12px; padding-top: 38px; }
.acc-item { background: var(--pale); border-radius: 22px; transition: background .25s; }
.acc-item.open { background: var(--pale-2); }
.acc-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 26px; font-size: 23px; letter-spacing: -.02em; text-align: left; }
.acc-item svg { flex: none; transition: transform .3s; }
.acc-item.open svg { transform: rotate(180deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body p { overflow: hidden; padding: 0 26px; color: var(--ink2); font-size: 16.5px; }
.acc-item.open .acc-body p { padding-bottom: 26px; }
.panel { position: relative; background: var(--pale); border-radius: var(--r-card); min-height: 470px; overflow: hidden; }
.panel-view { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 34px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.panel-view.on { opacity: 1; visibility: visible; }
.panel-view img { width: min(58%, 290px); height: auto; margin-bottom: 6px; filter: drop-shadow(0 22px 24px rgba(0, 70, 170, .25)); }
.panel-cap { font-size: 21px; letter-spacing: -.02em; }
.panel-note { color: var(--ink2); font-size: 15.5px; max-width: 30em; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; width: 100%; max-width: 460px; text-align: left; margin-bottom: 18px; }
.nums b { display: block; font-weight: 500; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; letter-spacing: -.05em; color: var(--blue); }
.nums span { display: block; margin-top: 8px; color: var(--ink2); font-size: 15.5px; line-height: 1.3; }

/* the live floor band */
.floor { margin-top: 130px; background: var(--bg); color: #fff; }
.floor-stage { position: relative; height: clamp(480px, 80vh, 840px); overflow: hidden; }
.floor-poster, .floor iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.floor-poster { object-fit: cover; }
.floor iframe { opacity: 0; transition: opacity .8s; background: transparent; }
.floor.live iframe { opacity: 1; }
.floor-link { position: absolute; inset: 0; z-index: 2; }
.floor-head { max-width: 1560px; margin: 0 auto; padding: 120px var(--gut) 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.floor-head p { font-size: clamp(16px, 1.5vw, 21px); color: #c9d8f4; padding-bottom: 10px; }
.floor-foot { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; pointer-events: none; }
.floor-foot p { font-size: 15.5px; color: #dfe9ff; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); max-width: 44em; }
.floor-foot .pill { pointer-events: auto; }

/* the agents tray */
.agents { padding-top: 110px; }
.tray { background: var(--grey); border-radius: 40px; padding: 64px 64px 44px; }
.tray-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tray-notes { text-align: right; font-size: 15.5px; color: var(--ink2); line-height: 1.45; }
.tray-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 26px; margin-top: 48px; align-items: start; }
.alist { display: grid; gap: 12px; }
.alist button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: var(--paper); border-radius: 20px; padding: 20px 22px; border: 2px solid transparent; transition: border-color .2s; }
.alist button b { display: block; font-weight: 500; font-size: 21px; letter-spacing: -.02em; }
.alist button span { display: block; color: var(--ink2); font-size: 14.5px; }
.alist button em { font-style: normal; font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.alist button.on { border-color: var(--blue); }
.alist .up, .acard .up { color: var(--up); } .alist .dn, .acard .dn { color: var(--dn); }
.acard { background: var(--paper); border-radius: 24px; overflow: hidden; }
.acard-top { position: relative; background: var(--blue); color: #fff; padding: 26px 28px 28px; min-height: 170px; overflow: hidden; }
.acard-top canvas { position: absolute; right: 0; bottom: 0; width: 42%; height: 100%; opacity: .9; }
.acard-top p { max-width: 58%; }
.acard-name { position: relative; font-size: 17px; }
.acard-big { position: relative; font-size: clamp(44px, 5vw, 66px); line-height: 1.05; letter-spacing: -.05em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.acard-kind { position: relative; font-size: 14.5px; opacity: .88; margin-top: 2px; }
.rows { padding: 6px 28px 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.rows div:first-child { border-top: 0; }
.rows dt, .rows span { color: var(--ink2); } .rows b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.acard-note { margin: 4px 28px 0; padding: 14px 16px; border-radius: 14px; background: var(--grey); font-size: 15px; color: var(--ink2); }
.acard-note b { color: var(--ink); }
.acard-go { display: flex; align-items: center; justify-content: space-between; margin: 18px 28px 26px; padding: 15px 20px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; font-size: 16px; }
.acard-go:hover { background: #0a66cf; }
.tray-fine { margin-top: 30px; color: var(--ink2); font-size: 15px; max-width: 60em; }

/* the pool: three cards */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; margin-top: 60px; }
.fcard { position: relative; align-self: stretch; background: var(--grey); border-radius: var(--r-card); padding: 34px 32px 34px; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; }
.fcard.solid { background: var(--blue); color: #fff; }
.fcard h3 { font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.fcard p:not(.fbig) { margin-top: 10px; color: var(--ink2); font-size: 16px; }
.fcard.solid p { color: #e6f0ff; }
.fbig { font-size: clamp(74px, 8.6vw, 124px); line-height: 1; letter-spacing: -.06em; margin-bottom: auto; padding-top: 34px; }
.fbig.blue { color: var(--blue); padding-top: 110px; }
.fbig small { font-size: .3em; letter-spacing: -.02em; margin-left: .25em; }
.fcard.solid img { width: min(74%, 250px); height: auto; margin: 0 auto auto; padding-top: 6px; filter: drop-shadow(0 20px 26px rgba(0, 20, 80, .45)); }
.segs { display: flex; gap: 6px; margin: 18px 0 46px; }
.segs i { flex: 1; height: 34px; border-radius: 5px; background: var(--blue); }
.farrow { z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 -17px; border-radius: 50%; background: var(--paper); color: var(--blue); }
.notyet { margin-top: 30px; padding: 18px 22px; border-radius: 18px; background: var(--pale); font-size: 16px; color: var(--ink2); max-width: 46em; }
.notyet b { color: var(--ink); }

/* roles */
.roles-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 70px; align-items: end; }
.roles-head p { color: var(--ink2); font-size: 19px; max-width: 28em; padding-bottom: 8px; }
.rgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 60px; }
.rcard { grid-column: span 2; background: var(--grey); border-radius: var(--r-card); padding: 30px 30px 32px; display: flex; flex-direction: column; }
.rcard.wide { grid-column: span 3; }
.rcard img { width: auto; height: 200px; align-self: flex-end; margin: -6px -6px 22px 0; filter: drop-shadow(0 16px 18px rgba(0, 40, 110, .22)); }
.rcard.wide img { height: 250px; }
.rcard h3 { font-weight: 500; font-size: 30px; letter-spacing: -.03em; margin-top: auto; }
.rcard p { margin-top: 10px; color: var(--ink2); font-size: 16px; max-width: 30em; }

/* where it stands */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 56px; }
.steps article { border-top: 2px solid var(--ink); padding-top: 20px; }
.steps article:first-child { border-color: var(--blue); }
.steps article:first-child h3 { color: var(--blue); }
.steps h3 { font-weight: 500; font-size: 26px; letter-spacing: -.02em; }
.steps p { margin-top: 12px; color: var(--ink2); font-size: 16.5px; }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; align-items: start; padding-bottom: 130px; }
.faq h2 { font-size: clamp(36px, 4vw, 56px); }
.qlist { display: grid; gap: 10px; }
.qlist details { background: var(--grey); border-radius: 16px; }
.qlist summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 17.5px; min-height: 56px; }
.qlist summary::-webkit-details-marker { display: none; }
.qlist summary::after { content: '+'; font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink2); transition: transform .25s; }
.qlist details[open] summary::after { transform: rotate(45deg); }
.qlist details p { padding: 0 22px 20px; color: var(--ink2); font-size: 16px; max-width: 46em; }

/* close */
.end { min-height: 100svh; display: flex; flex-direction: column; border-radius: 40px 40px 0 0; }
.end .hero-bg img { object-position: 50% 62%; }
.end::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(1, 3, 10, .3), rgba(1, 3, 10, 0) 35%, rgba(1, 3, 10, .1) 60%, rgba(1, 3, 10, .82)); pointer-events: none; }
.end-in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 120px 20px 40px; text-align: center; }
.end-in h2 { font-size: min(11.4vw, 19svh); letter-spacing: -.05em; text-shadow: 0 4px 50px rgba(0, 10, 40, .45); }
.foot { position: relative; z-index: 2; padding: 0 var(--gut) calc(30px + var(--sab)); display: grid; grid-template-columns: auto 1fr; gap: 14px 40px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-end; font-size: 16px; }
.foot nav a:hover { text-decoration: underline; }
.foot p { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 16px; font-size: 14px; color: #c9d6ee; }

/* reveal on scroll (only when the script is running) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } .pill, .panel-view, .acc-body { transition: none; } }

/* tablet */
@media (max-width: 1100px) {
  :root { --gut: 32px; }
  .rail { display: none; }
  .inside-grid, .roles-head { gap: 36px; }
  .tray { padding: 44px 32px 34px; border-radius: 32px; }
  .fcard { min-height: 380px; }
}

/* phone */
@media (max-width: 700px) {
  :root { --gut: 20px; --r-card: 26px; }
  body { font-size: 16px; }
  .nav { top: calc(12px + var(--sat)); padding: 0 14px; justify-content: space-between; align-items: flex-start; gap: 10px; }
  .menu { width: 146px; transition: width .3s; }
  .menu.open { width: min(280px, calc(100vw - 28px)); position: relative; z-index: 2; }
  .menu .wordmark { display: none; }
  .launch { position: static; padding: 6px 6px 6px 16px; gap: 10px; font-size: 16px; margin-top: 1px; }
  .menu.open + .launch { visibility: hidden; position: absolute; }
  .menu-list a { padding: 13px 14px; }

  .hero { min-height: 640px; }
  .hero-bg img { object-position: 50% 50%; }
  .hero-in { padding: 90px 16px 90px; }
  h1 { font-size: min(15.4vw, 12svh); }
  .br { display: none; }
  .cta-row { margin: 13svh 0 13.5svh; }
  .cta { font-size: 18px; padding: 9px 9px 9px 22px; gap: 20px; }
  .powered { font-size: 17px; margin-top: 1.6svh; }
  .copy { left: 18px; font-size: 14px; } .explore { right: 18px; font-size: 14px; }

  .sec { padding-top: 84px; }
  .idea { padding-top: 70px; }
  h2 { font-size: clamp(40px, 11.6vw, 52px); }
  .lead { font-size: 29px; }
  .sub { font-size: 17px; }
  .inside-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
  .acc { padding-top: 0; }
  .acc-item button { padding: 20px 20px; font-size: 20px; min-height: 64px; }
  .acc-body p { padding: 0 20px; } .acc-item.open .acc-body p { padding-bottom: 20px; }
  .panel { min-height: 380px; order: -1; }
  .panel-view { padding: 24px; }
  .nums { gap: 22px 18px; } .nums b { font-size: 44px; }

  .floor { margin-top: 84px; }
  .floor-stage { height: min(70svh, 600px); }
  .floor-head { padding: 84px var(--gut) 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .floor-head p { font-size: 15.5px; padding-bottom: 0; }
  .floor-foot { flex-direction: column; align-items: flex-start; bottom: 20px; gap: 12px; }
  .floor-foot p { font-size: 13.5px; }

  .agents { padding: 70px 10px 0; }
  .tray { padding: 34px 14px 26px; border-radius: 28px; }
  .tray-head { padding: 0 6px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .tray-notes { text-align: left; font-size: 14.5px; }
  .tray-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .alist { grid-template-columns: 1fr 1fr; gap: 8px; }
  .alist button { padding: 13px 14px; border-radius: 16px; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 84px; }
  .alist button b { font-size: 18px; } .alist button span { font-size: 13px; } .alist button em { font-size: 16px; }
  .acard-top { padding: 22px 20px 24px; min-height: 150px; }
  .acard-top canvas { width: 32%; } .acard-top p { max-width: 68%; }
  .rows { padding: 4px 20px 0; } .rows div { font-size: 15px; }
  .acard-note { margin: 4px 20px 0; } .acard-go { margin: 16px 20px 22px; min-height: 52px; }
  .tray-fine { padding: 0 6px; font-size: 14px; margin-top: 22px; }

  .flow { grid-template-columns: 1fr; margin-top: 34px; }
  .fcard { min-height: 0; padding: 26px 24px 28px; }
  .fbig { font-size: 84px; padding-top: 6px; margin-bottom: 26px; } .fbig.blue { padding-top: 6px; }
  .fcard.solid img { width: 190px; margin-bottom: 22px; }
  .segs { margin: -6px 0 28px; } .segs i { height: 26px; }
  .farrow { margin: -15px auto; transform: rotate(90deg); }
  .notyet { margin-top: 20px; font-size: 15px; }

  .roles-head { grid-template-columns: 1fr; gap: 16px; }
  .roles-head p { font-size: 17px; }
  .rgrid { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; }
  .rcard, .rcard.wide { grid-column: auto; padding: 24px 24px 26px; }
  .rcard img, .rcard.wide img { height: 170px; margin-bottom: 14px; }
  .rcard h3 { font-size: 27px; }

  .steps { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .faq { grid-template-columns: 1fr; gap: 26px; padding-bottom: 84px; }
  .qlist summary { padding: 16px 18px; font-size: 16.5px; }
  .qlist details p { padding: 0 18px 18px; font-size: 15.5px; }

  .end { border-radius: 28px 28px 0 0; }
  .end-in h2 { font-size: 15.4vw; }
  .foot { grid-template-columns: 1fr; gap: 16px; }
  .foot nav { justify-content: flex-start; gap: 4px 22px; } .foot nav a { padding: 8px 0; }
  .foot p { font-size: 13px; }
}
