/* TryPair: white and black, Apple-clean, a top nav instead of the sidebar. Loaded after style.css. */
:root { --line: rgba(0, 0, 0, .08); --line2: rgba(0, 0, 0, .14); color-scheme: light; --ease2: cubic-bezier(.16, 1, .3, 1); }
html.L-top body { padding-left: 0; padding-bottom: 0; }
::selection { background: #1d1d1f; color: #fff; }

/* light fixes for the shared components */
.pill.solid, .pill.mint, .pill.blue { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.pill.mint:hover, .pill.blue:hover { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.pill:hover, .chip:hover, .ib:hover, .sbox:hover { border-color: rgba(0, 0, 0, .3); }
.chip.on { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.tabs { background: var(--card); border-color: transparent; }
.tabs button.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.toast { color: #fff; }
.walmenu { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .25); background: #fff; }
.palette { background: rgba(0, 0, 0, .3); }
.palette .in { background: #fff; }
.wallet-dialog { box-sizing: border-box; width: min(420px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 24px; border: 1px solid var(--line2); border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 24px 70px rgba(0, 0, 0, .2); }
.wallet-dialog::backdrop { background: rgba(0, 0, 0, .3); }
.wallet-dialog h3 { margin: 0 0 8px; font-size: 22px; }
.wallet-dialog p { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.wallet-options { display: grid; gap: 8px; margin: 16px 0; }
.wallet-options .pill { justify-content: flex-start; }
.wallet-options [aria-disabled="true"] { opacity: .65; }
.wallet-dialog [data-wallet-status]:not(:empty) { margin-bottom: 16px; }
input[type=range]::-webkit-slider-thumb { border: 1px solid rgba(0, 0, 0, .15); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.inp { background: #fff; }
.card.dark { background: #1d1d1f; color: #f5f5f7; border-color: #1d1d1f; }
.card.dark .kv > div { border-color: rgba(255, 255, 255, .12); }
.card.dark .kv > div > span:first-child, .card.dark .dim, .card.dark .label { color: rgba(255, 255, 255, .55); }
.card.dark .ring .bg { stroke: rgba(255, 255, 255, .15); }
.card.dark .ring .fg { stroke: #fff; }
.coin { background: #fff; }
.coin:hover { background: #fff; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); }
.coin .art { background: radial-gradient(120% 90% at 30% 20%, hsl(var(--h, 230) 8% 30%), hsl(var(--h, 230) 10% 10%)); }
.coin .ph { color: rgba(255, 255, 255, .85); }
.paychip { color: var(--ink); background: rgba(255, 255, 255, .86); }
.paychip .ci { background: #1d1d1f; }
.coin.ex .age { color: #fff; }
.exnote b { color: var(--ink); background: var(--card); border-color: var(--line2); }
.coin .hm .mult { color: var(--ink); }

/* ------------------------------------------------------------ top nav */
.top.tn { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 28px; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--line); color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.tn .brand { gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -.03em; }
.tn .brand .logo { width: 34px; height: 24px; }
.tnav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; }
.tnav a { font-size: 14px; color: var(--ink2); transition: color .2s; }
.tnav a:hover, .tnav a.on { color: var(--ink); }
.tn .act { margin-left: auto; }
.tn .ib { border-color: transparent; }
.tn .ib:hover { border-color: var(--line2); }
.tn .ib.x svg { fill: currentColor; stroke: none; }
.tn .pill.solid { height: 36px; font-size: 14px; font-weight: 500; }
.tn .burger { display: none; }
.top.tn.ondark { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ondark .tnav a { color: rgba(255, 255, 255, .66); }
.ondark .tnav a:hover { color: #fff; }
.ondark .pill.solid { background: #fff; border-color: #fff; color: #000; }
.ondark .ib, .ondark .ca { color: #fff; border-color: rgba(255, 255, 255, .2); }
.ondark .brand .logo { color: #fff; }
.sheet { position: fixed; inset: 0; z-index: 45; background: #fff; padding: 84px 24px 30px; display: flex; flex-direction: column; gap: 2px; transform: translateY(-100%); visibility: hidden; transition: transform .55s var(--ease2), visibility 0s linear .55s; overflow-y: auto; }
.sheet.on { transform: none; visibility: visible; transition: transform .55s var(--ease2), visibility 0s; }
.sheet .big { font-size: 34px; font-weight: 650; letter-spacing: -.035em; padding: 6px 0; color: var(--ink); }
.sheet .big.on { color: var(--dim); }
html.sheet-on, html.sheet-on body { overflow: hidden; }
html.sheet-on .top.tn { background: #fff; color: var(--ink); border-color: var(--line); }
html.sheet-on .ondark .pill.solid { background: #1d1d1f; color: #fff; border-color: #1d1d1f; }

/* pages under the fixed nav */
html.L-top .page { padding: 92px clamp(16px, 4vw, 40px) 0; max-width: 1280px; margin: 0 auto; }
html.L-top .page.home { padding: 0; max-width: none; }
html.L-top .foot { margin: 72px 0 0; padding: 44px 0 40px; }
html.L-top .page.home .foot { margin: 0; padding: 48px clamp(16px, 4vw, 40px) 44px; }
html.L-top .page.home .foot .cols { max-width: 1200px; margin: 0 auto; }
.h-page { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; font-weight: 700; }

/* ------------------------------------------------------------ home */
.hero2 { position: relative; overflow: hidden; background: #000; color: #fff; min-height: min(100svh, 940px); display: grid; place-items: center; text-align: center; padding: 120px 20px 96px; }
.hero2 .glow { position: absolute; left: 50%; top: 42%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 255, 255, .09), transparent 60%); opacity: 0; pointer-events: none; }
.mark { position: relative; width: min(300px, 64vw); margin: 0 auto 46px; aspect-ratio: 819 / 562; }
.mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: #fff; }
.mark .rs { fill: none; stroke: currentColor; stroke-width: 46.5; }
.mark .lens { fill: currentColor; }
.mark .ring, .mark .lens, .mark .sw, .mark .sp { transform-box: fill-box; transform-origin: center; }
.mark .sw { fill: none; stroke: #fff; opacity: 0; }
.mark .sp { fill: #fff; opacity: 0; }
.mark .flash { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0); border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, .55) 22%, rgba(255, 255, 255, 0) 70%); pointer-events: none; mix-blend-mode: screen; }
.hero2 h1 { font-size: clamp(38px, 6vw, 82px); line-height: 1.01; letter-spacing: -.048em; font-weight: 700; margin: 0; }
.hero2 h1 .l2 { color: rgba(255, 255, 255, .5); }
.hero2 p { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .6); margin: 22px auto 0; max-width: 540px; }
.hero2 .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.pill.inv { background: #fff; color: #000; border-color: #fff; }
.pill.inv:hover { box-shadow: 0 12px 40px -12px rgba(255, 255, 255, .5); }
.pill.ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.pill.ghost:hover { border-color: rgba(255, 255, 255, .6); }
.pill.xl { height: 52px; padding: 0 28px; font-size: 17px; font-weight: 500; }
.hero2 .ti { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1s var(--ease2), transform 1s var(--ease2), filter 1s var(--ease2); }
.hero2.go .ti { opacity: 1; transform: none; filter: none; }
.hero2.go .ti:nth-of-type(2) { transition-delay: .12s; }
.hero2.go .ctas.ti { transition-delay: .24s; }
.hero2 .cue { position: absolute; bottom: 26px; left: 50%; width: 1px; height: 40px; background: linear-gradient(rgba(255, 255, 255, .5), transparent); transform-origin: top; animation: cue 2.4s var(--ease2) 3s infinite both; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.band { padding: clamp(84px, 10vw, 140px) clamp(16px, 4vw, 40px); }
.band.dark { background: #000; color: #fff; }
.band.grey { background: #f5f5f7; }
.band .in { max-width: 1200px; margin: 0 auto; }
.band h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.04; letter-spacing: -.042em; font-weight: 700; margin: 0; text-align: center; }
.band .sub { text-align: center; color: var(--dim); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; margin: 16px auto 0; max-width: 560px; }
.band.dark .sub { color: rgba(255, 255, 255, .55); }
.band .center { display: flex; justify-content: center; }
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: #f5f5f7; margin: 34px auto 30px; position: relative; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; height: 38px; padding: 0 22px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--dim); transition: color .3s; }
.toggle button.on { color: var(--ink); }
.toggle .knob { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 99px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: transform .45s var(--ease2), width .45s var(--ease2); }
.band .coins { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.band .exnote { justify-content: center; margin-bottom: 22px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 34px; font-size: 17px; color: var(--ink); }
.more::after { content: '→'; transition: transform .3s var(--ease2); }
.more:hover::after { transform: translateX(4px); }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.steps3 > div { padding: 34px 30px; border-radius: 24px; background: #111; }
.steps3 .n { font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .45); }
.steps3 h3 { font-size: 28px; letter-spacing: -.03em; font-weight: 650; margin: 70px 0 10px; }
.steps3 p { margin: 0; color: rgba(255, 255, 255, .55); font-size: 16px; line-height: 1.5; }

.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 64px; text-align: center; }
.stats3 b { display: block; font-size: clamp(52px, 6vw, 84px); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats3 span { display: block; color: var(--dim); font-size: 16px; margin-top: 12px; }

.endcta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* reveal on scroll */
.up { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease2), transform 1s var(--ease2); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .band .coins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps3, .stats3 { grid-template-columns: 1fr; }
  .steps3 h3 { margin-top: 34px; }
}
@media (max-width: 860px) {
  .tnav, .tn .ca, .tn .ib.x { display: none; }
  .tn .burger { display: grid; }
  .top.tn { padding: 0 14px; gap: 8px; }
  .tn .pill.solid { height: 34px; padding: 0 12px; font-size: 13px; }
  html.L-top .page { padding: 80px 14px 0; }
  .hero2 { padding: 100px 18px 80px; min-height: 100svh; }
  .mark { margin-bottom: 34px; }
  .band .coins { gap: 10px; }
  .stats3 { gap: 40px; }
}
@media (max-width: 360px) {
  .top.tn { padding-inline: 10px; gap: 4px; }
  .tn .act { gap: 4px; }
  .tn .pill.solid { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero2 .ti, .up { opacity: 1; transform: none; filter: none; }
}

/* the mark stays hidden until the intro runs (it shows on its own after 4 s if scripts never run) */
.mark [data-r1], .mark [data-r2], .mark .lens { opacity: 0; animation: mk-safe 0s 4s forwards; }
@keyframes mk-safe { to { opacity: 1; } }

/* nothing launched yet: one line and one button */
.empty2 { display: grid; justify-items: center; gap: 18px; padding: 56px 20px; text-align: center; border-radius: 24px; background: var(--card); }
.empty2[hidden] { display: none; }
.empty2 p { margin: 0; font-size: 19px; color: var(--ink2); }

/* phones: the long headline flows as one sentence */
@media (max-width: 860px) { .hero2 h1 { font-size: clamp(32px, 9vw, 44px); } .hero2 h1 br { display: none; } .hero2 h1 .l2 { display: inline; } }
