/* Payz — shared styles for every page. */

:root {
  --bg: #ffffff;
  --paper: #f6f5f1;
  --ink: #141413;
  --ink-2: #3e3d39;
  --ink-3: #6c6a63;
  --ink-4: #9d9b93;
  --line: #e6e4de;
  --line-2: #efeee9;
  --line-3: #d4d1c8;
  --accent: #f0491e;
  --accent-soft: #fdebe5;
  --pos: #0b7a47;
  --pos-soft: #e5f3eb;
  --warn: #8a5a00;
  --warn-soft: #fbf1d9;
  --neg: #b42318;
  --neg-soft: #fbe9e7;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
::selection { background: #ffd9cc; }

h1, h2, h3, h4 { font-weight: 650; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 80px); line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.04; letter-spacing: -.04em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.018em; font-weight: 600; }
p { text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 64px); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; color: var(--ink-3); font-size: 18px; max-width: 34em; }
.paper { background: var(--paper); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #33322e; }
.btn-secondary { background: #fff; border-color: var(--line-3); }
.btn-secondary:hover { border-color: var(--ink-3); }
.btn-ghost { padding: 0 6px; height: auto; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 7px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 22px; letter-spacing: -.05em; line-height: 1; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav-links a { transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.env { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); }
.env::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e3a008; box-shadow: 0 0 0 3px #fbf1d9; }

/* ---------- Badges, dots ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--line-2); color: var(--ink-2); }
.badge.pos { background: var(--pos-soft); color: var(--pos); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.neg { background: var(--neg-soft); color: var(--neg); }
.badge.ink { background: var(--ink); color: #fff; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 rgba(11, 122, 71, .4); animation: pulse 2s infinite; }
.live.off::before { background: var(--ink-4); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(11, 122, 71, .35); } 70% { box-shadow: 0 0 0 7px rgba(11, 122, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 122, 71, 0); } }
.app-logo { width: 20px; height: 20px; border-radius: 5px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.hero h1 { max-width: 11.5em; }
.hero .lead { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.rails { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; font-size: 14px; color: var(--ink-3); }
.rails span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.rails img { width: 20px; height: 20px; }

/* Hero phone: payout notifications landing on a lock screen. */
.hero-phone { display: flex; flex-direction: column; align-items: center; justify-self: center; }
.iphone {
  --w: 300px;
  position: relative; width: var(--w); aspect-ratio: 300 / 636; padding: 11px; border-radius: 54px;
  background: linear-gradient(145deg, #3a3a3c, #1c1c1e 38%, #2c2c2e);
  box-shadow: inset 0 0 0 1.5px #4a4a4c, inset 0 0 0 4px #121213, 0 2px 4px rgba(20, 20, 19, .2), 0 40px 70px -30px rgba(20, 20, 19, .5);
}
.iphone::before, .iphone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2c2c2e; }
.iphone::before { left: -3px; top: 118px; height: 56px; box-shadow: 0 -40px 0 -1px #2c2c2e, 0 66px 0 0 #2c2c2e; }
.iphone::after { right: -3px; top: 150px; height: 84px; }
.iphone-screen {
  position: relative; height: 100%; border-radius: 43px; overflow: hidden; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--sans);
  background:
    radial-gradient(85% 55% at 18% 8%, rgba(214, 160, 120, .38), transparent 70%),
    radial-gradient(70% 50% at 92% 88%, rgba(240, 73, 30, .30), transparent 70%),
    radial-gradient(60% 40% at 50% 55%, rgba(120, 112, 160, .16), transparent 70%),
    linear-gradient(180deg, #232120, #121212);
}
.island { position: absolute; top: 11px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 16px; background: #000; z-index: 3; }
.status-bar { position: absolute; top: 15px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 24px 0 32px; font-size: 13px; font-weight: 600; z-index: 2; }
.sb-icons { display: flex; align-items: center; gap: 5px; fill: #fff; }
.battery { position: relative; width: 23px; height: 11.5px; border: 1.2px solid rgba(255, 255, 255, .55); border-radius: 3.5px; padding: 1.2px; }
.battery::after { content: ""; position: absolute; right: -3.5px; top: 3.5px; width: 1.6px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, .55); }
.battery i { display: block; width: 78%; height: 100%; border-radius: 1.5px; background: #fff; }
.lock-date { margin-top: 64px; text-align: center; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.lock-clock { text-align: center; font-size: 76px; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: rgba(255, 255, 255, .94); font-feature-settings: "tnum"; }
.notifs { position: absolute; left: 10px; right: 10px; top: 198px; display: flex; flex-direction: column; gap: 7px; }
.ios-notif {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 19px; color: #111;
  background: rgba(246, 246, 248, .82); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.ios-notif img { width: 34px; height: 34px; border-radius: 8px; flex: none; }
.ios-notif div { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.ios-notif .nt { display: flex; justify-content: space-between; gap: 8px; }
.ios-notif .nt b { font-weight: 600; }
.ios-notif .nt time { font-size: 12px; color: rgba(60, 60, 67, .6); white-space: nowrap; }
.ios-notif p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ios-notif.in { animation: notifIn .6s cubic-bezier(.2, 1.2, .3, 1) both; }
.ios-notif:nth-child(4) { opacity: .7; transform: scale(.97); }
.ios-notif:nth-child(n + 5) { display: none; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-18px) scale(.94); } }
.lock-actions { position: absolute; left: 22px; right: 22px; bottom: 30px; display: flex; justify-content: space-between; }
.lock-actions span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; }
.lock-actions svg { width: 20px; height: 20px; }
.home-bar { position: absolute; bottom: 8px; left: 50%; width: 112px; height: 4.5px; margin-left: -56px; border-radius: 3px; background: rgba(255, 255, 255, .9); }
.phone-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.chart-line { fill: none; stroke: var(--ink); stroke-width: 1.75; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart-base { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; }
.chart-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(20, 20, 19, .1); transition: left .6s var(--ease), top .6s var(--ease); }

/* Live totals under the hero */
.totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.total { padding: 26px 24px 24px; }
.total:first-child { padding-left: 0; }
.total + .total { border-left: 1px solid var(--line); }
.total b { display: block; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.total span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-3); }

/* ---------- Coins ---------- */
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--line-2); }
.seg button { height: 32px; padding: 0 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--ink-3); transition: background-color .15s, color .15s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 19, .1); }
.coin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coin-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.coin-card:hover { border-color: var(--line-3); box-shadow: 0 14px 30px -22px rgba(20, 20, 19, .35); }
.coin-card.fresh { animation: fresh 2.4s var(--ease); }
@keyframes fresh { 0% { background: #fff6f2; border-color: #f7b9a6; } 100% { background: #fff; } }
.coin-top { display: flex; align-items: center; gap: 14px; }
.coin-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--paper); }
.coin-id { min-width: 0; flex: 1; }
.coin-id b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-id span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.coin-desc { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.coin-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.fig label { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
.fig b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.fig b small { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.curve { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.curve-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.curve-bar i { display: block; height: 100%; background: var(--ink); border-radius: 2px; transition: width .8s var(--ease); }
.coin-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-3); }
.pays { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pays b { color: var(--ink); font-weight: 600; }
.coin-card .arrow { color: var(--ink-4); transition: transform .2s var(--ease), color .2s; }
.coin-card:hover .arrow { color: var(--ink); transform: translateX(3px); }
.coin-card > a.cover { position: absolute; inset: 0; border-radius: inherit; }
.grid-foot { display: flex; justify-content: center; margin-top: 36px; }
.empty { padding: 56px 24px; border: 1px dashed var(--line-3); border-radius: 12px; text-align: center; color: var(--ink-3); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.step { padding: 22px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.step h3 { margin: 18px 0 10px; }
.step p { font-size: 15.5px; color: var(--ink-2); }
.snip { margin-top: 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.snip div { display: flex; justify-content: space-between; gap: 10px; }
.snip div + div { margin-top: 4px; }
.snip .pos { color: var(--pos); }

/* ---------- Getting paid ---------- */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.app-card > img { width: 44px; height: 44px; border-radius: 11px; }
.app-card h3 { margin-top: 20px; font-size: 22px; }
.app-card dl { margin-top: 18px; display: grid; gap: 14px; font-size: 15px; }
.app-card dt { font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
.app-card dd { color: var(--ink-2); }
.notif { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.app-card dl + .notif { margin-top: 26px; }
.notif img { width: 34px; height: 34px; border-radius: 8px; }
.notif div { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.notif .nh { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12.5px; }
.notif .nh b { color: var(--ink); font-weight: 600; }

/* Recent payouts list */
.ledger { margin-top: 56px; border-top: 1px solid var(--line); }
.ledger-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.ledger-head h3 { font-size: 17px; }
.rows { list-style: none; }
.rows li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.rows li.new { animation: rowIn .6s var(--ease); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); background: #fff6f2; } to { opacity: 1; transform: none; } }
.rows .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .who span { color: var(--ink-3); }
.rows time { font-size: 13px; color: var(--ink-4); min-width: 64px; text-align: right; }
.rows .amt { font-weight: 600; }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.facts { margin-top: 40px; }
.fact { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.fact b { font-weight: 600; }
.fact p { color: var(--ink-2); font-size: 15.5px; }
.fact code { font-family: var(--mono); font-size: 13px; background: var(--line-2); padding: 1px 6px; border-radius: 4px; }
.books { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.books-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.books-head h3 { font-size: 17px; }
.checks { list-style: none; padding: 8px 22px 14px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--ink-2); }
.checks li + li { border-top: 1px solid var(--line-2); }
.tick { width: 18px; height: 18px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--pos-soft); color: var(--pos); }
.tick svg { width: 11px; height: 11px; }
.checks li.bad .tick { background: var(--neg-soft); color: var(--neg); }
.books-foot { padding: 14px 22px; border-top: 1px solid var(--line); background: var(--paper); font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 12px; height: 12px; flex: none; background: linear-gradient(currentColor 0 0) center / 12px 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 12px no-repeat; transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 16px; max-width: 40em; }

/* ---------- CTA + footer ---------- */
.cta { background: var(--ink); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 96px; }
.cta h2 { max-width: 13em; }
.cta p { margin-top: 14px; color: #b9b7b0; font-size: 18px; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: #e9e7e1; }
.footer { padding: 64px 0 40px; font-size: 14.5px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-top p { margin-top: 14px; color: var(--ink-3); max-width: 22em; }
.foot-top h4 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); margin-bottom: 14px; }
.foot-top ul { list-style: none; display: grid; gap: 10px; }
.foot-top li { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.foot-top li img { width: 18px; height: 18px; border-radius: 4px; }
.foot-top a:hover { color: var(--ink); }
.legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--ink-4); }

/* ---------- Forms (launch) ---------- */
.page-head { padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(38px, 4.6vw, 56px); }
.page-head p { margin-top: 14px; color: var(--ink-3); font-size: 18px; max-width: 38em; }
.crumb { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; font-size: 14px; color: var(--ink-3); }
.crumb:hover { color: var(--ink); }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: start; padding-top: 48px; padding-bottom: 120px; }
.fs { border: 0; padding: 0 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.fs:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 8px; }
.fs-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.fs-title span { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.fs-title h2 { font-size: 24px; letter-spacing: -.025em; }
.fs-title em { margin-left: auto; font-style: normal; font-size: 13.5px; color: var(--ink-4); }
.field { display: block; margin-bottom: 20px; }
.field > span, .field > label > span { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field > span small { font-weight: 400; color: var(--ink-4); }
.input, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: 8px; background: #fff; font-size: 16px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input:hover, .textarea:hover { border-color: var(--ink-4); }
.input:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 19, .08); }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.field.bad .input, .field.bad .textarea { border-color: var(--neg); }
.hint { margin-top: 7px; font-size: 13.5px; color: var(--ink-3); }
.field .err, .form-err { margin-top: 7px; font-size: 13.5px; color: var(--neg); }
.affix { position: relative; }
.affix > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-4); font-size: 16px; pointer-events: none; }
.affix.pre > .input { padding-left: 28px; }
.affix > button { position: absolute; right: 6px; top: 6px; height: 34px; padding: 0 12px; border-radius: 6px; background: var(--line-2); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.affix > button:hover { background: var(--line); }
.affix.has-btn > .input { padding-right: 150px; }
.coin-fields { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; }
.drop {
  position: relative; width: 148px; height: 148px; border: 1.5px dashed var(--line-3); border-radius: 12px; background: var(--paper);
  display: grid; place-items: center; text-align: center; color: var(--ink-3); font-size: 13px; cursor: pointer; overflow: hidden;
  transition: border-color .15s, background-color .15s;
}
.drop:hover, .drop.over { border-color: var(--ink-3); background: #f1f0eb; }
.drop svg { width: 22px; height: 22px; margin: 0 auto 8px; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop.has-img { border-style: solid; border-color: var(--line); }
.img-tools { display: flex; gap: 14px; margin-top: 10px; font-size: 13.5px; }
.img-tools button { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.img-tools button:hover { color: var(--ink); text-decoration-color: currentColor; }
.maker { margin-top: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.maker-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.maker label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.maker .input { width: 120px; text-align: center; font-size: 20px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.method { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line-3); border-radius: 10px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.method:hover { border-color: var(--ink-4); }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method img { width: 30px; height: 30px; border-radius: 8px; }
.method b { font-size: 15px; }
.method small { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.method:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.method:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.split { padding: 14px 16px; border-radius: 10px; background: var(--paper); font-size: 14.5px; color: var(--ink-2); }
.split b { color: var(--ink); }
.split-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; margin: 10px 0 8px; background: var(--line-3); }
.split-bar i { background: var(--ink); }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; width: 18px; height: 18px; margin-top: 2px; flex: none; border: 1.5px solid var(--ink-4); border-radius: 4px; display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.links-grid .field { margin-bottom: 0; }
.submit { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.submit p { font-size: 14px; color: var(--ink-3); max-width: 26em; }
.progress { list-style: none; margin-top: 20px; display: grid; gap: 8px; font-size: 14.5px; }
.progress li { display: flex; align-items: center; gap: 10px; color: var(--ink-4); }
.progress li.on { color: var(--ink); }
.progress li.done { color: var(--ink-2); }
.progress li i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; display: grid; place-items: center; }
.progress li.on i { border-color: var(--line-3); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.progress li.done i { background: var(--pos); border-color: var(--pos); }
.progress li.done i::after { content: ""; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translate(-.5px, -1px); }
.preview { position: sticky; top: 96px; }
.preview > label { display: block; margin-bottom: 12px; font-size: 13px; color: var(--ink-3); }
.next { margin-top: 28px; }
.next h3 { font-size: 15px; margin-bottom: 12px; }
.next ol { list-style: none; counter-reset: n; display: grid; gap: 12px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.next li::before { content: counter(n); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-3); display: grid; place-items: center; font-size: 12px; font-family: var(--mono); color: var(--ink-3); }
.gate { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 40px; }
.gate h3 { font-size: 17px; }
.gate p { margin: 6px 0 16px; font-size: 14.5px; color: var(--ink-3); }
.gate form { display: flex; gap: 10px; }
.done-panel { padding: 8px 0 40px; }
.done-panel .ok { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--pos-soft); color: var(--pos); margin-bottom: 22px; }
.done-panel .ok svg { width: 22px; height: 22px; }
.done-panel h2 { font-size: 36px; }
.done-panel > p { margin-top: 10px; color: var(--ink-2); font-size: 17px; max-width: 32em; }
.kv { margin-top: 28px; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv dt { color: var(--ink-3); }
.kv dd { display: flex; align-items: center; gap: 8px; min-width: 0; text-align: right; }
.kv dd code { font-family: var(--mono); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.copy:hover { color: var(--ink); }
.done-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Coin page ---------- */
.coin-hero { padding-top: 48px; padding-bottom: 40px; }
.coin-hero-in { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 28px; align-items: start; }
.coin-hero-in > img { width: 112px; height: 112px; border-radius: 16px; object-fit: cover; background: var(--paper); }
.coin-hero h1 { font-size: clamp(36px, 4.4vw, 54px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.coin-hero h1 .badge { font-size: 13px; height: 26px; letter-spacing: 0; }
.coin-hero .sym { font-family: var(--mono); font-size: 15px; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.coin-hero .desc { margin-top: 12px; font-size: 18px; color: var(--ink-2); max-width: 40em; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.meta a:hover { color: var(--ink); }
.meta code { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-row > div { padding: 22px 24px; }
.stat-row > div:first-child { padding-left: 0; }
.stat-row > div + div { border-left: 1px solid var(--line); }
.stat-row label { display: block; font-size: 13.5px; color: var(--ink-3); }
.stat-row b { display: block; margin-top: 4px; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.stat-row .curve { margin-top: 10px; }
.coin-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 48px; padding-bottom: 120px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.panel + .panel { margin-top: 24px; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-h h3 { font-size: 16px; }
.panel-b { padding: 20px 22px; }
.chart { position: relative; height: 240px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .tip { position: absolute; top: 0; padding: 6px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap; pointer-events: none; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s; }
.chart:hover .tip { opacity: 1; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink-3); padding: 0 22px 10px; }
.table td { padding: 12px 22px; border-top: 1px solid var(--line-2); }
.table td.r, .table th.r { text-align: right; }
.table code { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.person { display: flex; align-items: center; gap: 14px; }
.person img { width: 40px; height: 40px; border-radius: 10px; }
.person b { display: block; font-size: 17px; }
.person span { font-size: 14px; color: var(--ink-3); }
.mini-kv { margin-top: 18px; display: grid; gap: 10px; font-size: 14.5px; }
.mini-kv div { display: flex; justify-content: space-between; gap: 12px; }
.mini-kv dt { color: var(--ink-3); }
.mini-kv dd { font-weight: 600; }
.trade-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.notfound { padding-block: 120px; text-align: center; }
.notfound p { margin: 12px auto 28px; color: var(--ink-3); max-width: 28em; }

/* ---------- Console ---------- */
.console-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 48px; padding-bottom: 32px; }
.console-head h1 { font-size: 40px; }
.console-head p { margin-top: 8px; color: var(--ink-3); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; }
.kpi label { font-size: 13.5px; color: var(--ink-3); }
.kpi b { display: block; margin-top: 4px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; transition: color .5s; }
.kpi b.flash { color: var(--accent); }
.kpi small { font-size: 13px; color: var(--ink-3); }
.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.pipe::before { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; border-top: 1.5px dashed var(--line-3); }
.node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.nd { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-3); color: var(--ink-2); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.nd svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.node.on .nd { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.node b { margin-top: 8px; font-size: 14px; }
.node .cnt { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.node small { font-size: 12.5px; color: var(--ink-3); }
.console-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; padding-bottom: 96px; align-items: start; }
.feed { list-style: none; max-height: 520px; overflow: auto; }
.feed li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 22px; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.feed li:first-child { border-top: 0; }
.feed li.new { animation: rowIn .6s var(--ease); }
.feed .ic { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--line-2); color: var(--ink-2); }
.feed .ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed .ic img { width: 28px; height: 28px; border-radius: 7px; }
.feed small { display: block; color: var(--ink-3); font-size: 13px; }
.feed time { font-size: 12.5px; color: var(--ink-4); }
.switch { position: relative; width: 40px; height: 24px; border-radius: 12px; background: var(--line-3); transition: background-color .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { transform: translateX(16px); }
.switch.danger[aria-checked="true"] { background: var(--neg); }
.ctl { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); }
.ctl b { display: block; font-size: 15px; }
.ctl span { font-size: 13.5px; color: var(--ink-3); }
.book-dl { display: grid; gap: 9px; font-size: 14.5px; }
.book-dl div { display: flex; justify-content: space-between; gap: 12px; }
.book-dl dt { color: var(--ink-3); }
.book-dl dd { font-weight: 600; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; gap: 10px; width: min(360px, calc(100vw - 40px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); animation: toastIn .35s var(--ease) both; }
.toast img { width: 30px; height: 30px; border-radius: 7px; }
.toast small { display: block; color: #b9b7b0; font-size: 12.5px; }
.toast.out { animation: toastOut .3s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n + 3) { margin-top: 36px; }
  .trust, .faq { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .apps { grid-template-columns: minmax(0, 1fr); }
  .launch-grid, .coin-body { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .preview { position: static; }
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top > div:first-child { grid-column: 1 / -1; }
  .console-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px; }
  .nav-links { display: none; }
  .nav-in { gap: 16px; height: 60px; }
  .env span { display: none; }
  .hero { padding-top: 44px; }
  .totals, .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .total, .total:first-child, .stat-row > div, .stat-row > div:first-child { padding: 18px 16px 18px 0; }
  .total:nth-child(even), .stat-row > div:nth-child(even) { padding-left: 16px; }
  .total:nth-child(3), .stat-row > div:nth-child(3) { border-left: 0; }
  .total:nth-child(n + 3), .stat-row > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .totals { margin-top: 72px; }
  .coin-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 22px 0 0; border-left: 0; }
  .step + .step { margin-top: 28px; border-top: 1px solid var(--line); }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cta-in { flex-direction: column; align-items: flex-start; padding-block: 72px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-fields { grid-template-columns: minmax(0, 1fr); }
  .methods { grid-template-columns: minmax(0, 1fr); }
  .method { flex-direction: row; align-items: center; }
  .links-grid { grid-template-columns: minmax(0, 1fr); }
  .submit { flex-direction: column; align-items: stretch; }
  .coin-hero-in { grid-template-columns: 72px minmax(0, 1fr); }
  .coin-hero-in > img { width: 72px; height: 72px; border-radius: 12px; }
  .coin-hero-in > .trade-col { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe .node small { display: none; }
  .rows li { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .rows time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.chart-in { animation: chartIn 1.1s var(--ease) both; }
@keyframes chartIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.chart-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--ink-4); }
.chart .guide { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-3); opacity: 0; pointer-events: none; transition: opacity .15s; }
.chart:hover .guide { opacity: 1; }
.chart .tip { z-index: 2; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table td, .table th { white-space: nowrap; }
.mode-switch { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.mode-switch:hover { color: var(--ink); text-decoration-color: currentColor; }
.hint.found { color: var(--pos); }
.hint.missing { color: var(--neg); }
.ln-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ln-out { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--paper); }
.ln-out code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 12.5px; }
/* Coming soon: Venmo and PayPal */
.rails .soon { opacity: .45; filter: grayscale(1); }
.soon-tag { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--line-2); color: var(--ink-3); }
.app-card { position: relative; }
.app-card.soon > img, .app-card.soon h3, .app-card.soon dl, .app-card.soon .notif { opacity: .45; filter: grayscale(1); }
.soon-badge { position: absolute; top: 26px; right: 26px; }
.foot-top li.soon { opacity: .55; }
.foot-top li.soon em { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 4px; background: var(--line-2); color: var(--ink-3); }
.method.soon { cursor: not-allowed; border-style: dashed; }
.method.soon img, .method.soon b { opacity: .45; filter: grayscale(1); }
.method.soon:hover { border-color: var(--line-3); }
.method .soon-label { display: none; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.method.soon .soon-label { display: inline-block; }
.method.soon small:not(.soon-label) { display: none; }
