@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   Kanbanz — Professional Google/Apple Light Bento UI Design System
   ============================================================ */

:root {
    --bg: #fcfcfd;
    --bg-elev: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border: #f1f1f4;
    --border-strong: #e4e4e7;
    --border-hover: #cbd5e1;
    --text: #0f172a;
    --text-soft: #475569;
    --text-muted: #94a3b8;
    --primary: #0f172a;
    --primary-bright: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #10b981;
    --accent-glow: rgba(37, 99, 235, 0.05);
    --radius: 10px;
    --radius-lg: 16px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --max-w: 1200px;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Monaco, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); color-scheme: light; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
    min-height: 100vh;
}

a { color: var(--primary-bright); text-decoration: none; transition: all 0.25s var(--ease-out); }
/* Hover deepens the brand blue rather than fading to near-black. Darkening to
   #0f172a on hover reads as "disabled" — the opposite of the intended cue. */
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.03em;
}
h1 { font-size: clamp(38px, 5.5vw, 68px); letter-spacing: -0.04em; line-height: 1.15; }
h2 { font-size: clamp(26px, 3.5vw, 42px); letter-spacing: -0.03em; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 14px; font-weight: 600; }
p  { color: var(--text-soft); font-weight: 400; }

::selection { background: var(--primary-bright); color: #ffffff; }

/* ============================================================
   Bento Style Grid & Overlay
   ============================================================ */

.grid-overlay {
    position: fixed; inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    pointer-events: none;
    opacity: 0.8;
}

/* ============================================================
   Layout
   ============================================================ */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; position: relative; }

/* ============================================================
   Navigation
   ============================================================ */

.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s var(--ease-out);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(252, 252, 253, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 18px;
    color: var(--text); letter-spacing: -0.02em;
}
.brand-mark {
    padding: 5px;
    border-radius: 8px;
    background: var(--text);
    color: var(--bg-elev);
    display: grid; place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.brand-mark img { display: block; width: 35px; height: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
    color: var(--text-soft);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 4px 0;
}
/* Nav hover moves to the brand blue; only the *active* page stays dark, so the
   two states stay distinguishable (previously both resolved to --text). */
.nav-links a:not(.btn):hover { color: var(--primary-bright); }
.nav-links a:not(.btn).active { color: var(--text); font-weight: 600; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600; font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.3;
}
.btn-lg { padding: 12px 24px; font-size: 15px; border-radius: 10px; }

.btn-primary {
    background: var(--text);
    color: var(--bg-elev);
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* The resting button stays near-black (it anchors the page), but hover moves to
   the brand blue instead of #1e293b. Dark-to-slightly-less-dark gave almost no
   feedback on the header and hero CTAs — the lift was doing all the work. */
.btn-primary:hover {
    background: var(--primary-bright);
    color: var(--bg-elev);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-ghost, .btn-outline {
    background: var(--bg-elev);
    color: var(--text);
    border: 1px solid var(--border-strong);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
/* Secondary CTA ("Explore Features") picks up the brand blue on hover too,
   so both hero buttons respond in the same visual language. */
.btn-ghost:hover, .btn-outline:hover {
    background: #f5f8ff;
    border-color: var(--primary-bright);
    color: var(--primary-bright);
}

/* ============================================================
   Pills & Badges
   ============================================================ */

.pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary-bright);
    border: 1px solid rgba(37, 99, 235, 0.12);
    font-size: 11px; font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pill .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary-bright);
    box-shadow: 0 0 6px var(--primary-bright);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}

.gradient-text {
    background: linear-gradient(135deg, #0f172a 20%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   Bento Hero Section
   ============================================================ */

.hero { 
    padding: 160px 0 100px; 
    position: relative; 
    text-align: center;
    overflow: hidden;
}

.hero-glow-bg {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 100%);
    z-index: -1;
    filter: blur(100px);
    pointer-events: none;
}

.hero .pill {
    margin: 0 auto 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--primary-bright);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.05);
}

.hero h1 { 
    font-size: clamp(38px, 5.5vw, 68px); 
    letter-spacing: -0.04em; 
    line-height: 1.15;
    margin: 18px auto 24px;
    max-width: 900px;
}

.hero .lead { 
    font-size: 19px; 
    color: var(--text-soft); 
    margin: 0 auto 36px; 
    line-height: 1.65; 
    max-width: 720px;
}

.hero-ctas { 
    display: flex; 
    gap: 16px; 
    justify-content: center;
    margin-bottom: 32px;
}

.hero-meta {
    display: flex; 
    gap: 28px; 
    justify-content: center;
    color: var(--text-muted); 
    font-size: 12.5px;
    font-family: var(--font-mono);
    margin-bottom: 60px;
}

.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--accent); }

/* Mockup Container & Glowing Auras */
.mockup-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.mockup-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.45;
    pointer-events: none;
}

.mockup-glow.glow-1 {
    background: rgba(37, 99, 235, 0.2);
    top: 10%;
    left: 10%;
}

.mockup-glow.glow-2 {
    background: rgba(16, 185, 129, 0.15);
    bottom: 10%;
    right: 10%;
}

.board-wrap {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(228, 228, 231, 0.9);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01), 
                0 12px 36px rgba(9, 9, 11, 0.03), 
                0 32px 64px rgba(9, 9, 11, 0.06);
    position: relative;
    backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease-out);
}

.board-wrap:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01), 
                0 16px 48px rgba(37, 99, 235, 0.06), 
                0 48px 96px rgba(9, 9, 11, 0.08);
}

/* Simulated browser window bar controls */
.board-wrap::before {
    content: "";
    position: absolute; top: 12px; left: 16px;
    width: 32px; height: 8px;
    background-image: radial-gradient(#ef4444 3px, transparent 3px),
                      radial-gradient(#eab308 3px, transparent 3px),
                      radial-gradient(#22c55e 3px, transparent 3px);
    background-size: 10px 10px;
    background-position: 0px 0px, 11px 0px, 22px 0px;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.board {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 14px;
    margin-top: 10px;
}
.board-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 2px 2px 10px;
    border-bottom: 1px solid var(--border-strong);
    margin-bottom: 10px;
}
.board-title {
    font-size: 12px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 6px;
    font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em;
}
.board-title .live {
    width: 6px; height: 6px; border-radius: 50%; background: var(--primary-bright);
}
.board-stats { display: flex; gap: 10px; font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.board-stats strong { color: var(--text); }

.board-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.board-col {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    min-height: 250px;
}
.col-head {
    font-size: 10px; font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.col-count {
    background: #f1f5f9;
    color: var(--text-soft);
    padding: 1px 5px; border-radius: 3px; font-size: 9.5px;
    border: 1px solid var(--border);
}
.task-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 6px;
    font-size: 11.5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.2s var(--ease-out);
}
.task-card:hover { border-color: var(--border-strong); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.task-card .ticket-id { color: var(--primary-bright); font-weight: 500; font-size: 10px; font-family: var(--font-mono); }
.task-card .task-title { color: var(--text); margin: 3px 0 6px; font-weight: 500; line-height: 1.35; }
.task-card .task-meta { display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; color: var(--text-muted); }
.avatar {
    width: 18px; height: 18px; border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid var(--border-strong);
    color: var(--text); font-size: 9px; font-weight: 700;
    display: inline-grid; place-items: center;
    font-family: var(--font-mono);
}
.tag { padding: 1px 5px; border-radius: 3px; font-size: 9px; font-weight: 500; font-family: var(--font-mono); text-transform: lowercase; }
.tag-bug { background: rgba(239, 68, 68, 0.06); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.12); }
.tag-req { background: rgba(59, 130, 246, 0.06); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.12); }
.tag-q   { background: rgba(245, 158, 11, 0.06); color: #ea580c; border: 1px solid rgba(245, 158, 11, 0.12); }

/* ============================================================
   Bento Stat Cards
   ============================================================ */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 64px;
}
.stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(9, 9, 11, 0.02);
    transition: all 0.3s var(--ease-out);
}
.stat:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03), 0 20px 48px rgba(9, 9, 11, 0.08);
}
.stat .num {
    font-size: 38px; font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.04em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.stat .lbl { color: var(--text-soft); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); }

/* ============================================================
   Scroll reveal (Clean smooth fade)
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal[data-stagger] > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal[data-stagger].in > * { opacity: 1; transform: translateY(0); }
.reveal[data-stagger].in > *:nth-child(1)  { transition-delay: .04s; }
.reveal[data-stagger].in > *:nth-child(2)  { transition-delay: .08s; }
.reveal[data-stagger].in > *:nth-child(3)  { transition-delay: .12s; }
.reveal[data-stagger].in > *:nth-child(4)  { transition-delay: .16s; }
.reveal[data-stagger].in > *:nth-child(5)  { transition-delay: .20s; }
.reveal[data-stagger].in > *:nth-child(6)  { transition-delay: .24s; }
.reveal[data-stagger].in > *:nth-child(7)  { transition-delay: .28s; }

/* ============================================================
   Sections
   ============================================================ */

.section { padding: 90px 0; position: relative; border-top: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .pill { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 16px; color: var(--text-soft); }

/* ============================================================
   Bento Cards
   ============================================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(9, 9, 11, 0.02);
    transition: all 0.3s var(--ease-out);
}
.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03), 0 20px 48px rgba(9, 9, 11, 0.08);
}

/* ============================================================
   Trust marquee
   ============================================================ */

.trust { padding: 48px 0 60px; text-align: center; border-top: 1px solid var(--border); }
.trust-label {
    color: var(--text-muted); font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px;
    font-family: var(--font-mono);
}
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
.marquee-track {
    display: flex; gap: 72px;
    animation: marquee 32s linear infinite;
    width: max-content;
}
.trust-logo {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 20px;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.trust-logo:hover { color: var(--primary-bright); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Asymmetric Bento Features Grid
   ============================================================ */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (min-width: 1001px) {
    .features .card:nth-child(1) { grid-column: span 2; }
    .features .card:nth-child(2) { grid-column: span 1; }
    .features .card:nth-child(3) { grid-column: span 1; }
    .features .card:nth-child(4) { grid-column: span 2; }
    .features .card:nth-child(5) { grid-column: span 2; }
    .features .card:nth-child(6) { grid-column: span 1; }
    .features .card:nth-child(7) { grid-column: span 1; }
    .features .card:nth-child(8) { grid-column: span 2; }
    .features .card:nth-child(9) { grid-column: span 3; }
}

.feature-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--border-strong);
    color: var(--primary-bright);
    display: grid; place-items: center;
    margin-bottom: 20px;
    transition: all 0.25s var(--ease-out);
}
.feature-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.card:hover .feature-icon { border-color: var(--primary-bright); color: #ffffff; background: var(--primary-bright); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 14px; line-height: 1.6; color: var(--text-soft); }

/* ============================================================
   Bento Integrations Grid
   ============================================================ */

.integ-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.integ-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(9, 9, 11, 0.02);
    transition: all 0.3s var(--ease-out);
}
.integ-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03), 0 20px 48px rgba(9, 9, 11, 0.08);
}
.integ-card.featured {
    background: var(--bg-elev);
    border-color: var(--border-strong);
}
.integ-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.integ-logo .mark {
    width: 38px; height: 38px; border-radius: 8px;
    background: var(--text);
    color: var(--bg-elev);
    display: grid; place-items: center;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.integ-tag {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    background: #f1f5f9; color: var(--text-soft);
    font-size: 10px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
    font-family: var(--font-mono); border: 1px solid var(--border);
}
.integ-card.featured .integ-tag { background: rgba(37, 99, 235, 0.06); color: var(--primary-bright); border-color: rgba(37, 99, 235, 0.15); }
.integ-card h3 { margin-bottom: 8px; font-size: 20px; }
.integ-card p { margin-bottom: 16px; font-size: 14px; }

/* Custom Circular Checklist Styles */
.price li::before, .integ-list li::before {
    content: "";
    width: 20px; height: 20px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.integ-list { list-style: none; padding: 0; margin: 18px 0 0; }
.integ-list li {
    padding: 6px 0; display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; color: var(--text-soft);
}

@media (min-width: 1001px) {
    .integ-grid .integ-card:nth-child(1) { grid-column: span 2; }
    .integ-grid .integ-card:nth-child(2) { grid-column: span 1; }
    .integ-grid .integ-card:nth-child(3) {
        grid-column: span 3;
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
        gap: 32px;
    }
    .integ-grid .integ-card:nth-child(3) h3 { margin: 0; }
    .integ-grid .integ-card:nth-child(3) p { margin: 0; }
}

/* ============================================================
   Bento Pricing Cards
   ============================================================ */

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(9, 9, 11, 0.02);
    transition: all 0.3s var(--ease-out);
}
.price:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03), 0 20px 48px rgba(9, 9, 11, 0.08);
}
.price.featured {
    border: 2px solid var(--primary-bright);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.1);
}
.price .ribbon {
    position: absolute; top: 16px; right: 16px;
    background: var(--primary-bright);
    color: #ffffff;
    padding: 3px 10px; border-radius: 4px;
    font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    font-family: var(--font-mono);
}
.price h3 { font-size: 20px; margin-bottom: 6px; }
.price .price-amount { font-size: 46px; font-weight: 800; margin: 16px 0 4px; line-height: 1; letter-spacing: -0.04em; font-family: 'Plus Jakarta Sans', sans-serif; }
.price .price-amount small { font-size: 15px; color: var(--text-soft); font-weight: 400; letter-spacing: 0; }
.price .price-sub { color: var(--text-muted); font-size: 13.5px; margin-bottom: 20px; }
.price ul { list-style: none; padding: 0; margin: 20px 0; flex: 1; }
.price li { padding: 7px 0; font-size: 13.5px; display: flex; align-items: center; gap: 10px; color: var(--text-soft); }

.price li.no { color: var(--text-muted); opacity: 0.5; }
.price li.no::before {
    background-color: rgba(108, 104, 140, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}
.price .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ============================================================
   Bento FAQ Layout
   ============================================================ */

.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
    transition: all .25s var(--ease-out);
}
.faq-item.open { border-color: var(--border-strong); background: var(--bg-card-hover); }
.faq-q {
    width: 100%; padding: 18px 24px;
    background: transparent; border: none; text-align: left;
    font-weight: 600; font-size: 15px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-family: inherit; color: var(--text);
    transition: color 0.2s ease;
}
.faq-q:hover { color: var(--primary-bright); }
.faq-q .toggle {
    font-size: 18px; color: var(--primary-bright);
    font-family: var(--font-mono);
    transition: transform .25s var(--ease-out);
    flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .toggle { transform: rotate(45deg); color: var(--text); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease-out);
}
.faq-a-inner { padding: 0 24px 18px; color: var(--text-soft); font-size: 14.5px; line-height: 1.65; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================================
   Bento CTA Banner
   ============================================================ */

.cta-banner {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0fdf4 100%);
    border: 1px solid #c7d2fe;
    padding: 72px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    color: #1e1b4b;
}
.cta-banner h2 { color: #1e1b4b; margin-bottom: 12px; }
.cta-banner p { color: #312e81; max-width: 540px; margin: 0 auto 28px; font-size: 16px; }
.cta-banner .btn { background: #18181b; color: #ffffff; border-color: #18181b; }
.cta-banner .btn:hover { background: #27272a; border-color: #27272a; }

/* ============================================================
   Footer
   ============================================================ */

footer {
    position: relative;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
    margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-muted); font-size: 13.5px; margin: 14px 0 20px; max-width: 280px; }
.socials { display: flex; gap: 8px; }
.socials a {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: grid; place-items: center; color: var(--text-soft);
    transition: all 0.2s ease;
}
.socials a:hover { background: var(--bg-card-hover); color: var(--primary-bright); border-color: var(--primary-bright); }
.footer-col h4 {
    color: var(--text); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
    font-family: var(--font-mono);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 13.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--primary-bright); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center; font-size: 13px; color: var(--text-muted);
}

/* ============================================================
   Page Hero (Sub-pages)
   ============================================================ */

.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
}
.page-hero .pill { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); }
.page-hero p { font-size: 17px; max-width: 580px; margin: 14px auto 0; color: var(--text-soft); }

/* ============================================================
   Bento Docs Layout
   ============================================================ */

.docs-content h2 { margin: 36px 0 14px; font-size: 28px; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { margin: 24px 0 10px; font-size: 20px; }
.docs-content p, .docs-content li { margin-bottom: 12px; color: var(--text-soft); font-size: 14.5px; line-height: 1.65; }
.docs-content ul, .docs-content ol { margin: 12px 0 16px 20px; }
.code {
    background: #f8fafc;
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 16px 20px; border-radius: var(--radius);
    font-family: var(--font-mono); font-size: 13px;
    overflow-x: auto; margin: 12px 0 20px; line-height: 1.6;
}
.code .c-kw { color: #d97706; } .code .c-str { color: #059669; } .code .c-fn { color: #2563eb; }
.callout {
    background: #f0f9ff;
    border-left: 3px solid var(--primary-bright);
    padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
    margin: 16px 0;
    border-top: 1px solid #bae6fd;
    border-right: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
}
.callout p { color: #0369a1; margin: 0; font-size: 14px; }

/* ============================================================
   Bento Contact Layout
   ============================================================ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.contact-card, .form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.contact-list { list-style: none; padding: 0; margin-top: 20px; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-list .icon {
    width: 36px; height: 36px; border-radius: 6px;
    background: #f8fafc;
    color: var(--primary-bright);
    display: grid; place-items: center; flex-shrink: 0;
    border: 1px solid var(--border-strong);
}
.contact-list strong { display: block; color: var(--text); margin-bottom: 2px; font-size: 14px; }
.contact-list span { color: var(--text-soft); font-size: 13.5px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 6px; color: var(--text); font-family: var(--font-mono); text-transform: uppercase; }
.form input, .form select, .form textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elev);
    font-family: inherit; font-size: 14px;
    color: var(--text); margin-bottom: 14px;
    transition: all 0.2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none; border-color: var(--primary-bright);
    box-shadow: 0 0 0 1px var(--primary-bright);
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-muted); }
.form textarea { resize: vertical; min-height: 110px; }
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.contact-cards-grid .contact-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-cards-grid .contact-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 1px solid var(--border-strong);
    color: var(--primary-bright);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.contact-cards-grid .contact-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}
.contact-cards-grid .contact-card p {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.6;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
}

/* ============================================================
   Scroll progress bar
   ============================================================ */

.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2.5px;
    background: var(--primary-bright);
    z-index: 200;
    transform-origin: 0 50%;
    transform: scaleX(0);
    transition: transform .05s linear;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1000px) {
    .hero-grid, .features, .pricing-grid, .integ-grid, .contact-grid, .docs-grid, .contact-cards-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; gap: 16px; }
    .nav-links a:not(.btn) { display: none; }
    .hero { padding: 120px 0 40px; }
    .hero-grid > .reveal:first-child { padding: 32px; }
    .section { padding: 60px 0; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .form .row { grid-template-columns: 1fr; }
    .board-cols { grid-template-columns: 1fr 1fr; }
    .pricing-grid { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Docs Sidebar Layout (Deskuss-Style)
   ============================================================ */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: calc(100vh - 80px);
    margin-top: 80px; /* Offset for fixed nav */
}
.docs-content {
    padding: 48px 56px;
    max-width: 900px;
}
.docs-content h1 {
    font-size: 2.25rem;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}
.docs-content .subtitle {
    color: var(--text-soft);
    font-size: 17px;
    margin-bottom: 40px;
}
.docs-content h2 {
    font-size: 1.625rem;
    margin: 48px 0 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}
.docs-content h3 {
    font-size: 1.25rem;
    margin: 28px 0 10px;
}
.docs-content p {
    margin-bottom: 16px;
    color: var(--text-soft);
}
.docs-content ul, .docs-content ol {
    margin: 0 0 20px 24px;
}
.docs-content li {
    margin-bottom: 8px;
    color: var(--text-soft);
}
.docs-content code {
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13.5px;
    color: #e11d48; /* Red highlight */
    font-family: var(--font-mono);
}
.docs-content pre {
    background: var(--text);
    color: #f1f5f9;
    padding: 20px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 20px 0;
    font-size: 14px;
    font-family: var(--font-mono);
    border: 1px solid var(--border-strong);
}
.docs-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}
.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}
.docs-content th, .docs-content td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.docs-content th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text);
}
.docs-content td {
    color: var(--text-soft);
}

.docs-content .callout {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-bright);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 14px;
    color: var(--text-soft);
}
.docs-content .callout strong {
    color: var(--text);
}

/* Responsive Docs */
@media (max-width: 800px) {
    .docs-layout {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }
    .docs-content {
        padding: 32px 24px;
    }
}

/* ============================================================
   Comparison Table & Feature Badges
   ============================================================ */
.compare-wrap {
    overflow-x: auto;
    margin: 40px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.compare-table th, .compare-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.compare-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.compare-table tr:last-child td {
    border-bottom: none;
}
.compare-table td:nth-child(2), .compare-table td:nth-child(3), .compare-table th:nth-child(2), .compare-table th:nth-child(3) {
    text-align: center;
    width: 180px;
}
.badge-free {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #e2e8f0;
    color: #334155;
}
.badge-pro {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.check-yes {
    color: #10b981;
    font-weight: 700;
    font-size: 18px;
}
.check-no {
    color: #cbd5e1;
    font-weight: 400;
    font-size: 18px;
}

/* ============================================================
   Docs components (overview cards, stat tiles, keys, tables)
   ============================================================ */
.docs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; }
.docs-stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; }
.docs-stat__title { font-size: 1.125rem; font-weight: 800; margin-bottom: 6px; }
.docs-stat p { font-size: 0.875rem; margin: 0; line-height: 1.5; }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 48px; }
.docs-card { display: block; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; background: var(--bg-card); color: inherit; text-decoration: none; transition: border-color .25s var(--ease-out), transform .25s var(--ease-out); }
.docs-card:hover { border-color: var(--primary-bright); transform: translateY(-2px); }
.docs-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.docs-card p { font-size: 0.875rem; line-height: 1.5; margin: 0; }
.docs-content kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 4px; background: var(--bg-card); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--text); }
.docs-content td code, .docs-content li code { white-space: nowrap; }
.docs-content a:not(.docs-card) { color: var(--primary-bright); text-decoration: underline; text-underline-offset: 2px; }
.docs-content ul ul { margin: 8px 0 4px 20px; }
.docs-content h2[id], .docs-content h3[id] { scroll-margin-top: 100px; }
@media (max-width: 800px) {
    .docs-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .docs-content td code, .docs-content li code { white-space: normal; word-break: break-word; }
}

/* Four-plan pricing grid */
.pricing-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .pricing-grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Real product screenshots
   ============================================================ */
.shot-frame { margin: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-card); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.28), 0 2px 6px rgba(15, 23, 42, 0.05); }
.shot-frame::before { content: ""; display: block; height: 34px; background-color: #f4f4f5; background-image: radial-gradient(circle at 18px 17px, #ff5f57 5px, transparent 5.5px), radial-gradient(circle at 36px 17px, #febc2e 5px, transparent 5.5px), radial-gradient(circle at 54px 17px, #28c840 5px, transparent 5.5px); background-repeat: no-repeat; border-bottom: 1px solid var(--border); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot-frame figcaption { padding: 10px 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.mockup-container > .shot-frame { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; }
.docs-fig { margin: 24px 0 32px; }
.docs-fig .shot-frame { box-shadow: 0 10px 30px -14px rgba(15, 23, 42, 0.25); }
.docs-fig .shot-frame::before { height: 26px; background-image: radial-gradient(circle at 14px 13px, #ff5f57 4px, transparent 4.5px), radial-gradient(circle at 28px 13px, #febc2e 4px, transparent 4.5px), radial-gradient(circle at 42px 13px, #28c840 4px, transparent 4.5px); }
.docs-fig--narrow { max-width: 560px; }
@media (max-width: 900px) {
            }

/* Tabbed product tour */
.tour-tabs { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 8px; }
.tour-nav { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.tour-tab { appearance: none; display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--text-soft); font: inherit; cursor: pointer; }
.tour-tab:hover { background: var(--bg-card); color: var(--text); }
.tour-tab:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 2px; }
.tour-tab[aria-selected="true"] { background: var(--bg-card); border-color: var(--border-strong); color: var(--text); box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.18); }
.tour-num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #eef2ff; color: var(--primary-bright); }
.tour-tab[aria-selected="true"] .tour-num { background: var(--primary-bright); color: #fff; }
.tour-label { display: block; min-width: 0; }
.tour-label strong { display: block; font-size: 15.5px; line-height: 28px; font-weight: 600; }
.tour-label small { display: none; font-size: 13.5px; line-height: 1.55; color: var(--text-soft); font-weight: 400; margin-top: 2px; }
.tour-tab[aria-selected="true"] .tour-label small { display: block; }
.tour-stage { position: relative; min-width: 0; }
.tour-panel { position: relative; }
.tour-panel[hidden] { display: none; }
.tour-panel:not([hidden]) { animation: tour-in .35s var(--ease-out); }
.tour-panel img { cursor: zoom-in; }
.tour-cap { display: none; }
.tour-cap a { font-weight: 600; white-space: nowrap; }
.tour-zoom { position: absolute; right: 12px; top: 46px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); color: var(--text); font: 600 12.5px/1 inherit; cursor: pointer; opacity: 0; }
.tour-panel:hover .tour-zoom, .tour-zoom:focus-visible { opacity: 1; }
.tour-zoom:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 2px; }
.tour-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.tour-lightbox::backdrop { background: rgba(15, 23, 42, 0.82); backdrop-filter: blur(3px); }
.tour-lightbox img { display: block; max-width: 96vw; max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); background: #fff; }
.tour-lightbox button { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
@keyframes tour-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tour-panel:not([hidden]) { animation: none; } .tour-tab, .tour-num, .tour-zoom { transition: none; } }
@media (hover: none) { .tour-zoom { opacity: 1; } }
@media (max-width: 960px) {
    .tour-tabs { grid-template-columns: 1fr; gap: 16px; }
    .tour-nav { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .tour-nav::-webkit-scrollbar { display: none; }
    .tour-tab { width: auto; flex: none; align-items: center; padding: 8px 14px 8px 8px; border-color: var(--border-strong); border-radius: 999px; background: var(--bg-card); scroll-snap-align: start; }
    .tour-tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: #fff; box-shadow: none; }
    .tour-tab[aria-selected="true"] .tour-num { background: #fff; color: var(--text); }
    .tour-label strong { font-size: 14px; white-space: nowrap; }
    .tour-label small, .tour-tab[aria-selected="true"] .tour-label small { display: none; }
    .tour-cap { display: block; }
}

/* Buttons: no motion. State changes are instant colour changes only. */
.btn, .btn:hover, .btn:active, .magnetic { transition: none !important; transform: none !important; }

/* Docs: sidebar sub-groups and smaller figures */
.docs-fig--sm { max-width: 360px; }
.docs-fig--xs { max-width: 230px; }
.docs-fig--md { max-width: 640px; }
.docs-steps { counter-reset: step; list-style: none; margin-left: 0 !important; padding: 0; }
.docs-steps > li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 18px; }
.docs-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-bright); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.docs-pro-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: #eef2ff; color: var(--primary-bright); vertical-align: middle; margin-left: 6px; }
.docs-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; align-items: start; }

/* ============================================================
   Docs sidebar: simple, compact, sticky
   ============================================================ */
.docs-sidebar { position: sticky; top: 80px; align-self: start; height: calc(100vh - 80px); overflow-y: auto; overscroll-behavior: contain; padding: 24px 12px 40px 24px; border-right: 1px solid var(--border); background: var(--bg-card); scrollbar-width: thin; }
.docs-home { display: block; font: 800 16px/1.2 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; color: var(--text); margin: 0 0 18px 10px; }
.docs-group { margin: 0 0 6px; }
.docs-label { font: 700 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 18px 0 8px 10px; }
.docs-group > summary, .docs-group__title { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; margin-right: 8px; border-radius: 6px; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer; list-style: none; }
.docs-group__title { cursor: default; }
.docs-group > summary::-webkit-details-marker { display: none; }
.docs-group > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(-45deg); margin-right: 4px; }
.docs-group[open] > summary::after { transform: rotate(45deg); }
.docs-group > summary:hover { background: var(--bg); }
.docs-group > summary:focus-visible, .docs-sidebar a:focus-visible { outline: 2px solid var(--primary-bright); outline-offset: 1px; }
.docs-group ul { list-style: none; margin: 0 0 6px; padding: 0; }
.docs-group li { margin: 0; }
.docs-group li a { display: block; margin-right: 8px; padding: 5px 10px 5px 18px; border-radius: 6px; font-size: 13.5px; line-height: 1.4; color: var(--text-soft); }
.docs-group li a:hover { background: var(--bg); color: var(--text); }
.docs-group li a.active { background: rgba(37, 99, 235, 0.08); color: var(--primary-bright); font-weight: 600; }
@media (max-width: 800px) {
    .docs-sidebar { position: static; height: auto; overflow: visible; padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--border); }
    .docs-home { margin-bottom: 8px; }
}
