/* ═══════════════════════════════════════════════════════════════
   LeadTractor — leadtractor.com stylesheet
   One brand color, forever: LeadTractor Indigo #4F46E5 (see BRAND.md).
   Neutrals are slate. Green / amber / red / blue only carry status meaning.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
    /* Brand scale (Indigo) */
    --brand-50: #eef2ff;
    --brand-100: #e0e7ff;
    --brand-200: #c7d2fe;
    --brand-300: #a5b4fc;
    --brand-400: #818cf8;
    --brand-500: #6366f1;
    --brand-600: #4f46e5;
    --brand-700: #4338ca;
    --brand-800: #3730a3;
    --brand-900: #312e81;
    --brand-950: #1e1b4b;

    /* Neutrals (Slate) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    /* Status — meaning only, never decoration */
    --st-new: #3b82f6;      --st-new-bg: #eff6ff;      --st-new-fg: #1d4ed8;
    --st-progress: #d97706; --st-progress-bg: #fffbeb; --st-progress-fg: #b45309;
    --st-done: #059669;     --st-done-bg: #ecfdf5;     --st-done-fg: #047857;
    --st-lost: #dc2626;     --st-lost-bg: #fef2f2;     --st-lost-fg: #b91c1c;
    --st-invalid: #64748b;  --st-invalid-bg: #f1f5f9;  --st-invalid-fg: #475569;

    /* Semantic aliases */
    --primary: var(--brand-600);
    --primary-hover: var(--brand-700);
    --primary-light: var(--brand-50);
    --primary-ring: rgba(79, 70, 229, 0.28);
    --success: var(--st-done);
    --warning: var(--st-progress);
    --danger: var(--st-lost);

    --bg: #ffffff;
    --bg-alt: var(--slate-50);
    --surface: #ffffff;
    --surface-alt: var(--slate-100);
    --border: var(--slate-200);
    --border-light: var(--slate-100);
    --ink: var(--slate-900);

    --text: var(--slate-900);
    --text-secondary: var(--slate-600);
    --text-muted: var(--slate-500);
    --text-on-dark: var(--slate-300);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;

    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 6px 16px -6px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 18px 40px -18px rgba(15, 23, 42, 0.22), 0 4px 10px -4px rgba(15, 23, 42, 0.06);
    --shadow-brand: 0 30px 60px -30px rgba(49, 46, 129, 0.45);
    --shadow-shot: 0 0 0 1px rgba(15, 23, 42, 0.06), 0 40px 80px -36px rgba(30, 27, 75, 0.45), 0 18px 36px -24px rgba(15, 23, 42, 0.25);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 180ms var(--ease);

    --container: 1200px;
    --container-sm: 880px;
    --container-lg: 1400px;
    --header-h: 68px;

    /* Brand check mark used for feature lists */
    --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.4 4.4L19 7.4'/%3E%3C/svg%3E");
    --check-icon-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5B4FC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.4 4.4L19 7.4'/%3E%3C/svg%3E");
}

/* ── 2. Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-700); }
ul, ol { list-style: none; }
input, textarea, button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
code, kbd, pre { font-family: var(--font-mono); font-variant-ligatures: none; }
code { font-size: 0.88em; background: var(--brand-50); color: var(--brand-800); padding: 0.12em 0.42em; border-radius: 5px; word-break: break-word; }
kbd { display: inline-block; font-family: var(--font); font-size: 0.75em; font-weight: 600; line-height: 1.5; color: var(--slate-600); background: #fff; border: 1px solid var(--slate-200); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; }
strong, b { font-weight: 700; }
::selection { background: var(--brand-100); color: var(--brand-900); }
:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--slate-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; transition: top 0.15s; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── 3. Layout ─────────────────────────────────────────────── */
.container, .container-sm, .container-lg { width: 100%; margin: 0 auto; padding: 0 24px; }
.container { max-width: calc(var(--container) + 48px); }
.container-sm { max-width: calc(var(--container-sm) + 48px); }
.container-lg { max-width: calc(var(--container-lg) + 48px); }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-tight { padding-top: 48px; }
.mt-lg { margin-top: 48px; }
.mt-sm { margin-top: 14px; }
.text-center { text-align: center; }
.text-muted, .muted { color: var(--text-muted); }

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-sm { padding: 48px 0; }
    .container, .container-sm, .container-lg { padding: 0 20px; }
}

/* ── 4. Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { color: var(--slate-900); font-weight: 700; letter-spacing: -0.022em; line-height: 1.2; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
h1, h2 { text-wrap: balance; }
p { color: inherit; }

.accent { color: var(--brand-600); }
.lead { font-size: 1.15rem; line-height: 1.7; color: var(--text-secondary); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header h2, .section-header h1 { margin-top: 14px; }
.section-header h2:first-child, .section-header h1:first-child { margin-top: 0; }
.section-header p { margin-top: 14px; font-size: 1.1rem; line-height: 1.7; color: var(--text-secondary); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 5px 14px; border-radius: var(--radius-pill); }
a.eyebrow:hover { background: var(--brand-100); color: var(--brand-800); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 4px var(--brand-200); }
.eyebrow .ic { width: 15px; height: 15px; }

/* ── 5. Icons (sprite: /images/icons.svg) ──────────────────── */
.ic { display: inline-block; width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic .f { fill: currentColor; stroke: none; }
.ic-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100); flex-shrink: 0; }
.ic-tile .ic { width: 22px; height: 22px; vertical-align: 0; }

/* ── 6. Buttons ────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; cursor: pointer; border: 1px solid transparent; transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition); white-space: nowrap; text-decoration: none; }
.btn .ic { width: 18px; height: 18px; vertical-align: 0; }
.btn-primary { background: var(--brand-600); color: #fff; border-color: var(--brand-600); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 6px 16px -8px rgba(79, 70, 229, 0.7); }
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--slate-900); border-color: var(--slate-300); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: var(--brand-300); color: var(--brand-700); background: #fff; }
.btn-dark { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }
.btn-dark:hover { background: var(--slate-800); border-color: var(--slate-800); color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--brand-700); border-color: #fff; }
.btn-white:hover { background: var(--brand-50); border-color: var(--brand-50); color: var(--brand-800); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand-700); border-color: transparent; }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-800); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 15px 30px; font-size: 16px; border-radius: 12px; }
.btn-full { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn .arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── 7. Badges, pills, tags ────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0.01em; vertical-align: middle; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.badge-primary { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.badge-success { background: var(--st-done-bg); color: var(--st-done-fg); border-color: #a7f3d0; }
.badge-coming { background: var(--slate-100); color: var(--slate-600); border-color: var(--slate-200); }
h2 .badge, h3 .badge { margin-left: 8px; font-size: 11px; letter-spacing: 0.02em; }

.tag-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; padding: 2px 9px; border-radius: var(--radius-pill); background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); vertical-align: middle; }
.tag-pill.free { background: var(--slate-100); color: var(--slate-700); border-color: var(--slate-200); }

/* Lead status pills (status meaning only) */
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.p-new { background: var(--st-new-bg); color: var(--st-new-fg); }
.p-prog { background: var(--st-progress-bg); color: var(--st-progress-fg); }
.p-done { background: var(--st-done-bg); color: var(--st-done-fg); }
.p-lost { background: var(--st-lost-bg); color: var(--st-lost-fg); }
.p-invalid { background: var(--st-invalid-bg); color: var(--st-invalid-fg); }

/* Shared check-mark bullet */
.mini-list li, .checks li, .hero-trust span, .pricing-assurance span { position: relative; }
.mini-list li::before, .checks li::before, .hero-trust span::before, .pricing-assurance span::before {
    content: ''; display: inline-block; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
    background: var(--brand-50) var(--check-icon) center / 11px no-repeat; border: 1px solid var(--brand-100);
}

/* ── 8. Header / navigation ────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--slate-200); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, 0.35); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: var(--slate-900); text-decoration: none; line-height: 1; flex-shrink: 0; }
.logo:hover { color: var(--slate-900); }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; display: block; }
.logo-text { line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; color: var(--slate-600); font-size: 14.5px; font-weight: 500; border-radius: var(--radius-sm); white-space: nowrap; transition: color var(--transition), background var(--transition); }
.nav-links a:hover { color: var(--slate-900); background: var(--slate-100); }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
.nav-links .nav-try-free { color: var(--brand-700); font-weight: 600; }
.nav-links .nav-try-free:hover { color: var(--brand-800); background: var(--brand-50); }
.nav-mobile-only { display: none !important; }

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-cta .btn { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.nav-cta .nav-auth-link { box-shadow: none; }
.nav-search { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px; border: 1px solid var(--slate-200); border-radius: 10px; background: var(--slate-50); color: var(--slate-500); font-size: 13.5px; cursor: pointer; transition: border-color var(--transition), color var(--transition), background var(--transition); }
.nav-search:hover { border-color: var(--brand-300); color: var(--brand-700); background: #fff; }
.nav-search .ic { width: 16px; height: 16px; vertical-align: 0; }
.nav-search kbd { font-size: 11px; white-space: nowrap; }

.nav-toggle { display: none; width: 40px; height: 40px; margin-left: 4px; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--slate-800); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
    .nav-search span, .nav-search kbd { display: none; }
    .nav-search { width: 38px; padding: 0; justify-content: center; }
    .nav-links a { padding: 8px 10px; }
}
@media (max-width: 960px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--slate-200); padding: 10px 16px 16px; box-shadow: 0 24px 40px -24px rgba(15, 23, 42, 0.35); }
    .nav-links.open a { padding: 12px 14px; font-size: 15.5px; }
    .nav-links.open .nav-mobile-only { display: block !important; }
    .nav-cta .nav-auth-link { display: none; }
}
@media (max-width: 480px) {
    .nav-inner { gap: 12px; }
    .logo { font-size: 18px; }
    .logo-mark { width: 30px; height: 30px; }
    .nav-cta { gap: 8px; }
    .nav-cta .btn-primary { padding: 7px 12px; font-size: 13px; }
}

/* ── 9. Home hero ──────────────────────────────────────────── */
.hero-v2, .page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 50% -160px, rgba(79, 70, 229, 0.14), transparent 70%), linear-gradient(180deg, var(--slate-50) 0%, #fff 78%); }
.hero-v2::before, .page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(79, 70, 229, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 70, 229, 0.06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 22%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 70% 62% at 50% 22%, #000 25%, transparent 72%); }
.hero-v2 > .container, .page-hero > .container { position: relative; }

.hero-v2 { padding: calc(var(--header-h) + 76px) 0 72px; }
.hero-center { text-align: center; max-width: 880px; margin: 0 auto; }
.hero-v2 h1 { font-size: clamp(2.6rem, 6.2vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.03; margin: 22px 0; }
.hero-v2 .lead { max-width: 680px; margin: 0 auto 32px; }
.hero-v2 .btn-group { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; color: var(--slate-600); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }

.hero-shot { position: relative; margin: 60px auto 0; max-width: 1120px; }
.frame { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--slate-200); box-shadow: var(--shadow-shot); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: var(--slate-100); border-bottom: 1px solid var(--slate-200); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--slate-300); display: inline-block; flex-shrink: 0; }
.frame-bar span { flex: 1; text-align: center; font-size: 12px; color: var(--slate-500); background: #fff; border: 1px solid var(--slate-200); border-radius: 6px; padding: 2px 10px; max-width: 420px; margin: 0 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { display: block; width: 100%; height: auto; cursor: zoom-in; }

.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 11px 16px 11px 11px; border: 1px solid var(--slate-200); box-shadow: 0 22px 44px -20px rgba(15, 23, 42, 0.35); font-size: 13px; animation: floaty 6s ease-in-out infinite; }
.float-chip b { display: block; font-size: 14px; color: var(--slate-900); line-height: 1.3; }
.float-chip small { color: var(--slate-500); font-size: 12.5px; }
.float-chip .ic-tile { width: 38px; height: 38px; border-radius: 10px; }
.float-chip .ic-tile .ic { width: 20px; height: 20px; }
.float-chip.c1 { left: -36px; top: 30%; }
.float-chip.c2 { right: -32px; top: 12%; animation-delay: 1.2s; }
.float-chip.c3 { right: 7%; bottom: -24px; animation-delay: 2.4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 1200px) { .float-chip.c1 { left: -12px; } .float-chip.c2 { right: -12px; } }
@media (max-width: 1024px) { .float-chip.c1, .float-chip.c2 { display: none; } .float-chip.c3 { right: 50%; transform: translateX(50%); animation: none; } }
@media (max-width: 640px) {
    .hero-v2 { padding: calc(var(--header-h) + 44px) 0 48px; }
    .hero-v2 h1 { font-size: 2.4rem; }
    .hero-v2 h1 br { display: none; }
    .hero-shot { margin-top: 40px; }
    .float-chip { display: none !important; }
    .hero-trust { gap: 8px 16px; font-size: 13.5px; }
}

/* ── 10. Sub-page hero + breadcrumbs ───────────────────────── */
.page-hero { padding: calc(var(--header-h) + 60px) 0 64px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 18px auto 16px; max-width: 900px; }
.page-hero .lead { max-width: 720px; margin: 0 auto 28px; }
.page-hero .lead:last-child { margin-bottom: 0; }
.page-hero .btn-group { justify-content: center; }
.page-hero-sm { padding-bottom: 48px; }
.page-hero-sm h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero .meta { margin-top: 10px; font-size: 14px; color: var(--slate-500); }
.breadcrumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; font-size: 13px; color: var(--slate-500); }
.breadcrumbs a { color: var(--slate-600); }
.breadcrumbs a:hover { color: var(--brand-700); }
.breadcrumbs span { margin: 0 8px; color: var(--slate-300); }
@media (max-width: 640px) { .page-hero { padding: calc(var(--header-h) + 40px) 0 48px; } }

/* ── 11. Logo strip (third-party = neutral monochrome) ─────── */
.logos { padding: 36px 0 12px; }
.logos p { text-align: center; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-500); margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.logo-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1px solid var(--slate-200); border-radius: 12px; background: #fff; font-weight: 600; font-size: 14px; color: var(--slate-700); transition: border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition); }
.logo-pill:hover { color: var(--brand-700); border-color: var(--brand-200); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.logo-pill .lg, .int-card .lg { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--slate-100); color: var(--slate-700); border: 1px solid var(--slate-200); font-size: 12px; font-weight: 800; letter-spacing: -0.02em; flex-shrink: 0; }
.logo-pill .lg .ic { width: 16px; height: 16px; vertical-align: 0; }
.logo-pill:hover .lg { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }

/* ── 12. Live demo section (dark) ──────────────────────────── */
.demo-section { position: relative; padding: 104px 0; background: radial-gradient(900px 420px at 50% -120px, rgba(79, 70, 229, 0.38), transparent 70%), var(--slate-900); color: var(--slate-300); overflow: hidden; }
.demo-section .section-header h2 { color: #fff; }
.demo-section .section-header p { color: var(--slate-300); }
.demo-section .section-header strong { color: #fff; }
.demo-section .eyebrow { background: rgba(255, 255, 255, 0.06); color: var(--brand-200); border-color: rgba(255, 255, 255, 0.12); }
.demo-section .demo-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.demo-section .btn-secondary { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.2); box-shadow: none; }
.demo-section .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.demo-noscript { padding: 40px; text-align: center; background: #fff; color: var(--slate-900); border-radius: var(--radius-lg); }
@media (max-width: 768px) { .demo-section { padding: 72px 0; } }

/* ── 13. Bento features ────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento-card { position: relative; grid-column: span 2; padding: 28px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--slate-200); overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.bento-card.wide { grid-column: span 3; }
.bento-card.xl { grid-column: span 4; }
.bento-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.bento-card p { color: var(--slate-600); font-size: 15px; line-height: 1.65; }
.bento-card > .ic-tile + h3 { margin-top: 18px; }
.bento-card .pro-tag { position: absolute; top: 22px; right: 22px; }
.pro-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-pill); padding: 2px 10px; }
.bento-card .shot { margin: 22px -28px -28px; border-top: 1px solid var(--slate-200); background: var(--slate-100); }
.bento-card .shot img { width: 100%; height: 210px; object-fit: cover; object-position: top left; cursor: zoom-in; }
.bento-card.dark { background: var(--slate-900); color: var(--slate-300); border-color: var(--slate-800); }
.bento-card.dark:hover { border-color: var(--brand-700); }
.bento-card.dark h3 { color: #fff; }
.bento-card.dark p { color: var(--slate-300); }
.bento-card.dark .ic-tile { background: rgba(255, 255, 255, 0.06); color: var(--brand-300); border-color: rgba(255, 255, 255, 0.1); }
.bento-card.dark .pro-tag { color: var(--brand-200); background: rgba(129, 140, 248, 0.14); border-color: rgba(129, 140, 248, 0.3); }
.bento-card.dark a { color: var(--brand-300); font-weight: 600; }
.bento-card.dark a:hover { color: #fff; }
.mini-list { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; color: var(--slate-600); }
.mini-list li { display: flex; align-items: center; gap: 10px; }
.bento-card.dark .mini-list { color: var(--slate-300); }
.bento-card.dark .mini-list li::before { background-color: rgba(129, 140, 248, 0.14); background-image: var(--check-icon-light); border-color: rgba(129, 140, 248, 0.3); }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-card, .bento-card.wide { grid-column: span 1; } .bento-card.xl { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento-card.xl { grid-column: span 1; } .bento-card { padding: 24px; } .bento-card .shot { margin: 20px -24px -24px; } }

/* ── 14. Screens gallery (tabs) ────────────────────────────── */
.screens-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0 auto 28px; padding: 5px; background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: 14px; width: fit-content; max-width: 100%; }
.screens-tabs button { padding: 8px 16px; border-radius: 10px; border: 0; background: none; font-weight: 600; font-size: 14px; color: var(--slate-600); transition: color var(--transition), background var(--transition); }
.screens-tabs button:hover { color: var(--slate-900); }
.screens-tabs button.active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.screen-panel { max-width: 1080px; margin: 0 auto; }
.screen-panel .frame { max-height: 720px; }
.screen-panel figcaption { text-align: center; margin-top: 18px; color: var(--slate-600); }
.screen-panel figcaption strong { color: var(--slate-900); }

/* ── 15. Split rows ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse > :first-child { order: 2; }
.split h2, .split h3 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin: 16px 0 14px; }
.split p { color: var(--slate-600); font-size: 17px; line-height: 1.75; }
.checks { margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; color: var(--slate-800); line-height: 1.55; }
.checks li::before { margin-top: 2px; width: 20px; height: 20px; background-size: 12px; }
.split .frame img { max-height: 640px; object-fit: cover; object-position: top left; }
.frame.tall img { max-height: 560px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } .split + .split { margin-top: 72px; } }

/* ── 16. Steps ─────────────────────────────────────────────── */
.steps-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps-v2 li { position: relative; padding: 26px 22px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); counter-increment: s; }
.steps-v2 li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-600); color: #fff; font-weight: 800; font-size: 15px; margin-bottom: 16px; }
.steps-v2 h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps-v2 p { font-size: 14.5px; color: var(--slate-600); }
@media (max-width: 1024px) { .steps-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-v2 { grid-template-columns: 1fr; } }

/* ── 17. Code blocks (single-hue syntax theme) ─────────────── */
.code-block { position: relative; background: var(--slate-900); color: var(--slate-200); border: 1px solid var(--slate-800); border-radius: 14px; padding: 20px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; overflow-x: auto; box-shadow: 0 24px 48px -28px rgba(15, 23, 42, 0.65); }
.code-block pre { margin: 0; white-space: pre; font-family: inherit; }
.code-block code { background: none; color: inherit; padding: 0; }
.code-block .k { color: var(--brand-300); }
.code-block .s { color: var(--brand-200); }
.code-block .f { color: #fff; }
.code-block .n { color: var(--brand-300); }
.code-block .c { color: var(--slate-500); font-style: italic; }
.code-block .copy { position: absolute; top: 12px; right: 12px; font-family: var(--font); font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.08); color: var(--slate-200); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; padding: 4px 10px; transition: background var(--transition), color var(--transition); }
.code-block .copy:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.code-block:has(.copy) { padding-top: 46px; }

/* ── 18. Comparison tables ─────────────────────────────────── */
.vs-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.vs-table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); overflow: hidden; }
.vs-table th, .vs-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--slate-100); font-size: 15px; }
.vs-table tbody th { font-weight: 600; color: var(--slate-800); }
.vs-table thead th { background: var(--slate-50); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); border-bottom-color: var(--slate-200); }
.vs-table thead th.us { color: var(--brand-700); background: var(--brand-50); }
.vs-table td.us { background: rgba(238, 242, 255, 0.55); font-weight: 600; color: var(--slate-900); }
.vs-table tr:last-child th, .vs-table tr:last-child td { border-bottom: 0; }
.vs-table .y { color: var(--brand-600); font-weight: 800; }
.vs-table .n { color: var(--slate-400); font-weight: 700; }
@media (max-width: 640px) { .vs-table { min-width: 540px; } .vs-table th, .vs-table td { padding: 12px 14px; font-size: 14px; } }

/* ── 19. Savings calculator ────────────────────────────────── */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--slate-200); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-brand); }
.calc-inputs { padding: 34px; display: grid; gap: 24px; }
.calc-inputs label { display: grid; gap: 10px; font-weight: 600; font-size: 14.5px; color: var(--slate-800); }
.calc-inputs label span { display: flex; justify-content: space-between; gap: 12px; }
.calc-inputs output { color: var(--brand-700); font-weight: 800; }
.calc-inputs input[type=range] { width: 100%; accent-color: var(--brand-600); height: 6px; cursor: pointer; }
.calc-inputs select { padding: 10px 12px; border: 1px solid var(--slate-300); border-radius: 10px; background: #fff; font-weight: 500; }
.calc-inputs select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--primary-ring); }
.calc-result { padding: 34px; background: radial-gradient(500px 260px at 100% 0%, rgba(79, 70, 229, 0.35), transparent 70%), var(--slate-900); color: var(--slate-300); display: flex; flex-direction: column; justify-content: center; }
.calc-result > span { font-size: 14px; font-weight: 600; color: var(--brand-200); }
.calc-result .big { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: #fff; letter-spacing: -0.035em; line-height: 1.1; margin-top: 4px; }
.calc-rows { margin: 22px 0; display: grid; gap: 10px; font-size: 14px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255, 255, 255, 0.14); padding-bottom: 8px; }
.calc-rows b { color: #fff; }
.calc-meter { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.calc-meter i { display: block; height: 100%; background: var(--brand-400); border-radius: 99px; transition: width 0.3s var(--ease); }
.calc-note { font-size: 12.5px; color: var(--slate-400); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-inputs, .calc-result { padding: 26px; } }

/* ── 20. Pricing ───────────────────────────────────────────── */
.plan-finder { max-width: 760px; margin: -16px auto 40px; text-align: center; }
.plan-finder > p { font-weight: 600; margin-bottom: 12px; color: var(--slate-800); }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; box-shadow: var(--shadow-xs); }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--slate-600); transition: color var(--transition), background var(--transition); }
.seg button:hover { color: var(--slate-900); background: var(--slate-50); }
.seg button[aria-pressed="true"] { background: var(--brand-600); color: #fff; }
.plan-result { min-height: 24px; margin-top: 14px; color: var(--slate-600); font-size: 15px; }
@media (max-width: 480px) { .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; } }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.pricing-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: 32px 28px 28px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card h3 { font-size: 1.2rem; }
.pricing-card .plan-desc { color: var(--slate-600); font-size: 14.5px; margin-top: 6px; }
.pricing-price { margin: 22px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--slate-200); }
.pricing-price .amount { font-size: 46px; font-weight: 800; letter-spacing: -0.045em; color: var(--slate-900); line-height: 1; }
.pricing-price .period { font-size: 14px; color: var(--slate-500); font-weight: 500; }
.pricing-features { margin-bottom: 28px; display: grid; gap: 12px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--slate-700); }
.pricing-features .check { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; font-size: 0; background: var(--brand-50) var(--check-icon) center / 12px no-repeat; border: 1px solid var(--brand-100); }
.pricing-card .btn { width: 100%; margin-top: auto; }
.pricing-card.featured { border: 2px solid var(--brand-600); box-shadow: var(--shadow-brand); padding: 31px 27px 27px; }
.pricing-card.featured::before { content: 'Most popular'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-600); color: #fff; padding: 3px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pricing-card.recommended { border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--primary-ring), var(--shadow-brand); transform: translateY(-6px); }
.pricing-card.recommended::before { content: 'Recommended for you'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand-700); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: var(--radius-pill); white-space: nowrap; }
.pricing-assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; color: var(--slate-600); font-size: 14px; }
.pricing-assurance span { display: inline-flex; align-items: center; gap: 8px; }
.free-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 1080px; margin: 32px auto 0; padding: 20px 24px; border: 1px dashed var(--brand-200); border-radius: var(--radius-lg); background: var(--brand-50); }
.free-strip strong { font-size: 16px; color: var(--slate-900); }
.free-strip p { color: var(--slate-600); font-size: 14px; margin-top: 2px; }
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; } .pricing-card.recommended { transform: none; } }

/* ── 21. Testimonials ──────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 26px; }
.testimonial-stars { color: var(--brand-500); font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-text { flex: 1; font-size: 15px; line-height: 1.75; color: var(--slate-700); margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.testimonial-info strong { display: block; font-size: 14px; color: var(--slate-900); }
.testimonial-info span { font-size: 13px; color: var(--slate-500); }
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ── 22. FAQ ───────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--slate-200); }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 20px 2px; background: none; border: 0; text-align: left; font-weight: 600; font-size: 16.5px; color: var(--slate-900); }
.faq-question:hover { color: var(--brand-700); }
.faq-question::after { content: ''; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--slate-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.25s var(--ease), background-color 0.25s var(--ease); }
.faq-item.open .faq-question { color: var(--brand-700); }
.faq-item.open .faq-question::after { transform: rotate(45deg); background-color: var(--brand-50); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-answer { max-height: 480px; }
.faq-answer p { padding: 0 2px 20px; color: var(--slate-600); font-size: 15.5px; line-height: 1.75; }

/* ── 23. Call-to-action band (brand) ───────────────────────── */
.cta-v2, .cta-section { position: relative; padding: 96px 0; text-align: center; color: var(--brand-100); background: radial-gradient(700px 320px at 50% -80px, rgba(255, 255, 255, 0.16), transparent 70%), var(--brand-600); overflow: hidden; }
.cta-v2::before, .cta-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000 20%, transparent 75%); }
.cta-v2 .container, .cta-section .container { position: relative; }
.cta-v2 h2, .cta-section h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.035em; max-width: 820px; margin: 0 auto; }
.cta-v2 p, .cta-section p { color: var(--brand-100); font-size: 18px; max-width: 620px; margin: 16px auto 32px; }
.cta-v2 .btn-group, .cta-section .btn-group { justify-content: center; }
.cta-v2 .btn-ghost, .cta-section .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cta-v2 .btn-ghost:hover, .cta-section .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
@media (max-width: 768px) { .cta-v2, .cta-section { padding: 72px 0; } }

/* ── 24. Sticky CTA ────────────────────────────────────────── */
.sticky-cta { position: fixed; left: 50%; bottom: 18px; z-index: 900; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: rgba(15, 23, 42, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--slate-300); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.55); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); max-width: calc(100% - 24px); }
.sticky-cta.show { transform: translate(-50%, 0); }
.sticky-cta p { font-size: 14px; margin: 0 6px 0 0; white-space: nowrap; }
.sticky-cta p b { color: #fff; }
.sticky-cta .btn { padding: 8px 16px; font-size: 14px; }
.sticky-cta .btn-secondary { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.18); box-shadow: none; }
.sticky-cta .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.sticky-cta .x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: none; border: 0; color: var(--slate-400); font-size: 20px; line-height: 1; }
.sticky-cta .x:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 640px) { .sticky-cta { left: 12px; right: 12px; transform: translateY(160%); max-width: none; padding: 8px; } .sticky-cta.show { transform: none; } .sticky-cta p { display: none; } .sticky-cta .btn { flex: 1; } }

/* ── 25. Command palette ───────────────────────────────────── */
.cmdk { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.cmdk[hidden] { display: none; }
.cmdk-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.cmdk-panel { position: relative; width: 100%; max-width: 620px; background: #fff; border-radius: 16px; border: 1px solid var(--slate-200); box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.5); overflow: hidden; animation: cmdkIn 0.16s ease; }
@keyframes cmdkIn { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }
.cmdk-input { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--slate-200); color: var(--slate-400); }
.cmdk-input .ic { width: 18px; height: 18px; vertical-align: 0; }
.cmdk-input input { flex: 1; border: 0; outline: none; font-size: 16px; color: var(--slate-900); background: none; }
.cmdk-list { max-height: 52vh; overflow-y: auto; padding: 8px; }
.cmdk-group { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--slate-500); padding: 10px 10px 4px; }
.cmdk-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.cmdk-item strong { display: block; font-size: 14px; color: var(--slate-900); }
.cmdk-item small { display: block; font-size: 12.5px; color: var(--slate-500); }
.cmdk-item.active { background: var(--brand-50); }
.cmdk-item.active strong { color: var(--brand-700); }
.cmdk-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--slate-50); border: 1px solid var(--slate-200); display: grid; place-items: center; flex-shrink: 0; color: var(--slate-500); }
.cmdk-icon .ic { width: 18px; height: 18px; vertical-align: 0; }
.cmdk-item.active .cmdk-icon { background: #fff; color: var(--brand-600); border-color: var(--brand-200); }
.cmdk-empty { padding: 24px; text-align: center; color: var(--slate-600); }
.cmdk-foot { display: flex; gap: 18px; padding: 10px 16px; border-top: 1px solid var(--slate-200); font-size: 12px; color: var(--slate-500); background: var(--slate-50); }
.cmdk-open { overflow: hidden; }
@media (max-width: 640px) { .cmdk { padding-top: 8vh; } .cmdk-foot { display: none; } }

/* ── 26. Lightbox & video ──────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 4vh 4vw; background: rgba(15, 23, 42, 0.92); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); cursor: zoom-out; background: #fff; }
.lightbox p { color: var(--slate-300); font-size: 14px; text-align: center; max-width: 720px; }
.lightbox-close { position: absolute; top: 18px; right: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 26px; line-height: 1; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.video-modal { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.video-modal iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── 27. Features page ─────────────────────────────────────── */
.feat-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-200); }
.feat-nav .container { display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.feat-nav .container::-webkit-scrollbar { display: none; }
.feat-nav a { white-space: nowrap; padding: 6px 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--slate-600); }
.feat-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.feat-nav + .section { border-top: 0; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.section-header + .fgrid { margin-top: -16px; }
.fgrid > div { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 22px; transition: border-color var(--transition), box-shadow var(--transition); }
.fgrid > div:hover { border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.fgrid h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1rem; margin-bottom: 6px; }
.fgrid p { color: var(--slate-600); font-size: 14.5px; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }

/* ── 28. Integrations ──────────────────────────────────────── */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.int-card { padding: 26px; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); transition: box-shadow var(--transition), border-color var(--transition); }
.int-card:hover, .int-card:target { border-color: var(--brand-200); box-shadow: var(--shadow-lg); }
.int-card .lg { width: 44px; height: 44px; border-radius: 12px; font-size: 16px; }
.int-card .lg .ic { width: 22px; height: 22px; }
.int-card h3 { font-size: 1.1rem; margin: 16px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.int-card p { color: var(--slate-600); font-size: 15px; }
.int-card .mini-list { margin-top: 14px; }
@media (max-width: 1024px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .int-grid { grid-template-columns: 1fr; } }

.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.api-grid > div { min-width: 0; }
.api-grid h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin-bottom: 8px; }
.api-grid p { color: var(--slate-600); margin-bottom: 14px; }
.api-head { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin: 56px 0 10px; }
.api-intro { color: var(--slate-600); margin-bottom: 16px; }
.api-scroll { overflow-x: auto; border-radius: 14px; }
.api-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 14px; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; overflow: hidden; }
.api-table th, .api-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--slate-100); vertical-align: top; }
.api-table tr:last-child td { border-bottom: 0; }
.api-table th { background: var(--slate-50); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-500); border-bottom-color: var(--slate-200); }
.api-table td:first-child { white-space: nowrap; }
.api-table code { font-size: 12.5px; }
.method { display: inline-block; min-width: 54px; margin: 1px 2px 1px 0; font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; text-align: center; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.m-get { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.m-post { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.m-patch { background: var(--slate-100); color: var(--slate-700); border-color: var(--slate-200); }
.m-del { background: var(--st-lost-bg); color: var(--st-lost-fg); border-color: #fecaca; }
.events { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.events code { font-size: 12.5px; }
@media (max-width: 900px) { .api-grid { grid-template-columns: 1fr; } }

/* ── 29. WooCommerce page ──────────────────────────────────── */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.flow > div { position: relative; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 22px; }
.flow > div:not(:last-child)::after { content: ''; position: absolute; right: -15px; top: 50%; z-index: 1; width: 24px; height: 24px; transform: translateY(-50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F46E5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 13px no-repeat; border: 1px solid var(--brand-200); }
.flow b { display: block; font-size: 15.5px; margin: 14px 0 4px; color: var(--slate-900); }
.flow small { display: block; color: var(--slate-600); font-size: 13.5px; line-height: 1.55; }
.flow .ic-tile { width: 40px; height: 40px; border-radius: 11px; }
.flow .ic-tile .ic { width: 20px; height: 20px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .flow > div::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

.status-map { width: 100%; max-width: 640px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; overflow: hidden; }
.status-map th, .status-map td { padding: 13px 18px; border-bottom: 1px solid var(--slate-100); text-align: left; }
.status-map tr:last-child td { border-bottom: 0; }
.status-map th { background: var(--slate-50); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-500); border-bottom-color: var(--slate-200); }

/* ── 30. Demo page ─────────────────────────────────────────── */
.demo-page { padding: calc(var(--header-h) + 28px) 0 72px; background: radial-gradient(900px 400px at 50% -140px, rgba(79, 70, 229, 0.12), transparent 70%), var(--slate-50); }
.demo-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 14px 0 22px; }
.demo-page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 8px; }
.demo-page-head p { color: var(--slate-600); max-width: 660px; }
.demo-page-head strong { color: var(--slate-900); }
.demo-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.demo-facts > div { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 22px; }
.demo-facts h2 { font-size: 1.05rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.demo-facts p { color: var(--slate-600); font-size: 14.5px; }
@media (max-width: 900px) { .demo-facts { grid-template-columns: 1fr; } }

/* ── 31. Download page ─────────────────────────────────────── */
.download-cards-section { padding-top: 24px; }
.download-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; align-items: start; }
.download-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.download-card.featured { border: 2px solid var(--brand-600); box-shadow: var(--shadow-brand); }
.download-card-popular { background: var(--brand-600); color: #fff; text-align: center; font-size: 12px; font-weight: 700; padding: 7px; letter-spacing: 0.06em; text-transform: uppercase; }
.download-card-header { padding: 28px 28px 22px; border-bottom: 1px solid var(--slate-200); }
.download-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 11px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.download-badge.free { background: var(--slate-100); color: var(--slate-700); border: 1px solid var(--slate-200); }
.download-badge.pro { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.download-card-header h2 { font-size: 1.5rem; margin-bottom: 6px; }
.download-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--slate-900); margin-bottom: 10px; }
.download-price span { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--slate-500); }
.download-card-header p { font-size: 14.5px; color: var(--slate-600); line-height: 1.6; }
.download-card-body { padding: 22px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.download-features { margin-bottom: 24px; flex: 1; }
.download-features li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; padding: 8px 0; border-bottom: 1px solid var(--slate-100); color: var(--slate-800); }
.download-features li:last-child { border-bottom: 0; }
.download-features li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; }
.download-features li.yes::before { background: var(--brand-50) var(--check-icon) center / 11px no-repeat; border: 1px solid var(--brand-100); }
.download-features li.no { color: var(--slate-400); }
.download-features li.no::before { background: linear-gradient(var(--slate-300), var(--slate-300)) center / 8px 2px no-repeat; border: 1px solid var(--slate-200); }
.download-note { text-align: center; font-size: 12.5px; color: var(--slate-500); margin-top: 12px; }
@media (max-width: 720px) { .download-cards { grid-template-columns: 1fr; } }

.comparison-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); background: #fff; }
.comparison-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.comparison-table th, .comparison-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--slate-100); }
.comparison-table thead th { background: var(--slate-50); font-weight: 700; font-size: 15px; color: var(--slate-900); border-bottom: 1px solid var(--slate-200); }
.feature-col { width: 50%; }
.free-col, .pro-col { width: 25%; text-align: center !important; }
.pro-col { color: var(--brand-700) !important; }
.th-sub { display: block; font-size: 11px; font-weight: 600; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.06em; }
.group-row td { background: var(--slate-50); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); padding: 10px 18px; }
.yes-cell { text-align: center !important; color: var(--brand-600); font-weight: 800; }
.no-cell { text-align: center !important; color: var(--slate-300); }
.comparison-table tbody tr:not(.group-row):hover { background: rgba(238, 242, 255, 0.5); }
.comparison-table tfoot td { padding: 18px; border-bottom: 0; }
@media (max-width: 640px) { .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 13.5px; } }

/* ── 32. Docs ──────────────────────────────────────────────── */
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.docs-sidebar { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding: 4px 4px 4px 0; scrollbar-width: thin; }
.docs-sidebar h4 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-500); margin: 0 0 8px; padding: 0 12px; }
.docs-sidebar ul { margin-bottom: 22px; border-left: 1px solid var(--slate-200); margin-left: 12px; }
.docs-sidebar a { display: block; padding: 5px 12px; margin-left: -1px; font-size: 14px; color: var(--slate-600); border-left: 2px solid transparent; transition: color var(--transition), border-color var(--transition); }
.docs-sidebar a:hover { color: var(--slate-900); border-left-color: var(--slate-300); }
.docs-sidebar a.active { color: var(--brand-700); border-left-color: var(--brand-600); font-weight: 600; }
.docs-content { min-width: 0; max-width: 780px; }
.docs-content h1 { font-size: 2rem; margin-bottom: 16px; }
.docs-content h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 1.55rem; margin: 56px 0 16px; padding-top: 4px; scroll-margin-top: calc(var(--header-h) + 24px); }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { font-size: 1.15rem; margin: 32px 0 10px; scroll-margin-top: calc(var(--header-h) + 24px); }
.docs-content p { margin-bottom: 16px; line-height: 1.8; color: var(--slate-600); }
.docs-content ul, .docs-content ol { margin: 0 0 20px 22px; }
.docs-content li { margin-bottom: 8px; line-height: 1.75; color: var(--slate-600); padding-left: 4px; }
.docs-content ol { list-style: decimal; }
.docs-content ul { list-style: disc; }
.docs-content li::marker { color: var(--brand-500); font-weight: 600; }
.docs-content strong { color: var(--slate-800); }
.docs-content pre { background: var(--slate-900); color: var(--slate-200); padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 20px; font-size: 13.5px; line-height: 1.65; }
.docs-content pre code { background: none; padding: 0; color: inherit; }
.docs-callout { padding: 16px 20px; border-radius: var(--radius); margin: 0 0 22px; font-size: 14.5px; line-height: 1.7; color: var(--slate-700); border: 1px solid; border-left-width: 4px; }
.docs-callout strong { display: block; margin-bottom: 4px; color: var(--slate-900); }
.docs-callout.info { background: var(--brand-50); border-color: var(--brand-100); border-left-color: var(--brand-600); }
.docs-callout.warning { background: var(--st-progress-bg); border-color: #fde68a; border-left-color: var(--st-progress); }
.docs-callout.success { background: var(--st-done-bg); border-color: #a7f3d0; border-left-color: var(--st-done); }
.docs-breadcrumb { display: none; }
@media (max-width: 1024px) {
    .docs-layout { grid-template-columns: 1fr; gap: 32px; }
    .docs-sidebar { position: static; max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; padding: 20px; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: var(--slate-50); }
    .docs-sidebar > h4 { padding-left: 12px; }
}
@media (max-width: 560px) { .docs-sidebar { grid-template-columns: 1fr; } }

/* ── 33. Changelog ─────────────────────────────────────────── */
.changelog-item { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--slate-200); }
.changelog-item:first-child { padding-top: 0; }
.changelog-item:last-child { border-bottom: 0; }
.changelog-date { font-size: 14px; font-weight: 600; color: var(--slate-500); padding-top: 4px; }
.changelog-version { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--slate-900); margin-bottom: 14px; }
.changelog-list { display: grid; gap: 4px; }
.changelog-list li { position: relative; padding: 3px 0 3px 22px; font-size: 15px; color: var(--slate-600); line-height: 1.65; }
.changelog-list li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-100); }
.changelog-list strong { color: var(--slate-900); }
@media (max-width: 768px) { .changelog-item { grid-template-columns: 1fr; gap: 6px; } }

/* ── 34. Legal pages ───────────────────────────────────────── */
.legal-body { padding: 56px 0 96px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-content { min-width: 0; max-width: 780px; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 10px; padding-left: 14px; }
.legal-toc ul { border-left: 1px solid var(--slate-200); }
.legal-toc a { display: block; margin-left: -1px; font-size: 14px; color: var(--slate-600); padding: 5px 12px; border-left: 2px solid transparent; transition: color var(--transition), border-color var(--transition); }
.legal-toc a:hover { color: var(--brand-700); border-left-color: var(--brand-600); }
.legal-intro { background: var(--brand-50); border: 1px solid var(--brand-100); border-left: 4px solid var(--brand-600); border-radius: var(--radius); padding: 18px 20px; font-size: 15px; color: var(--slate-700); margin-bottom: 40px; line-height: 1.7; }
.legal-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--slate-200); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-section h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-section h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-section p { font-size: 15.5px; color: var(--slate-600); line-height: 1.8; margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal-section li { font-size: 15.5px; color: var(--slate-600); line-height: 1.8; margin-bottom: 6px; }
.legal-section li::marker { color: var(--brand-500); }
.legal-section a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-200); }
.legal-section a:hover { text-decoration-color: currentColor; }
.legal-contact-box { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 18px 22px; margin-top: 16px; }
.legal-contact-box p { margin-bottom: 4px !important; }
.legal-note { background: var(--st-progress-bg); border: 1px solid #fde68a; border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--slate-700); margin-top: 16px; }
.refund-guarantee-box { display: flex; align-items: flex-start; gap: 18px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 40px; }
.refund-guarantee-box .ic-tile { width: 48px; height: 48px; background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.refund-guarantee-box .ic-tile .ic { width: 24px; height: 24px; }
.refund-guarantee-box strong { display: block; font-size: 17px; color: var(--slate-900); margin-bottom: 4px; }
.refund-guarantee-box p { font-size: 14.5px; color: var(--slate-600); line-height: 1.6; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; gap: 28px; } .legal-toc { position: static; padding: 18px; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); background: var(--slate-50); } }

/* ── 35. Auth, account & contact pages ─────────────────────── */
.auth-page { min-height: 100vh; padding: calc(var(--header-h) + 64px) 24px 88px; background: radial-gradient(900px 420px at 50% -160px, rgba(79, 70, 229, 0.12), transparent 70%), var(--slate-50); }
.auth-shell, .contact-shell { width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.auth-shell-wide { grid-template-columns: 1fr 1fr; }
.auth-copy, .contact-copy { padding: 12px 0; }
.auth-copy h1, .contact-copy h1 { margin: 18px 0 16px; font-size: clamp(2.2rem, 4.6vw, 3.25rem); }
.auth-copy p, .contact-copy p { max-width: 500px; color: var(--slate-600); font-size: 17px; line-height: 1.7; }
.auth-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.auth-card h2 { font-size: 1.55rem; margin-bottom: 6px; }
.auth-subtitle { color: var(--slate-600); font-size: 14.5px; margin-bottom: 22px; }
.auth-switch { margin-top: 18px; color: var(--slate-600); font-size: 14px; text-align: center; }
.stacked-form { display: flex; flex-direction: column; gap: 16px; }
.stacked-form label { display: flex; flex-direction: column; gap: 7px; color: var(--slate-800); font-size: 13.5px; font-weight: 600; }
.stacked-form input, .stacked-form textarea, .stacked-form select { width: 100%; border: 1px solid var(--slate-300); border-radius: 10px; background: #fff; color: var(--slate-900); padding: 11px 14px; outline: none; font-weight: 400; transition: border-color var(--transition), box-shadow var(--transition); }
.stacked-form textarea { resize: vertical; min-height: 140px; }
.stacked-form input:hover, .stacked-form textarea:hover { border-color: var(--slate-400); }
.stacked-form input:focus, .stacked-form textarea:focus, .stacked-form select:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--primary-ring); }
.stacked-form button:disabled { cursor: wait; opacity: 0.72; transform: none; }
.form-status { border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; border: 1px solid var(--slate-200); background: var(--slate-50); color: var(--slate-700); }
.form-status-success { background: var(--st-done-bg); border-color: #a7f3d0; color: var(--st-done-fg); }
.form-status-error { background: var(--st-lost-bg); border-color: #fecaca; color: var(--st-lost-fg); }
.form-status-warning { background: var(--st-progress-bg); border-color: #fde68a; color: var(--st-progress-fg); }

.portal-graphic { margin-top: 30px; max-width: 470px; }
.portal-graphic-compact { margin-top: 20px; }
.portal-window { position: relative; overflow: hidden; text-align: left; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-lg); }
.portal-window-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.portal-window-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-300); }
.portal-hero-line { height: 68px; border-radius: var(--radius); background: radial-gradient(260px 120px at 100% 0%, rgba(129, 140, 248, 0.45), transparent 70%), var(--brand-600); margin-bottom: 14px; }
.portal-rows { display: grid; gap: 10px; }
.portal-row { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--slate-200); border-radius: 10px; padding: 11px 12px; }
.portal-row strong, .portal-license-card strong, .support-ticket strong { display: block; color: var(--slate-900); font-size: 14px; }
.portal-row small, .portal-license-card span, .support-ticket span { display: block; color: var(--slate-600); font-size: 12.5px; margin-top: 2px; }
.portal-dot { width: 28px; height: 28px; border-radius: 50%; border: 7px solid var(--brand-50); }
.portal-dot-green { background: var(--brand-600); }
.portal-dot-blue { background: var(--brand-400); }
.portal-dot-amber { background: var(--brand-300); }
.portal-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.portal-step { min-height: 96px; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; padding: 14px 12px; }
.portal-step strong { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--slate-100); color: var(--slate-700); font-size: 13px; margin-bottom: 12px; }
.portal-step span { display: block; color: var(--slate-600); font-size: 13px; font-weight: 600; line-height: 1.35; }
.portal-step.is-complete strong { background: var(--brand-50) var(--check-icon) center / 13px no-repeat; color: transparent; border: 1px solid var(--brand-100); }
.portal-step.is-active { border-color: var(--brand-300); box-shadow: 0 10px 22px -12px rgba(79, 70, 229, 0.45); }
.portal-step.is-active strong { background: var(--brand-600); color: #fff; }
.portal-license-card, .support-ticket { border: 1px solid var(--slate-200); border-radius: 10px; background: var(--slate-50); padding: 14px; }
.support-ticket { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin-bottom: 16px; }
.support-ticket span { grid-column: 1 / 2; }
.support-ticket em { grid-row: 1 / 3; grid-column: 2; align-self: center; border-radius: var(--radius-pill); background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); padding: 3px 10px; font-size: 12px; font-style: normal; font-weight: 700; }
.support-thread-line { height: 11px; width: 100%; border-radius: var(--radius-pill); background: var(--slate-200); margin-bottom: 9px; }
.support-thread-line.short { width: 64%; background: var(--brand-200); }

.contact-note { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; max-width: 480px; padding: 16px 18px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-xs); }
.contact-note strong { color: var(--slate-900); }
.contact-note span { color: var(--slate-600); font-size: 14px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.topic-chips button { border: 1px solid var(--slate-200); background: #fff; border-radius: var(--radius-pill); padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--slate-600); transition: border-color var(--transition), color var(--transition), background var(--transition); }
.topic-chips button:hover { border-color: var(--brand-200); color: var(--brand-700); }
.topic-chips button[aria-pressed="true"] { border-color: var(--brand-600); color: #fff; background: var(--brand-600); }

.account-shell { width: min(1080px, 100%); margin: 0 auto; }
.account-shell .section-header { margin-bottom: 40px; }
.account-shell .section-header h1 { margin-top: 16px; }
.account-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; }
.account-card .badge { margin-bottom: 16px; }
.account-card-wide { grid-column: 1 / -1; }
.account-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.account-messages { display: flex; flex-direction: column; gap: 10px; }
.account-message-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--slate-200); }
.account-message-row:last-child { border-bottom: 0; }
.account-message-row strong, .account-message-row span { display: block; }
.account-message-row span { color: var(--slate-500); font-size: 12.5px; margin-top: 2px; }
.account-message-row em { color: var(--brand-700); background: var(--brand-50); border-radius: var(--radius-pill); padding: 3px 10px; font-size: 12px; font-style: normal; font-weight: 700; }
.account-licenses { display: flex; flex-direction: column; gap: 14px; }
.license-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--slate-200); }
.license-row:last-child { border-bottom: 0; }
.license-row h3 { font-size: 17px; margin-bottom: 6px; }
.license-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--slate-600); font-size: 13px; }
.license-key { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.license-key code { padding: 8px 10px; border-radius: var(--radius-sm); background: var(--slate-50); border: 1px solid var(--slate-200); color: var(--slate-900); font-size: 13px; word-break: break-all; }
.license-status { align-self: start; border-radius: var(--radius-pill); padding: 4px 11px; font-size: 12px; font-weight: 700; background: var(--st-done-bg); color: var(--st-done-fg); }
.license-status.refunded, .license-status.revoked, .license-status.expired { background: var(--st-lost-bg); color: var(--st-lost-fg); }

@media (max-width: 900px) {
    .auth-shell, .auth-shell-wide, .contact-shell, .account-grid { grid-template-columns: 1fr; }
    .auth-copy, .contact-copy { text-align: center; }
    .auth-copy p, .contact-copy p, .contact-note, .portal-graphic { margin-left: auto; margin-right: auto; }
    .contact-note { text-align: left; }
}
@media (max-width: 640px) {
    .auth-page { padding: calc(var(--header-h) + 36px) 16px 56px; }
    .auth-card { padding: 24px; border-radius: var(--radius-lg); }
    .account-actions { flex-direction: column; }
    .account-actions .btn { width: 100%; }
    .license-row { grid-template-columns: 1fr; }
    .license-key .btn { width: 100%; }
    .portal-step-grid { grid-template-columns: 1fr; }
    .portal-step { min-height: auto; }
}

/* ── 36. 404 ───────────────────────────────────────────────── */
.notfound { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 20px 72px; background: radial-gradient(900px 420px at 50% -120px, rgba(79, 70, 229, 0.12), transparent 70%), #fff; }
.notfound .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; letter-spacing: -0.06em; color: var(--brand-600); }
.notfound h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 12px; }
.notfound .lead { max-width: 520px; margin: 0 auto 28px; }
.notfound .btn-group { justify-content: center; }

/* ── 37. Footer ────────────────────────────────────────────── */
.site-footer { background: var(--slate-900); color: var(--slate-400); padding: 72px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-about { max-width: 340px; }
.site-footer .footer-about .logo { display: inline-flex; color: #fff; font-size: 20px; margin-bottom: 16px; }
.site-footer .footer-about .logo:hover { color: #fff; opacity: 0.9; }
.site-footer .footer-about .logo-text { color: #fff; }
.footer-about p { font-size: 14px; color: var(--slate-400); line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: 0; margin: 6px 0 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { color: var(--slate-400); font-size: 14px; transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }
.site-footer .footer-newsline { margin-top: 20px; width: auto; height: 38px; padding: 0 8px 0 12px; justify-content: flex-start; white-space: nowrap; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--slate-400); }
.site-footer .footer-newsline:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }
.site-footer .footer-newsline span, .site-footer .footer-newsline kbd { display: inline-block; }
.site-footer .footer-newsline kbd { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: var(--slate-300); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--slate-500); }
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .ic { width: 16px; height: 16px; color: var(--slate-400); vertical-align: -3px; margin-right: 4px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-about { grid-column: 1 / -1; max-width: 520px; } }
@media (max-width: 640px) { .site-footer { padding-top: 56px; } .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ── 38. Motion ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .float-chip { animation: none !important; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
    .site-header, .sticky-cta, .site-footer, .cta-v2, .cta-section, .feat-nav, .docs-sidebar, .legal-toc { display: none !important; }
    .page-hero, .hero-v2 { padding-top: 24px; }
}

/* ── 39. Screenshot helpers ────────────────────────────────── */
.split .frame.full img, .frame.full img { max-height: none; }
.frame-stack { position: relative; padding-bottom: 36px; }
.frame-inset { position: absolute; right: -18px; bottom: 0; width: 44%; min-width: 220px; margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--slate-200); box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.4); }
.frame-inset img { width: 100%; height: auto; cursor: zoom-in; }
@media (max-width: 900px) { .frame-inset { right: 12px; } }
@media (max-width: 520px) { .frame-stack { padding-bottom: 0; } .frame-inset { position: static; width: 100%; margin-top: 14px; } }
