/* Circle Banking — UI typography: Inter (body/UI) + Nunito Sans (headings), mono/abank style */

:root {
    --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Nunito Sans", "Inter", sans-serif;
    --bg: #f5f7fa;
    --bg-white: #ffffff;
    --bg-dark: #0b0f19;
    --bg-dark-soft: #141b2d;
    --text: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-on-dark: #f3f4f6;
    --border: #e5e7eb;
    --border-dark: rgba(255, 255, 255, 0.1);
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --gold: #c9a227;
    --gold-bg: #fef9e7;
    --crypto: #0891b2;
    --crypto-bg: #ecfeff;
    --success: #059669;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --header-h: 72px;
    --container: min(1180px, calc(100% - 40px));
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--primary);
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { color: var(--text-secondary); }

.container { width: var(--container); margin-inline: auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover { background: #f3f4f6; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.site-header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.brand--wordmark {
    gap: 0;
}
.pb-site-logo-shell--wordmark {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}
.pb-site-logo-shell--wordmark .pb-site-logo,
.pb-site-logo-shell--wordmark .brand-wordmark {
    display: block;
    width: auto;
    height: 42px;
    max-width: min(240px, 52vw);
    object-fit: contain;
    filter: none;
}
.brand-footer .pb-site-logo-shell--wordmark .pb-site-logo,
.brand-footer .pb-site-logo-shell--wordmark .brand-wordmark {
    height: 38px;
    max-width: 220px;
}
/* Чёрный wordmark → белый на тёмных поверхностях */
.site-footer .pb-site-logo-shell--wordmark .pb-site-logo,
.site-footer .pb-site-logo-shell--wordmark .brand-wordmark {
    filter: brightness(0) invert(1);
}
/* Legacy square logo shells (kept for backwards compatibility) */
.pb-site-logo-shell--light {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 55%, #1d4ed8 100%);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
}
.pb-site-logo-shell--light .pb-site-logo,
.pb-site-logo-shell--light .brand-icon {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.brand .pb-site-logo-shell {
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--primary); }
.brand-text small { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-item.is-active .nav-link { color: var(--primary); background: var(--bg); }
.nav-chevron { width: 16px; height: 16px; opacity: 0.5; }

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    padding: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-link {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    transition: background var(--transition);
}
.dropdown-link:hover { background: var(--bg); }
.dropdown-title { display: block; font-weight: 600; font-size: 0.9rem; color: var(--primary); margin-bottom: 2px; }
.dropdown-desc { font-size: 0.8rem; color: var(--text-muted); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-actions .lang-switch,
.header-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
.lang-switch {
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.header-actions .lang-switch { padding: 0 13px; }
.lang-switch i,
.lang-switch svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--text-muted);
}
.lang-switch:hover {
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--primary);
    background: var(--bg);
}
.lang-switch:hover i,
.lang-switch:hover svg { color: var(--accent); }
.header-actions .btn-outline.btn-sm {
    padding: 0 18px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    color: var(--text);
}
.header-actions .btn-outline.btn-sm:hover {
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--accent);
    background: var(--bg);
}
.header-actions .btn-primary.btn-sm {
    padding: 0 20px;
    box-shadow: none;
    border: 1.5px solid transparent;
}
.header-actions .btn-primary.btn-sm:hover {
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.22);
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-toggle:hover {
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}
body.is-drawer-open .nav-toggle,
.nav-toggle[aria-expanded="true"] {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.28);
}

.nav-toggle__bars {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    position: relative;
    transition: background 0.2s;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.22s ease, top 0.22s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

body.is-drawer-open .nav-toggle__bars,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}
body.is-drawer-open .nav-toggle__bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}
body.is-drawer-open .nav-toggle__bars::after,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.mobile-drawer-backdrop.is-open {
    opacity: 1;
}
.mobile-drawer-backdrop[hidden] { display: none !important; }

body.is-drawer-open { overflow: hidden; }
body.is-drawer-open .site-header {
    z-index: 1000;
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--bg-white);
    flex-direction: column;
    overflow: hidden;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.mobile-drawer[hidden] { display: none !important; }
.mobile-drawer.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-drawer__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 4px 12px 16px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-group {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.mobile-group:last-child {
    border-bottom: none;
}

.mobile-group-label {
    display: block;
    padding: 4px 8px 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 12px;
    margin: 2px 0;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.mobile-link--solo {
    font-weight: 600;
    font-size: 1rem;
}
.mobile-link:hover,
.mobile-link:focus-visible {
    background: var(--bg);
    color: var(--accent);
}
.mobile-link.is-active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent);
}
.mobile-link__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.35;
}
.mobile-link.is-active .mobile-link__icon,
.mobile-link:hover .mobile-link__icon {
    opacity: 0.7;
}

.mobile-drawer__footer {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--bg-white);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}
.mobile-drawer__footer .btn {
    min-height: 48px;
    font-size: 0.9375rem;
    border-radius: 999px;
}

/* Hero home */
.home-hero {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 48px 0 80px;
    overflow: hidden;
    position: relative;
}
.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(37, 99, 235, 0.2), transparent 60%);
    pointer-events: none;
}
.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}
.home-hero h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 20px; }
.home-hero h1 span { color: #60a5fa; }
.home-hero-lead { font-size: 1.125rem; color: #9ca3af; margin-bottom: 32px; max-width: 480px; }
.home-hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-dark);
    color: #d1d5db;
}
.pill i { width: 14px; height: 14px; color: var(--gold); }
.home-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.home-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-dark);
}
.home-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
.home-stats span { font-size: 0.8rem; color: #9ca3af; }
.home-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 28px;
    margin-top: 4px;
    border-top: 1px solid var(--border-dark);
}
.home-hero-stats .stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 16px 14px;
    text-align: left;
}
.home-hero-stats .stat-box strong {
    color: #fff;
    font-size: 1.35rem;
}
.home-hero-stats .stat-box span { color: #9ca3af; }
.home-hero-stats .stat-box-icon {
    background: rgba(37, 99, 235, 0.18);
    margin-bottom: 10px;
}
.home-hero-stats .stat-box-icon i { color: #60a5fa; }
.home-quick-section {
    padding-top: 0;
    padding-bottom: 32px;
}
.home-hero-visual { position: relative; }
.home-hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-dark);
}
.floating-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--primary);
}
.floating-card strong { display: block; font-weight: 600; }
.floating-card small { color: var(--text-muted); font-size: 0.75rem; }
.floating-card.fc-1 { bottom: 24px; left: -20px; }
.floating-card.fc-2 { top: 20px; right: -16px; }
.floating-card .fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--crypto-bg);
    color: var(--crypto);
}
.floating-card .fc-icon.gold { background: var(--gold-bg); color: #b8860b; }

/* Page hero inner */
.page-hero {
    background: var(--bg-white);
    padding: 40px 0 56px;
    border-bottom: 1px solid var(--border);
}
.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero-lead { font-size: 1.1rem; margin-bottom: 24px; max-width: 520px; }
.page-hero-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.breadcrumbs a:hover { color: var(--accent); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-white); }
.section-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #9ca3af; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #9ca3af; }
.section-dark .eyebrow { color: #60a5fa; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 10px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { font-size: 1.05rem; }

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
    box-shadow: var(--shadow);
    border-color: #d1d5db;
}
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: #eff6ff;
    color: var(--accent);
}
.card-icon.crypto { background: var(--crypto-bg); color: var(--crypto); }
.card-icon.gold { background: var(--gold-bg); color: #b8860b; }
.card-icon i { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9rem; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}
.card-link i { width: 16px; height: 16px; }
.card-icon.teal { background: #ecfdf5; color: #0d9488; }
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.card-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.cards-grid-api { margin-bottom: 8px; }

/* API section */
.api-preview {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 40px;
}
.api-preview-code {
    background: #0f172a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 20px 40px rgba(15, 23, 42, 0.2));
    border: 1px solid #1e293b;
}
.api-preview-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}
.api-preview-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #475569;
}
.api-preview-bar span:nth-child(1) { background: #f87171; }
.api-preview-bar span:nth-child(2) { background: #fbbf24; }
.api-preview-bar span:nth-child(3) { background: #4ade80; }
.api-preview-method {
    margin-left: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4ade80;
    font-family: ui-monospace, monospace;
}
.api-preview-path {
    font-size: 0.8rem;
    color: #94a3b8;
    font-family: ui-monospace, monospace;
}
.api-preview-body {
    margin: 0;
    padding: 20px 20px 24px;
    overflow-x: auto;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #e2e8f0;
    font-family: ui-monospace, "Cascadia Code", monospace;
}
.api-preview-body code { white-space: pre; }
.api-preview-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.api-preview-meta li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.api-preview-meta li i {
    width: 22px;
    height: 22px;
    color: var(--accent);
    margin-bottom: 4px;
}
.api-preview-meta strong {
    font-size: 1.15rem;
    color: var(--primary);
    font-family: var(--font-display);
}
.api-preview-meta span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.api-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.api-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
    flex: 1;
    min-width: 200px;
}
.api-footer-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.api-footer-link:hover { color: var(--accent); }
.api-footer-link i {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}
.api-footer-link strong {
    display: block;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

/* Split feature */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-content { order: 1; }
.split-media {
    display: flex;
    min-height: 0;
}
.split-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    background: var(--bg-soft);
    aspect-ratio: auto;
}
.page-hero-media img,
.home-hero-visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    display: block;
    background: var(--bg-soft);
}
.page-hero-media img {
    aspect-ratio: 16 / 10;
    min-height: 280px;
}
.page-digital .page-hero-media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #0b1220;
}
.home-hero-visual img {
    aspect-ratio: 5 / 3;
    min-height: 320px;
}
.split-media-illustration img {
    object-fit: cover;
    background: #0b1220;
}
.split-content h2 { margin-bottom: 16px; }
.split-content > p { margin-bottom: 24px; }
.split-cta { margin-top: 32px; }
.split-cta-center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.split-content .lead-text {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 16px;
}

/* HQ office panel (luxembourg.php) */
.split-media--hq {
    align-items: center;
}
.split-media--hq img {
    aspect-ratio: 4 / 5;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}
.hq-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.hq-panel__item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
}
.hq-panel__item + .hq-panel__item {
    border-top: 1px solid var(--border);
}
.hq-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}
.hq-panel__icon i {
    width: 22px;
    height: 22px;
}
.hq-panel__icon--gold {
    background: rgba(201, 162, 39, 0.14);
    color: #b45309;
}
.hq-panel__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.hq-panel__value {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--primary);
    font-weight: 500;
}
.hq-panel__value a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.hq-panel__value a:hover {
    text-decoration: underline;
}
.hq-panel__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 16px 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.hq-panel__footer i {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    margin-right: 4px;
    opacity: 0.85;
}
.hq-panel__divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}
.hq-panel__cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}
.hq-panel__cta i {
    width: 16px;
    height: 16px;
    margin: 0;
    transition: transform 0.2s ease;
}
.hq-panel__cta:hover {
    color: #1d4ed8;
}
.hq-panel__cta:hover i {
    transform: translateX(3px);
}

.section-note {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.section-note code {
    background: var(--bg);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9em;
}
.payroll-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.payroll-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}
.payroll-highlights i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}
.crypto-compliance-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.crypto-compliance-bar span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}
.crypto-compliance-bar i {
    width: 18px;
    height: 18px;
    color: var(--crypto, #0d9488);
}
.crypto-coins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.crypto-coin-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.crypto-coin-card:hover {
    box-shadow: var(--shadow);
    border-color: #d1d5db;
}
.crypto-coin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.crypto-coin-icon--btc { background: #fef3c7; color: #d97706; }
.crypto-coin-icon--eth { background: #ede9fe; color: #7c3aed; }
.crypto-coin-icon--sol { background: #e0e7ff; color: #4f46e5; }
.crypto-coin-icon--xrp { background: #e0f2fe; color: #0284c7; }
.crypto-coin-icon--ada { background: #ecfdf5; color: #059669; }
.crypto-coin-icon--dot { background: #fce7f3; color: #db2777; }
.crypto-coin-card h3 { font-size: 1rem; margin-bottom: 6px; }
.crypto-coin-card p { font-size: 0.875rem; margin: 0; color: var(--text-secondary); }
.crypto-coin-card .card-tags { margin-top: 14px; }
.crypto-coin-icon i { width: 22px; height: 22px; }
.cards-lineup-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
    .cards-lineup-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.feature-list i {
    width: 22px;
    height: 22px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-list strong { color: var(--primary); font-weight: 600; }
.feature-list li > div { color: var(--text-secondary); }

/* Feature stack cards (private banking, services) */
.feature-stack {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.feature-stack-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-stack-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}
.feature-stack-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--accent);
}
.feature-stack-icon i { width: 24px; height: 24px; stroke-width: 2px; }
.feature-stack-icon--blue { background: linear-gradient(145deg, #eff6ff, #dbeafe); color: #2563eb; }
.feature-stack-icon--teal { background: linear-gradient(145deg, #ecfeff, #cffafe); color: #0891b2; }
.feature-stack-icon--gold { background: linear-gradient(145deg, #fef9e7, #fef3c7); color: #b8860b; }
.feature-stack-body { flex: 1; min-width: 0; }
.feature-stack-body strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.3;
}
.feature-stack-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* Home steps */
.steps-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.step-home {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    transition: border-color 0.2s, background 0.2s;
}
.step-home:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(96, 165, 250, 0.45);
}
.step-num {
    display: flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #fff;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.step-num .step-home-icon,
.step-num svg {
    width: 22px;
    height: 22px;
    color: #fff;
    stroke: #fff;
    margin: 0;
}
.step-num svg [stroke]:not([stroke="none"]) {
    stroke: #fff;
}
.step-home h3 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.step-home p { font-size: 0.875rem; color: #9ca3af; }
.steps-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}
.section-dark .steps-cta-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.section-dark .steps-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.trust-bar { text-align: center; }
.trust-bar .section-head {
    margin: 0 auto 24px;
    max-width: 640px;
    text-align: center;
}
.trust-bar-items { justify-content: center; }
.trust-bar .section-note { margin-top: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }
.trust-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 600;
}
.trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
}
.trust-items span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    padding: 10px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.trust-items i { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 768px) {
    .steps-home { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .steps-home { grid-template-columns: 1fr; }
}

/* Product tiles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.product-tile {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.product-tile:hover { box-shadow: var(--shadow); }
.product-tile-content { padding: 28px; }
.product-tile-content h3 { margin-bottom: 8px; }
.product-tile-content p { font-size: 0.9rem; margin-bottom: 16px; }
.product-tile img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
}
.stat-box strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}
.stat-box span { font-size: 0.875rem; color: var(--text-muted); }
.stats-row { margin-bottom: 40px; }
.treasury-stats {
    margin-top: 28px;
    margin-bottom: 0;
    text-align: left;
}
.treasury-stats .stat-box {
    padding: 20px 18px;
}
.stat-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--accent);
    margin-bottom: 12px;
}
.stat-box-icon i { width: 20px; height: 20px; }
.treasury-stats .stat-box strong {
    font-size: 1.5rem;
    text-align: left;
}
.treasury-stats .stat-box span { display: block; }

/* Home trust stats */
.section-home-trust {
    padding-top: 72px;
    padding-bottom: 72px;
}
.home-trust-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.home-trust-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.home-trust-highlight:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.home-trust-highlight__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
}
.home-trust-highlight__icon i { width: 22px; height: 22px; }
.home-trust-highlight__icon--blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.home-trust-highlight__icon--teal { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.home-trust-highlight__icon--gold { background: rgba(201, 162, 39, 0.14); color: #b45309; }
.home-trust-highlight__icon--violet { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.home-trust-highlight__body strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.15;
    margin-bottom: 4px;
}
.home-trust-highlight__body p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}
.home-trust-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}
.home-trust-meta__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--border);
}
.home-trust-meta__pill i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Account product cards */
.account-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.account-product {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.account-product:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.account-product-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}
.account-product-icon i { width: 28px; height: 28px; stroke-width: 2px; }
.account-product-icon--blue { background: linear-gradient(145deg, #eff6ff, #dbeafe); color: #2563eb; }
.account-product-icon--gold { background: linear-gradient(145deg, #fef9e7, #fef3c7); color: #b8860b; }
.account-product-icon--teal { background: linear-gradient(145deg, #ecfeff, #cffafe); color: #0891b2; }
.account-product h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--primary);
}
.account-product p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 16px;
    flex: 1;
}
.account-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}
.account-product-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* Table */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-white); }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table th, .data-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.data-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table-packages .data-table-highlight {
    background: rgba(201, 162, 39, 0.08);
    font-weight: 600;
}
.data-table-packages th.data-table-highlight {
    background: rgba(201, 162, 39, 0.14);
    color: #b8860b;
}

.data-table-packages th.data-table-highlight {
    background: rgba(201, 162, 39, 0.14);
    color: #b8860b;
}

/* Fees page */
.page-fees .fees-intro {
    max-width: 720px;
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
}
.page-fees .fees-intro a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.page-fees .fees-intro a:hover { text-decoration: underline; }
.fees-packages {
    margin-bottom: 28px;
}
.fees-package {
    position: relative;
    overflow: hidden;
}
.fees-package--featured {
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 16px 40px rgba(184, 134, 11, 0.12);
}
.fees-package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border: 1px solid rgba(201, 162, 39, 0.35);
}
.fees-package-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.fees-package-metric {
    text-align: center;
    padding: 10px 6px;
    border-radius: 10px;
    background: var(--bg);
}
.fees-package-metric__val {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.fees-package-metric__lbl {
    display: block;
    margin-top: 2px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}
.fees-package--featured .fees-package-metric {
    background: rgba(201, 162, 39, 0.08);
}
.fees-meta-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.fees-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.fees-meta-pill i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}
.fees-table-wrap {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.fees-table tbody tr:hover td {
    background: rgba(248, 250, 252, 0.85);
}
.fees-table tbody tr:hover td.data-table-highlight {
    background: rgba(201, 162, 39, 0.12);
}
.fees-cell {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}
.fees-cell--good {
    color: #059669;
}
.fees-cell--best {
    color: #2563eb;
}
.fees-cell--included {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}
.fees-cell--na {
    color: #cbd5e1;
    font-weight: 500;
}
.fees-cards-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
}
.fees-cards-table-panel {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.fees-panel-title {
    margin: 0;
    padding: 18px 22px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border);
}
.fees-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.fees-mini-table th,
.fees-mini-table td {
    padding: 14px 22px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.fees-mini-table th {
    width: 46%;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
}
.fees-mini-table td {
    color: var(--text-secondary);
    font-weight: 500;
}
.fees-mini-table tr:last-child th,
.fees-mini-table tr:last-child td {
    border-bottom: none;
}
.fees-rate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}
.fees-rate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.fees-rate-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.fees-rate-card--featured {
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(180deg, #fff 0%, #eff6ff 100%);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
}
.fees-rate-card__term {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.fees-rate-card__rate {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}
.fees-rate-card__note {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.fees-enterprise-panel {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}
.fees-enterprise-panel__head {
    padding: 36px 36px 0;
}
.fees-enterprise-panel__head .section-head {
    margin-bottom: 0;
}
.fees-enterprise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 28px;
    border-top: 1px solid var(--border);
}
.fees-enterprise-item {
    display: flex;
    gap: 16px;
    padding: 28px 24px;
    border-right: 1px solid var(--border);
}
.fees-enterprise-item:last-child {
    border-right: none;
}
.fees-enterprise-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
.fees-enterprise-item__icon--teal {
    background: rgba(20, 184, 166, 0.12);
    color: #0d9488;
}
.fees-enterprise-item__icon--gold {
    background: rgba(201, 162, 39, 0.14);
    color: #b45309;
}
.fees-enterprise-item__icon i {
    width: 22px;
    height: 22px;
}
.fees-enterprise-item h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--primary);
}
.fees-enterprise-item p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.fees-enterprise-panel__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 18px 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
}
.fees-enterprise-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.fees-enterprise-contact i {
    width: 16px;
    height: 16px;
}
.fees-enterprise-contact:hover { text-decoration: underline; }
.fees-enterprise-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}
.fees-enterprise-sla {
    color: var(--text-secondary);
}
.fees-enterprise-sla i {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    margin-right: 4px;
}
.fees-enterprise-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.fees-enterprise-cta i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}
.fees-enterprise-cta:hover i { transform: translateX(3px); }

/* FAQ */
.faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 20px;
}
.faq-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.faq-nav a:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.faq-nav a i { width: 16px; height: 16px; }
.crypto-compliance-bar a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.faq-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}
.faq-sidebar {
    position: sticky;
    top: 100px;
}
.faq-sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 12px;
}
.faq-nav-vertical {
    flex-direction: column;
    margin: 0;
    gap: 6px;
}
.faq-nav-vertical a {
    border-radius: var(--radius);
    width: 100%;
    justify-content: flex-start;
}
.faq-main { min-width: 0; }
.faq-group { margin-bottom: 48px; }
.faq-group:last-of-type { margin-bottom: 24px; }
.faq-group-head { margin-bottom: 20px; }
.faq-group-head h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin: 8px 0 0;
}
.faq-list { max-width: none; }
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    color: var(--primary);
    cursor: pointer;
}
.faq-q i { width: 20px; height: 20px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s; }
.faq-item.is-open .faq-q i { transform: rotate(180deg); }
.faq-a {
    display: none;
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--accent); font-weight: 600; }

/* FAQ page refresh */
.page-faq .faq-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.page-faq .faq-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.page-faq .faq-highlight:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.page-faq .faq-highlight__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
}
.page-faq .faq-highlight__icon i { width: 22px; height: 22px; }
.page-faq .faq-highlight__icon--blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.page-faq .faq-highlight__icon--teal { background: rgba(20, 184, 166, 0.12); color: #0d9488; }
.page-faq .faq-highlight__icon--gold { background: rgba(201, 162, 39, 0.14); color: #b45309; }
.page-faq .faq-highlight__icon--violet { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.page-faq .faq-highlight__body strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 4px;
}
.page-faq .faq-highlight__body p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}
.page-faq .faq-topic-nav {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 20px;
}
.page-faq .faq-topic-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.page-faq .faq-topic-nav__link i { width: 16px; height: 16px; color: var(--accent); }
.page-faq .faq-topic-nav__link:hover {
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--accent);
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.page-faq .faq-meta-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.page-faq .faq-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.page-faq .faq-meta-pill i { width: 16px; height: 16px; color: var(--accent); }
.page-faq .faq-meta-pill:hover {
    color: var(--accent);
    border-color: rgba(37, 99, 235, 0.35);
    background: #f8fafc;
}
.page-faq .faq-sidebar-panel {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.page-faq .faq-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}
.page-faq .faq-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}
.page-faq .faq-sidebar-nav a i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent);
    opacity: 0.85;
}
.page-faq .faq-sidebar-nav a:hover {
    background: #eff6ff;
    color: var(--accent);
}
.page-faq .faq-group {
    scroll-margin-top: 100px;
    margin-bottom: 36px;
    padding: 24px 24px 8px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
}
.page-faq .faq-group-head {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.page-faq .faq-group-head .eyebrow {
    color: var(--accent);
}
.page-faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.page-faq .faq-item {
    margin-bottom: 0;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-faq .faq-item:hover {
    border-color: #cbd5e1;
}
.page-faq .faq-item.is-open {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
.page-faq .faq-item.is-open .faq-q {
    color: var(--accent);
}
.page-faq .faq-q {
    padding: 18px 20px;
    font-size: 0.98rem;
}
.page-faq .faq-q i {
    width: 18px;
    height: 18px;
    padding: 4px;
    border-radius: 8px;
    background: var(--bg);
}
.page-faq .faq-item.is-open .faq-q i {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}
.page-faq .faq-a {
    padding: 0 20px 18px;
    line-height: 1.65;
    border-top: 1px solid transparent;
}
.page-faq .faq-item.is-open .faq-a {
    border-top-color: var(--border);
    padding-top: 14px;
}
.page-faq .faq-main .section-note {
    margin-top: 8px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.contact-card i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-card strong { display: block; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.contact-form {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--primary);
}
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
    display: block;
    margin-bottom: 16px;
}
.contact-form label span {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--primary);
}
.contact-form label input,
.contact-form label select,
.contact-form label textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 0.95rem;
}
.contact-form label textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-error { color: #dc2626; margin-bottom: 16px; font-weight: 500; }
.form-success {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 28px;
    margin-bottom: 24px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: var(--radius-lg);
}
.form-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    color: #059669;
}
.form-success-icon i { width: 24px; height: 24px; }
.form-success-body strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.form-success-body p { margin: 0 0 16px; color: var(--text-secondary); }
.contact-form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: -4px 0 20px;
    line-height: 1.5;
}
.contact-card-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.contact-card-link:hover { text-decoration: underline; }
.contact-card-meta {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.contact-dept-grid .card p a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.contact-dept-grid .card p a:hover { text-decoration: underline; }
.contact-form-col .section-head { margin-bottom: 20px; }
.contact-info-col .section-head { margin-bottom: 20px; }

/* Contact page highlights */
.section-contact-overview {
    padding-bottom: 56px;
}
.contact-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.contact-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-highlight:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.contact-highlight__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
}
.contact-highlight__icon i {
    width: 22px;
    height: 22px;
}
.contact-highlight__icon--blue {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
.contact-highlight__icon--teal {
    background: rgba(20, 184, 166, 0.12);
    color: #0d9488;
}
.contact-highlight__icon--gold {
    background: rgba(201, 162, 39, 0.14);
    color: #b45309;
}
.contact-highlight__icon--violet {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
}
.contact-highlight__body strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 4px;
}
.contact-highlight__body p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}
.contact-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}
.contact-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.contact-quick-link i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}
.contact-quick-link:hover {
    color: var(--accent);
    border-color: rgba(37, 99, 235, 0.35);
    background: #f8fafc;
}
.contact-cards--panel {
    gap: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.contact-card--row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border: none;
    border-radius: 0;
    background: transparent;
}
.contact-card--row + .contact-card--row {
    border-top: 1px solid var(--border);
}
.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
}
.contact-card__icon i {
    width: 22px;
    height: 22px;
}
.contact-card__icon--blue {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
.contact-card__icon--gold {
    background: rgba(201, 162, 39, 0.14);
    color: #b45309;
}
.contact-card__body strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.contact-card__body p {
    margin: 0 0 4px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--primary);
}
.contact-card__body p a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.contact-card__body p a:hover {
    text-decoration: underline;
}

.cards-grid-single { grid-template-columns: 1fr !important; }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--accent), #1e40af);
    color: #fff;
    padding: 64px 0;
}
.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 480px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Quick links home */
.quick-services {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}
.quick-svc {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}
.quick-svc:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.quick-svc i {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin: 0 auto 10px;
}
.quick-svc span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%);
    color: #9ca3af;
    padding-top: 0;
    overflow: hidden;
}
.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--gold) 50%, var(--accent) 80%, transparent);
    opacity: 0.85;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(0, 2fr);
    gap: 56px;
    padding: 56px 0 48px;
}
.footer-about {
    font-size: 0.9rem;
    margin: 16px 0 14px;
    max-width: 340px;
    line-height: 1.65;
    color: #a8b0bd;
}
.footer-reg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #6b7a8f;
    margin: 0 0 20px;
    max-width: 320px;
}
.footer-reg i { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: #e2e8f0;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform 0.2s;
}
.footer-social-link:hover {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(96, 165, 250, 0.4);
    color: #fff;
    transform: translateY(-2px);
}
.footer-social-link i { width: 18px; height: 18px; }
.footer-social-svg { display: block; }
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col h4,
.footer-links-grid h4 {
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col li:last-child { margin-bottom: 0; }
.footer-col a,
.footer-links-grid a {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-col a:hover,
.footer-links-grid a:hover { color: #fff; }
.footer-col-contact { min-width: 0; }
.footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-contact li { margin-bottom: 12px; }
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b8c0cc;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.45;
    transition: color var(--transition);
}
.footer-contact-link:hover { color: #fff; }
.footer-contact-link:hover .footer-contact-icon {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(96, 165, 250, 0.35);
}
.footer-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition), border-color var(--transition);
}
.footer-contact-icon i { width: 16px; height: 16px; color: #60a5fa; }
.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
    min-width: 0;
}
.footer-contact-line { display: block; }
.footer-contact-line-muted { color: #8b95a5; font-size: 0.8125rem; }
.footer-contact-link:hover .footer-contact-line-muted { color: #cbd5e1; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #6b7280; }
.brand-footer:hover .brand-text strong { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}
.footer-copy { margin: 0; color: #6b7280; }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}
.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color var(--transition);
}
.footer-legal a:hover { color: #fff; }
.footer-disclaimer-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 28px;
}
.footer-disclaimer {
    font-size: 0.75rem;
    color: #5c6573;
    text-align: center;
    margin: 16px auto 0;
    max-width: 720px;
    line-height: 1.55;
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item strong { display: block; color: var(--primary); margin-bottom: 4px; }

/* Responsive */
@media (max-width: 1024px) {
    .api-preview { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .crypto-coins-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-services { grid-template-columns: repeat(3, 1fr); }
    .contact-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .fees-rate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fees-enterprise-grid {
        grid-template-columns: 1fr;
    }
    .fees-enterprise-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .fees-enterprise-item:last-child {
        border-bottom: none;
    }
    .fees-cards-layout {
        grid-template-columns: 1fr;
    }
    .page-faq .faq-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-trust-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .account-products { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav, .header-actions .btn { display: none; }
    .header-actions .lang-switch { display: inline-flex; }
    .nav-toggle { display: flex !important; }
    :root { --header-h: 64px; }

    .site-header {
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
        backdrop-filter: none;
    }
    .site-header.is-scrolled {
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    }
    .header-inner {
        gap: 10px;
        min-width: 0;
    }
    .brand--wordmark {
        min-width: 0;
        flex: 1 1 auto;
        overflow: hidden;
    }
    .pb-site-logo-shell--wordmark .pb-site-logo,
    .pb-site-logo-shell--wordmark .brand-wordmark {
        height: 34px;
        max-width: min(150px, 38vw);
    }
    .header-actions {
        flex-shrink: 0;
        gap: 6px;
    }
    .header-actions .lang-switch {
        background: #fff;
        border-color: rgba(15, 23, 42, 0.14);
        color: var(--primary);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
        padding: 0 10px;
        min-height: 40px;
    }
    .nav-toggle {
        width: 42px;
        height: 42px;
        border-color: rgba(15, 23, 42, 0.2);
        background: #fff;
        color: #0f172a;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    }
    .section { padding: 48px 0; }
    .contact-highlights,
    .stats-row,
    .footer-links-grid,
    .home-trust-highlights { grid-template-columns: 1fr; }
    .quick-services { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .home-quick-section { margin-top: -24px; }
    .data-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 8px;
    }
    .data-table { min-width: 560px; }
    .data-table.fees-table,
    .data-table.payments-compare-table { min-width: 0; width: 100%; }
    .fees-table-wrap,
    .payments-table-wrap { overflow-x: visible; }
    .fees-table thead,
    .payments-compare-table thead { display: none; }
    .fees-table tbody tr,
    .payments-compare-table tbody tr {
        display: block;
        margin-bottom: 12px;
        padding: 16px;
        background: var(--bg-white);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
    }
    .fees-table td,
    .payments-compare-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
        border: none;
        text-align: right;
    }
    .fees-table td:first-child,
    .payments-compare-table td:first-child {
        display: block;
        font-weight: 700;
        text-align: left;
        padding-bottom: 10px;
        margin-bottom: 6px;
        border-bottom: 1px solid var(--border);
    }
    .fees-table td:not(:first-child)::before,
    .payments-compare-table td:not(:first-child)::before {
        content: attr(data-label);
        font-size: 0.8125rem;
        color: var(--text-muted);
        font-weight: 500;
        text-align: left;
    }
    .page-faq .faq-topic-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        margin-top: 16px;
        justify-content: flex-start;
    }
    .page-faq .faq-topic-nav__link { flex-shrink: 0; }
    .hq-panel__footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .hq-panel__divider { display: none; }
    .hq-panel__cta { margin-left: 0; }
    .split-media--hq img {
        max-height: none;
        aspect-ratio: 16 / 10;
    }
    .home-hero-grid, .page-hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .split.reverse .split-media, .split.reverse .split-content { order: unset; }
    .split-media { min-height: auto; }
    .split-media img {
        height: auto;
        min-height: 280px;
        aspect-ratio: 16 / 10;
    }
    .cards-grid, .product-grid, .crypto-coins-grid { grid-template-columns: 1fr; }
    .page-faq .faq-highlights { grid-template-columns: 1fr; }
    .home-trust-highlights { grid-template-columns: 1fr; }
    .page-faq .faq-topic-nav { gap: 8px; }
    .page-faq .faq-topic-nav__link { font-size: 0.8125rem; padding: 8px 12px; }
    .page-faq .faq-meta-pills { justify-content: flex-start; }
    .page-faq .faq-group { padding: 18px 16px 6px; }
    .fees-rate-grid { grid-template-columns: 1fr; }
    .fees-package-metrics { grid-template-columns: 1fr; }
    .fees-enterprise-panel__footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .fees-enterprise-divider { display: none; }
    .fees-enterprise-cta { margin-left: 0; }
    .fees-enterprise-panel__head { padding: 28px 20px 0; }
    .fees-enterprise-item { padding: 20px; }
    .api-preview-meta { grid-template-columns: 1fr; }
    .api-footer { flex-direction: column; align-items: stretch; }
    .api-footer .btn { width: 100%; justify-content: center; }
    .product-tile { grid-template-columns: 1fr; }
    .product-tile img { min-height: 200px; }
    .quick-services { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .footer-about, .footer-reg { max-width: none; }
    .cta-band-inner { flex-direction: column; text-align: center; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .floating-card { display: none; }
    .home-hero-stats { grid-template-columns: 1fr; }
    .faq-layout { grid-template-columns: 1fr; gap: 24px; }
    .faq-sidebar { display: none; }
    .faq-nav { gap: 8px; }
    .faq-nav a { font-size: 0.8125rem; padding: 8px 12px; }
}

@media (max-width: 480px) {
    .section { padding: 40px 0; }
    .container { padding-left: 16px; padding-right: 16px; }
    .quick-services { grid-template-columns: 1fr; }
    .page-hero-title, .home-hero-title { font-size: clamp(1.75rem, 8vw, 2.25rem); }
    .lang-switch { font-size: 0.75rem; }
    .header-actions .lang-switch,
    .header-actions .btn-sm { min-height: 36px; padding-inline: 14px; }
    .header-actions .btn-primary.btn-sm { padding-inline: 16px; }
    .fees-table tbody tr,
    .payments-compare-table tbody tr { padding: 14px; }
    .crypto-compliance-bar,
    .payments-compliance-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
    .payroll-highlights { flex-direction: column; align-items: flex-start; gap: 10px; }
}
