/* =========================================================================
   Clona landing — design tokens
   ========================================================================= */
:root {
  --bg:            #0a0e11;
  --text:          #eef3f6;
  --text-2:        #d7e2e8;
  --text-3:        #b4c2cb;
  --muted:         #a7b6c0;
  --muted-2:       #8d9ca6;
  --muted-3:       #7d8c96;
  --muted-4:       #6f7e88;

  --accent:        #53B4DE;
  --accent-soft:   #8fd0ec;
  --accent-deep:   #237da8;
  --grad:          linear-gradient(180deg, #2ea3d4, #1b7aa3);
  --grad-hover:    linear-gradient(180deg, #43b3e0, #218ab6);
  --grad-shadow:   0 6px 20px rgba(46, 163, 212, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
  --grad-shadow-lg:0 10px 30px rgba(46, 163, 212, .3), inset 0 1px 0 rgba(255, 255, 255, .22);

  --up:            #2ebd85;
  --up-2:          #4ade80;
  --up-3:          #3ddc97;
  --down:          #f6465d;
  --down-2:        #f43f5e;
  --down-3:        #ff6b72;
  --warn:          #f5b83d;

  --line:          rgba(255, 255, 255, .07);
  --line-soft:     rgba(255, 255, 255, .05);
  --line-strong:   rgba(255, 255, 255, .12);
  --accent-line:   rgba(83, 180, 222, .12);

  --surface:       #111618;
  --surface-2:     #0d1317;
  --surface-3:     #0f151a;
  --chip:          #1a2227;
  --copy-chip:     #162630;

  --shell:         1200px;
  --gutter:        clamp(20px, 5vw, 40px);
  --section-pad:   clamp(72px, 10vw, 128px);
  --font:          'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:          'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* =========================================================================
   Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page { min-height: 100vh; background: var(--bg); overflow-x: hidden; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: #bfe6f6; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }
img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
::selection { background: rgba(83, 180, 222, .35); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #04141d; padding: 12px 18px; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #04141d; }

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-top: var(--section-pad); }
.section--flush { padding-inline: 0; }
.section--last { padding-bottom: var(--section-pad); }

.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.section__head--split {
  flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px; max-width: none; margin-bottom: 30px;
}
.section__head--split > .section__intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }

.h2 {
  font-size: clamp(32px, 4vw, 50px); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.05;
}
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }

.link-arrow { font-size: 15px; font-weight: 600; color: var(--accent); padding: 10px 0; }
.link-arrow:hover { color: var(--accent-soft); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--grad-shadow); }
.btn--primary.btn--lg { box-shadow: var(--grad-shadow-lg); }
.btn--primary:hover { background: var(--grad-hover); color: #fff; }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(83, 180, 222, .6); color: #fff; }

.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; color: var(--bg); }

.btn--outline { border: 1px solid rgba(255, 255, 255, .3); color: var(--text); }
.btn--outline:hover { border-color: #fff; color: #fff; }

/* Pill / chip toggles ---------------------------------------------------- */
.chip {
  flex: none; font-size: 14px; font-weight: 500;
  padding: 0 14px; height: 40px; display: inline-flex; align-items: center;
  border-radius: 10px; background: var(--chip); color: var(--text-2); white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.chip:hover { color: #fff; }
.chip.is-on { background: rgba(83, 180, 222, .14); color: var(--accent); }

.chip--lg { font-size: 15px; padding: 0 18px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .06); }

.iconbtn {
  width: 40px; height: 40px; border-radius: 10px; background: var(--chip);
  display: flex; align-items: center; justify-content: center; color: var(--muted-2);
  transition: background .18s ease, color .18s ease;
}
.iconbtn.is-on { background: rgba(83, 180, 222, .16); color: var(--accent); }

/* =========================================================================
   Nav
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 17, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav__bar {
  max-width: var(--shell); margin: 0 auto; padding-inline: var(--gutter);
  height: 68px; display: flex; align-items: center; gap: 28px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.nav__brand:hover { color: var(--text); }
.nav__brand img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; }
.nav__brand span { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }

.nav__links { display: flex; align-items: center; gap: 22px; flex: 1; min-width: 0; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--text-3); white-space: nowrap; }
.nav__links a:hover { color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__login { font-size: 14px; font-weight: 600; color: var(--text-2); padding: 11px 16px; border-radius: 999px; }
.nav__login:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.nav__mobile { display: none; margin-left: auto; align-items: center; gap: 10px; }
.nav__mobile .btn { height: 44px; padding: 0 16px; }
.nav__burger {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text);
}

.nav__drawer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 8px var(--gutter) 20px; background: var(--bg);
}
.nav__drawer a {
  display: flex; align-items: center; min-height: 54px;
  font-size: 18px; font-weight: 600; color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

@media (max-width: 1179px) {
  .nav__links, .nav__actions { display: none; }
  .nav__mobile { display: flex; }
}
@media (min-width: 1180px) {
  .nav__drawer { display: none !important; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(35, 125, 168, .28), transparent 70%),
    radial-gradient(40% 50% at 10% 0%,  rgba(35, 125, 168, .14), transparent 70%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(24px, 5vw, 64px); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__title {
  font-size: clamp(42px, 6.4vw, 78px); font-weight: 700;
  line-height: 1; letter-spacing: -.045em; text-wrap: balance;
}

.hero__rotator { position: relative; height: clamp(40px, 5vw, 60px); overflow: hidden; }
.hero__phrase {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  display: flex; align-items: center;
  font-size: clamp(28px, 3.8vw, 46px); font-weight: 600; letter-spacing: -.03em;
  white-space: nowrap; color: var(--accent);
  visibility: hidden; opacity: 0; transform: translateY(-24px);
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .35s ease;
}
.hero__phrase.is-next { transform: translateY(24px); }
.hero__phrase.is-on { visibility: visible; opacity: 1; transform: translateY(0); }
.hero__rotator-still {
  display: none;
  font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--accent); line-height: 1.45;
}

.hero__lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.hero__tag { font-size: 18px; font-weight: 600; color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.hero__cta .btn { flex: 1 1 auto; max-width: 260px; min-width: 200px; }

/* App downloads --------------------------------------------------------- */
.hero__downloads { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 6px; }
.hero__downloads .hero__cta { width: 100%; gap: 16px; padding-top: 0; }
.hero__downloads .btn { min-height: 64px; font-size: 18px; }
.hero__downloads .btn--primary, .nav .btn--primary { background: #00a9e5; }
.hero__downloads .btn--primary:hover, .nav .btn--primary:hover { background: #20b9ef; }
.hero__downloads [data-web-app]:disabled { cursor: default; }
.download-status { color: var(--muted); font-size: 15px; line-height: 1.5; }
.download-dialog {
  width: min(480px, calc(100% - 40px)); max-height: calc(100svh - 40px); overflow-y: auto;
  margin: auto; padding: 28px; border: 1px solid var(--accent-line); border-radius: 22px;
  background: var(--surface-2); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.download-dialog::backdrop { background: rgba(0,0,0,.72); }
.download-dialog__head { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; margin-bottom: 16px; }
.download-dialog__head h2 { font-size: 25px; line-height: 1.15; letter-spacing: -.025em; }
.download-dialog__head form { margin: 0; }
.download-dialog__close { padding: 5px 0; color: var(--accent-soft); font-size: 14px; }
.download-dialog > p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.download-dialog__choices { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.download-dialog__choices button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border-radius: 14px; background: var(--surface-3); border: 1px solid var(--line); text-align: left; }
.download-dialog__choices button:disabled { cursor: default; }
.download-dialog__choices button > span:first-child { font-size: 18px; font-weight: 600; }
.download-dialog__choices button > span:nth-child(2) { font-size: 14px; color: var(--muted); }
.download-dialog__choices small { font-size: 12px; color: var(--accent-soft); }
body:has(.download-dialog[open]) { overflow: hidden; }
@media (max-width: 599px) {
  .hero__downloads .hero__cta { gap: 12px; }
  .hero__downloads .hero__cta .btn { min-width: 0; min-height: 56px; flex: 1 1 0; padding-inline: 16px; font-size: 16px; }
  .download-dialog { padding: 22px; }
  .download-dialog__head h2 { font-size: 23px; }
  .download-dialog__choices button { padding: 14px; }
}

/* Orbit ------------------------------------------------------------------ */
.orbit {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1;
  margin: 0 auto; transition: transform .3s ease-out;
}
.orbit__core-glow {
  position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 180, 222, .28), rgba(83, 180, 222, 0) 70%);
  filter: blur(10px);
}
.orbit__ring { position: absolute; inset: 0; pointer-events: none; }
.orbit__ring > i {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border: 1px solid rgba(83, 180, 222, var(--ring-alpha)); border-radius: 50%;
}
.orbit__track { position: absolute; inset: 0; pointer-events: none; }
.orbit__mover {
  position: absolute; top: 0; left: 0;
  offset-rotate: 0deg; offset-anchor: 50% 50%;
  animation-timing-function: linear; animation-iteration-count: infinite;
  pointer-events: auto;
}
.orbit__mover:hover { animation-play-state: paused; }
.orbit__mover:hover .orbit__depth { animation-play-state: paused; }
.orbit__depth { animation: depth linear infinite; }
.orbit__chip {
  position: relative; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow .4s ease, opacity .4s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45); opacity: .78;
}
.orbit__chip.is-on { box-shadow: 0 0 0 2px var(--accent), 0 0 26px rgba(83, 180, 222, .65); opacity: 1; }
.orbit__chip img { border-radius: 50%; }
.orbit__chip .pin {
  position: absolute; right: -4px; bottom: -4px; width: 52%; height: 52%;
  object-fit: cover; border-radius: 50%; border: 2px solid var(--bg);
}
.orbit__logo {
  position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(83, 180, 222, .35), 0 0 60px rgba(83, 180, 222, .35), 0 20px 50px rgba(0, 0, 0, .5);
}
.orbit__logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }

@keyframes travel     { from { offset-distance: 0% }   to { offset-distance: 100% } }
@keyframes travel-rev { from { offset-distance: 100% } to { offset-distance: 0% } }
@keyframes depth {
    0% { transform: scale(.9);  opacity: .8 }
   25% { transform: scale(1.08);opacity: 1 }
   50% { transform: scale(.9);  opacity: .8 }
   75% { transform: scale(.7);  opacity: .5 }
  100% { transform: scale(.9);  opacity: .8 }
}
@keyframes ncflow {
    0% { left: 0; opacity: 0 }
   15% { opacity: 1 }
   85% { opacity: 1 }
  100% { left: calc(100% - 8px); opacity: 0 }
}
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* =========================================================================
   Proof strip
   ========================================================================= */
.proof { border-block: 1px solid var(--line); }
.proof__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.proof__track::-webkit-scrollbar { display: none; }
.proof__item {
  flex: 1 0 164px; scroll-snap-align: start;
  padding: 28px clamp(16px, 2vw, 24px);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.proof__v { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.proof__k { font-size: 14px; color: var(--muted-2); }

@media (max-width: 1179px) {
  .proof {
    overflow: hidden;
    margin-inline: calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .proof__track {
    width: max-content; overflow: visible;
    animation: ticker 22s linear infinite;
  }
  .proof__item { flex: none; width: auto; min-width: 140px; padding: 24px 22px; }
  .proof__v { font-size: 26px; }
  .proof__k { white-space: nowrap; }
}

/* =========================================================================
   Choose — the two panels
   ========================================================================= */
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }

.panel {
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px;
  background: linear-gradient(180deg, #10171c, var(--surface-2));
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s ease;
}
.panel:hover { border-color: rgba(83, 180, 222, .35); }

.panel__stage {
  position: relative; height: 340px;
  background: radial-gradient(80% 90% at 50% 0%, rgba(35, 125, 168, .45), rgba(10, 14, 17, 0) 70%);
  display: flex; justify-content: center; overflow: hidden;
}
.panel__phone {
  position: relative; width: 250px; margin-top: 36px; aspect-ratio: 659 / 880;
  border-radius: 30px 30px 0 0; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
}
.panel__phone img { position: absolute; width: 254%; top: -6.5%; max-width: none; }
.panel__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(13, 19, 23, 0), #0e1519);
}
.panel__board {
  width: min(94%, 460px); margin-top: 36px; align-self: flex-start;
  border-radius: 18px 18px 0 0; background: var(--surface);
  border: 1px solid rgba(83, 180, 222, .14); border-bottom: none;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5); padding: 6px 14px 0;
}
.miniboard__head,
.miniboard__row {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px;
}
.miniboard__head { padding: 12px 4px 8px; font-size: 12px; color: #9aa4ab; }
.miniboard__row {
  --pix: 22px;
  align-items: center; padding: 9px 4px;
  border-top: 1px solid rgba(255, 255, 255, .04); font-size: 13px;
}
.miniboard__who { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text); }
.miniboard__who > .n { color: #9aa4ab; flex: none; }
.miniboard__who > .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.miniboard__row .up { color: var(--up-2); }
.pill-copy {
  display: inline-flex; padding: 0 10px; height: 28px; align-items: center;
  border-radius: 8px; background: var(--copy-chip); color: var(--accent); font-size: 12px;
}

.panel__body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; flex: 1; }
.panel__title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.025em; }
.panel__text { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.panel__body .btn { margin-top: auto; align-self: flex-start; }

.ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 20px; padding: 6px 0 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #d3dee5; }
.ticks li::before {
  content: ''; flex: none; width: 16px; height: 16px;
  background: no-repeat center / 16px 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2353B4DE' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Avatar mosaics --------------------------------------------------------- */
.pix {
  width: var(--pix); height: var(--pix);
  border-radius: 50%; overflow: hidden; flex: none;
  display: grid; grid-template-columns: repeat(5, 1fr); background: var(--chip);
}
.pix > i { display: block; }

/* =========================================================================
   Leaderboard
   ========================================================================= */
.lb__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 18px; scroll-margin-top: 84px; }
.lb__title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.lb__controls { display: flex; gap: 12px; margin-left: auto; align-items: center; }
.lb__period { font-size: 14px; padding: 0 16px; height: 40px; display: flex; align-items: center; border: 1px solid var(--accent-line); border-radius: 12px; color: var(--accent); background: var(--surface-2); }
.lb__views { display: flex; gap: 4px; }
.lb__desktop-label { display: inline; }
.lb__mobile-label { display: none; }
.lb__tablewrap { border: 1px solid var(--accent-line); border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #101a1e, #111416); padding: 10px 14px 0; }
.lb__table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.lb__table th { padding: 14px 7px; color: #9aa4ab; font-size: 12px; font-weight: 500; text-align: right; white-space: nowrap; background: #0c1920; }
.lb__table th:first-child { border-radius: 14px 0 0 14px; }
.lb__table th.lb__actioncell { border-radius: 0 14px 14px 0; }
.lb__table th button { display: inline-flex; align-items: center; gap: 5px; }
.lb__table th button span { font-size: 11px; color: var(--accent); }
.lb__table td { height: 64px; padding: 10px 7px; text-align: right; white-space: nowrap; }
.lb__table .lb__rankcell, .lb__table .lb__tradercell { text-align: left; }
.lb__entry + .lb__detailsrow + .lb__entry { border-top: 1px solid rgba(255,255,255,.035); }
.lb__entry:hover { background: rgba(83,180,222,.035); }
.lb__rankinner { display: flex; align-items: center; gap: 6px; color: var(--text-3); }
.lb__change { font-size: 11px; }
.lb__identity { --pix: 25px; display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--text); font-weight: 500; }
.lb__identity > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__favorite { display: inline-flex; align-items: center; justify-content: center; flex: none; color: #7b898e; width: 20px; height: 28px; }
.lb__favorite.is-on { color: var(--accent); }
.lb__favorite.is-on svg { fill: rgba(83,180,222,.25); }
.lb__table .up, .lbcard--launch .up { color: #4ade80; }
.lb__table .down { color: var(--down); }
.lb__copy { display: inline-flex; justify-content: center; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; color: #fff; background: var(--grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); font-size: 14px; font-weight: 600; }
.lb__copy:hover { background: var(--grad-hover); color: #fff; }
.lb__expandcell, .lb__detailsrow { display: none; }
.lb__expand { width: 18px; height: 34px; color: var(--muted-2); font-size: 20px; }
.lb__expand[aria-expanded="true"] { transform: rotate(180deg); }
.lb__more { display: flex; justify-content: center; margin-top: 18px; }
.lb__more .btn { min-height: 42px; padding: 10px 22px; gap: 10px; font-size: 14px; }
.lb__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lbcard--launch { border: 1px solid var(--accent-line); border-radius: 22px; background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 22px; }
.lbcard__head { display: flex; align-items: center; gap: 8px; }
.lbcard__head .lb__favorite { margin-left: auto; }
.lbcard__rank { font-size: 14px; color: var(--muted-2); }
.lbcard__launchstats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.lbcard__launchstats dt { color: var(--muted-2); font-size: 13px; margin-bottom: 8px; }
.lbcard__launchstats dd { margin: 0; font-size: 19px; }
.lbcard--launch > .lb__copy { align-self: flex-start; }

@media (max-width: 1179px) {
  #copy-trading { padding-top: 36px; }
  #copy-trading .section__head { gap: 10px; margin-bottom: 22px; }
  #copy-trading .lede { font-size: 16px; line-height: 1.5; }
  .lb__extra, .lb__desktop-label { display: none; }
  .lb__mobile-label { display: inline; }
  .lb__tablewrap { padding: 0 8px; border-radius: 18px; }
  .lb__table { table-layout: fixed; font-size: 13px; }
  .lb__table th { padding: 14px 4px; font-size: 11px; background: transparent; overflow: hidden; text-overflow: ellipsis; }
  .lb__table td { padding: 10px 4px; }
  .lb__rankcell { width: 5%; }
  .lb__tradercell { width: 34%; }
  .lb__pnlcell { width: 21%; }
  .lb__roicell { width: 18%; }
  .lb__actioncell { width: 16%; }
  .lb__table .lb__expandcell { display: table-cell; width: 6%; padding-inline: 0; }
  .lb__rankinner > .lb__favorite, .lb__change { display: none; }
  .lb__identity { --pix: 24px; gap: 5px; }
  .lb__table .lb__identity > .lb__mobile-label { display: block; }
  .lb__mobilestar { flex: none; }
  .lb__mobilestar .lb__favorite { width: 16px; }
  .lb__mobilestar .lb__favorite svg { width: 14px; height: 14px; }
  .lb__copy { height: 34px; padding-inline: 12px; font-size: 13px; }
  .lb__detailsrow:not([hidden]) { display: table-row; }
  .lb__details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; margin: 0; padding: 8px 12px 14px; }
  .lb__details dt { font-size: 11px; color: var(--muted-2); margin-bottom: 5px; }
  .lb__details dd { margin: 0; font-size: 13px; }
  .lb__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
  #copy-trading .h2 { font-size: 32px; }
  .lb__title { font-size: 22px; }
  .lb__tablewrap { padding-inline: 4px; }
  .lb__table { font-size: 11.5px; }
  .lb__table td { height: 62px; padding-inline: 3px; }
  .lb__table th { font-size: 10px; padding-inline: 3px; }
  .lb__table th.lb__tradercell { text-transform: uppercase; }
  .lb__table .lb__identity { --pix: 20px; gap: 4px; }
  .lb__copy { height: 32px; padding-inline: 9px; font-size: 12px; border-radius: 9px; }
  .lb__expand { font-size: 18px; width: 14px; }
  .lb__cards { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .lb__table { font-size: 10px; }
  .lb__table td, .lb__table th { padding-inline: 2px; }
  .lb__table .lb__identity { --pix: 16px; gap: 3px; }
  .lb__mobilestar { display: none !important; }
  .lb__copy { font-size: 11px; padding-inline: 7px; }
}

/* Match the compact source leaderboard without changing other sections. */
@media (min-width: 1180px) {
  #copy-trading { padding-top: 40px; }
  #copy-trading .section__head { max-width: none; gap: 10px; margin-bottom: 24px; }
  #copy-trading .h2 { font-size: 42px; }
  #copy-trading .lede { font-size: 16px; line-height: 1.5; }
}
@media (min-width: 1180px) and (max-height: 800px) {
  #copy-trading { padding-top: 32px; }
  #copy-trading .section__head { margin-bottom: 20px; }
}

/* =========================================================================
   Markets
   ========================================================================= */
.mkt {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, #0a6fa3 0%, #0b3f5c 90px, #0a1419 220px, #0a1115 100%);
}
.mkt__top { padding: 20px clamp(16px, 3vw, 28px) 8px; display: flex; flex-direction: column; gap: 14px; }
.mkt__search {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  border-radius: 12px; background: rgba(8, 14, 18, .7); border: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted-2); font-size: 15px;
}
.mkt__live { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-3); }
.mkt__live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); }
.mkt__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.mkt__tabs::-webkit-scrollbar { display: none; }

.mkt__grid {
  padding: 6px clamp(8px, 2vw, 16px) 14px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  column-gap: clamp(12px, 3vw, 40px);
}
.mktrow {
  display: flex; align-items: center; gap: 14px; padding: 14px 12px;
  border-radius: 14px; cursor: pointer; transition: background .18s ease;
}
.mktrow:hover { background: rgba(255, 255, 255, .035); }
.mktrow__icon {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.mktrow__icon img { border-radius: 50%; }
.mktrow__icon .pin {
  position: absolute; right: -3px; bottom: -3px; width: 52%; height: 52%;
  object-fit: cover; border-radius: 50%; border: 2px solid #0a1115;
}
.mktrow__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mktrow__name { font-size: 17px; font-weight: 500; color: #f4f7f9; }
.mktrow__vol { font-size: 14px; color: var(--muted-2); }
.mktrow__px { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mktrow__last { font-size: 17px; font-weight: 500; color: #f4f7f9; font-variant-numeric: tabular-nums; }
.mktrow__chg { font-size: 14px; font-variant-numeric: tabular-nums; }
.mktrow__chg.up { color: var(--up-3); }
.mktrow__chg.down { color: var(--down-3); }

/* =========================================================================
   Terminal (laptop + phone)
   ========================================================================= */
.terminal-shot {
  margin: 0; overflow: hidden; border-radius: 20px;
  border: 1px solid var(--accent-line); background: #0b1114;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.terminal-shot img { width: 100%; height: auto; }
.terminal-showcase { display: grid; grid-template-columns: minmax(0, 1fr) 22%; gap: 24px; align-items: end; }
.terminal-showcase > .phone { position: relative; right: auto; bottom: auto; justify-self: center; }
@media (max-width: 839px) {
  .terminal-showcase { display: flex; flex-direction: column; align-items: center; gap: 32px; }
  .terminal-showcase .terminal-shot { width: 100%; }
}


.term { position: relative; width: 100%; }
.term__glow {
  position: absolute; left: 8%; right: 18%; top: -30px; height: 300px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(46, 163, 212, .32), transparent 70%);
  filter: blur(24px); pointer-events: none;
}
.laptop { position: relative; width: 100%; }
.laptop__lid {
  background: #16191c; border-radius: 20px 20px 0 0;
  box-shadow: 0 0 0 1px #2a2f33, 0 50px 100px rgba(0, 0, 0, .55);
}
.laptop__screen { overflow: hidden; border-radius: 6px; background: #0b1114; }
.laptop__scale { transform-origin: top left; }
.laptop__base {
  position: relative; margin: 0 -5%; border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #3a4046, #1c2024 60%, #111417);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}
.laptop__base span {
  position: absolute; left: 50%; top: 0; width: 16%; height: 40%;
  transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #23282c;
}

.phone { position: absolute; right: 0; bottom: 0; }
.phone__scale { transform-origin: top left; }
.phone__shell {
  width: 300px; height: 620px; border-radius: 46px; background: #050607; padding: 9px;
  box-shadow: 0 0 0 1.5px #2a2f33, 0 40px 80px rgba(0, 0, 0, .6);
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: linear-gradient(180deg, #0a6fa3 0%, #0b3f5c 120px, #0a1419 260px);
  display: flex; flex-direction: column; color: var(--text); position: relative;
}
.phone__status {
  height: 40px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; font-size: 12px; font-weight: 600;
}
.phone__status .notch { width: 80px; height: 22px; border-radius: 999px; background: #000; }
.phone__sym { padding: 6px 16px 0; display: flex; align-items: center; gap: 9px; }
.phone__sym img { width: 28px; height: 28px; }
.phone__sym-name { font-size: 14px; font-weight: 600; }
.phone__sym-sub { font-size: 11px; color: var(--text-3); }
.phone__px { margin-left: auto; text-align: right; }
.phone__px div:first-child { font-size: 15px; font-weight: 600; font-family: var(--mono); }
.phone__px .up { font-size: 11px; color: var(--up); }
.phone__tf { display: flex; gap: 6px; padding: 12px 16px 0; font-size: 11px; }
.phone__tf span { padding: 5px 10px; color: var(--text-3); }
.phone__tf .is-on { border-radius: 8px; background: rgba(83, 180, 222, .18); color: var(--accent); }
.phone__chart { width: 100%; height: 288px; display: block; margin-top: 6px; }
/* margin-top:auto sits the card right above the Long/Short buttons. */
.phone__pos { margin: auto 12px 0; border-radius: 16px; background: #111a20; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.phone__pos-top { display: flex; justify-content: space-between; font-size: 12px; }
.phone__pos-top > span { font-weight: 600; }
.phone__pos-top em {
  font-style: normal; font-size: 10px; color: var(--up);
  background: rgba(46, 189, 133, .14); padding: 1px 5px; border-radius: 4px;
}
.phone__pos-top b { font-weight: 400; font-family: var(--mono); }
.phone__pos-top b.up { color: var(--up); }
.phone__pos-sub { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted-3); font-family: var(--mono); }
.phone__actions { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; }
.phone__actions .sidebtn { height: 44px; border-radius: 12px; font-size: 14px; }
.phone__tabs {
  height: 64px; flex: none; display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: center; text-align: center; font-size: 10px; color: var(--muted-4);
  background: #0a1115; border-top: 1px solid var(--line-soft);
}
.phone__tabs span { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.phone__tabs svg { width: 21px; height: 21px; display: block; }
.phone__tabs .is-on { color: var(--accent); font-weight: 600; }

/* In-laptop app ---------------------------------------------------------- */
.app {
  width: 1280px; height: 800px; background: #0b1114; color: var(--text);
  font-family: var(--font); display: flex; flex-direction: column; overflow: hidden;
}
.app__top {
  height: 58px; flex: none; display: flex; align-items: center; gap: 26px; padding: 0 22px;
  background: linear-gradient(180deg, #0f3446, #0c2230); border-bottom: 1px solid var(--line-soft);
}
.app__brand { display: flex; align-items: center; gap: 8px; }
.app__brand img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.app__brand span { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.app__nav { display: flex; gap: 6px; font-size: 14px; color: var(--text-3); }
.app__nav span { padding: 8px 12px; border-radius: 9px; }
.app__nav .is-on { background: rgba(255, 255, 255, .07); color: #fff; }
.app__topactions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.app__deposit { padding: 9px 16px; border-radius: 10px; background: var(--grad); font-size: 13px; font-weight: 600; }
.app__account { padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }

.app__ticker {
  height: 60px; flex: none; display: flex; align-items: center; gap: 30px; padding: 0 22px;
  background: #0d171d; border-bottom: 1px solid var(--line-soft);
}
.app__sym { display: flex; align-items: center; gap: 10px; }
.app__sym img { width: 30px; height: 30px; }
.app__sym-name { font-size: 15px; font-weight: 600; }
.app__sym-sub { font-size: 11px; color: var(--muted-3); }
.app__last { font-size: 20px; font-weight: 600; font-family: var(--mono); color: var(--up); }
.app__stat { display: flex; flex-direction: column; gap: 3px; }
.app__stat span { font-size: 11px; color: var(--muted-3); }
.app__stat b { font-size: 13px; font-weight: 400; font-family: var(--mono); color: var(--text); }
.app__stat b.up { color: var(--up); }

.app__body { flex: 1; display: grid; grid-template-columns: 1fr 300px; gap: 12px; padding: 12px; min-height: 0; }
.app__left { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.app__chart {
  flex: 1; border-radius: 14px; background: #0e161b; border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; min-height: 0;
}
.app__chart-bar {
  height: 40px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 14px;
  font-size: 12px; color: var(--muted-3); border-bottom: 1px solid rgba(255, 255, 255, .04);
}
.app__chart-bar .is-on { color: var(--accent); font-weight: 600; }
.app__chart-bar .sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .1); }
.app__chart-bar .ma { margin-left: auto; font-family: var(--mono); }
.app__chart-bar .ma b { font-weight: 400; color: var(--warn); }
#lapChart { flex: 1; width: 100%; display: block; }

.app__positions { height: 176px; flex: none; border-radius: 14px; background: #0e161b; border: 1px solid var(--line-soft); padding: 0 16px; }
.app__postabs {
  display: flex; gap: 26px; font-size: 13px; color: var(--muted-3); height: 42px;
  align-items: center; border-bottom: 1px solid var(--line-soft);
}
.app__postabs .is-on { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); height: 100%; display: flex; align-items: center; }
.app__postabs .closeall { margin-left: auto; color: var(--warn); }
.app__posrow {
  display: grid; grid-template-columns: 1.4fr repeat(6, 1fr) 1fr;
  font-size: 12px; font-family: var(--mono); padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .04); align-items: center;
}
.app__posrow--head { font-size: 11px; color: var(--muted-3); padding: 12px 0 8px; border-top: 0; font-family: var(--font); }
.app__posmkt { display: flex; align-items: center; gap: 8px; font-family: var(--font); }
.app__posmkt img { width: 18px; height: 18px; border-radius: 50%; }
.side { font-style: normal; font-size: 10px; padding: 1px 5px; border-radius: 4px; }
.side--long { background: rgba(46, 189, 133, .14); color: var(--up); }
.side--short { background: rgba(246, 70, 93, .14); color: var(--down); }
.app__posrow .up { color: var(--up); }
.app__posrow .warn { color: var(--warn); }
.app__posrow .dim { color: var(--text-3); }
.app__posrow .close { color: var(--warn); font-family: var(--font); text-align: right; }

.app__order {
  border-radius: 14px; background: #0e161b; border: 1px solid var(--line-soft);
  padding: 14px; display: flex; flex-direction: column; gap: 11px;
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid2--side { padding-top: 4px; }
.field {
  height: 40px; border-radius: 10px; background: #141d23;
  display: flex; align-items: center; justify-content: space-between; padding: 0 12px;
  font-size: 13px; color: var(--muted-3);
}
.field b { font-weight: 400; color: var(--text); font-family: var(--mono); }
.field--lev { color: var(--warn); font-family: var(--mono); }
.field--lev b { color: var(--muted-3); }
.app__ordertabs { display: flex; gap: 18px; font-size: 13px; color: var(--muted-3); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.app__ordertabs span { padding: 6px 0; }
.app__ordertabs .is-on { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.slider { position: relative; height: 6px; border-radius: 999px; background: #1c262d; margin: 6px 0; }
.slider__fill { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: 999px; background: linear-gradient(90deg, #1b7aa3, #2ea3d4); }
.slider__knob {
  position: absolute; left: 62%; top: -5px; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: #2ea3d4; border: 3px solid #0e161b;
}
.slider__marks { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted-4); font-family: var(--mono); }
.app__tpsl { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.app__tpsl .check {
  width: 15px; height: 15px; border-radius: 4px; background: #2ea3d4;
  display: flex; align-items: center; justify-content: center; font-size: 10px;
}
.sidebtn { height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.sidebtn--long { background: #1a9e5c; }
.sidebtn--short { background: #e8424f; }
.app__summary { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.app__summary > div { display: flex; justify-content: space-between; font-size: 12px; }
.app__summary span { color: var(--text-3); }
.app__summary b { font-weight: 400; font-family: var(--mono); color: var(--text); }
.app__summary b.warn { color: var(--warn); }
.app__transfer {
  margin-top: auto; height: 42px; border-radius: 10px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}

/* =========================================================================
   How it works
   ========================================================================= */
@media (min-width: 1180px) {
  #how-it-works .section__head { gap: 10px; margin-bottom: 24px; }
  #how-it-works .h2 { font-size: 42px; }
}
@media (min-width: 1180px) and (max-height: 800px) {
  #how-it-works .section__head { margin-bottom: 20px; }
}



#how-it-works .section__head { max-width: 820px; margin-inline: auto; }
.guide { max-width: 820px; margin-inline: auto; }
.guide__frame {
  position: relative; aspect-ratio: 16 / 9; margin: 0;
  border: 1px solid rgba(83, 180, 222, .22); border-radius: 24px;
  overflow: hidden; background: #0b1820;
}
/* The cover image already carries the title, so it is shown as it is and the play button sits over the phone, clear of the text. */
.guide__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.guide__cover {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 0 0 77%;
  display: flex; align-items: center; justify-content: flex-start;
  background: none; border: 0; cursor: pointer; color: var(--text);
}
.guide__cover:hover .guide__play { transform: scale(1.06); }
.guide__cover:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: -6px; border-radius: 24px; }
.guide__cover:disabled { cursor: default; opacity: 1; }
.guide__play {
  width: 76px; height: 76px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--grad); box-shadow: 0 0 0 10px rgba(83, 180, 222, .08), var(--grad-shadow-lg);
  margin-left: -38px; transition: transform .15s ease;
}

.guide__video { position: absolute; inset: 0; width: 100%; height: 100%; background: #080e12; }
.guide__cta { margin-top: 22px; display: flex; justify-content: center; }
@media (min-width: 1180px) and (max-height: 800px) {
  #how-it-works .section__head, .guide { max-width: 720px; }
  #how-it-works .h2 { font-size: 38px; }
}
@media (max-width: 599px) {
  .guide__frame { aspect-ratio: 16 / 9; border-radius: 20px; }
  .guide__play { margin-left: -30px; }
  .guide__play { width: 60px; height: 60px; box-shadow: 0 0 0 7px rgba(83, 180, 222, .08), var(--grad-shadow); }
}

/* =========================================================================
   Funding
   ========================================================================= */
.fund { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.fund__card {
  border-radius: 24px; border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, #0f1c24, #0c1418);
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px;
}
.fund__head { display: flex; flex-direction: column; gap: 8px; }
.fund__title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.fund__text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.fund__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.fund__list { display: flex; flex-direction: column; gap: 10px; }
.fund__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 56px; padding: 0 18px; border-radius: 14px; background: #12202a;
  font-size: 16px; color: var(--text);
}
.fund__row img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.fund__row--accent { border: 1px solid rgba(83, 180, 222, .35); background: rgba(83, 180, 222, .08); }
.fund__badge {
  width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; flex: none;
}
.fund__badge--base { width: 28px; height: 28px; border-radius: 6px; background: #0000ff; }
.fund__applepay { font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -.01em; }

/* =========================================================================
   Why Clona
   ========================================================================= */
.why__title { margin-bottom: 32px; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr)); gap: 16px; margin-bottom: 16px; }
.why__card, .why__shot {
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px;
  background: linear-gradient(180deg, #10171c, var(--surface-2));
  overflow: hidden; display: flex; flex-direction: column;
}
.why__head { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.why__h { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.why__p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.why__stage {
  position: relative; height: 300px; margin-top: 22px; overflow: hidden;
  display: flex; justify-content: center;
  background: radial-gradient(80% 70% at 50% 100%, rgba(35, 125, 168, .3), transparent 70%);
}
.why__phone {
  position: relative; width: 210px; height: 284px; flex: none;
  border-radius: 26px 26px 0 0; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 50px rgba(0, 0, 0, .5);
}
.why__phone img { position: absolute; max-width: none; }
.why__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(180deg, rgba(13, 19, 23, 0), var(--surface-2));
}
.why__shots { display: flex; flex-wrap: wrap; gap: 16px; }
.why__shot { flex: 1 1 440px; }
.why__shot .why__head { padding: 26px 26px 0; }
.why__shot .why__h { font-size: 20px; }
.why__shot .why__p { max-width: 440px; }
.why__shotimg {
  position: relative; margin: 22px 0 0 26px; height: 230px; overflow: hidden;
  border-radius: 14px 0 0 0; border: 1px solid rgba(255, 255, 255, .08);
  border-right: none; border-bottom: none;
}
.why__shotimg img { position: absolute; max-width: none; }

/* =========================================================================
   Non-custodial
   ========================================================================= */
.nc {
  border-radius: 28px; border: 1px solid var(--line); background: #081116; overflow: hidden;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.nc__copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.nc__title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; white-space: nowrap; }
.nc__text { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); max-width: 500px; }
.nc__viz {
  position: relative; min-height: 360px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 40px; padding: 48px 24px;
  background: radial-gradient(50% 55% at 62% 50%, rgba(83, 180, 222, .16), transparent 70%);
}
.nc__dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
          mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.nc__flow { position: relative; display: flex; align-items: center; }
.nc__node {
  width: 96px; height: 96px; border-radius: 22px; background: #0c171d;
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: center; justify-content: center;
}
.nc__node--on {
  background: #0d1b22; border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(83, 180, 222, .06), 0 0 50px rgba(83, 180, 222, .35);
}
.nc__wire {
  position: relative; width: clamp(90px, 14vw, 150px); height: 2px;
  background: linear-gradient(90deg, rgba(83, 180, 222, .15), var(--accent));
}
.nc__spark {
  position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-soft); box-shadow: 0 0 12px var(--accent);
  animation: ncflow 2.4s ease-in-out infinite;
}
.nc__caption { position: relative; font-size: 15px; font-style: italic; color: var(--accent); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { max-width: 880px; margin: 0 auto; padding-inline: var(--gutter); }
.faq__title { text-align: center; margin-bottom: 36px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2);
  transition: background .2s ease, border-color .2s ease;
}
.faq__item.is-open { background: #10181d; border-color: rgba(83, 180, 222, .3); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 60px; padding: 16px 20px; width: 100%; text-align: left;
  font-size: 16px; font-weight: 600; line-height: 1.4;
}
.faq__q:hover { color: #fff; }
.faq__icon {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .06);
  display: flex; align-items: center; justify-content: center; flex: none;
  color: var(--accent); font-size: 17px; line-height: 1;
}
.faq__item.is-open .faq__icon { background: var(--accent); color: var(--bg); }
.faq__a { display: none; padding: 0 70px 20px 20px; font-size: 15px; line-height: 1.65; color: var(--muted); font-weight: 400; }
.faq__item.is-open .faq__a { display: block; }

/* =========================================================================
   Closing
   ========================================================================= */
.closing {
  position: relative; overflow: hidden; border-radius: 32px;
  border: 1px solid rgba(83, 180, 222, .22);
  background: linear-gradient(180deg, #0f3446, #0b1c26);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.closing__mark {
  position: absolute; width: 560px; height: 560px; left: 50%; top: 50%;
  transform: translate(-50%, -50%); opacity: .14; border-radius: 50%;
  pointer-events: none; object-fit: cover;
}
.closing__title {
  position: relative; font-size: clamp(34px, 5vw, 60px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; max-width: 760px;
}
.closing__text { position: relative; font-size: 18px; line-height: 1.6; color: #b9cfdb; max-width: 600px; }
.closing__cta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; width: 100%; }
.closing__cta .btn { flex: 0 1 240px; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { border-top: 1px solid var(--line); }
.footer__top {
  padding-block: 48px 28px;
  display: grid;
  /* Fixed counts, not auto-fit: auto-fit found room for four columns around
     660px and stranded the fifth group alone on the next row. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
}
.footer__brandcol { grid-column: 1 / -1; margin-bottom: 4px; }

@media (min-width: 560px) {
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
}

/* Wide: brand on the left, link groups clustered to the right at a steady 48px.
   Six 1fr tracks each trailed ~80px of dead space; spreading content-sized tracks
   edge to edge just moved that space into 106px gaps. */
/* Wide: six short blocks spread across the full 1200 grid left ~106px between each
   and a 340px hole beside the brand. The footer sits in a narrower centred band so
   the blocks keep even, tight spacing; the bottom bar matches so the two align. */
@media (min-width: 880px) {
  .footer__top, .footer__bottom { max-width: 980px; }
  .footer__top {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 40px;
  }
  .footer__brandcol, .footer__group { flex: none; margin-bottom: 0; }
}
.footer__brandcol { display: flex; flex-direction: column; gap: 14px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.footer__brand span { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.footer__group { display: flex; flex-direction: column; gap: 12px; }
.footer__group h3 { font-size: 13px; font-weight: 600; color: var(--text); }
.footer__group a { font-size: 14px; color: var(--muted-2); }
.footer__group a:hover { color: #fff; }
.footer__download { color: var(--muted-2); font-size: 14px; text-align: left; align-self: flex-start; }
.footer__download:hover { color: #fff; }
.footer__group a.social { display: flex; align-items: center; gap: 9px; width: fit-content; }
.footer__group a.social img {
  width: 16px; height: 16px; flex: none;
  opacity: .55; /* matches the muted label tone; the marks are pure white SVGs */
  transition: opacity .18s ease;
}
.footer__group a.social:hover img { opacity: 1; }
.footer__group a.footer__support { display: flex; flex-direction: column; gap: 4px; }
.footer__group a.footer__support span {
  color: var(--accent); font-size: 13px;
  -webkit-user-select: text; user-select: text; /* copyable when mailto: has no handler */
}
.footer__bottom {
  padding-block: 20px 40px; border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; color: var(--muted-4);
}
.footer__bottom div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a { color: var(--muted-2); }

/* =========================================================================
   Scroll offsets for anchored sections
   ========================================================================= */
#copy-trading, #markets, #perps-trading, #how-it-works, #funding, #faq { scroll-margin-top: 84px; }

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit__mover, .orbit__depth, .nc__spark, .proof__track { animation-play-state: paused !important; }
  .orbit { transition: none; }
  .hero__rotator { display: none; }
  .hero__rotator-still { display: block; }
}
