/* =========================================================
   TANNAH — Landing MOBILE  (≤ 900px)
   Matches desktop look. No overlaps. Buttons work.
   ========================================================= */

/* 01. TOKENS */
.landing {
    --ink:        #111827;
    --text:       #1f2937;
    --muted:      #6b7280;
    --soft:       #9ca3af;
    --line:       #e5e7eb;
    --bg:         #fdfbf7;
    --accent:     #ea580c;
    --accent-2:   #c2410c;
    --accent-soft:#fff1e8;
    --accent-line:#fed7aa;
    --dark-1:     #1e293b;
    --dark-2:     #0f1720;
    --dark-3:     #0a0d14;
    --ease:       cubic-bezier(0.19, 1, 0.22, 1);
}
html[data-theme="dark"] .landing {
    --ink:        #f4f6fa;
    --text:       #d5d9e1;
    --muted:      #9aa1ae;
    --soft:       #6b7280;
    --line:       #262932;
    --bg:         #0a0b0f;
    --accent-soft:rgba(234,88,12,.14);
}

/* 02. GLOBAL */
html, body { background: var(--bg); overflow-x: hidden; width: 100%; max-width: 100vw; }
.landing, .landing *, .landing *::before, .landing *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
.landing {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg) !important;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
.landing h1, .landing h2, .landing h3, .landing h4 {
    margin: 0; font-weight: 800; letter-spacing: -.03em;
    color: var(--ink); line-height: 1.08;
}
.landing p { margin: 0; }
.landing a { color: inherit; text-decoration: none; }
.landing img, .landing svg { display: block; max-width: 100%; }

/* Kill every desktop-only decorative layer */
.landing .dimension-bg,
.landing .dimension-vignette,
.landing .dark-shade,
.landing .trace-field,
.landing .trace-divider,
.landing .hero-grid,
.landing .hero-spotlight,
.landing .hv-lines,
.landing .hv-pin,
.landing .hv-pin-dot,
.landing .hv-pin-label,
.landing .click-ripple,
.landing .click-ripple-2,
.landing .click-glow,
.landing .btn-ripple,
.landing .mobile-progress,
.landing .touch-ripple {
    display: none !important;
}

/* Sections reset to simple blocks */
.landing section {
    padding: 64px 18px !important;
    min-height: auto !important;
    display: block !important;
    position: relative;
}
.landing .section-inner,
.landing .hero-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* =========================================================
   03. NAV — fixed, on top, high z-index, glass
   ========================================================= */
.landing .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(253,251,247,.86);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s;
    pointer-events: auto !important;
}
html[data-theme="dark"] .landing .nav { background: rgba(10,11,15,.86); }
.landing .nav.nav-scrolled { border-bottom-color: var(--line); }

.landing .nav-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 62px;
    max-width: 100% !important;
    padding: 0 18px !important;
    position: relative;
    z-index: 2;
    pointer-events: auto !important;
}
.landing .nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    flex-shrink: 0;
    pointer-events: auto !important;
}
.landing .nav-mark {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(234,88,12,.55);
    flex-shrink: 0;
}
.landing .nav-mark svg { width: 22px; height: 22px; }
.landing .nav-wordmark { font-size: 16px; font-weight: 800; letter-spacing: .08em; color: var(--ink); }

/* Desktop menu hidden on mobile */
.landing .nav-links { display: none !important; }

/* Login pill — BLACK background, WHITE text (fixed) */
.landing .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    background: #111827 !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(17,24,39,.15), 0 6px 16px -6px rgba(17,24,39,.30);
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto !important;
    position: relative;
    z-index: 3;
    -webkit-appearance: none;
    appearance: none;
}
.landing .nav-cta:active { background: var(--accent) !important; transform: scale(.96); }
.landing .nav-cta svg { display: none !important; }
.landing .nav-cta > span {
    display: inline-block;
    font-size: 0 !important;
    line-height: 0 !important;
    color: #ffffff !important;
}
.landing .nav-cta > span::before {
    content: "Login";
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    color: #ffffff !important;
    letter-spacing: -.01em;
}

/* Hamburger */
.landing .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px; height: 38px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: auto !important;
    position: relative;
    z-index: 3;
    -webkit-appearance: none;
    appearance: none;
}
.landing .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s, opacity .2s, width .25s;
}
.landing .nav-toggle span:nth-child(1) { width: 20px; }
.landing .nav-toggle span:nth-child(2) { width: 14px; }
.landing .nav-toggle span:nth-child(3) { width: 20px; }
.landing .nav-toggle.nav-toggle-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 20px; }
.landing .nav-toggle.nav-toggle-open span:nth-child(2) { opacity: 0; width: 0; }
.landing .nav-toggle.nav-toggle-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }

/* Drawer — sits BELOW the bar, above content */
.landing .nav .nav-links.nav-links-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: calc(70px + env(safe-area-inset-top, 0px));
    left: 12px; right: 12px;
    z-index: 9998;
    padding: 10px;
    gap: 2px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(17,24,39,.28);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: drawerIn .22s var(--ease);
    pointer-events: auto !important;
}
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.landing .nav .nav-links a {
    display: block;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    pointer-events: auto !important;
}
.landing .nav .nav-links a:active { background: var(--accent-soft); color: var(--accent); }
.landing .nav .nav-links a.nav-signup {
    margin-top: 6px;
    background: var(--accent) !important;
    color: #ffffff !important;
    font-weight: 600;
    text-align: center;
}

/* =========================================================
   04. HERO
   ========================================================= */
.landing .hero {
    padding: calc(96px + env(safe-area-inset-top, 0px)) 18px 56px !important;
    background: linear-gradient(180deg, #fdfbf7 0px, #fff4e8 100%) !important;
    overflow: hidden;
}
html[data-theme="dark"] .landing .hero {
    background: linear-gradient(180deg, #0a0b0f 0px, #161a23 100%) !important;
}

.landing .hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.landing .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,241,232,.7);
    border: 1px solid var(--accent-line);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
}
.landing .hero-eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
}

.landing .hero-title {
    font-size: clamp(30px, 9vw, 42px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    color: var(--ink);
    margin: 0;
}
.landing .hero-sub {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
}

.landing .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Buttons — explicit colors, no ambiguity */
.landing .btn-hero {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 54px;
    padding: 15px 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    pointer-events: auto !important;
    position: relative;
    z-index: 1;
    transition: transform .15s, background .15s, box-shadow .15s, border-color .15s, color .15s;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
}
.landing .btn-hero:active { transform: scale(.975); }
.landing .btn-hero svg { width: 16px; height: 16px; flex-shrink: 0; }

.landing .btn-hero-primary {
    background: #ea580c !important;
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(234,88,12,.25), 0 10px 24px -10px rgba(234,88,12,.55);
}
.landing .btn-hero-primary:active { background: #c2410c !important; }

.landing .btn-hero-ghost {
    background: rgba(255,255,255,.7) !important;
    color: #111827 !important;
    border-color: var(--line) !important;
    box-shadow: 0 1px 2px rgba(17,24,39,.04);
}
.landing .btn-hero-ghost:active {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}
.landing .btn-hero-lg { min-height: 56px; }

/* Meta — plain inline items, NOT clickable-looking */
.landing .hero-meta {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 4px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}
.landing .hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none !important;
}
.landing .hero-meta-item strong { font-size: 13px; font-weight: 700; color: var(--ink); }
.landing .hero-meta-item span { font-size: 11px; color: var(--muted); }
.landing .hero-meta-sep { width: 1px; height: 24px; background: var(--line); }

/* Hero visual — 3 static glass cards in a grid, no absolute overlap */
.landing .hero-visual {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: static !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    perspective: none !important;
    transform: none !important;
    opacity: 1 !important;
    overflow: visible;
}
.landing .hv-card {
    position: static !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    transform: none !important;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(17,24,39,.06), 0 30px 60px -30px rgba(17,24,39,.28);
    opacity: 1 !important;
}
.landing .hv-card-main {
    grid-column: 1 / -1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.landing .hv-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.landing .hv-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.landing .hv-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.landing .hv-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
}
.landing .hv-bars span {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(234,88,12,.32) 100%);
    min-height: 8px;
}
.landing .hv-bars span:nth-child(6) {
    background: linear-gradient(180deg, #f59e0b 0%, rgba(245,158,11,.4) 100%);
}
.landing .hv-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    min-width: 0;
}
.landing .hv-card-foot span { font-size: 12px; color: var(--muted); }
.landing .hv-card-foot strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

.landing .hv-card-mini {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.landing .hv-mini-label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.2;
}
.landing .hv-mini-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.landing .hv-mini-trend {
    font-size: 11px;
    color: #16a34a;
    font-weight: 500;
    line-height: 1.3;
}
.landing .hv-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}
.landing .hv-dots span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .85;
}
.landing .hv-dots span:nth-child(2n) { background: #f59e0b; }

/* =========================================================
   05. STATEMENT
   ========================================================= */
.landing .statement {
    background: linear-gradient(180deg, #fff4e8 0px, #e8eef5 100%) !important;
}
html[data-theme="dark"] .landing .statement {
    background: linear-gradient(180deg, #161a23 0px, #1a1d24 100%) !important;
}
.landing .statement-title {
    font-size: clamp(26px, 7.5vw, 38px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    color: var(--ink);
}
.landing .statement-sub {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--muted);
}

/* =========================================================
   06. CONSOLE
   ========================================================= */
.landing .console {
    background: linear-gradient(180deg, #e8eef5 0px, #f5f6f8 100%) !important;
    padding-top: 56px !important;
}
html[data-theme="dark"] .landing .console {
    background: linear-gradient(180deg, #1a1d24 0px, #14161c 100%) !important;
}
.landing .console-title {
    font-size: clamp(24px, 7vw, 32px);
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
    margin-bottom: 14px;
}
.landing .console-sub {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 28px;
}

.landing .console-frame {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    perspective: none !important;
    transform: none !important;
    opacity: 1 !important;
}
.landing .console-frame-inner {
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    transform: none !important;
    opacity: 1 !important;
}
.landing .cf-sidebar,
.landing .cf-topbar,
.landing .cf-rows { display: none !important; }
.landing .cf-main {
    display: flex !important;
    flex-direction: column;
    gap: 10px !important;
    padding: 0 !important;
}
.landing .cf-stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}
.landing .cf-stat {
    padding: 16px 18px !important;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 20px 40px -30px rgba(17,24,39,.2);
    display: flex !important;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.landing .cf-stat span {
    order: 1;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.landing .cf-stat strong {
    order: 2;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}
.landing .cf-chart {
    display: flex !important;
    align-items: flex-end;
    gap: 5px;
    height: 110px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 20px 40px -30px rgba(17,24,39,.2);
}
.landing .cf-chart span {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(234,88,12,.28) 100%);
    min-height: 8px;
}
.landing .cf-chart span:nth-child(6),
.landing .cf-chart span:nth-child(10) {
    background: linear-gradient(180deg, #f59e0b 0%, rgba(245,158,11,.35) 100%);
}

/* =========================================================
   07. SHOWCASE — every visual is a self-contained box
   ========================================================= */
.landing .showcase {
    display: flex !important;
    flex-direction: column;
    gap: 22px;
    padding: 64px 18px !important;
    background: linear-gradient(180deg, #f5f6f8 0px, #ffffff 100%) !important;
}
html[data-theme="dark"] .landing .showcase {
    background: linear-gradient(180deg, #14161c 0px, #0a0b0f 100%) !important;
}

.landing .showcase-pin {
    display: block !important;
    position: static !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    opacity: 1 !important;
    transform: none !important;
}
.landing .showcase-sticky {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    width: 100%;
    padding: 22px !important;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 40px 80px -60px rgba(17,24,39,.32);
    position: static !important;
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    transform: none !important;
    opacity: 1 !important;
}

/* Visual container: clips everything inside */
.landing .showcase-visual {
    order: 1;
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 18px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    isolation: isolate;
}
html[data-theme="dark"] .landing .showcase-visual {
    background: linear-gradient(180deg, #1a1d24 0%, #14161c 100%);
}

.landing .showcase-copy {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    opacity: 1 !important;
    transform: none !important;
}
.landing .showcase-num {
    display: inline-block;
    width: fit-content;
    padding: 5px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--accent);
    background: rgba(255,241,232,.7);
    border-radius: 999px;
}
.landing .showcase-title {
    font-size: clamp(24px, 7vw, 32px);
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
    line-height: 1.08;
}
.landing .showcase-beat {
    padding-left: 16px;
    position: relative;
    opacity: 1 !important;
}
.landing .showcase-beat::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.landing .showcase-beat h4 {
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink);
    margin-bottom: 5px;
}
.landing .showcase-beat p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

/* --- 07a. Phone visual --- */
.landing .showcase-visual-field {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.landing .sv-phone {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    padding: 10px;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 30px;
    box-shadow: 0 40px 80px -40px rgba(17,24,39,.55);
}
.landing .sv-phone-screen {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.landing .sv-checkin {
    background: #f7f8fa;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.landing .sv-checkin-photo {
    height: 90px;
    border-radius: 8px;
    margin-bottom: 4px;
    background:
        linear-gradient(135deg, rgba(234,88,12,.28), rgba(245,158,11,.20)),
        repeating-linear-gradient(45deg, rgba(17,24,39,.03) 0 6px, transparent 6px 12px);
}
.landing .sv-checkin-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: var(--muted);
    min-width: 0;
}
.landing .sv-checkin-meta strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.landing .sv-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    flex-shrink: 0;
}
.landing .sv-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
}
.landing .sv-dot.ok { background: #16a34a; }
.landing .sv-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.landing .sv-photo-grid div {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(234,88,12,.15), rgba(245,158,11,.10));
}
.landing .sv-photo-grid div:nth-child(2) {
    background: linear-gradient(135deg, #fde3cf, #f8c9a4);
}
.landing .sv-photo-grid div:nth-child(3) {
    background: linear-gradient(135deg, #d6e7dc, #b4d2c0);
}

/* FIXED: no longer absolute, sits under the phone */
.landing .sv-pin-float {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 10px 30px -10px rgba(17,24,39,.18);
    transform: none !important;
}
.landing .sv-pin-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(234,88,12,.18);
    flex-shrink: 0;
}

/* --- 07b. Map visual --- */
.landing .showcase-visual-intel {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
}
.landing .sv-map {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    overflow: hidden;
    flex-shrink: 0;
}
html[data-theme="dark"] .landing .sv-map { background: #1a1d24; }
.landing .sv-map-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(17,24,39,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,24,39,.06) 1px, transparent 1px);
    background-size: 30px 30px;
}
.landing .sv-map-pin {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 10px rgba(234,88,12,.5);
    z-index: 2;
    animation: pinPulse 2.4s ease-in-out infinite;
}
.landing .sv-map-pin.pin-1 { top: 30%; left: 30%; }
.landing .sv-map-pin.pin-2 { top: 45%; left: 55%; background: #f59e0b; animation-delay: .4s; }
.landing .sv-map-pin.pin-3 { top: 65%; left: 40%; animation-delay: .8s; }
.landing .sv-map-pin.pin-4 { top: 25%; left: 70%; animation-delay: 1.2s; }
.landing .sv-map-pin.pin-5 { top: 75%; left: 65%; background: #f59e0b; animation-delay: 1.6s; }
@keyframes pinPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
.landing .sv-map-line {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(234,88,12,.10), transparent 25%),
        radial-gradient(circle at 55% 45%, rgba(245,158,11,.10), transparent 25%),
        radial-gradient(circle at 70% 25%, rgba(234,88,12,.10), transparent 25%);
    pointer-events: none;
}

/* FIXED: no longer absolute */
.landing .sv-live-card {
    position: static !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 24px -12px rgba(17,24,39,.18);
    transform: none !important;
    inset: auto !important;
}
.landing .sv-live-card .sv-live-dot,
.landing .sv-live-dot {
    position: static !important;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: livePulse 2s ease-in-out infinite;
}
.landing .sv-live-card strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.landing .sv-live-card span {
    font-size: 11.5px;
    color: var(--muted);
}

/* --- 07c. Analytics --- */
.landing .sv-analytics {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 20px 40px -30px rgba(17,24,39,.2);
}
.landing .sv-an-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.landing .sv-an-head span {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.landing .sv-an-head strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.landing .sv-an-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 130px;
    margin-bottom: 18px;
}
.landing .sv-an-chart span {
    flex: 1;
    height: var(--h, 50%);
    min-height: 6px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(234,88,12,.28) 100%);
}
.landing .sv-an-chart span:nth-child(7),
.landing .sv-an-chart span:nth-child(10) {
    background: linear-gradient(180deg, #f59e0b 0%, rgba(245,158,11,.35) 100%);
}
.landing .sv-an-foot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.landing .sv-an-foot > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.landing .sv-an-foot span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}
.landing .sv-an-foot strong {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.landing .sv-an-foot strong.up { color: #16a34a; }

/* --- 07d. Payroll --- */
.landing .sv-pay {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 20px 40px -30px rgba(17,24,39,.2);
}
.landing .sv-pay-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}
.landing .sv-pay-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    flex-shrink: 0;
}
.landing .sv-pay-head > div:last-child { min-width: 0; }
.landing .sv-pay-head strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
}
.landing .sv-pay-head span { font-size: 12px; color: var(--muted); }
.landing .sv-pay-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    font-size: 13.5px;
    color: var(--muted);
}
.landing .sv-pay-row strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.landing .sv-pay-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    margin-top: 6px;
}
.landing .sv-pay-total span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.landing .sv-pay-total strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}
.landing .sv-pay-btn {
    width: 100%;
    min-height: 48px;
    padding: 13px;
    background: #111827 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    pointer-events: auto !important;
    -webkit-appearance: none;
    appearance: none;
}
.landing .sv-pay-btn:active { background: var(--accent) !important; }

/* =========================================================
   08. SOLUTIONS
   ========================================================= */
.landing .solutions {
    background: linear-gradient(180deg, #ffffff 0px, #fdfbf7 100%) !important;
}
html[data-theme="dark"] .landing .solutions {
    background: linear-gradient(180deg, #0a0b0f 0px, #14161c 100%) !important;
}
.landing .section-tag {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
    padding-left: 32px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}
.landing .section-tag::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M 0 4 L 7 4 L 7 1 L 14 1 L 14 7 L 21 7 L 21 4 L 24 4' stroke='%23ea580c' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}
.landing .section-tag.is-right {
    padding-left: 0;
    padding-right: 32px;
    text-align: right;
}
.landing .section-tag.is-right::before {
    left: auto; right: 0;
}
.landing .section-title {
    font-size: clamp(24px, 7vw, 34px);
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
    margin-bottom: 14px;
    line-height: 1.08;
}
.landing .section-sub {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--muted);
}

.landing .feature-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 28px;
}
.landing .feature-card {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    padding: 24px !important;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transform: none !important;
    box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 20px 40px -30px rgba(17,24,39,.2);
    position: relative;
    overflow: hidden;
}
.landing .feature-card::before { display: none !important; }
.landing .feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.landing .feature-icon svg { width: 20px; height: 20px; }
.landing .feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink);
}
.landing .feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}
.landing .feature-card-accent {
    background: linear-gradient(160deg, #111827 0%, #2b3542 100%) !important;
    border-color: transparent !important;
}
.landing .feature-card-accent h3 { color: #ffffff !important; }
.landing .feature-card-accent p { color: rgba(255,255,255,.72) !important; }
.landing .feature-card-accent .feature-icon {
    background: rgba(255,255,255,.1) !important;
    color: var(--accent) !important;
}

/* =========================================================
   09. INDUSTRIES
   ========================================================= */
.landing .industries {
    background: linear-gradient(180deg, #fdfbf7 0px, #fdf6ec 100%) !important;
}
html[data-theme="dark"] .landing .industries {
    background: linear-gradient(180deg, #14161c 0px, #1a1d24 100%) !important;
}
.landing .industry-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 28px 0 22px;
}
.landing .industry-card {
    padding: 24px 22px !important;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transform: none !important;
    box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 20px 40px -30px rgba(17,24,39,.2);
    position: relative;
    overflow: hidden;
}
.landing .industry-card::after {
    content: "";
    position: absolute;
    left: 22px; right: 22px; bottom: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}
.landing .industry-card:active::after { transform: scaleX(1); }
.landing .industry-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--soft);
    margin-bottom: 12px;
    letter-spacing: .05em;
    display: block;
}
.landing .industry-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: 8px;
    color: var(--ink);
}
.landing .industry-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}
.landing .industry-cta { text-align: center; }

/* =========================================================
   10. NUMBERS — dark band, 2×2
   ========================================================= */
.landing .numbers {
    background: var(--dark-1) !important;
    padding: 72px 18px !important;
    color: #ffffff;
}
.landing .numbers-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
}
.landing .number-block {
    text-align: center;
    padding: 22px 8px !important;
    border-right: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
    opacity: 1 !important;
    transform: none !important;
}
.landing .number-block:nth-child(2n) { border-right: none; }
.landing .number-block:nth-child(n+3) { border-bottom: none; }
.landing .number-block strong {
    display: block;
    font-size: clamp(26px, 7vw, 36px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1;
    color: #ffffff;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}
.landing .number-block span {
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    font-weight: 500;
}

/* =========================================================
   11. HOW — deep dark
   ========================================================= */
.landing .how {
    background: var(--dark-2) !important;
    padding: 72px 18px !important;
    color: #ffffff;
}
.landing .how .section-title { color: #ffffff; }
.landing .how .section-sub { color: rgba(255,255,255,.72); }
.landing .how-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 28px;
}
.landing .how-step {
    padding: 22px 20px !important;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    transform: none !important;
    opacity: 1 !important;
    position: relative;
    overflow: hidden;
}
.landing .how-step::before {
    content: "";
    position: absolute;
    top: 0; left: 20px; right: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 0 0 2px 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--ease);
}
.landing .how-step:active::before { transform: scaleX(1); }
.landing .how-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .06em;
    margin-bottom: 12px;
    display: block;
}
.landing .how-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.landing .how-step p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,.72);
}

/* =========================================================
   12. CONTACT — deepest dark
   ========================================================= */
.landing .contact,
.landing .contact-dark {
    background: var(--dark-3) !important;
    padding: 72px 18px !important;
    color: #ffffff;
}
.landing .contact .section-title,
.landing .contact-dark .section-title { color: #ffffff; }
.landing .contact .section-sub,
.landing .contact-dark .section-sub { color: rgba(255,255,255,.72); }

.landing .contact-inner {
    display: flex !important;
    flex-direction: column;
    gap: 28px;
    margin-top: 26px;
    transform: none !important;
    opacity: 1 !important;
}
.landing .contact-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: none !important;
    opacity: 1 !important;
}
.landing .contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    width: fit-content;
    max-width: 100%;
    padding: 12px 18px;
    background: rgba(234,88,12,.14);
    border: 1px solid rgba(234,88,12,.38);
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    pointer-events: auto !important;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.landing .contact-email:active { background: rgba(234,88,12,.22); }

.landing .contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: none !important;
    opacity: 1 !important;
}
.landing .contact-dark .btn-hero-primary {
    background: #ea580c !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px -10px rgba(234,88,12,.7);
}
.landing .contact-dark .btn-hero-ghost {
    background: rgba(255,255,255,.04) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.16) !important;
    box-shadow: none;
}

/* =========================================================
   13. FOOTER
   ========================================================= */
.landing .footer {
    background: var(--dark-3) !important;
    color: rgba(255,255,255,.72);
    padding: 56px 18px 32px !important;
}
.landing .footer-inner {
    display: flex !important;
    flex-direction: column;
    gap: 32px;
}
.landing .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}
.landing .footer-brand .nav-brand { margin-right: 0; }
.landing .footer-brand .nav-mark { background: var(--accent); }
.landing .footer-brand .nav-wordmark { color: #ffffff; }
.landing .footer-tagline {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
}
.landing .footer-line {
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.6);
    max-width: 320px;
}
.landing .footer-email {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.landing .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.landing .footer-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}
.landing .footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 12px;
}
.landing .footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 13.5px;
    color: rgba(255,255,255,.75);
    cursor: pointer;
    pointer-events: auto !important;
}
.landing .footer-col a:active { color: var(--accent); }

.landing .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
    color: rgba(255,255,255,.5);
}

/* =========================================================
   14. REVEALS
   ========================================================= */
.landing [data-split="words"] .word {
    transform: none !important;
    opacity: 1 !important;
}
.landing [data-dir],
.landing [data-dir^="sweep"],
.landing [data-dir-stagger] > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
.landing [data-dir].revealed,
.landing [data-dir^="sweep"].revealed,
.landing [data-dir-stagger].revealed > * {
    opacity: 1;
    transform: translateY(0);
}
.landing [data-dir-stagger].revealed > *:nth-child(2) { transition-delay: .08s; }
.landing [data-dir-stagger].revealed > *:nth-child(3) { transition-delay: .16s; }
.landing [data-dir-stagger].revealed > *:nth-child(4) { transition-delay: .24s; }
.landing [data-dir-stagger].revealed > *:nth-child(5) { transition-delay: .32s; }
.landing [data-dir-stagger].revealed > *:nth-child(6) { transition-delay: .40s; }

/* =========================================================
   15. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .landing * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    .landing [data-dir],
    .landing [data-dir^="sweep"],
    .landing [data-dir-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================================
   16. SMALL PHONES
   ========================================================= */
@media (max-width: 360px) {
    .landing section { padding: 56px 14px !important; }
    .landing .footer-cols { grid-template-columns: 1fr; }
    .landing .sv-an-foot { grid-template-columns: 1fr 1fr; }
    .landing .sv-an-foot > div:last-child { grid-column: 1 / -1; }
}

/* =========================================================
   17. OVERFLOW GUARD
   ========================================================= */
.landing * { max-width: 100%; }