/* Design system rebuilt from the Finos template (finos.framer.website), measured at 1440px. */
:root {
  --bg: #f5f7fa;
  --card: #fff;
  --ink: #000;
  --ink-70: rgba(0, 0, 0, .7);
  --ink-50: rgba(0, 0, 0, .5);
  --ink-30: rgba(0, 0, 0, .3);
  --line: rgba(0, 0, 0, .08);
  --dark: #141414;
  --coral: #f79276;
  --coral-deep: #9d381c;
  --red: #ec5a4f;
  --green: #16854a;
  --green-bg: #e9f8ef;
  --slate: #465864;
  --pad: 40px;
  --max: 1360px;
  --ease: cubic-bezier(.22, .8, .26, 1);
  --spring: cubic-bezier(.2, .9, .25, 1.02);
  --ft: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --fi: 'Inter', 'Inter Tight', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--ft); font-size: 16px; line-height: 1.2; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: 500; }
p { font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sec { position: relative; padding: 120px 0 40px; }
.muted { color: var(--ink-70); }
.faint { color: var(--ink-50); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.tab { font-variant-numeric: tabular-nums; }

/* ---------- type (sizes/tracking measured on the template) ---------- */
.t-hero { font-size: 96px; line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.t-1 { font-size: 64px; line-height: 1; letter-spacing: -.03em; font-weight: 500; }
.t-2 { font-size: 48px; line-height: 1; letter-spacing: -.02em; font-weight: 500; }
.t-3 { font-size: 40px; line-height: 1; letter-spacing: -.02em; font-weight: 500; }
.t-4 { font-size: 32px; line-height: 1; letter-spacing: -.01em; font-weight: 500; }
.t-5 { font-size: 24px; line-height: 1; letter-spacing: -.01em; font-weight: 500; }
.t-6 { font-size: 20px; line-height: 1.2; font-weight: 500; }
.t-body { font-size: 16px; line-height: 1.2; color: var(--ink-70); }
.t-sm { font-size: 14px; line-height: 1.2; }
.t-up { text-transform: uppercase; }

/* section tag: ◉ PROBLEM / 01 */
.stag { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.stag i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .7); display: grid; place-items: center; flex: none; }
.stag i::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stag b { font-weight: 400; display: inline-flex; gap: 8px; }
.stag b::before { content: '/'; }
.dark .stag i, .stag.light i { border-color: rgba(255, 255, 255, .7); }
/* pill tag: FINANCIAL CONTROL */
.ptag { display: inline-flex; align-items: center; height: 35px; padding: 8px 12px; border-radius: 100px; font-size: 16px; font-weight: 500; text-transform: uppercase; background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); backdrop-filter: blur(6px); white-space: nowrap; }

/* ---------- buttons: outer ring + gradient body + rolling label ---------- */
.btn { display: inline-flex; padding: 2px; border-radius: 100px; background: rgba(0, 0, 0, .01); box-shadow: 1px 1px 1px 0 #fff, -1px -1px 1px 0 rgba(0, 0, 0, .04); flex: none; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.btn > span { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 43px; padding: 12px 32px; border-radius: 100px; overflow: hidden; color: #fff; font-size: 16px; font-weight: 500; line-height: 19.2px; white-space: nowrap;
  background: linear-gradient(9deg, #1c1c1c 0%, #545454 100%);
  box-shadow: 0 2px 0 0 #3c3c3c, inset 0 -.5px 0 0 rgba(255, 255, 255, .1), inset 0 1px 0 0 rgba(255, 255, 255, .2); transition: filter .3s var(--ease); }
.btn .roll { position: relative; display: block; height: 19.2px; overflow: hidden; }
.btn .roll > em { display: block; font-style: normal; transition: transform .55s var(--spring); }
.btn .roll > em + em { position: absolute; left: 0; top: 0; transform: translateY(105%); }
.btn:hover .roll > em:first-child { transform: translateY(-105%); }
.btn:hover .roll > em + em { transform: translateY(0); }
.btn.white > span { background: linear-gradient(9deg, #e9e9e9 0%, #fff 100%); color: #000; box-shadow: 0 2px 0 0 #cdcdcd, inset 0 1px 0 0 #fff; }
.btn.block { display: flex; width: 100%; }
.btn.block > span { width: 100%; }
.btn.sm > span { height: 36px; padding: 8px 20px; font-size: 14px; }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.btn .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* quiet pill (secondary) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 100px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.pill:hover { background: #f0f2f5; }
.pill.on { background: #000; color: #fff; box-shadow: none; }
.pill[disabled] { opacity: .45; pointer-events: none; }

/* ---------- surfaces ---------- */
.card { background: #fff; border-radius: 24px; }
.dark { background: var(--dark); color: #fff; }
.dark .t-body, .dark .muted { color: rgba(255, 255, 255, .7); }
.grid-cross { background-image: radial-gradient(circle at center, rgba(255, 255, 255, .06) 0 1px, transparent 1.5px); }
.hr-dash { height: 1px; background-image: linear-gradient(90deg, rgba(0, 0, 0, .18) 50%, transparent 0); background-size: 8px 1px; }

/* ---------- nav (scrolls with the page, like the template) ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 47px; margin-top: 12px; }
.nav-l { display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; height: 32px; }
.logo img { width: 22px; height: 22px; }
.logo span { font-size: 32px; line-height: 1; font-weight: 500; letter-spacing: -.01em; }
.nav-menu { position: absolute; left: calc(50% - 680px + 304px); display: flex; align-items: center; gap: 24px; }
.nav-menu > a, .nav-dd > button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 24px; font-size: 16px; font-weight: 500; overflow: hidden; }
.nav-menu .roll { display: block; position: relative; height: 19.2px; overflow: hidden; }
.nav-menu .roll > em { display: block; font-style: normal; transition: transform .5s var(--spring); }
.nav-menu .roll > em + em { position: absolute; left: 0; top: 0; transform: translateY(105%); }
.nav-menu a:hover .roll > em:first-child, .nav-dd > button:hover .roll > em:first-child { transform: translateY(-105%); }
.nav-menu a:hover .roll > em + em, .nav-dd > button:hover .roll > em + em { transform: translateY(0); }
.nav-menu a.on { color: var(--ink); }
.nav-dd { position: relative; }
.nav-dd > button svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.nav-dd.open > button svg { transform: rotate(180deg); }
.nav-dd .dd { position: absolute; top: 44px; left: -118px; display: flex; gap: 64px; padding: 32px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .08); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.nav-dd.open .dd { opacity: 1; transform: none; pointer-events: auto; }
.dd h6 { font-size: 16px; font-weight: 400; color: var(--ink-50); text-transform: uppercase; margin-bottom: 20px; }
.dd ul { display: flex; flex-direction: column; gap: 12px; }
.dd a { font-size: 16px; font-weight: 400; color: #000; transition: color .2s; }
.dd a:hover { color: var(--ink-50); }
.nav-r { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; align-items: center; justify-content: center; }
.nav-burger i { display: block; width: 18px; height: 1.5px; background: #000; position: relative; transition: transform .3s; }
.nav-burger i::before, .nav-burger i::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: #000; transition: transform .3s; }
.nav-burger i::before { top: -6px; } .nav-burger i::after { top: 6px; }
.wallet-btn { display: none; }
[data-layout="app"] .wallet-btn { display: inline-flex; }

/* ---------- footer ---------- */
.foot { position: relative; margin-top: -64px; background: #0f0f0f; color: #fff; border-radius: 64px 64px 0 0; overflow: hidden; z-index: 2; }
.foot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 100%, rgba(255, 255, 255, .06), transparent 60%), linear-gradient(180deg, #121212, #0b0b0b); pointer-events: none; }
.foot-in { position: relative; padding: 80px 40px 40px; max-width: 1440px; margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; }
.foot-logo { display: flex; align-items: center; gap: 14px; }
.foot-logo img { width: 72px; height: 72px; filter: grayscale(1) brightness(1.6); opacity: .9; }
.foot-logo span { font-size: 96px; line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.foot-news { width: 464px; }
.foot-news label { display: block; font-size: 16px; margin-bottom: 12px; }
.foot-news form { display: flex; gap: 10px; }
.foot-news input { flex: 1; height: 44px; padding: 0 20px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; outline: none; font-size: 15px; }
.foot-news input::placeholder { color: rgba(255, 255, 255, .5); }
.foot-news button { height: 44px; padding: 0 28px; border-radius: 100px; background: #fff; color: #000; font-size: 16px; }
.foot-news .msg { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .7); min-height: 17px; }
.foot-mid { display: flex; justify-content: space-between; margin-top: 64px; padding-bottom: 72px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.foot-claim { font-size: 32px; line-height: 1.1; letter-spacing: -.01em; max-width: 340px; }
.foot-cols { display: flex; gap: 0; }
.foot-cols > div { width: 240px; }
.foot-cols > div:last-child { width: auto; }
.foot-cols h6 { font-size: 16px; font-weight: 400; color: rgba(255, 255, 255, .5); text-transform: uppercase; margin-bottom: 28px; }
.foot-cols ul { display: flex; flex-direction: column; gap: 16px; }
.foot-cols a { font-size: 16px; color: rgba(255, 255, 255, .85); transition: color .2s; }
.foot-cols a:hover, .foot-cols a.on { color: #fff; }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 40px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.foot-soc { display: flex; gap: 8px; }
.foot-soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; }
.foot-soc a img { width: 15px; height: 15px; filter: invert(1); }
.foot-info { display: flex; gap: 0; }
.foot-info > div { width: 316px; }
.foot-info > div:last-child { width: 226px; }
.foot-info h6 { font-size: 16px; font-weight: 400; color: rgba(255, 255, 255, .5); text-transform: uppercase; margin-bottom: 16px; }
.foot-info p, .foot-info a { font-size: 16px; color: rgba(255, 255, 255, .85); line-height: 1.5; }
.foot-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; font-size: 16px; color: rgba(255, 255, 255, .7); }
.foot-bot button { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); }

/* ---------- motion primitives ---------- */
[data-rise], [data-from-right], [data-from-left], [data-fade], [data-pop] { transition: opacity .9s var(--ease), transform 1s var(--spring), filter .9s var(--ease); transition-delay: var(--d, 0s); }
[data-rise] { opacity: 0; transform: translateY(50px); }
[data-from-right] { opacity: 0; transform: translateX(50px); }
[data-from-left] { opacity: 0; transform: translateX(-50px); }
[data-fade] { opacity: 0; }
[data-pop] { opacity: 0; transform: scale(.9); }
.in[data-rise], .in[data-from-right], .in[data-from-left], .in[data-fade], .in[data-pop] { opacity: 1; transform: none; }
[data-words] .w { display: inline-block; opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--spring), filter .8s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * var(--st, .035s)); }
[data-words].in .w { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  [data-rise], [data-from-right], [data-from-left], [data-fade], [data-pop], [data-words] .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ---------- odometer (rolling digits) ---------- */
.odo { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.odo .d { position: relative; display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo .d > span { display: flex; flex-direction: column; transition: transform 1.1s var(--spring); }
.odo .d > span > i { font-style: normal; height: 1em; line-height: 1; text-align: center; }
.odo .s { display: inline-block; line-height: 1; }

/* ---------- toasts ---------- */
.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #111; color: #fff; border-radius: 100px; font-size: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); animation: tin .4s var(--spring); }
.toast button { color: var(--coral); font-weight: 500; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* ---------- modal (wallet picker etc.) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(10, 12, 16, .32); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { width: 100%; max-width: 400px; background: #fff; border-radius: 24px; padding: 28px; transform: translateY(12px) scale(.98); transition: transform .35s var(--spring); }
.modal.open .modal-box { transform: none; }
.modal-box h3 { font-size: 24px; letter-spacing: -.01em; }
.modal-box p { margin-top: 8px; color: var(--ink-70); font-size: 15px; line-height: 1.35; }
.wallet-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.wallet-list button { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-radius: 14px; background: #f3f5f8; font-size: 16px; font-weight: 500; text-align: left; transition: background .2s; }
.wallet-list button:hover { background: #e9edf2; }
.wallet-list img { width: 26px; height: 26px; border-radius: 7px; }
.modal-x { position: absolute; }

/* ---------- responsive (template breakpoints: 1200 / 810) ---------- */
@media (max-width: 1199px) {
  :root { --pad: 32px; }
  .t-hero { font-size: 80px; }
  .t-1 { font-size: 52px; }
  .nav-menu { left: auto; position: static; margin-left: auto; margin-right: 24px; }
  .foot-mid { flex-direction: column; gap: 56px; }
  .foot-cols > div { width: 200px; }
}
@media (max-width: 809px) {
  :root { --pad: 16px; }
  .sec { padding: 80px 0 24px; }
  .t-hero { font-size: 56px; letter-spacing: -.04em; }
  .t-1 { font-size: 40px; }
  .t-2 { font-size: 36px; }
  .t-3 { font-size: 32px; }
  .t-4 { font-size: 26px; }
  .nav-menu { display: none; position: fixed; inset: 70px 12px auto 12px; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .1); margin: 0; }
  .nav.open .nav-menu { display: flex; }
  .nav-dd .dd { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 12px 0 0; box-shadow: none; display: none; gap: 32px; }
  .nav-dd.open .dd { display: flex; }
  .nav-burger { display: inline-flex; }
  .nav .nav-cta { display: none; }
  .nav.open .nav-burger i { background: transparent; }
  .nav.open .nav-burger i::before { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-burger i::after { transform: translateY(-6px) rotate(-45deg); }
  .foot { border-radius: 40px 40px 0 0; }
  .foot-in { padding: 56px 20px 32px; }
  .foot-top { flex-direction: column; gap: 40px; }
  .foot-logo span { font-size: 64px; }
  .foot-logo img { width: 52px; height: 52px; }
  .foot-news { width: 100%; }
  .foot-cols { flex-wrap: wrap; row-gap: 40px; }
  .foot-cols > div { width: 50%; }
  .foot-row { flex-direction: column; gap: 32px; }
  .foot-info { flex-direction: column; gap: 28px; }
  .foot-bot { flex-direction: column; gap: 16px; align-items: flex-start; }
}
.logo .mark { height: 24px; width: auto; }
.foot-logo .mark { height: 96px; width: auto; color: #fff; }
@media (max-width: 809px) { .foot-logo .mark { height: 64px; } }
/* brand mark: left half = currentColor, right half = --mk2 (coral by default) */
.mark { overflow: visible; }
.logo .mark { width: 26px; height: 26px; }
.foot-logo .mark { width: 88px; height: 88px; }
.hc-icon .mark, .cta-lb .mark { color: #141414; }
.hex .mark { color: #fff; }
.feat-by .av .mark { color: #fff; --mk2: rgba(255,255,255,.55); }
.pc-foot .mark { --mk2: #f79276; }
.idet-x .mark { color: #141414; }
@media (max-width: 809px) { .foot-logo .mark { width: 60px; height: 60px; } }
.nav-x { width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: background .2s, transform .3s var(--spring); }
.nav-x:hover { background: #fff; transform: translateY(-1px); }
.nav-x img { width: 15px; height: 15px; }
/* project CA, top of every page next to X */
.nav-ca { display: inline-flex; align-items: center; gap: 10px; height: 43px; padding: 0 8px 0 16px; border-radius: 100px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 6px 18px rgba(20,20,30,.06); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: transform .3s var(--spring), box-shadow .2s; }
.nav-ca:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 10px 24px rgba(20,20,30,.1); }
.nav-ca .nca-l { color: var(--ink-50); text-transform: uppercase; font-size: 13px; letter-spacing: .01em; }
.nav-ca code { font: 500 14px ui-monospace, SFMono-Regular, Menlo, monospace; color: #000; min-width: 104px; text-align: left; }
.nav-ca .nca-i { width: 29px; height: 29px; border-radius: 50%; background: #141414; color: #fff; display: grid; place-items: center; }
.nav-ca .nca-i svg { width: 14px; height: 14px; }
.nav-ca.copied .nca-i { background: var(--green); }
.nav-ca.copied code { color: var(--green); font-family: var(--ft); }
@media (max-width: 1199px) { .nav-ca .nca-l { display: none; } .nav-ca { padding-left: 14px; } }
@media (max-width: 809px) {
  .nav-ca { position: absolute; top: 66px; left: var(--pad); right: var(--pad); justify-content: center; height: 40px; }
  .nav-ca .nca-l { display: inline; }
}
@media (max-width: 809px) {
  html.has-ca .hero { padding-top: 160px; }
  html.has-ca .phero { padding-top: 160px; }
  html.has-ca .util-head, html.has-ca .app-top .util-head { margin-top: 150px; }
  html.has-ca .blog-top { padding-top: 180px; }
  html.has-ca .find { padding-top: 150px; }
  html.has-ca .ex-top { padding-top: 160px; }
  html.has-ca .int { padding-top: 170px; }
  html.has-ca .idet { padding-top: 150px; }
  html.has-ca .post { padding-top: 180px; }
  html.has-ca .tk { padding-top: 170px; }
  html.has-ca .pay-hero { margin-top: 150px; }
}
