/* Base: tokens, type, buttons, nav, footer. Values measured on the template (1440 / 1024 / 390). */
:root {
  --ink: #1a1a1a;
  --muted: #605f5f;
  --gray: #6d6d6d;
  --soft: #aeaeae;
  --line: #eeeeee;
  --line2: #e6e6e6;
  --bg: #ffffff;
  --bg2: #f4f4f4;
  --bg3: #fafafa;
  --blue: #4686fe;
  --blue2: #0099ff;
  --sky: #659bff;
  --green: #46a128;
  --green-bg: rgba(70, 161, 40, .1);
  --red: #e5484d;
  --amber: #f5a524;
  --card-sh: 5px 10px 20px rgba(0, 140, 255, .03), 5px 10px 20px rgba(0, 0, 0, .03);
  --btn-sh: 0 4px 8px rgba(0, 0, 0, .15), inset 0 2px 2px rgba(255, 255, 255, 0);
  --grad: linear-gradient(180deg, #fff 0%, #f4f4f4 69.7%, #fafafa 100%);
  --font: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.44, 0, .56, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.4; letter-spacing: -.02em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(70, 134, 254, .18); }
.mono { font-family: var(--mono); letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type scale */
.t-h1 { font-size: 64px; line-height: 1.1; font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
.t-h2 { font-size: 48px; line-height: 1.2; font-weight: 500; letter-spacing: -.05em; color: var(--ink); }
.t-h3 { font-size: 36px; line-height: 1.2; font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
.t-h4 { font-size: 26px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.t-lead { font-size: 18px; line-height: 1.4; letter-spacing: -.02em; color: var(--muted); }
.t-body { font-size: 16px; line-height: 1.4; letter-spacing: -.02em; color: var(--muted); }
.t-small { font-size: 14px; line-height: 1.4; letter-spacing: -.02em; color: var(--muted); }
@media (max-width: 1199.98px) { .t-h1 { font-size: 54px; } .t-h2 { font-size: 40px; } }
@media (max-width: 809.98px) { .t-h1 { font-size: 40px; } .t-h2 { font-size: 32px; } .t-h3 { font-size: 28px; } .t-h4 { font-size: 22px; } .t-lead { font-size: 16px; } }

.wrap { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 80px; }
.wrap-in { width: 100%; max-width: 1140px; margin: 0 auto; }
@media (max-width: 1199.98px) { .wrap { padding: 0 40px; } }
@media (max-width: 809.98px) { .wrap { padding: 0 20px; } }

/* tag pill above section titles */
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 40px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); font-size: 14px; line-height: 1.4; color: var(--muted); letter-spacing: -.02em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 40px; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; white-space: nowrap; transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease), color .2s, opacity .2s; user-select: none; }
.btn:active { transform: scale(.98); }
.btn-black { background: #000; color: #fff; box-shadow: var(--btn-sh); }
.btn-black:hover { background: #262626; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--btn-sh); }
.btn-blue:hover { background: #3474ef; }
.btn-outline { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-outline:hover { background: var(--bg3); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 50px; padding: 0 26px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--bg2); }
.btn-red { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1px rgba(229, 72, 77, .35); }
.btn-red:hover { background: rgba(229, 72, 77, .06); }

/* payment logo tile */
.paylogo { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.paylogo svg { display: block; }

/* nav (floating pill) */
.nav { position: fixed; z-index: 50; top: 20px; left: 50%; transform: translateX(-50%); width: 704px; max-width: calc(100% - 40px); height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 16px; background: #fff; border-radius: 100px; box-shadow: 0 10px 20px rgba(0, 0, 0, .05); }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.04em; color: #000; min-width: 100px; }
.mark { display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 12px; }
.nav-links a { padding: 4px 8px; font-size: 16px; line-height: 1.6; font-weight: 500; color: #000; border-radius: 30px; transition: background-color .2s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { background: var(--bg2); }
.nav-ctl { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; width: 32px; height: 32px; position: relative; }
.nav-burger i { position: absolute; left: 6px; right: 6px; height: 1.6px; background: #000; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-burger i:first-child { top: 12px; } .nav-burger i:last-child { top: 19px; }
.nav.open .nav-burger i:first-child { top: 15.5px; transform: rotate(45deg); } .nav.open .nav-burger i:last-child { top: 15.5px; transform: rotate(-45deg); }
.nav-menu { position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, .06); display: flex; flex-direction: column; gap: 2px; transform-origin: top center; animation: menu-in .35s var(--ease); }
.nav-menu a { padding: 11px 12px; font-size: 16px; font-weight: 500; border-radius: 10px; }
.nav-menu a:hover { background: var(--bg2); }
.nav-menu .btn { margin-top: 6px; justify-content: center; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@media (max-width: 809.98px) {
  .nav { width: 350px; height: 56px; padding: 0 12px 0 16px; }
  .nav-links, .nav-ctl [data-nav-cta] { display: none; }
  .nav-burger { display: block; }
}

/* footer */
.footer { background: #000; color: #fff; padding: 80px 0 80px; }
.footer-in { width: 100%; max-width: 1140px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }
.footer-tag { margin-top: 20px; max-width: 400px; font-size: 26px; line-height: 1.3; font-weight: 500; letter-spacing: -.03em; color: rgba(255, 255, 255, .8); }
.footer-social { display: flex; gap: 16px; margin-top: 64px; }
.footer-social a { width: 44px; height: 44px; border-radius: 100px; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; transition: background-color .2s; }
.footer-social a:hover { background: rgba(255, 255, 255, .2); }
.footer-cols { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; min-width: 78px; }
.footer-col p { padding: 4px 8px; margin-bottom: 4px; font-size: 16px; line-height: 1.3; font-weight: 500; color: rgba(255, 255, 255, .8); }
.footer-col a { padding: 4px 8px; font-size: 16px; line-height: 1.4; font-weight: 500; color: #fff; border-radius: 30px; transition: background-color .2s; white-space: nowrap; }
.footer-col a:hover { background: rgba(255, 255, 255, .1); }
.footer-line { height: 1px; background: rgba(255, 255, 255, .12); margin: 60px 0 20px; }
.footer-legal { font-size: 16px; line-height: 1.3; color: rgba(255, 255, 255, .8); max-width: 720px; }
@media (max-width: 1199.98px) { .footer-in { padding: 0 40px; } }
@media (max-width: 809.98px) {
  .footer { padding: 60px 0; }
  .footer-in { padding: 0 20px; }
  .footer-top { flex-direction: column; gap: 48px; }
  .footer-social { margin-top: 32px; }
  .footer-cols { gap: 28px; flex-wrap: wrap; }
  .footer-tag { font-size: 22px; }
  .footer-legal { font-size: 14px; }
}

/* entrance animations: hidden until core.js runs them (only when JS is on) */
.js [data-a] { opacity: .001; }
.js [data-a].a-done { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js [data-a] { opacity: 1 !important; transform: none !important; } }

/* skeleton shimmer for live data */
.sk { display: inline-block; min-width: 3ch; border-radius: 6px; background: linear-gradient(90deg, #f1f1f1 25%, #f8f8f8 50%, #f1f1f1 75%); background-size: 200% 100%; animation: sk 1.2s linear infinite; color: transparent !important; }
@keyframes sk { to { background-position: -200% 0; } }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(70, 161, 40, .45); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(70, 161, 40, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 161, 40, 0); } }

/* toast */
.toasts { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; background: #000; color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 40px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); animation: toast-in .35s var(--ease); max-width: min(560px, calc(100vw - 32px)); }
.toast.err { background: #b42318; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
