/* Uplink site. Look (designreg "uplink"): cool white #f3f4f7 page, ink #0a0f1f, ONE accent = signal cobalt #2f4bff,
   Epilogue (display + text) + Oxygen Mono (numbers, addresses, prompts). The product lives inside Claude / ChatGPT, so
   the hero is a real chat window on a cobalt "signal" field. Square-ish 10 px radius family, 1 px hairlines. */
@font-face { font-family: "Epilogue"; src: url("/fonts/epilogue-var.woff2") format("woff2-variations"), url("/fonts/epilogue-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Oxygen Mono"; src: url("/fonts/oxygen-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  --bg: #f3f4f7; --bg2: #eaecf2; --surface: #ffffff; --ink: #0a0f1f; --ink2: #3a4157; --ink3: #767d92; --ink4: #a3a9b9;
  --line: rgba(10, 15, 31, .09); --line2: rgba(10, 15, 31, .16);
  --acc: #2f4bff; --acc2: #1d36e6; --acc-soft: rgba(47, 75, 255, .09); --acc-ink: #ffffff;
  --up: #12804a; --dn: #c8382d;
  --r: 10px; --r-sm: 6px; --r-lg: 16px;
  --display: "Epilogue", ui-sans-serif, system-ui, sans-serif; --text: "Epilogue", ui-sans-serif, system-ui, sans-serif; --mono: "Oxygen Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 64px; --wrap: 1280px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--acc); color: #fff; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); letter-spacing: -.01em; }
.tn { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; height: var(--hdr); background: rgba(243, 244, 247, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 28px; max-width: none; padding: 0 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.03em; flex: none; }
.logo .mk { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: #fff; display: grid; place-items: center; }
.logo .mk svg { width: 18px; height: 18px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink2); font-size: 14.5px; padding: 7px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: rgba(10, 15, 31, .05); }
.hdr .sp { flex: 1; }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line2); background: var(--surface); cursor: pointer; font-size: 13px; }
.ca .mono { font-size: 12.5px; color: var(--ink2); }
.ca b { font-weight: 600; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line2); background: var(--surface); text-decoration: none; }
.icon-btn svg { width: 15px; height: 15px; }
.burger { display: none; }
.hdr-add .lab-short { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: var(--ink4); }
.btn.pri { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 24px -10px rgba(47, 75, 255, .7); }
.btn.pri:hover { background: var(--acc2); border-color: var(--acc2); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn .claude { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 0; padding: 0 28px 28px; max-height: 1100px; }
.hero-l { display: flex; flex-direction: column; justify-content: safe center; padding: 40px 56px 40px max(4px, calc((100vw - var(--wrap)) / 2 + 4px)); min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--ink3); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
h1 { font: 800 clamp(44px, 4.7vw, 86px)/.96 var(--display); letter-spacing: -.052em; margin: 22px 0 0; max-width: 11.5ch; text-wrap: balance; }
h1 em { font-style: normal; color: var(--acc); }
.lede { font-size: clamp(16.5px, 1.18vw, 19px); line-height: 1.55; color: var(--ink2); max-width: 50ch; margin: 24px 0 0; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.url { margin-top: 18px; display: flex; align-items: center; gap: 0; max-width: 470px; border: 1px solid var(--line2); border-radius: var(--r); background: var(--surface); overflow: hidden; height: 44px; }
.url .lab { font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); padding: 0 12px 0 14px; border-right: 1px solid var(--line); height: 100%; display: grid; place-items: center; flex: none; }
.url code { font: 400 14px/1 var(--mono); padding: 0 12px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.url button { border: 0; border-left: 1px solid var(--line); background: transparent; height: 100%; padding: 0 16px; cursor: pointer; font-weight: 600; font-size: 13.5px; flex: none; }
.url button:hover { background: var(--bg); }
.free { margin-top: 18px; display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink3); }
.free span { display: inline-flex; align-items: center; gap: 7px; }
.free svg { width: 14px; height: 14px; color: var(--acc); }

/* the cobalt signal field + the chat window */
.hero-r { position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 90% at 50% 112%, #6b80ff 0%, #3d58ff 32%, #2a43f2 58%, #1c2fc7 100%); min-height: 560px; display: grid; place-items: center; padding: 44px 44px 0; isolation: isolate; }
.hero-r::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(95% 85% at 50% 100%, rgba(42, 67, 242, 0) 25%, rgba(30, 49, 205, .96) 92%), radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 100% 100%, 22px 22px; }
.rings { position: absolute; left: 50%; bottom: -1px; width: 0; height: 0; z-index: -1; }
.rings i { position: absolute; left: 0; top: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transform: translate(-50%, -50%); }
.rings i:nth-child(1) { width: 380px; height: 380px; }
.rings i:nth-child(2) { width: 700px; height: 700px; border-color: rgba(255, 255, 255, .15); }
.rings i:nth-child(3) { width: 1040px; height: 1040px; border-color: rgba(255, 255, 255, .1); }
.rings i:nth-child(4) { width: 1400px; height: 1400px; border-color: rgba(255, 255, 255, .07); }
.rings b { position: absolute; left: 0; top: 0; width: 380px; height: 380px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: ping 5.5s var(--ease) infinite; will-change: transform, opacity; }
.rings b:nth-of-type(2) { animation-delay: 2.75s; }
@keyframes ping { 0% { transform: translate(-50%, -50%) scale(.5); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate(-50%, -50%) scale(3.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rings b { animation: none; } }
.field-tag { position: absolute; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.field-tag button { all: unset; cursor: pointer; color: rgba(255, 255, 255, .72); }
.field-tag button:hover { color: #fff; }

/* the chat window (Claude, dark) */
.win { position: relative; width: min(100%, 720px); height: min(calc(100svh - var(--hdr) - 100px), 820px); min-height: 520px; align-self: end; background: #262624; border-radius: 16px 16px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 40px 90px -30px rgba(5, 10, 60, .75), 0 18px 40px -20px rgba(5, 10, 60, .55); display: flex; flex-direction: column; overflow: hidden; color: #faf9f5; transition: opacity .4s; }
.win.reset { opacity: 0; }
.w-bar { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid rgba(222, 220, 209, .08); font-size: 13.5px; color: #c2c0b6; flex: none; }
.w-bar .dots { display: flex; gap: 6px; } .w-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a37; }
.w-bar .ttl { flex: 1; text-align: center; color: #9c9a92; font-size: 13px; padding-right: 46px; }
.w-col { flex: 1; overflow: hidden auto; scrollbar-width: none; }
.w-col::-webkit-scrollbar { display: none; }
.w-inner { display: flex; flex-direction: column; gap: 14px; padding: 22px 26px 26px; max-width: 640px; margin: 0 auto; }
.w-user { align-self: flex-end; background: #141413; color: #faf9f5; padding: 9px 14px; border-radius: 12px; font-size: 15px; max-width: 82%; line-height: 1.45; }
.w-reply { font: 400 16px/1.6 ui-serif, Georgia, "Times New Roman", serif; color: #faf9f5; min-height: 1.6em; }
.w-tool { display: flex; align-items: center; gap: 8px; color: #9c9a92; font-size: 13px; margin-top: 2px; }
.w-tic { width: 16px; height: 16px; border-radius: 4px; background: var(--acc); }
.w-tn { font: 400 12px/1 var(--mono); color: #75736c; }
.w-spin { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #5a5853; border-top-color: #c2c0b6; animation: wspin .8s linear infinite; }
.w-tool.ok .w-spin { display: none; }
@keyframes wspin { to { transform: rotate(360deg); } }
.w-app { border: 1px solid rgba(222, 220, 209, .15); border-radius: 12px; overflow: hidden; background: #262624; }
.w-app iframe { display: block; width: 100%; border: 0; transition: height .25s var(--ease); background: transparent; }
.w-comp { flex: none; padding: 0 22px 16px; }
.w-box { max-width: 640px; margin: 0 auto; background: #30302e; border: 1px solid rgba(222, 220, 209, .1); border-radius: 18px; padding: 12px 14px 10px; box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .6); }
.w-input { min-height: 24px; font-size: 15px; color: #faf9f5; line-height: 1.5; }
.w-input:empty::before { content: "Reply…"; color: #75736c; }
.w-input.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; background: #faf9f5; vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.w-tools { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: #9c9a92; }
.w-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 8px; background: rgba(47, 75, 255, .18); color: #b9c3ff; }
.w-chip i { width: 7px; height: 7px; border-radius: 50%; background: #8b9dff; }
.w-plus { width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(222, 220, 209, .14); display: grid; place-items: center; color: #9c9a92; }
.w-send { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; background: #faf9f5; display: grid; place-items: center; color: #262624; opacity: .35; }
.w-cursor { position: absolute; left: 0; top: 0; z-index: 10; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .2s; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.w-cursor.on { opacity: 1; }
.w-cursor svg { width: 22px; height: 22px; transition: transform .12s; transform-origin: 3px 2px; }
.w-cursor.down svg { transform: scale(.85); }
.w-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; opacity: 0; transform: scale(.4); }
.w-cursor.down::after { animation: ripple .5s ease-out; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }

/* ---------- sections ---------- */
.sec { padding: 104px 0; border-top: 1px solid var(--line); }
main { counter-reset: sec; }
main > .sec:not([hidden]) { counter-increment: sec; }
main > .sec .sec-h .k::before { content: counter(sec, decimal-leading-zero) " · "; }
.sec-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 44px; }
.sec-h .k { font: 400 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.sec-h h2 { font: 750 clamp(32px, 3.1vw, 52px)/1.02 var(--display); letter-spacing: -.045em; margin: 14px 0 0; max-width: 20ch; text-wrap: balance; }
.sec-h p { margin: 14px 0 0; color: var(--ink2); max-width: 58ch; font-size: 17px; }
.more-link { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.more-link:hover { color: var(--acc); }

/* live strip: counters + feed */
.live { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--line); gap: 1px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.counter { background: var(--surface); padding: 22px 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: background .15s; }
a.counter:hover { background: #fbfbfd; }
.counter .k { font: 400 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.counter .v { font: 700 clamp(26px, 2.2vw, 38px)/1.05 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.counter .s { font-size: 13px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.feed-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.feed-h .lv { display: inline-flex; align-items: center; gap: 7px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); font-weight: 400; }
.feed-h .lv i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.feed-list { list-style: none; margin: 0; padding: 0; height: 296px; overflow: hidden; }
.feed-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 52px; gap: 12px; align-items: center; height: 49px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 14px; font-variant-numeric: tabular-nums; }
.feed-list li.new { animation: rowin .7s var(--ease); }
@keyframes rowin { from { background: var(--acc-soft); } to { background: transparent; } }
.feed-list .sd { font: 400 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 0; text-align: center; border-radius: 5px; }
.feed-list .sd.buy { color: var(--up); background: rgba(18, 128, 74, .08); }
.feed-list .sd.sell { color: var(--dn); background: rgba(200, 56, 45, .08); }
.feed-list .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-list .who b { font-weight: 600; }
.feed-list .who small { color: var(--ink3); font: 400 12px/1 var(--mono); margin-left: 6px; }
.feed-list .amt { font-weight: 600; white-space: nowrap; }
.feed-list .t { color: var(--ink3); font-size: 12.5px; text-align: right; white-space: nowrap; }
.feed-list .empty { display: block; height: auto; padding: 28px 18px; color: var(--ink3); border: 0; font-size: 14px; }
.tagp { font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); border: 1px solid var(--line2); border-radius: 4px; padding: 2px 4px; margin-left: 6px; vertical-align: 1px; }

/* tools: prompt → what comes back */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tool { background: var(--surface); padding: 24px 26px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 18px; align-items: baseline; min-width: 0; }
.tool .nm { font: 400 13px/1.3 var(--mono); color: var(--acc); grid-row: span 2; padding-top: 3px; }
.tool .ex { font: 400 15px/1.45 var(--mono); color: var(--ink); min-width: 0; }
.tool .ex::before { content: "“"; color: var(--ink4); } .tool .ex::after { content: "”"; color: var(--ink4); }
.tool .ds { font-size: 15px; color: var(--ink2); min-width: 0; }
.tool .ds b { color: var(--ink); font-weight: 600; }

/* add steps */
.adds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.add { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.add-h { display: flex; align-items: center; gap: 14px; }
.add-h .ai { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.add-h .ai.cl { background: #d97757; color: #fff; }
.add-h .ai.gp { background: #0d0d0d; color: #fff; }
.add-h .ai svg { width: 24px; height: 24px; }
.add-h h3 { margin: 0; font: 700 22px/1.1 var(--display); letter-spacing: -.03em; }
.add-h small { display: block; color: var(--ink3); font-size: 13.5px; margin-top: 4px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink2); }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line2); display: grid; place-items: center; font: 400 12px/1 var(--mono); color: var(--ink3); }
.steps b { color: var(--ink); font-weight: 600; }
.add .fine { font-size: 13.5px; color: var(--ink3); margin: 0; }
.add .btn { align-self: flex-start; }

/* the guard */
.guard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.g { background: var(--surface); padding: 28px; min-width: 0; }
.g .n { font: 400 12px/1 var(--mono); color: var(--acc); letter-spacing: .1em; }
.g h3 { margin: 14px 0 8px; font: 700 21px/1.15 var(--display); letter-spacing: -.03em; }
.g p { margin: 0; color: var(--ink2); font-size: 15.5px; }
.fees { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.fees > div { padding: 20px 22px; border-left: 1px solid var(--line); min-width: 0; }
.fees > div:first-child { border-left: 0; }
.fees .k { font: 400 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.fees .v { font: 700 26px/1.2 var(--display); letter-spacing: -.035em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.fees .s { font-size: 13.5px; color: var(--ink3); }

/* footer */
.ftr { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--ink3); }
.ftr .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 28px; }
.ftr h4 { margin: 0 0 12px; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.ftr a { display: block; text-decoration: none; color: var(--ink2); padding: 3px 0; }
.ftr a:hover { color: var(--acc); }
.ftr p { margin: 14px 0 0; max-width: 46ch; line-height: 1.55; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s var(--ease); z-index: 50; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- sizes ---------- */
@media (max-width: 1280px) {
  .hero-l { padding-left: 4px; padding-right: 40px; }
  .win { width: min(100%, 640px); }
}
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; max-height: none; padding: 0 20px 20px; }
  .hero-l { padding: 48px 4px 40px; }
  .hero-r { padding: 40px 22px 0; }
  .win { height: 620px; }
  .live, .adds { grid-template-columns: minmax(0, 1fr); }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .guard { grid-template-columns: minmax(0, 1fr); }
  .fees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fees > div:nth-child(3) { border-left: 0; }
  .fees > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ftr .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hdr .wrap { gap: 10px; padding: 0 16px; }
  .hdr .ca .mono { display: none; }
  .wrap { padding: 0 18px; }
  .hero { padding: 0 10px 10px; }
  .hero-l { padding: 36px 8px 32px; }
  h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .cta .btn { flex: 1; }
  .hero-r { padding: 34px 10px 0; border-radius: 18px; min-height: 0; }
  .win { height: 600px; min-height: 0; border-radius: 14px 14px 0 0; }
  .w-inner { padding: 16px 14px 18px; }
  .w-comp { padding: 0 12px 12px; }
  .w-bar .ttl { padding-right: 0; }
  .sec { padding: 72px 0; }
  .sec-h { grid-template-columns: minmax(0, 1fr); }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .tool .nm { grid-row: auto; }
  .add, .g { padding: 22px; }
  .feed-list li { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .feed-list .t { display: none; }
  .ftr .wrap { grid-template-columns: minmax(0, 1fr); }
  .hdr-add .lab-long { display: none; }
  .hdr-add .lab-short { display: inline; }
}

/* ---------- sign-in / sign pages: one centred window over the page ---------- */
.gate { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 28px 16px; background: radial-gradient(70% 60% at 50% 115%, rgba(47, 75, 255, .16), transparent 70%), var(--bg); }
.gate-card { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 70px -30px rgba(10, 15, 60, .35); padding: 30px 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.gate-top { display: flex; align-items: center; gap: 12px; }
.gate-top .logo .mk { width: 34px; height: 34px; }
.gate-top .to { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.gate-top .to i { width: 26px; height: 1px; background: var(--line2); }
.gate h1 { font: 750 28px/1.1 var(--display); letter-spacing: -.04em; margin: 4px 0 0; max-width: none; }
.gate .who { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.5; min-height: 45px; }
.gate .who b { color: var(--ink); }
.opt { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line2); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; font: inherit; color: var(--ink); }
.opt:hover:not(:disabled) { border-color: var(--acc); background: #fbfbff; }
.opt:disabled { opacity: .5; cursor: default; }
.opt .oi { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg); }
.opt .oi svg { width: 20px; height: 20px; }
.opt.pri { border-color: var(--acc); background: var(--acc); color: #fff; }
.opt.pri:hover:not(:disabled) { background: var(--acc2); border-color: var(--acc2); }
.opt.pri .oi { background: rgba(255, 255, 255, .16); color: #fff; }
.opt b { display: block; font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; }
.opt small { display: block; font-size: 13px; color: var(--ink3); margin-top: 2px; }
.opt.pri small { color: rgba(255, 255, 255, .78); }
.opt .ar { font-size: 18px; opacity: .6; }
.wallets { display: flex; flex-direction: column; gap: 8px; }
.gate .warnbox { border: 1px solid #e6c46a; background: #fff8e6; color: #6b4d00; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.gate .err { color: var(--dn); font-size: 13.5px; min-height: 1.2em; margin: 0; }
.gate .can { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 13.5px; color: var(--ink2); }
.gate .can li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
.gate .can svg { width: 14px; height: 14px; margin-top: 3px; }
.gate .can .y svg { color: var(--up); } .gate .can .n svg { color: var(--ink4); }
.gate .foot { display: flex; justify-content: space-between; font: 400 11px/1.3 var(--mono); color: var(--ink3); letter-spacing: .04em; }
.gate .msg { font: 400 13px/1.55 var(--mono); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; word-break: break-all; color: var(--ink2); max-height: 230px; overflow: auto; }
.gate .secret { font: 400 13px/1.5 var(--mono); background: #0a0f1f; color: #e8ecff; border-radius: 10px; padding: 14px; word-break: break-all; filter: blur(5px); transition: filter .2s; cursor: pointer; }
.gate .secret.shown { filter: none; }
.spin16 { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: wspin .8s linear infinite; display: inline-block; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 120px; }
.toc { position: sticky; top: calc(var(--hdr) + 28px); align-self: start; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--hdr) - 56px); overflow: auto; scrollbar-width: none; }
.toc h4 { margin: 18px 0 6px; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.toc h4:first-child { margin-top: 0; }
.toc a { text-decoration: none; color: var(--ink2); font-size: 14px; padding: 5px 10px; border-radius: 7px; border-left: 2px solid transparent; }
.toc a.mono { font-size: 13px; }
.toc a:hover { color: var(--ink); background: rgba(10, 15, 31, .04); }
.toc a.on { color: var(--acc); border-left-color: var(--acc); background: var(--acc-soft); }
.doc-h h1 { font-size: clamp(40px, 4vw, 64px); max-width: 16ch; margin-top: 16px; }
.doc-h p { color: var(--ink2); font-size: 18px; max-width: 62ch; margin: 18px 0 0; }
.doc-sec { padding: 56px 0 0; scroll-margin-top: calc(var(--hdr) + 12px); }
.doc-sec > h2 { font: 750 30px/1.1 var(--display); letter-spacing: -.04em; margin: 0 0 10px; }
.doc-sec > p { color: var(--ink2); max-width: 68ch; margin: 0 0 14px; }
.tl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 12px); }
.tl h3 { margin: 0; font: 400 20px/1.2 var(--mono); color: var(--acc); letter-spacing: -.02em; }
.tl .what { margin: 10px 0 0; font-size: 16px; color: var(--ink); }
.tl .says { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tl .says li { font: 400 14px/1.45 var(--mono); color: var(--ink2); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.tl .says li::before { content: "you  "; color: var(--ink4); }
.tl .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line2); font-size: 12.5px; color: var(--ink2); background: var(--surface); white-space: nowrap; }
.chip.money { border-color: rgba(47, 75, 255, .35); color: var(--acc); background: var(--acc-soft); }
.chip.free { color: var(--up); border-color: rgba(18, 128, 74, .3); }
.cardslot { border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: #fff; min-height: 220px; align-self: start; }
.cardslot iframe { display: block; width: 100%; border: 0; transition: height .2s var(--ease); }
.cardslot.empty { display: grid; place-items: center; color: var(--ink3); font-size: 14px; min-height: 120px; background: var(--bg2); border-style: dashed; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 18px; }
.rules > div { background: var(--surface); padding: 20px 22px; }
.rules b { display: block; font-size: 16px; margin-bottom: 4px; }
.rules span { color: var(--ink2); font-size: 15px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tbl th { text-align: left; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fbfbfd; white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl .mono { font-size: 13px; }
.tbl a { color: var(--acc); text-decoration: none; }
.tbl a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc { display: none; } .tl { grid-template-columns: minmax(0, 1fr); } .rules { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .tbl { font-size: 13.5px; } .tbl th, .tbl td { padding: 10px; } .tbl .hide-s { display: none; } }

/* /me: account panel + the quickbuy switch */
.acct { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; display: grid; gap: 18px; margin-bottom: 20px; }
.acct-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acct-h h3 { margin: 0; font: 700 22px/1.1 var(--display); letter-spacing: -.03em; }
.acct-h .mono { color: var(--ink3); font-size: 13px; }
.acct-h .sp { flex: 1; }
.pill { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line2); border-radius: 5px; padding: 4px 6px; color: var(--ink2); }
.qrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: var(--bg); }
.qrow b { display: block; font-size: 16px; }
.qrow small { color: var(--ink3); font-size: 13.5px; }
.qrow select { font: inherit; font-size: 14px; border: 1px solid var(--line2); border-radius: 8px; padding: 6px 8px; background: var(--surface); color: var(--ink); }
.sw { position: relative; width: 46px; height: 26px; border-radius: 13px; border: 0; padding: 0; background: var(--ink4); cursor: pointer; transition: background .15s; flex: none; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.sw[aria-checked="true"] { background: var(--acc); }
.sw[aria-checked="true"]::after { transform: translateX(20px); }
.sw:disabled { opacity: .5; cursor: default; }
.acct .err { color: var(--dn); font-size: 13.5px; margin: 0; min-height: 1em; }
