/* ==========================================================================
   DATASTARK PRO — unified professional design system
   Brand blue #2563EB · navy #0B1221 · Inter / Plus Jakarta Sans
   Light is the default; [data-mode="dark"] switches every token.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
[data-bp="pro"] {
    --color-background: 241 245 250;
    --color-surface: 255 255 255;
    --color-surface-hover: 243 246 251;
    --color-surface-elevated: 255 255 255;
    --color-primary: 37 99 235;
    --color-primary-hover: 29 78 216;
    --color-secondary: 226 232 240;
    --color-accent: 79 70 229;
    --color-border: 218 225 236;
    --color-text-primary: 11 18 33;
    --color-text-secondary: 91 101 119;
    --color-success: 5 150 105;
    --color-info: 2 132 199;
    --color-warning: 217 119 6;
    --color-critical: 225 29 72;
    --color-ink: 255 255 255;
    --font-sans: 'Inter';
    --font-display: 'Plus Jakarta Sans';
    --font-mono: 'JetBrains Mono';
    --glass-bg: #ffffff;
    --glass-border: rgb(218 225 236);
    --scrollbar-thumb: #CBD3E1;
    --scrollbar-hover: #2563EB;

    --navy: #0B1221;
    --navy-2: #111A2E;
    --tint: rgb(37 99 235 / .08);
    --tint-2: rgb(37 99 235 / .14);
    --line: rgb(var(--color-border));
    --muted: rgb(var(--color-text-secondary));
    --fg: rgb(var(--color-text-primary));
    --surface: rgb(var(--color-surface));
    --canvas: rgb(var(--color-background));
    --subtle: #F8FAFC;
    --sh-1: 0 1px 3px 0 rgb(16 24 40 / 0.08), 0 1px 2px -1px rgb(16 24 40 / 0.05);
    --sh-2: 0 4px 12px -2px rgb(16 24 40 / 0.08), 0 2px 4px -2px rgb(16 24 40 / 0.05);
    --sh-3: 0 12px 28px -4px rgb(16 24 40 / 0.12), 0 4px 8px -2px rgb(16 24 40 / 0.06);
    --sh-blue: 0 8px 22px -10px rgb(37 99 235 / .65);
    --ring: 0 0 0 3px rgb(37 99 235 / .18);
    --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px;
    --side-w: 264px;
    --top-h: 64px;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    color-scheme: light;
}
[data-bp="pro"][data-mode="dark"] {
    --color-background: 9 13 24;
    --color-surface: 16 23 39;
    --color-surface-hover: 24 33 54;
    --color-surface-elevated: 20 28 47;
    --color-primary: 59 130 246;
    --color-primary-hover: 37 99 235;
    --color-secondary: 30 41 59;
    --color-accent: 129 140 248;
    --color-border: 32 43 66;
    --color-text-primary: 232 237 245;
    --color-text-secondary: 145 157 179;
    --color-success: 16 185 129;
    --color-info: 56 189 248;
    --color-warning: 245 158 11;
    --color-critical: 244 63 94;
    --glass-bg: rgb(16 23 39);
    --glass-border: rgb(32 43 66);
    --scrollbar-thumb: #2A3754;
    --subtle: rgb(13 19 33);
    --tint: rgb(59 130 246 / .12);
    --tint-2: rgb(59 130 246 / .2);
    --sh-1: 0 1px 2px rgb(0 0 0 / .3);
    --sh-2: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -14px rgb(0 0 0 / .6);
    --sh-3: 0 2px 6px rgb(0 0 0 / .35), 0 28px 56px -20px rgb(0 0 0 / .7);
    --ring: 0 0 0 3px rgb(59 130 246 / .3);
    color-scheme: dark;
}

html, body, .pro-body { 
    overflow-x: hidden;
    overflow-x: clip; 
    max-width: 100vw; 
}
[data-bp="pro"] {
    overflow-x: hidden;
    overflow-x: clip;
}
[data-bp="pro"] body { 
    background: var(--canvas); 
    color: var(--fg); 
    font-family: var(--font-sans); 
    font-size: 14px; 
    line-height: 1.5; 
    font-feature-settings: "cv11", "ss01"; 
    letter-spacing: -0.006em; 
    display: flex; 
    flex-direction: column; 
    overflow-x: hidden;
    overflow-x: clip; 
    max-width: 100vw; 
}
[data-bp="pro"] ::selection { background: rgb(var(--color-primary) / .2); color: inherit; }
[data-bp="pro"] :focus-visible { outline: 2px solid rgb(var(--color-primary)); outline-offset: 2px; border-radius: 6px; }
[data-bp="pro"] .font-display, .pro-display, .pro-h1, .pro-h2, .pro-h3, h1, h2, h3 { font-family: var(--font-display), var(--font-sans), sans-serif; }
.pro-logo-dark { display: none; }
[data-mode="dark"] .pro-logo-light { display: none; }
[data-mode="dark"] .pro-logo-dark { display: inline-block; }

/* ---------- 2. Typography ---------- */
.pro-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--color-primary)); }
.pro-display { font-size: clamp(1.75rem, 5.5vw, 3.5rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.pro-h1, h1 { font-family: var(--font-display), sans-serif; font-size: clamp(1.4rem, 4vw, 1.75rem); line-height: 1.2; font-weight: 750; letter-spacing: -0.025em; color: var(--fg); }
.pro-h2, h2 { font-family: var(--font-display), sans-serif; font-size: clamp(1.2rem, 3.5vw, 1.375rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); text-wrap: balance; }
.pro-h3, h3 { font-family: var(--font-display), sans-serif; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.015em; color: var(--fg); }
.pro-lead { font-size: 15px; line-height: 1.6; color: var(--muted); }
.pro-gradient-text { background: linear-gradient(100deg, #60A5FA 0%, #2563EB 45%, #6366F1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. Primitives ---------- */
.pro-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: background-color .18s, border-color .18s, color .18s, box-shadow .25s, transform .18s var(--ease-out); cursor: pointer; user-select: none; }
.pro-btn:active { transform: translateY(1px) scale(.99); }
.pro-btn:disabled, .pro-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.pro-btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.pro-btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.pro-btn-primary { background: rgb(var(--color-primary)); color: #fff !important; box-shadow: var(--sh-blue), inset 0 1px 0 rgb(255 255 255 / .15); }
.pro-btn-primary:hover:not(:disabled) { background: rgb(var(--color-primary-hover)); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgb(37 99 235 / .7), inset 0 1px 0 rgb(255 255 255 / .15); }
.pro-btn-secondary { background: var(--surface); color: var(--fg) !important; border-color: var(--line); box-shadow: var(--sh-1); }
.pro-btn-secondary:hover:not(:disabled) { border-color: rgb(var(--color-primary) / .45); color: rgb(var(--color-primary)) !important; }
.pro-btn-outline { background: transparent; color: var(--fg) !important; border-color: var(--line); }
.pro-btn-outline:hover:not(:disabled) { border-color: rgb(var(--color-primary) / .5); background: rgb(var(--color-surface-hover)); color: rgb(var(--color-primary)) !important; }
.pro-btn-ghost { background: transparent; color: var(--muted) !important; }
.pro-btn-ghost:hover { background: rgb(var(--color-surface-hover)); color: var(--fg) !important; }
.pro-btn-light { background: #fff; color: #0B1221 !important; box-shadow: 0 8px 20px -10px rgb(0 0 0 / .4); }
.pro-btn-light:hover { transform: translateY(-1px); background: #F1F5FF; }
.pro-btn-outline-light { background: rgb(255 255 255 / .06); color: #fff !important; border-color: rgb(255 255 255 / .18); }
.pro-btn-outline-light:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .3); }
.pro-btn .pro-arrow { transition: transform .25s var(--ease-out); }
.pro-btn:hover .pro-arrow { transform: translateX(3px); }
.pro-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; color: var(--muted); transition: background-color .15s, color .15s; }
.pro-icon-btn:hover { background: rgb(var(--color-surface-hover)); color: var(--fg); }

.pro-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.pro-card-pad { padding: 20px; }
@media (min-width: 640px) { .pro-card-pad { padding: 24px; } }
.pro-card-hover { transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.pro-card-hover:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: rgb(var(--color-primary) / .3); }
.pro-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.pro-card-title { font-size: 15px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }

.pro-badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--tint); color: rgb(var(--color-primary)); }
.pro-badge-blue { background: var(--tint); color: rgb(var(--color-primary)); }
.pro-badge-green { background: rgb(var(--color-success) / .12); color: rgb(var(--color-success)); }
.pro-badge-amber { background: rgb(var(--color-warning) / .14); color: rgb(var(--color-warning)); }
.pro-badge-red { background: rgb(var(--color-critical) / .12); color: rgb(var(--color-critical)); }
.pro-badge-gray { background: rgb(var(--color-text-secondary) / .12); color: var(--muted); }
.pro-badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pro-badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pro-pulse 1.8s ease-out infinite; }
.pro-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-family: var(--font-sans), -apple-system, BlinkMacSystemFont, sans-serif; font-size: 11.5px; font-weight: 600; line-height: 1; white-space: nowrap; vertical-align: middle; background: rgb(var(--color-primary) / .12); color: rgb(var(--color-primary)); letter-spacing: 0.01em; }
.pro-pill-live { background: rgb(var(--color-success) / .14); color: rgb(var(--color-success)); border: 1px solid rgb(var(--color-success) / .25); }
.pro-pill-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pro-pulse 1.8s ease-out infinite; }
.pro-pill-invert { background: rgba(255, 255, 255, 0.15); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); }
.pro-pill-muted { background: rgb(var(--color-text-secondary) / .12); color: var(--muted); border: 1px solid var(--line); }
.pro-kbd { display: inline-flex; align-items: center; justify-content: center; gap: 3px; min-width: 24px; height: 20px; padding: 0 6px; font-family: var(--font-mono), monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; flex-shrink: 0; }

/* Standardized interactive controls */
.pro-input, .pro-select, .pro-textarea { display: block; width: 100%; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.pro-textarea { height: auto; min-height: 88px; padding: 10px 14px; }
.pro-input:focus, .pro-select:focus, .pro-textarea:focus { outline: none; border-color: rgb(var(--color-primary)); box-shadow: var(--ring); }
.pro-switch { position: relative; display: inline-flex; align-items: center; width: 44px; height: 24px; border-radius: 999px; background: rgb(var(--color-text-secondary) / .25); cursor: pointer; transition: background-color .2s; border: 1px solid transparent; flex-shrink: 0; }
.pro-switch.is-active, .pro-switch[aria-checked="true"] { background: rgb(var(--color-primary)); }
.pro-switch-thumb { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transform: translateX(3px); transition: transform .2s; }
.pro-switch.is-active .pro-switch-thumb, .pro-switch[aria-checked="true"] .pro-switch-thumb { transform: translateX(21px); }
.pro-check { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgb(var(--color-success) / .12); color: rgb(var(--color-success)); }
.pro-check.is-off { background: rgb(var(--color-text-secondary) / .12); color: var(--muted); }
.pro-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: var(--tint); color: rgb(var(--color-primary)); }
.pro-ico-sm { width: 32px; height: 32px; border-radius: 8px; }
.pro-ico[data-tone="green"] { background: rgb(var(--color-success) / .12); color: rgb(var(--color-success)); }
.pro-ico[data-tone="amber"] { background: rgb(var(--color-warning) / .14); color: rgb(var(--color-warning)); }
.pro-ico[data-tone="red"] { background: rgb(var(--color-critical) / .12); color: rgb(var(--color-critical)); }
.pro-ico[data-tone="violet"] { background: rgb(var(--color-accent) / .12); color: rgb(var(--color-accent)); }
.pro-ico[data-tone="sky"] { background: rgb(var(--color-info) / .12); color: rgb(var(--color-info)); }
.pro-meter { height: 6px; border-radius: 6px; background: rgb(var(--color-text-secondary) / .14); overflow: hidden; }
.pro-meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--color-primary)), rgb(var(--color-accent))); transform-origin: left; animation: pro-grow 1.1s var(--ease-out) both .25s; }
.pro-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgb(var(--color-primary) / .15); border-top-color: rgb(var(--color-primary)); animation: spin .8s linear infinite; }
.pro-skel { position: relative; overflow: hidden; background: rgb(var(--color-text-secondary) / .1); border-radius: 8px; }
.pro-skel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .5), transparent); animation: pro-shimmer 1.4s infinite; }
[data-mode="dark"] .pro-skel::after { background: linear-gradient(90deg, transparent, rgb(255 255 255 / .06), transparent); }
.pro-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #3B82F6, #6366F1); }
.pro-divider { height: 1px; background: var(--line); }
.pro-link { color: rgb(var(--color-primary)); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.pro-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pro-field { display: block; width: 100%; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.pro-field:focus { outline: none; border-color: rgb(var(--color-primary)); box-shadow: var(--ring); }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ---------- 4. Menus & popovers ---------- */
.pro-menu { position: absolute; top: calc(100% + 8px); z-index: 90; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); overflow: hidden; color: var(--fg); transform-origin: top right; }
.pro-menu-head { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pro-menu-head p { font-size: 14px; font-weight: 600; }
.pro-menu-head span { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
    .pro-notif { position: static !important; }
    .pro-menu.pro-menu-notif { left: 12px; right: 12px; width: auto !important; max-width: none !important; max-height: calc(100dvh - var(--top-h) - 24px); overflow-y: auto; }
}
.pro-menu-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--fg); text-align: left; transition: background-color .12s; }
.pro-menu-link:hover { background: rgb(var(--color-surface-hover)); }
.pro-menu-link svg { color: var(--muted); }
.pro-seg { display: inline-flex; align-items: center; padding: 3px; gap: 2px; background: rgb(var(--color-text-secondary) / .1); border-radius: 10px; border: 1px solid var(--line); }
.pro-seg :is(button, a, .pro-seg-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; cursor: pointer; }
.pro-seg :is(button, a, .pro-seg-btn):hover { color: var(--fg); }
.pro-seg :is(button, a, .pro-seg-btn).is-on,
.pro-seg :is(button, a, .pro-seg-btn).is-active { background: var(--surface); color: var(--fg); box-shadow: var(--sh-1); }
.pro-seg :is(button, a, .pro-seg-btn) svg { flex-shrink: 0; }

/* chips: filters, field-type pickers, quick examples (same timing as pro-btn) */
.pro-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; user-select: none; transition: background-color .18s, border-color .18s, color .18s, box-shadow .25s, transform .18s var(--ease-out); }
.pro-chip:hover:not(:disabled) { color: var(--fg); border-color: rgb(var(--color-primary) / .45); }
.pro-chip:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.pro-chip.is-on { background: var(--tint); color: rgb(var(--color-primary)); border-color: rgb(var(--color-primary) / .4); }
.pro-chip:disabled { opacity: .55; cursor: not-allowed; }
.pro-chip-count { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 999px; background: rgb(var(--color-text-secondary) / .14); color: var(--muted); }
.pro-chip.is-on .pro-chip-count { background: rgb(var(--color-primary) / .16); color: rgb(var(--color-primary)); }

/* choice cards: scan options */
.pro-choice { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: background-color .18s, border-color .18s, box-shadow .25s, transform .18s var(--ease-out); }
.pro-choice:hover { border-color: rgb(var(--color-primary) / .45); }
.pro-choice:active { transform: translateY(1px) scale(.995); }
.pro-choice.is-on { background: var(--tint); border-color: rgb(var(--color-primary) / .4); }
.pro-choice.is-warn.is-on { background: rgb(var(--color-warning) / .08); border-color: rgb(var(--color-warning) / .45); }
.pro-choice-title { display: block; font-size: 13px; font-weight: 650; color: var(--fg); line-height: 1.3; }
.pro-choice-hint { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); line-height: 1.4; }

/* loading phases */
.pro-step { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); opacity: .6; transition: opacity .3s, color .3s; }
.pro-step.is-on { opacity: 1; color: var(--fg); }
.pro-step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .3s, box-shadow .3s; }
.pro-step.is-on .pro-step-dot { background: rgb(var(--color-primary)); box-shadow: 0 0 0 4px rgb(var(--color-primary) / .16); }

/* theme-aware code / raw data block */
.pro-code { margin: 0; padding: 12px 14px; max-height: 240px; overflow: auto; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--subtle); color: var(--fg); font-family: var(--font-mono), ui-monospace, monospace; font-size: 11.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

/* detail side panel */
.pro-drawer { position: fixed; inset: 0; z-index: 250; visibility: hidden; pointer-events: none; transition: visibility 0s linear .3s; }
.pro-drawer.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.pro-drawer-backdrop { position: absolute; inset: 0; background: rgb(8 12 22 / .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease-out); }
.pro-drawer.is-open .pro-drawer-backdrop { opacity: 1; }
.pro-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--sh-3); transform: translateX(100%); transition: transform .35s var(--ease-out); }
.pro-drawer.is-open .pro-drawer-panel { transform: none; }

/* static info tile */
.pro-tile { padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--subtle); min-width: 0; }

/* ---------- 5. Public chrome ---------- */
.pro-header { position: sticky; top: 0; z-index: 70; transition: background-color .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; view-transition-name: pro-header; }
.pro-header.is-scrolled, .pro-header.is-solid { background: var(--surface); border-bottom-color: var(--line); box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.25); }
[data-mode="dark"] .pro-header.is-scrolled, [data-mode="dark"] .pro-header.is-solid { background: #0B1221; border-bottom-color: rgba(255, 255, 255, 0.08); }
/* Hero header over light hero (default) */
.pro-header.is-hero:not(.is-scrolled) .pro-nav-link { color: var(--muted); }
.pro-header.is-hero:not(.is-scrolled) .pro-nav-link:hover, .pro-header.is-hero:not(.is-scrolled) .pro-nav-link.is-active { color: var(--fg); background: rgb(var(--color-surface-hover)); }
.pro-header.is-hero:not(.is-scrolled) .pro-logo-light { display: inline-block; }
.pro-header.is-hero:not(.is-scrolled) .pro-logo-dark { display: none; }
.pro-header.is-hero:not(.is-scrolled) .pro-btn-ghost { color: var(--muted) !important; }
.pro-header.is-hero:not(.is-scrolled) .pro-btn-ghost:hover { background: rgb(var(--color-surface-hover)); color: var(--fg) !important; }
.pro-header.is-hero:not(.is-scrolled) .pro-icon-btn { color: var(--muted); }
.pro-header.is-hero:not(.is-scrolled) .pro-icon-btn:hover { background: rgb(var(--color-surface-hover)); color: var(--fg); }

/* Hero header in dark mode */
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-nav-link { color: rgb(255 255 255 / .78); }
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-nav-link:hover, [data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-nav-link.is-active { color: #fff; background: rgb(255 255 255 / .08); }
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-logo-light { display: none; }
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-logo-dark { display: inline-block; }
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-btn-ghost { color: rgb(255 255 255 / .85) !important; }
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-btn-ghost:hover { background: rgb(255 255 255 / .08); color: #fff !important; }
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-icon-btn { color: rgb(255 255 255 / .85); }
[data-mode="dark"] .pro-header.is-hero:not(.is-scrolled) .pro-icon-btn:hover { background: rgb(255 255 255 / .08); color: #fff; }

.pro-nav-link { position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s, background-color .15s; }
.pro-nav-link:hover, .pro-nav-link.is-active { color: var(--fg); background: rgb(var(--color-surface-hover)); }
.pro-mobile-nav { border-top: 1px solid var(--line); background: var(--surface); }
.pro-footer { margin-top: auto; background: var(--surface); border-top: 1px solid var(--line); }
.pro-footer a.pro-foot-link { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .15s; }
.pro-footer a.pro-foot-link:hover { color: rgb(var(--color-primary)); }
.pro-foot-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); margin-bottom: 10px; }
.pro-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pro-status i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--color-success)); box-shadow: 0 0 0 3px rgb(var(--color-success) / .18); }

/* ---------- 6. Landing ---------- */
.pro-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #EDF4FD 0%, #F5F9FF 45%, #FFFFFF 75%, #FFFFFF 100%); color: var(--fg); margin-top: calc(var(--top-h) * -1); padding-top: var(--top-h); border-bottom: 0; }
.pro-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(900px 480px at 75% -10%, rgb(37 99 235 / .12), transparent 65%),
    radial-gradient(700px 420px at 5% 30%, rgb(99 102 241 / .08), transparent 60%),
    radial-gradient(600px 300px at 50% 60%, rgb(14 165 233 / .06), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%);
}
.pro-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(15 23 42 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(15 23 42 / .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 35%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse 90% 55% at 50% 35%, #000 20%, transparent 70%); animation: pro-grid-pan 30s linear infinite; }
.pro-hero-badge { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px; font-size: 13px; color: rgb(var(--color-primary)); background: rgb(37 99 235 / .08); border: 1px solid rgb(37 99 235 / .2); backdrop-filter: blur(8px); transition: border-color .2s, background-color .2s; }
.pro-hero-badge:hover { border-color: rgb(37 99 235 / .35); background: rgb(37 99 235 / .12); }
.pro-hero-badge b { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #2563EB; color: #fff; }
.pro-hero-search { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 30px -10px rgb(16 24 40 / .12), 0 1px 3px rgb(16 24 40 / .05); transition: border-color .2s, box-shadow .25s; }
.pro-hero-search:focus-within { border-color: rgb(37 99 235 / .7); box-shadow: 0 0 0 4px rgb(59 130 246 / .2), 0 12px 30px -10px rgb(16 24 40 / .12); }
.pro-hero-search input { flex: 1; min-width: 0; height: 44px; padding: 0 6px; background: transparent; color: var(--fg); font-size: 15px; border: 0; outline: none; }
.pro-hero-search input::placeholder { color: var(--muted); }
.pro-hero-result { margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: var(--subtle); border: 1px solid var(--line); }
.pro-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pro-hero-stats > div { padding: 22px 0 0; }
.pro-hero-stats b { display: block; font-family: var(--font-display), sans-serif; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--fg); }
.pro-hero-stats span { font-size: 13px; color: var(--muted); }

/* Dark mode hero overrides */
[data-mode="dark"] .pro-hero { background: linear-gradient(180deg, #070B16 0%, #070B16 40%, #0A101F 65%, #0E1524 85%, #101727 100%); color: #fff; border-bottom: 0; }
[data-mode="dark"] .pro-hero::before { background:
    radial-gradient(900px 480px at 75% -10%, rgb(37 99 235 / .40), transparent 65%),
    radial-gradient(700px 420px at 5% 30%, rgb(99 102 241 / .18), transparent 60%),
    radial-gradient(600px 300px at 50% 60%, rgb(14 165 233 / .10), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 80%);
}
[data-mode="dark"] .pro-hero::after { background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
    -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 35%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 90% 55% at 50% 35%, #000 20%, transparent 70%);
}
[data-mode="dark"] .pro-hero-badge { color: rgb(255 255 255 / .85); background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); }
[data-mode="dark"] .pro-hero-badge:hover { border-color: rgb(255 255 255 / .25); background: rgb(255 255 255 / .1); }
[data-mode="dark"] .pro-hero-search { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .6); }
[data-mode="dark"] .pro-hero-search:focus-within { border-color: rgb(96 165 250 / .7); box-shadow: 0 0 0 4px rgb(59 130 246 / .2), 0 20px 50px -20px rgb(0 0 0 / .6); }
[data-mode="dark"] .pro-hero-search input { color: #fff; }
[data-mode="dark"] .pro-hero-search input::placeholder { color: rgb(255 255 255 / .5); }
[data-mode="dark"] .pro-hero-result { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .1); }
[data-mode="dark"] .pro-hero-stats { border-top-color: rgb(255 255 255 / .1); }
[data-mode="dark"] .pro-hero-stats b { color: #fff; }
[data-mode="dark"] .pro-hero-stats span { color: rgb(255 255 255 / .6); }

.pro-mock { 
    position: relative; 
    border-radius: 16px; 
    background: #FFFFFF; 
    border: 1px solid rgb(226 232 240); 
    box-shadow: 0 30px 60px -15px rgb(16 24 40 / 0.12), 0 0 0 1px rgb(16 24 40 / 0.04); 
    overflow: hidden; 
    transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); 
    transition: transform .8s var(--ease-out), background-color .3s, border-color .3s; 
}
.pro-mock:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }

.pro-mock-bar { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    height: 36px; 
    padding: 0 14px; 
    border-bottom: 1px solid rgb(226 232 240); 
    background: #F8FAFC; 
}
.pro-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(203 213 225); }
.pro-mock-bar span { 
    margin-left: 10px; 
    padding: 3px 10px; 
    border-radius: 6px; 
    background: #FFFFFF; 
    border: 1px solid rgb(226 232 240);
    font: 11px var(--font-mono), monospace; 
    color: #64748B; 
}

.pro-mock-side { 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    padding: 12px 8px; 
    border-right: 1px solid rgb(226 232 240); 
    background: #F8FAFC;
}
.pro-mock-side span { 
    display: flex; 
    align-items: center; 
    gap: 7px; 
    padding: 6px 8px; 
    border-radius: 6px; 
    font-size: 10.5px; 
    color: #64748B; 
    white-space: nowrap; 
    overflow: hidden; 
}
.pro-mock-side span.is-on { 
    background: rgba(37, 99, 235, 0.12); 
    color: #1D4ED8; 
    font-weight: 600;
}

.pro-mock-tile { 
    padding: 10px 12px; 
    border-radius: 10px; 
    background: #F8FAFC; 
    border: 1px solid rgb(226 232 240); 
}
.pro-mock-tile small { display: block; font-size: 10px; color: #64748B; font-weight: 600; }
.pro-mock-tile b { display: block; margin-top: 2px; font-size: 17px; font-weight: 700; color: #0F172A; }

.pro-mock-row { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 7px 10px; 
    border-radius: 8px; 
    background: #F8FAFC; 
    border: 1px solid rgb(241 245 249);
    font: 10.5px var(--font-mono), monospace; 
    color: #1E293B; 
}
.pro-mock-row i { width: 6px; height: 6px; border-radius: 50%; }
.pro-mock-row em { margin-left: auto; font-style: normal; font-weight: 600; font-family: var(--font-sans); }
.pro-draw { stroke-dasharray: 700; stroke-dashoffset: 700; animation: pro-dash 2.4s var(--ease-out) forwards .5s; }

.pro-float { 
    position: absolute; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    padding: 12px 14px; 
    border-radius: 14px; 
    background: rgba(255, 255, 255, 0.95); 
    border: 1px solid rgb(226 232 240); 
    backdrop-filter: blur(12px); 
    box-shadow: 0 20px 40px -16px rgb(16 24 40 / 0.15), 0 0 0 1px rgb(16 24 40 / 0.05); 
    animation: pro-bob 6s ease-in-out infinite; 
    z-index: 20;
    max-width: calc(100% - 16px);
    pointer-events: none;
}
.pro-float b { display: block; font-size: 13px; font-weight: 600; color: #0F172A; }
.pro-float small { display: block; font-size: 11px; color: #64748B; }

/* Dark mode overrides for .pro-mock and .pro-float */
[data-mode="dark"] .pro-mock,
html.dark .pro-mock { 
    background: #0E1528; 
    border: 1px solid rgb(255 255 255 / .1); 
    box-shadow: 0 50px 100px -30px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .03) inset; 
}
[data-mode="dark"] .pro-mock-bar,
html.dark .pro-mock-bar { 
    border-bottom: 1px solid rgb(255 255 255 / .07); 
    background: rgb(255 255 255 / .02); 
}
[data-mode="dark"] .pro-mock-bar i,
html.dark .pro-mock-bar i { 
    background: rgb(255 255 255 / .14); 
}
[data-mode="dark"] .pro-mock-bar span,
html.dark .pro-mock-bar span { 
    background: rgb(255 255 255 / .05); 
    border-color: transparent;
    color: rgb(255 255 255 / .5); 
}
[data-mode="dark"] .pro-mock-side,
html.dark .pro-mock-side { 
    border-right: 1px solid rgb(255 255 255 / .06); 
    background: transparent;
}
[data-mode="dark"] .pro-mock-side span,
html.dark .pro-mock-side span { 
    color: rgb(255 255 255 / .55); 
}
[data-mode="dark"] .pro-mock-side span.is-on,
html.dark .pro-mock-side span.is-on { 
    background: rgb(59 130 246 / .18); 
    color: #93C5FD; 
}
[data-mode="dark"] .pro-mock-tile,
html.dark .pro-mock-tile { 
    background: rgb(255 255 255 / .03); 
    border: 1px solid rgb(255 255 255 / .06); 
}
[data-mode="dark"] .pro-mock-tile small,
html.dark .pro-mock-tile small { 
    color: rgb(255 255 255 / .5); 
}
[data-mode="dark"] .pro-mock-tile b,
html.dark .pro-mock-tile b { 
    color: #fff; 
}
[data-mode="dark"] .pro-mock-row,
html.dark .pro-mock-row { 
    background: rgb(255 255 255 / .03); 
    border-color: transparent;
    color: rgb(255 255 255 / .75); 
}
[data-mode="dark"] .pro-float,
html.dark .pro-float { 
    background: rgb(15 23 42 / .82); 
    border: 1px solid rgb(255 255 255 / .12); 
    box-shadow: 0 20px 40px -16px rgb(0 0 0 / .7); 
}
[data-mode="dark"] .pro-float b,
html.dark .pro-float b { 
    color: #fff; 
}
[data-mode="dark"] .pro-float small,
html.dark .pro-float small { 
    color: rgb(255 255 255 / .6); 
}

.pro-mock-alt { transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); }
.pro-mock-alt:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }

/* Responsive adjustments for 3D mocks and floating indicators */
@media (max-width: 1023px) {
    .pro-mock {
        transform: perspective(850px) rotateY(-8deg) rotateX(4deg) !important;
        transform-origin: center center;
        transition: transform .6s var(--ease-out);
        box-shadow: 0 24px 50px -12px rgba(16, 24, 40, 0.16), 0 0 0 1px rgba(16, 24, 40, 0.05);
        max-width: 98% !important;
        margin: 0 auto;
        box-sizing: border-box !important;
    }
    .pro-mock:hover,
    .pro-mock:active {
        transform: perspective(850px) rotateY(-2deg) rotateX(1deg) !important;
    }
    .pro-mock-alt {
        transform: perspective(850px) rotateY(-8deg) rotateX(4deg) !important;
        transform-origin: center center;
        transition: transform .6s var(--ease-out);
        box-shadow: 0 24px 50px -12px rgba(16, 24, 40, 0.16), 0 0 0 1px rgba(16, 24, 40, 0.05);
        max-width: 98% !important;
        margin: 0 auto;
        box-sizing: border-box !important;
    }
    .pro-mock-alt:hover,
    .pro-mock-alt:active {
        transform: perspective(850px) rotateY(-2deg) rotateX(1deg) !important;
    }
}

@media (max-width: 640px) {
    .pro-mock {
        border-radius: 12px;
        box-shadow: 0 20px 42px -10px rgba(16, 24, 40, 0.18), 0 0 0 1px rgba(16, 24, 40, 0.06);
        width: 100% !important;
        max-width: 98% !important;
        margin: 0 auto;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .pro-mock-bar {
        height: 28px;
        padding: 0 8px;
        gap: 4px;
    }
    .pro-mock-bar i {
        width: 6px;
        height: 6px;
    }
    .pro-mock-bar span {
        font-size: 8px;
        padding: 1.5px 5px;
        margin-left: 3px;
        max-width: 135px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .pro-mock-side {
        padding: 4px 2px;
        gap: 1.5px;
        width: 84px !important;
        min-width: 84px !important;
        max-width: 84px !important;
        flex-shrink: 0;
        border-right: 1px solid rgb(226 232 240);
    }
    [data-mode="dark"] .pro-mock-side,
    html.dark .pro-mock-side {
        border-right-color: rgba(255, 255, 255, 0.08);
    }
    .pro-mock-side span {
        display: flex !important;
        align-items: center !important;
        gap: 3.5px !important;
        padding: 3px 4px !important;
        font-size: 8px !important;
        line-height: 1.1;
        border-radius: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .pro-mock-side span svg {
        width: 10px !important;
        height: 10px !important;
        flex-shrink: 0 !important;
    }
    .pro-mock-tile {
        padding: 3.5px 5px;
        border-radius: 6px;
        min-width: 0;
        overflow: hidden;
    }
    .pro-mock-tile small {
        font-size: 6.5px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    .pro-mock-tile b {
        font-size: 10.5px;
        line-height: 1.15;
        margin-top: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    .pro-mock-row {
        font-size: 8px;
        padding: 3px 5px;
        gap: 4px;
        border-radius: 5px;
        min-width: 0;
        overflow: hidden;
    }
    .pro-mock-row i {
        width: 4px;
        height: 4px;
        flex-shrink: 0;
    }
    .pro-mock-row span {
        font-size: 8px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .pro-mock-row em {
        font-size: 7.5px;
        flex-shrink: 0;
    }
    .pro-float {
        padding: 5px 8.5px;
        border-radius: 11px;
        gap: 5px;
        max-width: 175px;
        box-shadow: 0 10px 24px -4px rgba(16, 24, 40, 0.22);
        animation: pro-bob 5s ease-in-out infinite;
        z-index: 30;
    }
    .pro-float b {
        font-size: 10px;
        line-height: 1.15;
    }
    .pro-float small {
        font-size: 7.5px;
        line-height: 1.15;
    }
    .pro-float .pro-check {
        width: 14px;
        height: 14px;
    }
    .pro-float .pro-check svg {
        width: 7.5px;
        height: 7.5px;
    }
    .pro-strip {
        gap: 8px 16px;
        font-size: 12px;
        justify-content: flex-start;
    }
}

@media (max-width: 380px) {
    .pro-mock-side {
        width: 74px !important;
        min-width: 74px !important;
        max-width: 74px !important;
        padding: 3px 2px !important;
    }
    .pro-mock-side span {
        font-size: 7.5px !important;
        padding: 2.5px 3px !important;
        gap: 2.5px !important;
    }
    .pro-mock-tile {
        padding: 2.5px 3.5px !important;
    }
    .pro-mock-tile small {
        font-size: 6px !important;
    }
    .pro-mock-tile b {
        font-size: 9.5px !important;
    }
    .pro-mock-row {
        font-size: 7.5px !important;
        padding: 2.5px 3px !important;
        gap: 3px !important;
    }
}

/* Graph Node Pulse and Flow animations for mocks */
@keyframes studio-pulse { 0% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.18); opacity: 0.15; } 100% { transform: scale(0.95); opacity: 0.8; } }
.pro-graph-pulse { animation: studio-pulse 3s ease-in-out infinite; transform-origin: center; }
.pro-graph-edge { stroke-dasharray: 5 4; animation: pro-dash-flow 25s linear infinite; }
@keyframes pro-dash-flow { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

.pro-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pro-strip span { display: inline-flex; align-items: center; gap: 8px; }
.pro-section { padding: 96px 0; overflow: hidden; }
@media (max-width: 767px) { .pro-section { padding: 56px 0; } }
.pro-section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pro-hero + .pro-section-alt, #features.pro-section-alt { border-top: 0 !important; }
[data-mode="dark"] .pro-section-alt {
    background: #101727;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
[data-mode="dark"] .pro-hero + .pro-section-alt, [data-mode="dark"] #features.pro-section-alt {
    border-top: 0 !important;
}

.pro-bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pro-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .pro-bento > .b-4 { grid-column: span 4; } .pro-bento > .b-3 { grid-column: span 3; } .pro-bento > .b-2 { grid-column: span 2; } }
.pro-feature { position: relative; overflow: hidden; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.pro-feature:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: rgb(var(--color-primary) / .3); }
.pro-feature::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgb(37 99 235 / .08), transparent 70%); opacity: 0; transition: opacity .3s; }
.pro-feature:hover::after { opacity: 1; }
.pro-feature-head { display: flex; align-items: center; gap: 14px; }
.pro-feature-head h3,
.pro-feature h3 { margin-top: 0; font-size: 16px; font-weight: 700; color: var(--fg); letter-spacing: -0.015em; line-height: 1.3; }
.pro-feature p { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.pro-feature .pro-ico { transition: transform .35s var(--ease-spring); flex-shrink: 0; }
.pro-feature:hover .pro-ico { transform: scale(1.08) rotate(-4deg); }
.pro-viz { margin-top: 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--subtle); padding: 14px; }
.pro-viz-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--fg); }
.pro-viz-row + .pro-viz-row { margin-top: 6px; }
.pro-viz-row em { margin-left: auto; font-style: normal; }

.pro-steps { display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 768px) { .pro-steps { grid-template-columns: repeat(3, 1fr); } }
.pro-step-card { position: relative; padding: 28px 24px 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.pro-step-card::before { counter-increment: s; content: '0' counter(s); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; font: 700 13px var(--font-mono), monospace; color: rgb(var(--color-primary)); background: var(--tint); }
.pro-step-card h3 { margin-top: 16px; font-weight: 700; font-size: 16px; color: var(--fg); }
.pro-step-card p { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.6; }

.pro-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.pro-table th { text-align: left; padding: 11px 20px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); background: var(--subtle); border-bottom: 1px solid var(--line); white-space: nowrap; }
.pro-table th.text-right, .pro-table td.text-right { text-align: right; }
.pro-table th.text-center, .pro-table td.text-center { text-align: center; }
.pro-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--fg); vertical-align: middle; }
.pro-table tbody tr { transition: background-color .15s; }
.pro-table tbody tr:hover { background: var(--subtle); }
.pro-table tbody tr:last-child td { border-bottom: 0; }

.pro-plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.pro-plan:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.pro-plan.is-popular { border-color: rgb(var(--color-primary)); box-shadow: 0 0 0 1px rgb(var(--color-primary)), 0 30px 60px -30px rgb(37 99 235 / .55); }
.pro-plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(90deg, #2563EB, #4F46E5); box-shadow: var(--sh-blue); white-space: nowrap; }
.pro-faq { border-bottom: 1px solid var(--line); }
.pro-faq button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; text-align: left; font-size: 16px; font-weight: 600; color: var(--fg); }
.pro-faq-ico { position: relative; width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .3s var(--ease-out); }
.pro-faq.is-open .pro-faq-ico { transform: rotate(45deg); color: rgb(var(--color-primary)); }
.pro-cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 36px 20px; background: linear-gradient(135deg, #EFF6FF 0%, #EEF2FF 50%, #F8FAFC 100%); border: 1px solid rgb(37 99 235 / .2); box-shadow: 0 16px 36px -12px rgb(37 99 235 / .14), 0 1px 3px rgb(16 24 40 / .05); color: var(--fg); text-align: center; }
@media (min-width: 640px) {
    .pro-cta { padding: 48px 36px; border-radius: 24px; }
}
.pro-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 20% 0%, rgb(37 99 235 / .12), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgb(99 102 241 / .08), transparent 70%); }
.pro-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 80%); }
.pro-cta h2, .pro-cta .pro-cta-title { color: var(--fg) !important; }
.pro-cta p, .pro-cta .pro-cta-desc { color: var(--muted) !important; }
.pro-cta .pro-cta-btn-primary { background: rgb(var(--color-primary)) !important; color: #fff !important; box-shadow: var(--sh-blue); }
.pro-cta .pro-cta-btn-primary:hover { background: rgb(var(--color-primary-hover)) !important; }
.pro-cta .pro-cta-btn-secondary { background: var(--surface) !important; color: var(--fg) !important; border: 1px solid var(--line) !important; box-shadow: var(--sh-1); }
.pro-cta .pro-cta-btn-secondary:hover { background: rgb(var(--color-surface-hover)) !important; color: rgb(var(--color-primary)) !important; border-color: rgb(var(--color-primary) / .35) !important; }

/* Dark mode CTA overrides */
[data-mode="dark"] .pro-cta { background: linear-gradient(135deg, #090E1D 0%, #0B142B 50%, #0E1A38 100%); border: 1px solid rgba(59, 130, 246, 0.22); box-shadow: 0 20px 40px -15px rgb(0 0 0 / .7), 0 0 30px -10px rgba(37, 99, 235, 0.18); color: #fff; }
[data-mode="dark"] .pro-cta::before { background: radial-gradient(600px 300px at 20% 0%, rgb(37 99 235 / .35), transparent 70%), radial-gradient(500px 300px at 90% 100%, rgb(99 102 241 / .25), transparent 70%); }
[data-mode="dark"] .pro-cta::after { background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px); background-size: 40px 40px; }
[data-mode="dark"] .pro-cta h2, [data-mode="dark"] .pro-cta .pro-cta-title { color: #fff !important; }
[data-mode="dark"] .pro-cta p, [data-mode="dark"] .pro-cta .pro-cta-desc { color: rgb(255 255 255 / .8) !important; }
[data-mode="dark"] .pro-cta .pro-cta-btn-primary { background: #fff !important; color: #0B1221 !important; }
[data-mode="dark"] .pro-cta .pro-cta-btn-primary:hover { background: rgb(255 255 255 / .9) !important; }
[data-mode="dark"] .pro-cta .pro-cta-btn-secondary { background: transparent !important; color: #fff !important; border: 1px solid rgb(255 255 255 / .25) !important; }
[data-mode="dark"] .pro-cta .pro-cta-btn-secondary:hover { background: rgb(255 255 255 / .1) !important; }

/* ---------- 7. Dashboard app shell ---------- */
.pro-app { display: flex; min-height: 100vh; }
.pro-side { position: fixed; inset: 0 auto 0 0; z-index: 85; width: var(--side-w); display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform .35s var(--ease-out), width .3s var(--ease-out); view-transition-name: pro-side; }
.pro-side.is-open { transform: none; box-shadow: var(--sh-3); }
@media (min-width: 1024px) {
    .pro-side { transform: none; }
    .pro-col { margin-left: var(--side-w); transition: margin-left .3s var(--ease-out); }
    html.side-collapsed .pro-side { width: 76px; }
    html.side-collapsed .pro-col { margin-left: 76px; }
    html.side-collapsed .pro-side .pro-hide-c { display: none !important; }
    html.side-collapsed .pro-side-link { justify-content: center; padding: 0; }
    html.side-collapsed .pro-side-label { text-align: center; font-size: 0; padding: 14px 0 6px; }
    html.side-collapsed .pro-side-label::after { content: ''; display: block; width: 18px; height: 1px; margin: 0 auto; background: var(--line); }
    html.side-collapsed .pro-side-head { justify-content: center; padding: 0; }
    html.side-collapsed .pro-side-search { justify-content: center; padding: 0; margin: 12px 18px 4px; }
    html.side-collapsed .pro-collapse-btn svg { transform: rotate(180deg); }
}
.pro-scrim { position: fixed; inset: 0; z-index: 80; background: rgb(8 12 24 / .45); backdrop-filter: blur(3px); }
.pro-side-head { display: flex; align-items: center; justify-content: space-between; height: var(--top-h); padding: 0 18px; flex-shrink: 0; }
.pro-side-search { display: flex; align-items: center; gap: 10px; height: 38px; margin: 6px 14px 6px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--subtle); color: var(--muted); font-size: 13px; transition: border-color .15s, color .15s, box-shadow .2s; }
.pro-side-search:hover { border-color: rgb(var(--color-primary) / .45); color: var(--fg); box-shadow: var(--ring); }
.pro-side-nav { position: relative; flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 12px 12px; scrollbar-width: thin; }
.pro-side-label { padding: 18px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--color-text-secondary) / .8); white-space: nowrap; }
.pro-side-link { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .15s, background-color .15s; }
.pro-side-link:hover { color: var(--fg); background: rgb(var(--color-surface-hover)); }
.pro-side-link.is-active { color: rgb(var(--color-primary)); background: var(--tint); font-weight: 600; }
.pro-side-link.is-active::before { content: ''; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: rgb(var(--color-primary)); animation: pro-bar-in .4s var(--ease-out) both; }
.pro-side-link svg { flex-shrink: 0; transition: transform .25s var(--ease-spring); }
.pro-side-link:hover svg { transform: scale(1.08); }
.pro-side-foot { padding: 12px; border-top: 1px solid var(--line); flex-shrink: 0; }
.pro-plan-card { padding: 14px; border-radius: 12px; background: linear-gradient(150deg, rgb(37 99 235 / .08), rgb(99 102 241 / .08)); border: 1px solid rgb(var(--color-primary) / .15); }
.pro-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pro-top { position: sticky; top: 0; z-index: 60; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; background: var(--canvas); border-bottom: 1px solid var(--line); box-shadow: var(--sh-1); view-transition-name: pro-top; }
[data-mode="dark"] .pro-top { background: #080D1A; border-bottom-color: rgba(255, 255, 255, 0.08); }
@media (min-width: 640px) { .pro-top { padding: 0 28px; } }
.pro-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: var(--muted); }
.pro-crumbs a:hover { color: var(--fg); }
.pro-crumbs strong { color: var(--fg); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) {
    .pro-top { gap: 8px; padding: 0 12px; }
    .pro-crumbs { gap: 6px; font-size: 13.5px; }
    .pro-crumbs strong { font-size: 13.5px; }
}
.pro-cmd-btn { display: none; align-items: center; gap: 10px; height: 38px; width: 300px; padding: 0 8px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13.5px; box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .2s; }
.pro-cmd-btn:hover { border-color: rgb(var(--color-primary) / .45); box-shadow: var(--ring); }
@media (min-width: 900px) { .pro-cmd-btn { display: inline-flex; } }
.pro-account { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s; }
.pro-account:hover { border-color: rgb(var(--color-primary) / .45); }
.pro-dot { position: absolute; top: 5px; right: 5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; color: #fff; background: rgb(var(--color-critical)); box-shadow: 0 0 0 2px var(--canvas); }
.pro-page { flex: 1; width: 100%; max-width: 1360px; margin: 0 auto; padding: 24px 16px 56px; view-transition-name: pro-main; }
@media (min-width: 640px) { .pro-page { padding: 28px 28px 64px; } }
.pro-page.is-wide { max-width: none; }

/* page header used by every inner page */
.pg-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
@media (min-width: 768px) { .pg-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.pg-head-main { display: flex; align-items: flex-start; gap: 14px; min-width: 0; }
.pg-head-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; color: rgb(var(--color-primary)); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.pg-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-display), var(--font-sans), sans-serif; font-size: 24px; line-height: 1.2; font-weight: 750; letter-spacing: -0.025em; color: var(--fg); }
.pg-sub { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 720px; }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* stats & overview widgets */
.pro-stat { padding: 20px; }
.pro-stat-label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--muted); }
.pro-stat-value { margin-top: 10px; font-family: var(--font-display), sans-serif; font-size: 30px; line-height: 1; font-weight: 750; letter-spacing: -0.03em; color: var(--fg); font-variant-numeric: tabular-nums; }
.pro-stat-foot { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.pro-ring { --p: 0; --c: rgb(var(--color-primary)); position: relative; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgb(var(--color-text-secondary) / .14) 0); -webkit-mask: radial-gradient(circle, transparent 54px, #000 55px); mask: radial-gradient(circle, transparent 54px, #000 55px); animation: pro-ring-in 1.4s var(--ease-out) both .3s; }
.pro-ring-wrap { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.pro-ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pro-tool { display: flex; align-items: center; gap: 14px; padding: 16px 20px; transition: background-color .15s; }
.pro-tool:hover { background: var(--subtle); }
.pro-tool .pro-ico { transition: transform .3s var(--ease-spring), background-color .2s, color .2s; }
.pro-tool:hover .pro-ico { transform: scale(1.06); background: rgb(var(--color-primary)); color: #fff; }
.pro-tool-go { color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease-out); }
.pro-tool:hover .pro-tool-go { opacity: 1; transform: none; color: rgb(var(--color-primary)); }
@media (hover: none) { .pro-tool-go { opacity: 1; transform: none; } }
.pro-checklist a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--fg); transition: background-color .15s; }
.pro-checklist a:hover { background: var(--subtle); }
.pro-checklist .num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px dashed rgb(var(--color-text-secondary) / .5); font-size: 11px; font-weight: 700; color: var(--muted); flex-shrink: 0; }
.pro-checklist a.is-done { color: var(--muted); }
.pro-checklist a.is-done span.t { text-decoration: line-through; text-decoration-color: rgb(var(--color-text-secondary) / .4); opacity: 0.75; }
.pro-checklist a.is-done .num { border: 0; background: rgb(var(--color-success)); color: #fff; }
.pro-quick { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .2s; }
.pro-quick:focus-within { border-color: rgb(var(--color-primary)); box-shadow: var(--ring); }
.pro-quick input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0 !important; outline: none; box-shadow: none !important; font-size: 15px; color: var(--fg); }
.pro-welcome { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: 28px; color: #fff; background: #0B1428; }
.pro-welcome::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 100% 0%, rgb(37 99 235 / .6), transparent 70%), radial-gradient(400px 240px at 0% 120%, rgb(99 102 241 / .35), transparent 70%); }
.pro-welcome::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent 20%, #000); }

/* command palette */
.pro-cmdk-backdrop { position: fixed; inset: 0; z-index: 200; background: rgb(8 12 24 / .5); backdrop-filter: blur(4px); }
.pro-cmdk { position: fixed; z-index: 201; left: 50%; top: 12vh; width: min(640px, calc(100vw - 24px)); transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 40px 80px -20px rgb(0 0 0 / .45); overflow: hidden; }
.pro-cmdk-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 56px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pro-cmdk-input input { flex: 1; height: 100%; background: transparent; border: 0 !important; outline: none; box-shadow: none !important; font-size: 16px; color: var(--fg); }
.pro-cmdk-list { max-height: 380px; overflow-y: auto; padding: 8px; }
.pro-cmdk-group { padding: 10px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pro-cmdk-item { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 10px; border-radius: 10px; font-size: 14px; color: var(--fg); text-align: left; }
.pro-cmdk-item svg { color: var(--muted); }
.pro-cmdk-item.is-sel { background: var(--tint); color: rgb(var(--color-primary)); }
.pro-cmdk-item.is-sel svg { color: rgb(var(--color-primary)); }
.pro-cmdk-foot { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--subtle); font-size: 12px; color: var(--muted); }

/* ---------- 8. Auth ---------- */
.pro-auth { display: grid; min-height: 100vh; }
@media (min-width: 1024px) { .pro-auth { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.pro-auth-aside { display: none; position: relative; isolation: isolate; overflow: hidden; padding: 40px 48px; flex-direction: column; justify-content: space-between; gap: 40px; color: var(--fg); background: linear-gradient(150deg, #F0F5FF 0%, #F8FAFC 50%, #EEF2F6 100%); border-right: 1px solid var(--line); }
.pro-auth-aside::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(550px 380px at 0% 0%, rgba(37, 99, 235, 0.08), transparent 70%), radial-gradient(450px 350px at 100% 100%, rgba(99, 102, 241, 0.06), transparent 70%); }
.pro-auth-aside::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); }
@media (min-width: 1024px) { .pro-auth-aside { display: flex; } }
.pro-auth-aside .pro-auth-aside-h2 { color: #0F172A; }
.pro-auth-aside .pro-auth-aside-p { color: #475569; }
.pro-auth-aside .pro-eyebrow { color: #2563EB; }
.pro-auth-aside .pro-auth-footer { color: #64748B; }
.pro-auth-feed { border-radius: 16px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(226, 232, 240, 0.9); box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.06); backdrop-filter: blur(10px); padding: 6px; }
.pro-auth-feed div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: #1E293B; animation: pro-in .6s var(--ease-out) both; }
.pro-auth-feed div + div { border-top: 1px solid #F1F5F9; }
.pro-auth-feed em { margin-left: auto; font-style: normal; font: 11px var(--font-mono), monospace; color: #64748B; }

[data-mode="dark"] .pro-auth-aside { color: #fff; background: #070B16; border-right-color: rgba(255, 255, 255, 0.08); }
[data-mode="dark"] .pro-auth-aside::before { background: radial-gradient(600px 400px at 0% 0%, rgb(37 99 235 / .5), transparent 65%), radial-gradient(500px 400px at 100% 100%, rgb(99 102 241 / .35), transparent 65%); }
[data-mode="dark"] .pro-auth-aside::after { background-image: linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px); }
[data-mode="dark"] .pro-auth-aside .pro-auth-aside-h2 { color: #fff; }
[data-mode="dark"] .pro-auth-aside .pro-auth-aside-p { color: rgba(255, 255, 255, 0.75); }
[data-mode="dark"] .pro-auth-aside .pro-eyebrow { color: #93C5FD; }
[data-mode="dark"] .pro-auth-aside .pro-auth-footer { color: rgba(255, 255, 255, 0.6); }
[data-mode="dark"] .pro-auth-feed { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); box-shadow: none; }
[data-mode="dark"] .pro-auth-feed div { color: rgb(255 255 255 / .8); }
[data-mode="dark"] .pro-auth-feed div + div { border-top-color: rgb(255 255 255 / .06); }
[data-mode="dark"] .pro-auth-feed em { color: rgb(255 255 255 / .45); }
.pro-auth-main { display: flex; flex-direction: column; min-height: 100vh; padding: 20px; }
@media (min-width: 640px) { .pro-auth-main { padding: 28px 40px; } }
.pro-auth-card { padding: 28px; }
.pro-auth-card > form, .pro-auth-card form.mt-8 { margin-top: 0 !important; }
.pro-auth-card label { color: var(--fg); }
.pro-auth-stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pro-auth-stepper span { display: inline-flex; align-items: center; gap: 6px; }
.pro-auth-stepper i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 11px; background: rgb(var(--color-text-secondary) / .14); }
.pro-auth-stepper .is-on { color: rgb(var(--color-primary)); }
.pro-auth-stepper .is-on i { background: rgb(var(--color-primary)); color: #fff; }
.pro-auth-stepper hr { flex: 1; max-width: 32px; border: 0; height: 1px; background: var(--line); }

/* ---------- 9. Motion ---------- */
@keyframes pro-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pro-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pro-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pro-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pro-dash { to { stroke-dashoffset: 0; } }
@keyframes pro-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pro-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes pro-shimmer { to { transform: translateX(100%); } }
@keyframes pro-grid-pan { to { background-position: 56px 56px, 56px 56px; } }
@keyframes pro-bar-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pro-ring-in { from { --p: 0; opacity: .2; } }
@keyframes pro-progress { 0% { transform: scaleX(0); } 40% { transform: scaleX(.55); } 100% { transform: scaleX(.92); } }
@keyframes pro-marquee { to { transform: translateX(-50%); } }
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* staggered entrance of every page's top-level blocks */
.pro-page > .ds-page > *, .pro-stagger > * { animation: pro-in .55s var(--ease-out) both; }
.pro-page > .ds-page > *:nth-child(2), .pro-stagger > *:nth-child(2) { animation-delay: .05s; }
.pro-page > .ds-page > *:nth-child(3), .pro-stagger > *:nth-child(3) { animation-delay: .1s; }
.pro-page > .ds-page > *:nth-child(4), .pro-stagger > *:nth-child(4) { animation-delay: .15s; }
.pro-page > .ds-page > *:nth-child(5), .pro-stagger > *:nth-child(5) { animation-delay: .2s; }
.pro-page > .ds-page > *:nth-child(n+6), .pro-stagger > *:nth-child(n+6) { animation-delay: .25s; }
.pro-page > .ds-page > script, .pro-page > .ds-page > style, .pro-page > .ds-page > template { animation: none; }
.pro-page > .ds-page > .pro-stagger { animation: none; }
.pro-stagger > script, .pro-stagger > style, .pro-stagger > template { animation: none; }
/* entrance for dynamic content (Alpine x-for, htmx swaps): same curve as the page stagger */
.pro-rise { animation: pro-rise-in .45s var(--ease-out) backwards; animation-delay: calc(min(var(--rise-i, 0), 12) * 40ms); }
@keyframes pro-rise-in { from { opacity: 0; transform: translateY(10px); } }
[data-reveal] { transform: translateY(16px); }

/* top navigation progress bar */
#pro-progress { position: fixed; inset: 0 0 auto 0; z-index: 300; height: 2px; pointer-events: none; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #60A5FA, #2563EB, #6366F1); box-shadow: 0 0 10px rgb(37 99 235 / .6); opacity: 0; transition: opacity .3s; }
#pro-progress.is-on { opacity: 1; animation: pro-progress 2.2s var(--ease-out) forwards; }

/* cross-document view transitions: chrome stays put, content glides */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
::view-transition-old(pro-main) { animation: .18s ease-in both pro-vt-out; }
::view-transition-new(pro-main) { animation: .38s var(--ease-out) both pro-vt-in; }
::view-transition-group(pro-side), ::view-transition-group(pro-top), ::view-transition-group(pro-header) { animation: none; }
@keyframes pro-vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes pro-vt-in { from { opacity: 0; transform: translateY(10px); } }

html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }

/* ---------- 10. Shared fragments ---------- */
[data-bp="pro"] .ds-toast { border-radius: 14px; border: 1px solid var(--line); border-left: 3px solid rgb(var(--color-warning)); background: var(--surface); box-shadow: var(--sh-3); animation: pro-pop .4s var(--ease-out) both; }
[data-bp="pro"] .ds-toast[data-tone="critical"] { border-left-color: rgb(var(--color-critical)); }
[data-bp="pro"] .ds-toast-actions { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 13px; }
[data-bp="pro"] .ds-cookie { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-3); color: var(--muted); animation: pro-pop .5s var(--ease-out) both .6s; }
[data-bp="pro"] .ds-cookie button { border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 600; background: rgb(var(--color-primary)); }
[data-bp="pro"] .ds-banner { border-radius: 14px; background: rgb(var(--color-warning) / .08); border: 1px solid rgb(var(--color-warning) / .25); color: var(--fg); }
[data-bp="pro"] .ds-banner-actions a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600; background: rgb(var(--color-primary)); color: #fff; }
[data-bp="pro"] .ds-notif-item { padding: 12px 16px; }
[data-bp="pro"] .ds-notif-item:hover { background: var(--subtle); }
.ds-auth-dup { display: none; }
[data-bp="pro"] .ds-auth-inner :is(.w-16.h-16, .w-20.h-20) { display: none; }

/* ==========================================================================
   11. Legacy page adaptation — the page templates were authored with dark
   utility classes. These rules re-map them onto Pro surfaces in light mode
   and normalise radii / shadows / controls in both modes.
   ========================================================================== */
/* Normalise generic panels in both modes */
[data-bp="pro"] .ds-page :is(.glass-panel, .rounded-2xl.bg-surface\/50, .rounded-2xl.bg-surface\/40, .rounded-2xl.bg-surface\/60, .rounded-2xl.bg-surface\/30, .rounded-xl.bg-surface\/50, .rounded-xl.bg-surface\/40) { background: var(--surface) !important; border-color: var(--line) !important; box-shadow: var(--sh-1) !important; backdrop-filter: none !important; }
[data-bp="pro"] .ds-page :is(.backdrop-blur-xl, .backdrop-blur-lg, .backdrop-blur-md, .backdrop-blur-sm, .backdrop-blur) :not(.fixed) { backdrop-filter: none; }
[data-bp="pro"] .ds-page :is(.shadow-xl, .shadow-2xl, .shadow-lg) { --tw-shadow: var(--sh-2) !important; --tw-shadow-colored: var(--sh-2) !important; box-shadow: var(--sh-2) !important; }
[data-bp="pro"] .ds-page .shadow-inner { box-shadow: none !important; }
[data-bp="pro"] .ds-page .rounded-3xl { border-radius: var(--r-xl); }
[data-bp="pro"] .ds-page :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not(.pro-bare) { border-color: var(--line); transition: border-color .15s, box-shadow .15s; }
[data-bp="pro"] .ds-page :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not(.pro-bare):focus { border-color: rgb(var(--color-primary)) !important; box-shadow: var(--ring) !important; outline: none !important; --tw-ring-shadow: 0 0 #0000 !important; }
[data-bp="pro"] :is(button, a).bg-primary:not(.pro-btn) { box-shadow: var(--sh-blue); transition: background-color .18s, transform .18s var(--ease-out), box-shadow .25s; }
[data-bp="pro"] :is(button, a).bg-primary:not(.pro-btn):not(:disabled):hover { transform: translateY(-1px); background-color: rgb(var(--color-primary-hover)); }
[data-bp="pro"] .ds-page table thead tr, [data-bp="pro"] .ds-page table thead { background: var(--subtle); }
[data-bp="pro"] .ds-page table th { color: var(--muted); font-weight: 600; }
[data-bp="pro"] .ds-page table tbody tr { transition: background-color .15s; }
[data-bp="pro"] .ds-page table tbody tr:hover { background: var(--subtle); }
[data-bp="pro"] .fixed.inset-0:is([class*="bg-black"], [class*="bg-background/"], [class*="bg-gray-900/"], [class*="bg-slate-900/"]) { background-color: rgb(8 12 24 / .5) !important; backdrop-filter: blur(4px); }

/* ---- light-mode specific colour remaps ---- */
[data-bp="pro"]:not([data-mode="dark"]) .text-white { color: var(--fg); }
[data-bp="pro"]:not([data-mode="dark"]) .hover\:text-white:hover, [data-bp="pro"]:not([data-mode="dark"]) .group:hover .group-hover\:text-white { color: rgb(var(--color-primary)); }
/* keep white on saturated fills */
[data-bp="pro"]:not([data-mode="dark"]) :is(.bg-primary, .bg-primaryHover, .bg-critical, .bg-success, .bg-info, .bg-warning, .bg-accent, [class*="bg-emerald-5"], [class*="bg-emerald-6"], [class*="bg-green-5"], [class*="bg-green-6"], [class*="bg-red-5"], [class*="bg-red-6"], [class*="bg-rose-5"], [class*="bg-rose-6"], [class*="bg-indigo-5"], [class*="bg-indigo-6"], [class*="bg-blue-5"], [class*="bg-blue-6"], [class*="bg-violet-5"], [class*="bg-violet-6"], [class*="bg-purple-5"], [class*="bg-purple-6"], [class*="bg-sky-5"], [class*="bg-sky-6"], [class*="bg-amber-5"], [class*="bg-orange-5"], [class*="bg-cyan-5"], [class*="bg-cyan-6"], [class*="bg-teal-5"], [class*="bg-teal-6"], [class*="bg-gradient-to"], .pro-btn-primary, .pro-welcome, .pro-plan-flag):not([class*="/"]) :is(.text-white, .hover\:text-white:hover),
[data-bp="pro"]:not([data-mode="dark"]) :is(.bg-primary, .bg-primaryHover, .bg-critical, .bg-success, .bg-info, .bg-warning, .bg-accent, [class*="bg-emerald-5"], [class*="bg-emerald-6"], [class*="bg-green-5"], [class*="bg-green-6"], [class*="bg-red-5"], [class*="bg-red-6"], [class*="bg-rose-5"], [class*="bg-rose-6"], [class*="bg-indigo-5"], [class*="bg-indigo-6"], [class*="bg-blue-5"], [class*="bg-blue-6"], [class*="bg-violet-5"], [class*="bg-violet-6"], [class*="bg-purple-5"], [class*="bg-purple-6"], [class*="bg-sky-5"], [class*="bg-sky-6"], [class*="bg-amber-5"], [class*="bg-orange-5"], [class*="bg-cyan-5"], [class*="bg-cyan-6"], [class*="bg-teal-5"], [class*="bg-teal-6"], [class*="bg-gradient-to"]):not([class*="/"]):is(.text-white, .hover\:text-white:hover),
[data-bp="pro"]:not([data-mode="dark"]) :is(.hover\:bg-primary:hover, .hover\:bg-primaryHover:hover, .hover\:bg-critical:hover, .hover\:bg-success:hover).hover\:text-white,
[data-bp="pro"]:not([data-mode="dark"]) :is(button.bg-primary, .pro-btn-primary, [class*="bg-primary"]):not([class*="bg-primary/"]):not([class*="hover\:bg-primary/"]) { color: #ffffff !important; }
[data-bp="pro"]:not([data-mode="dark"]) :is(button.bg-primary, .pro-btn-primary, [class*="bg-primary"]):not([class*="bg-primary/"]):not([class*="hover\:bg-primary/"]) * { color: #ffffff !important; }
[data-bp="pro"]:not([data-mode="dark"]) :is(.pro-welcome) .text-white { color: #fff; }
[data-bp="pro"]:not([data-mode="dark"]) .pro-welcome :is(.text-white\/80, .text-white\/70, .text-white\/60) { color: rgb(255 255 255 / .75); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.ds-page, .pro-mock) :is(.text-white\/90, .text-white\/80, .text-white\/70, .text-white\/60, .text-white\/50, .text-white\/40) { color: var(--muted); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.ds-page, .pro-mock) :is(.bg-white\/5, .bg-white\/10, .bg-white\/\[0\.02\], .bg-white\/\[0\.03\], .bg-white\/\[0\.04\], .bg-white\/\[0\.05\], .hover\:bg-white\/5:hover, .hover\:bg-white\/10:hover) { background-color: rgb(15 23 42 / .035); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.border-white\/5, .border-white\/10, .border-white\/15, .border-white\/20, .border-white\/30, .divide-white\/5 > * + *, .divide-white\/10 > * + *) { border-color: var(--line); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.ds-page, .pro-mock) :is(.bg-black, .bg-black\/10, .bg-black\/20, .bg-black\/30, .bg-black\/40, .bg-black\/50, [class*="bg-[#0"], [class*="bg-[#1"], .bg-gray-900, .bg-gray-800, .bg-slate-900, .bg-slate-800, .bg-zinc-900, .bg-neutral-900, [class*="bg-gray-900/"], [class*="bg-gray-800/"], [class*="bg-slate-900/"], [class*="bg-slate-800/"], [class*="bg-slate-950"], [class*="bg-gray-950"]):not(.fixed):not(.pro-keep-dark) { background-color: var(--subtle); }
[data-bp="pro"]:not([data-mode="dark"]) .ds-page :is(.bg-gray-700, .bg-slate-700, [class*="bg-gray-700/"], [class*="bg-slate-700/"]) { background-color: rgb(var(--color-secondary)); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.bg-surface\/50, .bg-surface\/60, .bg-surface\/70, .bg-surface\/80, .bg-surface\/90, .bg-surface\/40, .bg-surface\/30, .glass-panel) { background-color: var(--surface); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.bg-background\/30, .bg-background\/40, .bg-background\/50, .bg-background\/60, .bg-background\/80) { background-color: var(--subtle); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.border-gray-700, .border-gray-800, .border-slate-700, .border-slate-800, [class*="border-gray-700/"], [class*="border-gray-800/"], [class*="border-slate-700/"], [class*="border-slate-800/"]) { border-color: var(--line); }
[data-bp="pro"]:not([data-mode="dark"]) :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not(.pro-bare):not(.pro-hero-search input) { background-color: var(--surface); color: var(--fg); }
[data-bp="pro"]:not([data-mode="dark"]) select option { background: #fff; color: #0B1221; }
[data-bp="pro"]:not([data-mode="dark"]) :is(.text-emerald-200, .text-emerald-300, .text-emerald-400, .text-green-300, .text-green-400, .text-teal-300, .text-teal-400) { color: #047857; }
[data-bp="pro"]:not([data-mode="dark"]) :is(.text-cyan-200, .text-cyan-300, .text-cyan-400, .text-sky-300, .text-sky-400, .text-\[\#38BDF8\]) { color: #0369A1; }
[data-bp="pro"]:not([data-mode="dark"]) :is(.text-amber-200, .text-amber-300, .text-amber-400, .text-yellow-200, .text-yellow-300, .text-yellow-400, .text-orange-300, .text-orange-400) { color: #B45309; }
[data-bp="pro"]:not([data-mode="dark"]) :is(.text-indigo-200, .text-indigo-300, .text-indigo-400, .text-violet-300, .text-violet-400, .text-purple-300, .text-purple-400, .text-blue-200, .text-blue-300, .text-blue-400, .text-\[\#8C85FF\]) { color: #1D4ED8; }
[data-bp="pro"]:not([data-mode="dark"]) :is(.text-red-300, .text-red-400, .text-rose-300, .text-rose-400, .text-pink-300, .text-pink-400) { color: #BE123C; }
[data-bp="pro"]:not([data-mode="dark"]) :is(.text-gray-200, .text-gray-300, .text-gray-400, .text-slate-200, .text-slate-300, .text-slate-400, .text-zinc-300, .text-zinc-400, .text-neutral-400) { color: var(--muted); }
[data-bp="pro"]:not([data-mode="dark"]) :is(.text-gray-100, .text-slate-100, .text-gray-50) { color: var(--fg); }
[data-bp="pro"]:not([data-mode="dark"]) .placeholder-textSecondary::placeholder, [data-bp="pro"]:not([data-mode="dark"]) .placeholder-gray-500::placeholder { color: #98A2B3; }
[data-bp="pro"]:not([data-mode="dark"]) .ds-page :is(.from-surface, .from-background) { --tw-gradient-from: var(--surface) var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position) !important; }
[data-bp="pro"]:not([data-mode="dark"]) code:not(.pro-keep-dark *) { color: inherit; }
/* dark islands (code/terminal blocks) keep light text */
[data-bp="pro"]:not([data-mode="dark"]) .pro-keep-dark, [data-bp="pro"]:not([data-mode="dark"]) .pro-keep-dark .text-white { color: #E6EAF2; }

/* ---------- 12. Mobile refinements ---------- */
@media (max-width: 639px) {
    .pg-title { font-size: 20px; }
    .pg-head-ico { width: 38px; height: 38px; }
    .pro-stat-value { font-size: 26px; }

    /* Standardized Mobile Button System */
    .pro-btn {
        height: 38px;
        padding: 0 15px;
        font-size: 13px;
        border-radius: 9px;
    }
    .pro-btn-lg {
        height: 40px !important;
        padding: 0 18px !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
    }
    .pro-btn-sm {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
        border-radius: 8px;
    }
    .pro-btn .pro-arrow {
        width: 14px;
        height: 14px;
    }

    /* Standardized Mobile Typography System */
    .pro-display {
        font-size: clamp(1.65rem, 6.5vw, 2.15rem);
        line-height: 1.15;
        letter-spacing: -0.025em;
    }
    .pro-h1, h1 {
        font-size: 1.35rem;
        line-height: 1.25;
        letter-spacing: -0.02em;
    }
    .pro-h2, h2 {
        font-size: 1.15rem !important;
        line-height: 1.32 !important;
        letter-spacing: -0.015em;
    }
    .pro-h3, h3 {
        font-size: 0.95rem;
        line-height: 1.35;
    }
    .pro-lead {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }
    .pro-eyebrow {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    /* Standardized Mobile Showcase Spacing & Bullet Elements */
    .pro-section {
        padding: 44px 0 !important;
    }
    .pro-section ul li {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
    .pro-check {
        width: 15px !important;
        height: 15px !important;
        flex-shrink: 0 !important;
    }
    .pro-check svg {
        width: 8px !important;
        height: 8px !important;
    }

    /* Proportional Mobile Width Constraints (Features, Pricing, FAQ) */
    .pro-feature {
        max-width: 310px;
        margin-left: auto;
        margin-right: auto;
        padding: 16px 14px !important;
        border-radius: 16px !important;
    }
    .pro-feature-head {
        gap: 12px;
    }
    .pro-feature .pro-ico {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    .pro-feature .pro-ico svg {
        width: 18px;
        height: 18px;
    }
    .pro-feature h3 {
        margin-top: 0 !important;
        font-size: 14.5px !important;
        line-height: 1.25 !important;
    }
    .pro-feature p {
        margin-top: 8px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .pro-plans-grid {
        scroll-padding-inline: 16px;
        -webkit-overflow-scrolling: touch;
    }
    .pro-plans-grid .pro-plan,
    .pro-plans-grid .pro-card {
        flex: 0 0 min(86vw, 340px);
        width: min(86vw, 340px);
        max-width: 340px;
        min-width: 280px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 22px 18px !important;
        border-radius: 18px !important;
        scroll-snap-align: center;
        box-sizing: border-box;
    }

    .pro-plan {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 22px 18px !important;
        border-radius: 18px !important;
    }

    .pro-pricing-reassurance {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 20px 18px !important;
        border-radius: 18px !important;
    }

    .pro-pricing-matrix-wrap {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 18px !important;
    }

    .pro-step-card {
        max-width: 310px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px 18px !important;
        border-radius: 16px !important;
    }

    .pro-faq {
        max-width: 310px;
        margin-left: auto;
        margin-right: auto;
    }
    .pro-faq button {
        padding: 14px 0 !important;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        gap: 12px !important;
    }
    .pro-faq-ico {
        width: 16px !important;
        height: 16px !important;
    }
    .pro-faq p {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        padding-bottom: 14px !important;
    }

    /* Billing toggle compact */
    .pro-seg {
        max-width: 290px;
        margin-left: auto;
        margin-right: auto;
    }
    .pro-seg button {
        font-size: 11.5px !important;
        padding: 0 10px !important;
        height: 32px !important;
    }
}

/* ---------- 13. Pricing matrix sticky header & rows ---------- */
.pro-matrix-table {
    border-collapse: separate;
    border-spacing: 0;
}
.pro-matrix-table th {
    position: sticky;
    top: 64px;
    background: var(--surface);
    z-index: 20;
    box-shadow: 0 1px 0 var(--border);
}
.pro-matrix-table th.is-popular {
    background: var(--surface);
    border-left: 1px solid rgba(59, 130, 246, 0.3);
    border-right: 1px solid rgba(59, 130, 246, 0.3);
}
.pro-matrix-section td {
    background: var(--subtle);
    font-weight: 700;
    color: var(--primary);
}

/* ---------- 14. Investigation Studio Link Analysis Radar Grid ---------- */
#visjs-network-container {
    background-color: #F8FAFC;
    background-image: 
        radial-gradient(circle at center, rgba(59, 130, 246, 0.04) 0%, transparent 70%),
        linear-gradient(to right, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    transition: background-color 0.25s ease;
}

html.dark #visjs-network-container,
[data-mode="dark"] #visjs-network-container {
    background-color: #080D1A;
    background-image: 
        radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
        linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}

