/* ==========================================================================
   Payncil site styles
   Primary: black on a warm white canvas.
   ========================================================================== */

@property --ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --bg: #fbfbfa;
    --surface: #ffffff;
    --soft: #f4f4f2;
    --ink: #0a0a0a;
    --ink-2: #262626;
    --muted: #6b6b6b;
    --line: #ebebe8;
    --line-2: #dcdcd7;
    --ok: #15803d;
    --ok-bg: #e8f7ee;
    --live: #22c55e;

    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -14px rgba(0, 0, 0, .14);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .04), 0 30px 60px -22px rgba(0, 0, 0, .28);
    --ease: cubic-bezier(.2, .8, .2, 1);

    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
    --mono: ui-monospace, SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;

    --header-h: 72px;
    color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font: 400 16px/1.6 var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
    text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: none; display: block; }
.muted { color: var(--muted); }

.skip-link {
    position: absolute; left: -9999px; top: 12px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 16px; }

.container {
    width: min(1200px, 100% - 40px);
    margin-inline: auto;
}

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(24px, 4vw, 48px); }
.section--flush-top { padding-top: 0; }
.section--soft {
    background: var(--soft);
    border-block: 1px solid var(--line);
}

.link {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
}

/* ---------- Logo ---------- */
.logo {
    --logo-ink: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -.03em;
    line-height: 1;
}
.logo__mark svg { width: 32px; height: 32px; display: block; transition: transform .5s var(--ease); }
a:hover > .logo .logo__mark svg { transform: rotate(-12deg) scale(1.06); }
.logo--light { color: #fff; --logo-ink: #0a0a0a; }

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: 600 15px/1 var(--font);
    white-space: nowrap;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
    -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .7; cursor: progress; }

.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .55); }

.btn--dark::after,
.btn--light::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease);
    pointer-events: none;
}
.btn--light::after { background: linear-gradient(115deg, transparent 30%, rgba(0, 0, 0, .08) 50%, transparent 70%); }
.btn--dark:hover::after,
.btn--light:hover::after { transform: translateX(120%); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255, 255, 255, .35); }

.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .25); background: transparent; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }

/* ---------- Eyebrow / pills / badges ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font: 600 13px/1.2 var(--font);
    letter-spacing: .01em;
    color: var(--ink-2);
}
.eyebrow--light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }

.dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink);
    flex: none;
}
.dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite;
}
.eyebrow--light .dot { background: #fff; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 500;
    transition: border-color .25s, transform .25s var(--ease);
}
.pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.pill__tag { background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.pill:hover .icon { transform: translateX(3px); }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.badge--ok { background: var(--ok-bg); color: var(--ok); }

.u-underline {
    background: linear-gradient(transparent 60%, #e4e4df 60%, #e4e4df 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
    transition: background-size 1.1s var(--ease) .5s;
}
.in-view .u-underline,
.in-view.u-underline { background-size: 100% 100%; }

/* ---------- Section heads ---------- */
.section-head {
    max-width: 740px;
    margin: 0 auto clamp(40px, 6vw, 64px);
    text-align: center;
}
.section-head h2 {
    margin: 18px 0 16px;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.section-head p { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); }
.section-head--left { text-align: left; margin-inline: 0; margin-bottom: 0; }
.section-head--left h2 { margin-bottom: 14px; }

.split-head {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: end;
    margin-bottom: clamp(40px, 6vw, 64px);
}
.split-head > p { color: var(--muted); font-size: 17px; }

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, background-color .3s, color .3s;
}

.spot { position: relative; overflow: hidden; }
.spot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -30%), rgba(0, 0, 0, .065), transparent 45%);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}
.spot:hover::before { opacity: 1; }

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--ink);
    display: grid;
    place-items: center;
    flex: none;
    transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease);
}
.icon-box .icon { width: 22px; height: 22px; }
.icon-box--sm { width: 40px; height: 40px; border-radius: 11px; }
.icon-box--sm .icon { width: 18px; height: 18px; }
.icon-box--lg { width: 62px; height: 62px; border-radius: 18px; }
.icon-box--lg .icon { width: 26px; height: 26px; }
.icon-box--dark { background: var(--ink); border-color: var(--ink); color: #fff; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a:hover .link-arrow .icon { transform: translateX(4px); }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 60;
    transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled,
.menu-open .header {
    background: rgba(251, 251, 250, .82);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    box-shadow: 0 1px 0 var(--line);
}
.menu-open .header { background: var(--bg); }

.header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 16px;
}
.header__logo { flex: none; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    transition: background-color .2s, color .2s;
}
.nav__link:hover,
.nav__link.is-active,
.has-drop.is-open > .nav__link { background: rgba(0, 0, 0, .05); color: var(--ink); }
.nav__chev { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.has-drop:hover .nav__chev,
.has-drop.is-open .nav__chev { transform: rotate(180deg); }

.drop {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 330px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px) scale(.98);
    transform-origin: top center;
    transition: opacity .22s, transform .3s var(--ease), visibility .22s;
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-drop:hover .drop,
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }

.drop--wide { width: 540px; padding: 18px; }
.drop__head { padding: 0 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.drop__head strong { display: block; font-family: var(--display); font-size: 16px; }
.drop__head span { color: var(--muted); font-size: 13.5px; }
.drop__markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.drop__market {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .2s;
}
.drop__market:hover { background: var(--soft); }
.drop__flag { font-size: 18px; line-height: 1; }

.drop__link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background-color .2s;
}
.drop__link:hover { background: var(--soft); }
.drop__link strong { display: block; font-size: 14.5px; font-weight: 600; }
.drop__link small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.drop__link--sm { align-items: center; }
.drop__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--soft);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    flex: none;
    transition: background-color .2s, color .2s;
}
.drop__icon .icon { width: 18px; height: 18px; }
.drop__link:hover .drop__icon { background: var(--ink); color: #fff; border-color: var(--ink); }
.drop--grid { display: grid; grid-template-columns: 1fr 1fr; width: 430px; }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: var(--surface);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    -webkit-tap-highlight-color: transparent;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile nav panel */
.mnav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 55;
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.menu-open { overflow: hidden; }
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav__inner { padding: 8px 20px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; }
.mnav__inner > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.menu-open .mnav__inner > * { opacity: 1; transform: none; }
.menu-open .mnav__inner > :nth-child(2) { transition-delay: 40ms; }
.menu-open .mnav__inner > :nth-child(3) { transition-delay: 80ms; }
.menu-open .mnav__inner > :nth-child(4) { transition-delay: 120ms; }
.menu-open .mnav__inner > :nth-child(5) { transition-delay: 160ms; }
.menu-open .mnav__inner > :nth-child(6) { transition-delay: 200ms; }
.menu-open .mnav__inner > :nth-child(7) { transition-delay: 240ms; }

.mnav__group, .mnav__link { border-bottom: 1px solid var(--line); }
.mnav__group summary,
.mnav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
    cursor: pointer;
    list-style: none;
}
.mnav__group summary::-webkit-details-marker { display: none; }
.mnav__group summary .icon { transition: transform .3s var(--ease); }
.mnav__group[open] summary .icon { transform: rotate(45deg); }
.mnav__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; }
.mnav__chips a {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500;
}
.mnav__links { display: grid; padding-bottom: 12px; }
.mnav__links a { padding: 9px 0; color: var(--ink-2); font-size: 16px; }
.mnav__cta { display: grid; gap: 10px; margin-top: 28px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(36px, 6vw, 80px)) 0 clamp(40px, 6vw, 72px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 75%);
    animation: grid-move 24s linear infinite;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .6;
    animation: float 16s ease-in-out infinite;
}
.blob--1 { width: 560px; height: 560px; top: -200px; right: -160px; background: #d6d6d0; }
.blob--2 { width: 440px; height: 440px; bottom: -200px; left: -160px; background: #e2e2dd; animation-delay: -8s; }

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}

.hero__title {
    margin: 26px 0 22px;
    font-size: clamp(38px, 5.6vw, 78px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hero__title-accent { text-wrap: balance; }

.hero__lead {
    max-width: 540px;
    color: var(--muted);
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 3; }

/* Orbit visual */
.hero__visual {
    position: relative;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1;
    margin-inline: auto;
    perspective: 1200px;
}
.orbit {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    transition: transform .6s var(--ease);
}
.orbit__ring {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    border: 1px dashed var(--line-2);
    animation: spin var(--dur) linear infinite;
}
.orbit__ring--outer { --size: 90%; --dur: 48s; }
.orbit__ring--inner { --size: 58%; --dur: 34s; animation-direction: reverse; border-style: solid; border-color: var(--line); background: radial-gradient(circle, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%); }
.orbit__slot { position: absolute; inset: 0; transform: rotate(var(--a)); }
.orbit__chip {
    position: absolute;
    top: 0;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    animation: chip-spin var(--dur) linear infinite;
}
.orbit__chip--tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.orbit__logo {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    padding: 3px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07);
    flex: none;
}
.orbit__logo img { width: 100%; height: 100%; object-fit: contain; }
.orbit__logo--icon { background: var(--ink); color: #fff; box-shadow: none; padding: 6px; }
.orbit__logo--icon .icon { width: 100%; height: 100%; }
.orbit__ring--inner .orbit__chip { animation-direction: reverse; }
.orbit__ring--outer .orbit__slot:nth-child(odd) .orbit__chip { background: var(--ink); color: #fff; border-color: var(--ink); }

.orbit__core {
    position: relative;
    z-index: 2;
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .4), inset 0 -8px 20px rgba(0, 0, 0, .04);
    display: grid;
    place-items: center;
}
.orbit__core .logo { flex-direction: column; gap: 8px; font-size: clamp(14px, 1.6vw, 18px); }
.orbit__core .logo__mark svg { width: clamp(36px, 4.4vw, 52px); height: auto; }
.orbit__pulse,
.orbit__pulse::before,
.orbit__pulse::after {
    position: absolute;
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .35);
    animation: pulse-ring 3.6s cubic-bezier(.2, .6, .3, 1) infinite;
}
.orbit__pulse::before,
.orbit__pulse::after { content: ""; width: 100%; inset: 0; }
.orbit__pulse::before { animation-delay: 1.2s; }
.orbit__pulse::after { animation-delay: 2.4s; }

.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    animation: bob 7s ease-in-out infinite;
    transition: translate .5s var(--ease);
}
.float-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.float-card strong { display: block; font-family: var(--display); font-size: 19px; letter-spacing: -.02em; line-height: 1.3; }
.float-card--rate { bottom: 14%; left: -10%; animation-delay: -4.5s; padding: 12px 16px; }
.spark svg { width: 80px; height: 28px; display: block; }
.spark path {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 110;
    stroke-dashoffset: 110;
    animation: draw 4s var(--ease) infinite;
}

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { padding: 28px; }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.benefit:hover .icon-box { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-8deg) scale(1.06); }
.benefit__num {
    position: absolute;
    top: 24px;
    right: 26px;
    font-family: var(--display);
    font-size: 14px;
    font-weight: 600;
    color: var(--line-2);
    transition: color .3s;
}
.benefit:hover .benefit__num { color: var(--ink); }
.benefit h3 { margin: 24px 0 10px; font-size: 20px; }
.benefit p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 32px;
    padding: clamp(36px, 5vw, 64px);
    border-radius: 28px;
    background: var(--ink);
    color: #fff;
}
.stats::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 70%;
    height: 160%;
    top: -80%;
    left: 15%;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent);
    animation: glow 7s ease-in-out infinite alternate;
}
.stats__grid-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 75%);
}
.stat { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .15); }
.stat__value {
    font-family: var(--display);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.stat p { margin-top: 12px; color: rgba(255, 255, 255, .6); font-size: 15px; }

/* ==========================================================================
   Coverage (Bangladesh)
   ========================================================================== */
.bd { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.market__live { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-size: 12.5px; font-weight: 600; }
.market__live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.market__live i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s cubic-bezier(0, 0, .2, 1) infinite; }

.bd__card { padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.bd__top { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.bd__flag { font-size: 40px; line-height: 1; }
.bd__top strong { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -.02em; }
.bd__top small { color: var(--muted); font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; }
.bd__top .market__live { margin-left: auto; }

.bd__methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.bd__method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--soft);
    border: 1px solid var(--line);
    transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.bd__method:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-3px); }
.bd__method:hover small { color: rgba(255, 255, 255, .6); }
.bd__logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    padding: 6px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07);
    flex: none;
}
.bd__logo img { width: 100%; height: 100%; object-fit: contain; }
.bd__logo--icon { background: var(--ink); color: #fff; box-shadow: none; padding: 11px; }
.bd__logo--icon .icon { width: 100%; height: 100%; }
.bd__method strong { display: block; font-size: 15px; }
.bd__method small { display: block; color: var(--muted); font-size: 12.5px; transition: color .3s; }
.bd__note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.bd__note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Integration / code window
   ========================================================================== */
.integrate { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.tabs { display: grid; gap: 10px; margin-top: 32px; }
.tab {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.tab:hover { background: rgba(255, 255, 255, .6); }
.tab strong { display: block; font-size: 16px; font-weight: 600; }
.tab small { display: block; color: var(--muted); font-size: 14px; }
.tab.is-active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.tab.is-active .icon-box { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    animation: tab-progress 6s linear forwards;
}
.tabs.is-manual .tab::after { display: none; }

.code {
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #0b0b0b;
    border: 1px solid #1f1f1f;
    color: #b5b5b5;
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .55);
}
.code__bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; background: #111; border-bottom: 1px solid #1d1d1d; }
.code__dots { display: flex; gap: 7px; }
.code__dots i { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.code__dots i:first-child { background: #555; }
.code__file { flex: 1; font-family: var(--mono); font-size: 13px; color: #8f8f8f; }
.code__copy {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #292929;
    background: transparent;
    color: #9a9a9a;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color .2s, border-color .2s, background-color .2s;
}
.code__copy:hover { color: #fff; border-color: #444; background: #1a1a1a; }
.code__copy .icon { width: 16px; height: 16px; }
.code__panel { display: none; }
.code__panel.is-active { display: block; animation: fade-up .5s var(--ease); }
.code pre {
    margin: 0;
    padding: 22px 24px;
    min-height: 340px;
    overflow-x: auto;
    font: 13.5px/1.8 var(--mono);
    tab-size: 2;
}
.tk-s { color: #86efac; }
.tk-p { color: #f1f1f1; }
.tk-n { color: #fcd34d; }
.tk-k { color: #93c5fd; }
.tk-f { color: #d8b4fe; }
.tk-c { color: #6b7280; font-style: italic; }
.code__status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid #1d1d1d;
    font-size: 13px;
}
.code__status strong { color: #fff; }
.code__ok { width: 20px; height: 20px; border-radius: 50%; background: var(--live); color: #0b0b0b; display: grid; place-items: center; }
.code__ok .icon { width: 12px; height: 12px; }
.code__live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; }
.code__live i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.code__live i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s infinite; }

/* ==========================================================================
   Bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bento__cell {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 330px;
    padding: 28px;
    overflow: hidden;
}
.bento__cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bento__cell:hover .bento__text .icon-box { background: var(--ink); color: #fff; border-color: var(--ink); }
.bento__text h3 { margin: 18px 0 8px; font-size: 20px; }
.bento__text p { color: var(--muted); font-size: 15px; }
.bento__cell--wide { grid-column: span 2; display: grid; grid-template-columns: .75fr 1.25fr; align-items: end; gap: 28px; }

.dash {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px;
    border-radius: 16px;
    background: var(--soft);
    border: 1px solid var(--line);
}
.dash__kpi { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.dash__kpi small { width: 100%; color: var(--muted); font-size: 13px; }
.dash__kpi strong { font-family: var(--display); font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; }
.dash__bars span {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 3px 3px;
    background: var(--ink);
    opacity: calc(.28 + var(--i) * .06);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s var(--ease) calc(var(--i) * 70ms);
}
.in-view .dash__bars span { transform: scaleY(1); animation: bar-wave 2.8s ease-in-out calc(1.4s + var(--i) * .18s) infinite alternate; }

.payouts { display: grid; gap: 10px; list-style: none; padding: 0; margin: auto 0 0; }
.payouts li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 500;
}
.payouts__av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.payouts__st { position: relative; margin-left: auto; width: 84px; height: 24px; flex: none; }
.payouts__st::before,
.payouts__st::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}
.payouts__st::before { content: "Processing"; background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); }
.payouts__st::after { content: "✓ Paid"; background: var(--ok-bg); color: var(--ok); opacity: 0; animation: paid 6s ease infinite calc(var(--i) * .9s); }

.routing { width: 100%; height: auto; margin-top: auto; overflow: visible; }
.routing__path { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 5 7; animation: dash-flow 1.2s linear infinite; }
.routing__path--hot { stroke: var(--ink); stroke-width: 2.5; }
.routing__dot { fill: var(--ink); }
.routing__node { fill: var(--surface); stroke: var(--line-2); stroke-width: 2; }
.routing__node--src,
.routing__node--hot { fill: var(--ink); stroke: var(--ink); }

/* ==========================================================================
   Industries
   ========================================================================== */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 26px;
}
.industry::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    clip-path: circle(0% at 100% 0%);
    transition: clip-path .7s var(--ease);
}
.industry:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry:hover::before { clip-path: circle(150% at 100% 0%); }
.industry__icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    border: 1px solid var(--line);
    transition: background-color .4s, border-color .4s, color .4s, transform .6s var(--ease);
}
.industry__icon .icon { width: 24px; height: 24px; }
.industry h3 { margin-top: auto; padding-top: 28px; font-size: 20px; transition: color .4s; }
.industry p { margin-top: 8px; color: var(--muted); font-size: 14.5px; transition: color .4s; }
.industry__arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease);
}
.industry__arrow .icon { width: 16px; height: 16px; }
.industry:hover h3 { color: #fff; }
.industry:hover p { color: rgba(255, 255, 255, .65); }
.industry:hover .industry__icon { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; transform: rotate(-12deg); }
.industry:hover .industry__arrow { background: #fff; border-color: #fff; color: var(--ink); transform: rotate(45deg); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps__line { position: absolute; top: 31px; left: 16.66%; right: 16.66%; height: 2px; background: var(--line); overflow: hidden; }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .3s; }
.steps.in-view .steps__line span { transform: scaleX(1); }
.step { position: relative; text-align: center; padding-inline: 12px; }
.step .icon-box { margin-inline: auto; position: relative; z-index: 1; background: var(--surface); box-shadow: 0 0 0 10px var(--bg); }
.steps.in-view .step .icon-box { background: var(--ink); color: #fff; border-color: var(--ink); transition-delay: calc(var(--d, 0ms) + .5s); }
.step__num {
    position: absolute;
    top: -8px;
    left: calc(50% + 20px);
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    border: 1px solid var(--line-2);
    font-size: 12px;
    font-weight: 700;
}
.step h3 { margin: 24px 0 10px; font-size: 22px; }
.step p { max-width: 320px; margin-inline: auto; color: var(--muted); }

/* ==========================================================================
   Contact & form
   ========================================================================== */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-split__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-split--page { grid-template-columns: .85fr 1.15fr; }

.checklist { display: grid; gap: 14px; list-style: none; padding: 0; margin: 32px 0 0; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.checklist .icon { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 3; }

.channels { display: grid; gap: 16px; }
.channel { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.channel:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.channel__body strong { display: block; font-family: var(--display); font-size: 18px; }
.channel__body small { display: block; color: var(--muted); font-size: 14px; margin: 2px 0 10px; }
.channel:hover .link-arrow .icon { transform: translateX(4px); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap > .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.faq__item:hover { border-color: var(--line-2); }
.faq__item.is-open { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border: 0;
    background: none;
    text-align: left;
    font: 600 17px/1.4 var(--display);
    letter-spacing: -.01em;
    cursor: pointer;
}
.faq__toggle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    flex: none;
    transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.faq__toggle .icon { width: 16px; height: 16px; }
.faq__item.is-open .faq__toggle { transform: rotate(135deg); background: var(--ink); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 22px; color: var(--muted); line-height: 1.7; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(52px, 8vw, 100px) clamp(22px, 5vw, 64px);
    border-radius: 32px;
    background: var(--ink);
    color: #fff;
    text-align: center;
}
.cta__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent);
    mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent);
    animation: grid-move 20s linear infinite;
}
.cta__glow {
    position: absolute;
    z-index: -1;
    width: 720px;
    height: 720px;
    left: var(--mx, 50%);
    top: var(--my, -10%);
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent);
    transition: left .6s var(--ease), top .6s var(--ease);
    pointer-events: none;
}
.cta__content { position: relative; max-width: 740px; margin-inline: auto; }
.cta h2 { margin: 22px 0 16px; color: #fff; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -.04em; }
.cta p { color: rgba(255, 255, 255, .65); font-size: clamp(16px, 1.5vw, 18px); max-width: 560px; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 96px);
    text-align: center;
}
.page-hero--compact { padding-bottom: clamp(40px, 6vw, 64px); }
.page-hero__inner { max-width: 860px; }
.page-hero h1 { margin: 22px 0 18px; font-size: clamp(38px, 6vw, 72px); line-height: 1.04; letter-spacing: -.045em; }
.page-hero p { max-width: 640px; margin-inline: auto; color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* About */
.mission { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.mission__body p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--ink-2); }
.mission__body p + p { margin-top: 18px; }

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.timeline__item { position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 44px; padding-bottom: 20px; }
.timeline__item::before {
    content: "";
    position: absolute;
    left: 140px;
    top: 26px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--ink);
    transform: translateX(-50%);
    z-index: 1;
    transition: background-color .3s;
}
.timeline__item:hover::before { background: var(--ink); }
.timeline__year { padding-top: 20px; font-family: var(--display); font-weight: 600; font-size: 15px; text-align: right; }
.timeline__card { padding: 22px 28px; }
.timeline__card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.timeline__card h3 { font-size: 20px; margin-bottom: 6px; }
.timeline__card p { color: var(--muted); }

/* Pricing */
.quote { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.checklist--two { grid-template-columns: 1fr 1fr; }
.quote-card,
.telegram-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    border-radius: 26px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.quote-card::after,
.telegram-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--ang), transparent 0 65%, rgba(255, 255, 255, .9) 80%, transparent 95%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: border-spin 4s linear infinite;
    pointer-events: none;
}
.quote-card h3,
.telegram-card h3 { margin: 20px 0 12px; color: #fff; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.quote-card p,
.telegram-card p { margin-bottom: 26px; color: rgba(255, 255, 255, .65); }
.quote-card small,
.telegram-card small { display: block; margin-top: 14px; color: rgba(255, 255, 255, .45); font-size: 13px; text-align: center; }
.telegram-card small a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; }

/* Error pages */
.error { padding-bottom: clamp(56px, 8vw, 96px); }
.error .error__code {
    margin: 16px auto 4px;
    max-width: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(96px, 21vw, 230px);
    line-height: .84;
    letter-spacing: -.07em;
    color: transparent;
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 42%, #c2c2bd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    animation: bob 7s ease-in-out infinite;
}
.error h1 { font-size: clamp(28px, 4.2vw, 48px); }
.error__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: clamp(32px, 5vw, 48px);
    font-size: 14px;
}
.error__links span { color: var(--muted); }
.error__links a {
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-weight: 500;
    transition: border-color .25s, transform .25s var(--ease);
}
.error__links a:hover { border-color: var(--ink); transform: translateY(-2px); }

/* Legal */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.legal__nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.legal__nav a { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s; }
.legal__nav a:hover { background: var(--soft); color: var(--ink); }
.legal__nav a.is-active { background: var(--ink); color: #fff; }
.prose { padding: clamp(24px, 4vw, 48px); }
.prose h2 { margin: 32px 0 10px; font-size: 22px; }
.prose p { color: var(--ink-2); line-height: 1.75; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose__notice { padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--soft); font-size: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: clamp(24px, 4vw, 48px);
    padding-top: clamp(64px, 8vw, 96px);
    background: var(--ink);
    color: rgba(255, 255, 255, .62);
}
.footer__glow {
    position: absolute;
    z-index: -1;
    width: 900px;
    height: 500px;
    left: 50%;
    top: -320px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent);
}
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer__brand p { max-width: 320px; margin: 18px 0 24px; font-size: 15px; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    color: #fff;
    transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.footer__socials a:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.footer__socials .icon { width: 18px; height: 18px; }
.footer__col h4 { margin-bottom: 16px; color: #fff; font: 600 14px/1.4 var(--font); letter-spacing: 0; }
.footer__col ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer__col a { font-size: 14.5px; transition: color .2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: #fff; }

.footer__big {
    margin-top: clamp(40px, 6vw, 72px);
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(76px, 20vw, 290px);
    line-height: .78;
    letter-spacing: -.07em;
    text-align: center;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    user-select: none;
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 24px 0 calc(26px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    padding: 10px 18px 10px 10px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 14.5px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 140%);
    transition: transform .5s var(--ease), opacity .3s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast__icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--live); color: var(--ink); flex: none; }
.toast__icon .icon { width: 14px; height: 14px; stroke-width: 3; }
.toast.is-error .toast__icon { background: #ef4444; color: #fff; }
.toast.is-error .toast__icon .icon { display: none; }
.toast.is-error .toast__icon::after { content: "!"; font-weight: 800; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    translate: 0 28px;
    transition: opacity .9s var(--ease), translate .9s var(--ease);
    transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes chip-spin {
    from { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
    to { transform: translate(-50%, -50%) rotate(calc(var(--a) * -1 - 360deg)); }
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: .5; }
    100% { transform: scale(2.8); opacity: 0; }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes grid-move { to { background-position: 56px 56px; } }
@keyframes draw { 0% { stroke-dashoffset: 110; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes glow { from { transform: translateX(-12%); opacity: .7; } to { transform: translateX(12%); opacity: 1; } }
@keyframes tab-progress { to { transform: scaleX(1); } }
@keyframes bar-wave { from { transform: scaleY(1); } to { transform: scaleY(.72); } }
@keyframes paid { 0%, 25% { opacity: 0; } 35%, 85% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes dash-flow { to { stroke-dashoffset: -24; } }
@keyframes border-spin { to { --ang: 360deg; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .hide-md { display: none; }
    .nav__link { padding: 9px 11px; }
}

@media (max-width: 1024px) {
    .nav { display: none; }
    .burger { display: inline-flex; }
    .mnav { display: block; }

    .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero__copy { display: flex; flex-direction: column; align-items: center; }
    .hero__lead { margin-inline: auto; }
    .hero__actions,
    .hero__trust { justify-content: center; }
    .hero__visual { max-width: 520px; }

    .benefits { grid-template-columns: repeat(2, 1fr); }
    .stats { row-gap: 40px; }
    .bd,
    .quote { grid-template-columns: 1fr; gap: 36px; }
    .split-head,
    .integrate,
    .contact-split,
    .contact-split--page,
    .faq-wrap,
    .mission { grid-template-columns: 1fr; gap: 32px; }
    .faq-wrap > .section-head,
    .contact-split__copy { position: static; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__cell--wide { grid-column: 1 / -1; }
    .industries { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: repeat(4, 1fr); }
    .footer__brand { grid-column: 1 / -1; }
    .legal { grid-template-columns: 1fr; gap: 20px; }
    .legal__nav { position: static; display: flex; overflow-x: auto; padding-bottom: 4px; }
}

@media (max-width: 760px) {
    :root { --header-h: 64px; --radius: 18px; }

    .benefits { grid-template-columns: 1fr; }
    .benefit { padding: 24px; }
    .checklist--two { grid-template-columns: 1fr; }
    .bento { grid-template-columns: 1fr; }
    .bento__cell { min-height: 0; padding: 22px; }
    .bento__cell--wide { grid-template-columns: 1fr; }
    .dash__bars { height: 120px; gap: 6px; }
    .industry { min-height: 210px; padding: 22px; }
    .code pre { min-height: 0; padding: 18px; font-size: 12.5px; }
    .tab { padding: 12px; }

    .steps { grid-template-columns: 1fr; gap: 36px; }
    .steps__line { top: 31px; bottom: 60px; left: 30px; right: auto; width: 2px; height: auto; }
    .steps__line span { transform: scaleY(0); transform-origin: top; }
    .steps.in-view .steps__line span { transform: scaleY(1); }
    .step { display: grid; grid-template-columns: 62px 1fr; column-gap: 20px; text-align: left; padding: 0; }
    .step .icon-box { grid-row: span 2; margin: 0; }
    .step__num { left: 44px; top: -8px; }
    .step h3 { margin: 6px 0 6px; }
    .step p { margin: 0; }

    .stats { gap: 32px 16px; border-radius: 22px; }
    .stat { padding-left: 14px; }
    .stat p { font-size: 14px; }
    .faq__q { font-size: 16px; padding: 18px; }
    .faq__a p { padding: 0 18px 18px; }
    .cta { border-radius: 24px; }

    .float-card { padding: 9px 12px 9px 9px; gap: 10px; border-radius: 14px; }
    .float-card strong { font-size: 15px; }
    .float-card small { font-size: 11px; }
    .float-card__icon { width: 30px; height: 30px; }
    .float-card--rate { left: 0; bottom: 12%; }
    .spark svg { width: 52px; }
    .orbit__chip { padding: 5px 10px; font-size: 11px; gap: 5px; }
    .orbit__chip::before { width: 5px; height: 5px; }

    .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .timeline::before { left: 7px; }
    .timeline__item { grid-template-columns: 1fr; gap: 10px; padding-left: 32px; padding-bottom: 24px; }
    .timeline__item::before { left: 7px; top: 3px; }
    .timeline__year { padding-top: 0; text-align: left; }
}

@media (max-width: 480px) {
    .hide-xs { display: none; }
    .hero__actions { width: 100%; }
    .hero__actions .btn,
    .cta__actions .btn { width: 100%; }
    .hero__trust { gap: 8px 14px; font-size: 13px; }
    .industries { grid-template-columns: 1fr; }
    .industry { min-height: 190px; }
    .stats { padding: 28px 22px; }
    .bd__methods { grid-template-columns: 1fr; }
    .stat__value { font-size: 34px; }
    .code__live { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        transition-delay: 0s !important;
    }
    .js .reveal { opacity: 1; translate: none; }
}
