/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 4rem;
    text-align: center;
    position: relative;
    z-index: 0;
}

/* Hero section padding handled by parent section */
.section-dark .hero,
.section-hero .hero {
    padding: 0;
    min-height: auto;
}

.hero-text {
    max-width: 800px;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.75rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark-secondary);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(4, 120, 87, 0.25);
    border-radius: 999px;
    background: rgba(4, 120, 87, 0.06);
}

/* Accent span inside H1 */
.hero-accent {
    color: var(--accent-positive);
    position: relative;
    display: inline-block;
}

/* Trust chips */
.hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.hero-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark-secondary);
    line-height: 1;
}

.hero-trust-chip svg {
    color: var(--accent-dark);
    flex-shrink: 0;
}

/* Social proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-social-avatars {
    display: flex;
    align-items: center;
}

.hero-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.58rem;
    font-weight: 700;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    margin-left: -8px;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.hero-avatar:first-child {
    margin-left: 0;
}

.hero-avatar--more {
    background: var(--bg-light-elevated);
    color: var(--text-dark-secondary);
    font-size: 0.52rem;
}

.hero-social-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.hero-social-stars {
    color: #f59e0b;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    line-height: 1;
}

.hero-social-label {
    font-size: 0.78rem;
    color: var(--text-dark-secondary);
    line-height: 1.3;
}

/* Browser Frame */
.hero-visual {
    width: 100%;
    max-width: 1180px;
    perspective: 1400px;
    position: relative;
}

.browser-frame {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 28px 80px rgba(15, 23, 42, 0.18),
        0 10px 28px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.browser-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
    pointer-events: none;
    z-index: 3;
}

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: inset 0 -1px 1px rgba(15, 23, 42, 0.14);
}

.dot-red { background: var(--dot-close); }
.dot-yellow { background: var(--dot-minimize); }
.dot-green { background: var(--dot-maximize); }

.browser-address {
    flex: 1;
    max-width: 430px;
    margin: 0 auto;
    padding: 0.42rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    border: 1px solid rgba(203, 213, 225, 0.86);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.browser-content {
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light-surface);
}

.hero-visual .browser-content {
    height: clamp(340px, 47vw, 640px);
    min-height: 0;
    align-items: flex-start;
    overflow: hidden;
}

.hero-video {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: top center;
    background: var(--bg-light-surface);
}

.browser-content .hero-video + .app-mockup {
    display: none;
}

.hero-callout {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 190px;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 5px 14px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-dark);
    text-align: left;
}

.hero-callout--top {
    top: 6.6rem;
    right: -3.25rem;
}

.hero-callout--left {
    left: -3rem;
    bottom: 23%;
}

.hero-callout--right {
    right: -2rem;
    bottom: 2.2rem;
}

.hero-callout__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: rgba(var(--accent-primary-rgb), 0.12);
    color: var(--accent-positive);
}

.hero-callout__icon svg {
    width: 16px;
    height: 16px;
}

.hero-callout strong,
.hero-callout small {
    display: block;
    line-height: 1.2;
}

.hero-callout strong {
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-callout small {
    margin-top: 0.18rem;
    font-size: 0.68rem;
    color: var(--text-dark-muted);
}

/* ============================================
   HERO ENTRANCE ANIMATIONS
   ============================================ */

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes hero-callout-pop {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
    .section-hero .hero-eyebrow  { animation: hero-fade-up 0.5s ease both 0.05s; }
    .section-hero .hero h1       { animation: hero-fade-up 0.55s ease both 0.15s; }
    .section-hero .hero-subtitle { animation: hero-fade-up 0.5s ease both 0.28s; }
    .section-hero .hero-cta      { animation: hero-fade-up 0.5s ease both 0.38s; }
    .section-hero .hero-trust-chips   { animation: hero-fade-up 0.5s ease both 0.46s; }
    .section-hero .hero-social-proof  { animation: hero-fade-up 0.5s ease both 0.54s; }
    .section-hero .hero-visual   { animation: hero-fade-up 0.7s ease both 0.25s; }
    .section-hero .hero-callout  { animation: hero-callout-pop 0.45s ease both; }
    .section-hero .hero-callout--top { animation-delay: 0.72s; }
    .section-hero .hero-callout--left { animation-delay: 0.84s; }
    .section-hero .hero-callout--right { animation-delay: 0.96s; }
}

@media (max-width: 1180px) {
    .hero-callout--top {
        right: -0.5rem;
    }

    .hero-callout--left {
        left: -0.5rem;
    }

    .hero-callout--right {
        right: 0.75rem;
    }
}

@media (max-width: 900px) {
    .hero-visual {
        max-width: 100%;
    }

    .hero-callout {
        min-width: 0;
        padding: 0.62rem 0.72rem;
    }

    .hero-callout--top {
        top: 5rem;
        right: 0.5rem;
    }

    .hero-callout--left {
        display: none;
    }

    .hero-callout--right {
        right: 0.5rem;
        bottom: 0.75rem;
    }
}

@media (max-width: 640px) {
    .browser-frame {
        border-radius: 10px;
    }

    .hero-callout {
        display: none;
    }
}

/* Screenshot placeholders */
.screenshot-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px dashed var(--border-default);
    border-radius: var(--radius-md);
}

.feature-screenshot {
    min-height: 700px;
    border-radius: var(--radius-xl);
}

.mobile-screenshot,
.mobile-screenshot-large {
    min-height: 100%;
    border-radius: var(--radius-md);
}

/* SVG App Mockups */
.app-mockup,
.feature-mockup {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.feature-mockup {
    min-height: 400px;
    border-radius: var(--radius-xl);
}

video.feature-mockup {
    min-height: unset;
    display: block;
    border-radius: 18px;
    box-shadow:
        0 30px 80px rgba(16, 185, 129, 0.10),
        0 24px 70px rgba(15, 20, 25, 0.12);
    clip-path: none;
}

video.feature-mockup--time-tracking {
    transform: none;
}

.browser-content .app-mockup {
    border-radius: 0 0 8px 8px;
}

/* ============================================
   TRUST STRIP
   ============================================ */

.trust-strip {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    margin: 0 0 4rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.trust-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--accent-primary);
}

.trust-metric {
    text-align: center;
}

.trust-metric .metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1.2;
}

.trust-metric .metric-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.social-proof {
    text-align: center;
    margin-bottom: 5rem;
}

.social-proof-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.company-logo {
    padding: 0.6rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.company-logo:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FEATURE TABS
   ============================================ */

.feature-tabs-section {
    margin: 0 0 5rem;
    padding: 4rem 3rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    position: relative;
}

/* Remove background when inside section-light */
.section-light .feature-tabs-section {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

/* Wider container for feature tabs section */
.section-light.section-full .container {
    max-width: min(1600px, 94vw);
    width: 100%;
    padding: 0 3rem;
    margin: 0 auto;
}

.feature-tabs-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--accent-primary);
}

.section-light .feature-tabs-section::before {
    display: none;
}

.feature-tabs-intro {
    max-width: 820px;
    margin: 0 auto clamp(2.25rem, 4vw, 3.75rem);
    text-align: center;
}

.feature-tabs-intro h2 {
    margin: 0 0 1rem;
    color: var(--text-dark);
    font-size: clamp(2.2rem, 4.8vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.feature-tabs-intro p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-dark-secondary);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.7;
}

.tab-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 0;
    padding: 0.28rem;
    background: #f1f1f3;
    border: 1px solid rgba(15, 20, 25, 0.08);
    border-radius: 999px;
    box-shadow:
        inset 0 1px 2px rgba(15, 20, 25, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.86);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.85rem;
    padding: 0.72rem 1.6rem;
    background: transparent;
    border: none;
    margin: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
    box-shadow: none;
    transition:
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.tab-btn:hover {
    color: #111111;
    background: rgba(255, 255, 255, 0.72);
}

.tab-btn:hover .tab-icon {
    color: #111111;
}

.tab-btn.active {
    color: #ffffff;
    background: #111111;
    box-shadow:
        0 8px 20px rgba(15, 20, 25, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.tab-btn.active .tab-icon {
    color: #ffffff;
}

.tab-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}

.feature-beta-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.18rem;
    padding: 0.2rem 0.42rem;
    border: 1px solid rgba(146, 64, 14, 0.18);
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tab-btn.active .feature-beta-badge {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.feature-beta-badge--heading {
    margin-left: 0.5rem;
    vertical-align: middle;
}

.section-light .tab-navigation {
    gap: 0.25rem;
    padding: 0.28rem;
    background: #f1f1f3;
    border: 1px solid rgba(15, 20, 25, 0.08);
    border-radius: 999px;
    box-shadow:
        inset 0 1px 2px rgba(15, 20, 25, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.86);
}

.section-light .tab-btn {
    min-height: 2.85rem;
    padding: 0.72rem 1.6rem;
    color: #4b5563;
    border-radius: 999px;
}

.section-light .tab-btn:hover {
    color: #111111;
    background: rgba(255, 255, 255, 0.72);
}

.section-light .tab-btn:hover .tab-icon {
    color: #111111;
}

.section-light .tab-btn.active {
    color: #ffffff;
    background: #111111;
    box-shadow:
        0 8px 20px rgba(15, 20, 25, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.section-light .tab-btn.active .tab-icon {
    color: #ffffff;
}

.section-light .tab-btn:focus-visible {
    outline-color: #111111;
}

.section-light .tab-panels {
    background: transparent;
    border: none;
    border-radius: 0;
    margin-top: 2rem;
    padding: 0;
}

.section-light .panel-content {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.section-light .panel-visual {
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.mobile-feature-trigger {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.125rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.mobile-feature-trigger-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.mobile-feature-trigger-arrow {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.mobile-feature-trigger.active .mobile-feature-trigger-arrow {
    transform: rotate(180deg);
}

.tab-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tab-panels {
    min-height: 520px;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-top: 2rem;
    padding: 0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-content {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.65fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
    padding: clamp(1rem, 3vw, 2rem) 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.panel-text h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.panel-text > p {
    color: var(--text-dark-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 1.25rem;
}

.feature-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dark-secondary);
    font-size: 1rem;
    line-height: 1.55;
    position: relative;
}

.feature-checklist li::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.38);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-checklist li::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 7px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #10b981;
    border-bottom: 2px solid #10b981;
    transform: rotate(45deg);
}

.panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.panel-visual img,
.panel-visual .screenshot-placeholder {
    transition: transform 0.6s ease;
}

.tab-panel.active .panel-visual img,
.tab-panel.active .panel-visual .screenshot-placeholder {
    animation: subtleZoom 8s ease-in-out infinite alternate;
}

.onboarding-placeholder {
    display: block;
    width: min(580px, 100%);
    height: auto;
    min-height: 430px;
    padding: clamp(0.85rem, 1.6vw, 1.2rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 8%, rgba(var(--accent-primary-rgb), 0.14), transparent 34%),
        linear-gradient(135deg, #f8fafc, #ffffff);
    box-shadow:
        0 32px 90px rgba(15, 23, 42, 0.12),
        0 18px 42px rgba(var(--accent-primary-rgb), 0.1);
    color: var(--text-dark);
}

.onboarding-placeholder__shell {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.35rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.onboarding-placeholder__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.onboarding-placeholder__header strong,
.onboarding-placeholder__profile strong,
.onboarding-placeholder__row strong {
    display: block;
    color: var(--text-dark);
}

.onboarding-placeholder__header strong {
    margin-top: 0.18rem;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.08;
}

.onboarding-placeholder__eyebrow {
    display: block;
    color: var(--accent-primary-strong);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.onboarding-placeholder__status,
.onboarding-placeholder__row em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.onboarding-placeholder__status {
    padding: 0.42rem 0.66rem;
    border: 1px solid rgba(245, 158, 11, 0.22);
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    font-size: 0.72rem;
}

.onboarding-placeholder__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.48fr);
    gap: 1rem;
    align-items: stretch;
}

.onboarding-placeholder__list {
    display: grid;
    gap: 0.72rem;
    min-width: 0;
}

.onboarding-placeholder__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.72rem;
    align-items: center;
    min-width: 0;
    padding: 0.86rem;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    background: #f8fafc;
}

.onboarding-placeholder__row div {
    min-width: 0;
}

.onboarding-placeholder__row span,
.onboarding-placeholder__profile span,
.onboarding-placeholder__profile small {
    color: var(--text-dark-muted);
}

.onboarding-placeholder__row strong {
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onboarding-placeholder__row div span {
    display: block;
    margin-top: 0.22rem;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.onboarding-placeholder__row-icon {
    position: relative;
    display: block;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(var(--accent-primary-rgb), 0.12);
}

.onboarding-placeholder__row-icon::after {
    content: '';
    position: absolute;
    left: 0.72rem;
    top: 0.5rem;
    width: 0.46rem;
    height: 0.82rem;
    border-right: 2px solid var(--accent-primary-strong);
    border-bottom: 2px solid var(--accent-primary-strong);
    transform: rotate(45deg);
}

.onboarding-placeholder__row em {
    padding: 0.32rem 0.5rem;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-dark-secondary);
    font-size: 0.64rem;
    text-transform: uppercase;
}

.onboarding-placeholder__row.is-complete em {
    background: rgba(var(--accent-primary-rgb), 0.12);
    color: var(--accent-primary-strong);
}

.onboarding-placeholder__row.is-warning em {
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
}

.onboarding-placeholder__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.16);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.08), rgba(255, 255, 255, 0.7)),
        #ffffff;
    text-align: center;
}

.onboarding-placeholder__avatar {
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.8rem;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.92), rgba(39, 200, 178, 0.72));
    box-shadow: 0 12px 24px rgba(var(--accent-primary-rgb), 0.2);
}

.onboarding-placeholder__profile strong {
    font-size: 0.98rem;
    font-weight: 800;
}

.onboarding-placeholder__profile > span {
    margin-top: 0.22rem;
    font-size: 0.78rem;
}

.onboarding-placeholder__progress {
    width: 100%;
    height: 0.52rem;
    margin: 1rem 0 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.onboarding-placeholder__progress i {
    display: block;
    width: var(--progress-width);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-primary), rgba(39, 200, 178, 0.86));
}

.onboarding-placeholder__profile small {
    font-size: 0.74rem;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .onboarding-placeholder {
        min-height: 0;
        padding: 0.55rem;
        border-radius: 18px;
        box-shadow:
            0 18px 48px rgba(15, 23, 42, 0.1),
            0 12px 28px rgba(var(--accent-primary-rgb), 0.08);
    }

    .onboarding-placeholder__shell {
        gap: 0.65rem;
        padding: 0.7rem;
        border-radius: 14px;
    }

    .onboarding-placeholder__content {
        grid-template-columns: 1fr;
    }

    .onboarding-placeholder__header {
        align-items: center;
        gap: 0.65rem;
    }

    .onboarding-placeholder__header strong {
        font-size: 1.05rem;
    }

    .onboarding-placeholder__eyebrow {
        font-size: 0.58rem;
    }

    .onboarding-placeholder__status {
        flex: 0 0 auto;
        padding: 0.32rem 0.48rem;
        font-size: 0.62rem;
    }

    .onboarding-placeholder__list {
        gap: 0.45rem;
    }

    .onboarding-placeholder__row {
        grid-template-columns: 1.55rem minmax(0, 1fr) auto;
        gap: 0.5rem;
        padding: 0.55rem;
        border-radius: 10px;
    }

    .onboarding-placeholder__row-icon {
        width: 1.55rem;
        height: 1.55rem;
    }

    .onboarding-placeholder__row-icon::after {
        left: 0.55rem;
        top: 0.38rem;
        width: 0.34rem;
        height: 0.62rem;
    }

    .onboarding-placeholder__row strong {
        font-size: 0.78rem;
    }

    .onboarding-placeholder__row div span {
        display: none;
    }

    .onboarding-placeholder__row em {
        grid-column: auto;
        padding: 0.24rem 0.4rem;
        font-size: 0.56rem;
    }

    .onboarding-placeholder__profile {
        display: none;
    }
}

@keyframes subtleZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* Small phone mockup for mobile tab */
.phone-mockup-small {
    width: 180px;
    aspect-ratio: 9 / 19;
    border-radius: 28px;
    padding: 8px;
    background: var(--phone-frame);
    box-shadow: var(--shadow-lg);
}

.phone-screen-small {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    background: var(--bg-surface);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

/* App store badges */
.app-store-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.app-badge svg {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    transition: opacity 0.2s ease;
}

.app-badge:hover svg {
    opacity: 0.8;
}

/* ============================================
   COMPETITIVE ADVANTAGES
   ============================================ */

.advantages-section {
    margin: 0 0 5rem;
}

.section-light-alt .advantages-section {
    margin: 0;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary-dim);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
}

.advantage-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-primary);
}

.advantage-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.advantage-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   MOBILE SHOWCASE
   ============================================ */

.mobile-showcase {
    margin: 0 0 5rem;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

/* Adjust for section-light */
.section-light .mobile-showcase {
    margin: 0;
    padding: 3rem;
    background: var(--bg-light-surface);
    border-color: var(--border-light-default);
}

.mobile-showcase::before {
    display: none;
}

.mobile-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: min(280px, 70vw);
    aspect-ratio: 9 / 19.5;
    border-radius: 40px;
    padding: 12px;
    background: var(--phone-frame);
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: var(--bg-surface);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    border-radius: 999px;
    background: var(--phone-notch);
    z-index: 2;
}

.mobile-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-copy h2 {
    color: var(--text-primary);
}

.mobile-copy > p {
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
}

.mobile-copy ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.mobile-copy li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.mobile-copy li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.mobile-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section {
    margin: 0;
    padding: 3rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.section-dark .testimonials-section {
    margin: 0;
}

.testimonial-carousel {
    position: relative;
    min-height: 280px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide blockquote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    font-style: normal;
    line-height: 1.5;
    margin: 0 auto 2rem;
    max-width: 750px;
    color: var(--text-primary);
}

.testimonial-slide blockquote::before {
    content: '"';
    color: var(--accent-primary);
    font-size: 4rem;
    line-height: 0;
    vertical-align: -0.5em;
    margin-right: 0.1em;
    opacity: 0.5;
}

.testimonial-slide blockquote::after {
    content: '"';
    color: var(--accent-primary);
    font-size: 4rem;
    line-height: 0;
    vertical-align: -0.5em;
    margin-left: 0.1em;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: var(--bg-void);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-rating .stars {
    color: var(--star-rating);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-default);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--accent-primary-dim);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.carousel-prev svg,
.carousel-next svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-default);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--accent-primary);
    transform: scale(1.2);
}

/* ============================================
   INDUSTRIES
   ============================================ */

.industries-section {
    margin: 0 0 5rem;
}

.section-light .industries-section {
    margin: 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.industry-card {
    background: var(--bg-surface);
    padding: 1.75rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.industry-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    stroke: var(--accent-primary);
}

.industry-card span {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ============================================
   SUPPORT & RESOURCES - BANNER CARD
   ============================================ */

.support-banner {
    background: var(--bg-light);
    border: 1px solid var(--border-light-default);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    text-align: center;
}

.support-banner__heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.support-banner__subtitle {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    margin-bottom: 2.5rem;
}

.support-banner__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.support-banner__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-right: 1px solid var(--border-light-default);
    text-align: left;
}

.support-banner__item:last-child {
    border-right: none;
}

.support-banner__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dark-dim);
    border-radius: var(--radius-md);
    color: var(--accent-dark);
}

.support-banner__item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.support-banner__item p {
    margin: 0;
    color: var(--text-dark-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.support-banner__badge {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent-dark);
    background: var(--accent-dark-dim);
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 0.35em;
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-section {
    margin: 0 0 5rem;
    padding: 4rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.security-item {
    background: var(--bg-elevated);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    text-align: center;
}

.security-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    stroke: var(--accent-primary);
}

.security-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.security-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.security-item-pending {
    opacity: 0.6;
}

.security-item-pending .security-icon {
    stroke: var(--text-muted);
}

/* ============================================
   CALLOUT (Final CTA)
   ============================================ */

.callout {
    margin: 0;
    padding: 3rem;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.section-dark .callout {
    margin: 0;
}

.callout::before {
    display: none;
}

.callout h2 {
    margin-bottom: 1rem;
    position: relative;
}

.callout > p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

.callout-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================
   INDUSTRIES SCATTER
   ============================================ */

.section-industries-scatter {
    padding: 5rem 0;
    overflow: hidden;
}

.industries-scatter {
    position: relative;
    min-height: 560px;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

.industries-scatter__centre {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

.industries-scatter__centre-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.industries-scatter__centre-text {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.industries-scatter__item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.25s ease;
    text-align: center;
    width: 96px;
}

.industries-scatter__item svg {
    stroke: rgba(16, 185, 129, 0.5);
    transition: stroke 0.25s ease;
    flex-shrink: 0;
}

.industries-scatter__item span {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.industries-scatter__item:hover {
    color: var(--accent-primary);
}

.industries-scatter__item:hover svg {
    stroke: var(--accent-primary);
}

.industries-scatter__item--cleaning     { left: 4%;  top: 8%;  }
.industries-scatter__item--healthcare   { left: 73%; top: 5%;  }
.industries-scatter__item--hospitality  { left: 82%; top: 44%; }
.industries-scatter__item--construction { left: 2%;  top: 52%; }
.industries-scatter__item--retail       { left: 69%; top: 73%; }
.industries-scatter__item--security     { left: 16%; top: 76%; }
.industries-scatter__item--transport    { left: 43%; top: 85%; }
.industries-scatter__item--manufacturing{ left: 54%; top: 6%;  }

.industries-scatter__mobile {
    display: none;
    padding: 0 1.5rem;
    text-align: center;
}

.industries-scatter__mobile-heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
}

.industries-scatter__mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.industries-mobile-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.industries-mobile-pill svg {
    stroke: rgba(16, 185, 129, 0.7);
    flex-shrink: 0;
    transition: stroke 0.2s ease;
}

.industries-mobile-pill:hover {
    color: var(--accent-primary);
    border-color: rgba(16, 185, 129, 0.3);
}

.industries-mobile-pill:hover svg {
    stroke: var(--accent-primary);
}

@media (max-width: 768px) {
    .industries-scatter {
        display: none;
    }

    .industries-scatter__mobile {
        display: block;
    }
}

/* ============================================
   SIMPLE PRICING SECTION
   ============================================ */

.free-tier-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.free-tier-copy h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.free-tier-copy p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.free-tier-visual svg {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

@media (max-width: 1024px) {
    .free-tier-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .free-tier-visual {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .free-tier-copy h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   HOME INDUSTRY TEXT LIST
   ======================================== */

.industry-text-list {
    text-align: center;
    line-height: 1.3;
    margin-top: 0.5rem;
}

.industry-text-list a {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.industry-text-list a:hover {
    color: var(--accent-dark);
    font-weight: 800;
}

.industry-text-list a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.industry-text-list__separator {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--text-dark-muted);
    margin: 0 0.15em;
    user-select: none;
}

/* ========================================
   EARLY PARTNER PROGRAM
   ======================================== */

.early-partner-section {
    background:
        radial-gradient(ellipse 58% 48% at 82% 20%, rgba(59, 130, 246, 0.14) 0%, transparent 64%),
        radial-gradient(ellipse 42% 36% at 20% 100%, rgba(34, 197, 94, 0.08) 0%, transparent 68%),
        linear-gradient(180deg, #fbfcfd 0%, #eef4f8 100%);
    position: relative;
    overflow: hidden;
}

.early-partner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(15, 20, 25, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(15, 20, 25, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.45;
    pointer-events: none;
}

.early-partner-section .container {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}

.home-form-messages {
    max-width: 880px;
    margin: 0 auto 1.5rem;
}

.home-alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}

.home-alert-success {
    color: #166534;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.home-alert-error {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.26);
}

.early-partner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem 3rem;
    align-items: center;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.early-partner__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-primary-dark);
    margin: 0 0 1.25rem;
}

.early-partner__copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #0f1419;
    margin: 0 0 1.25rem;
    max-width: 40rem;
}

.early-partner__body {
    font-size: 1rem;
    line-height: 1.7;
    color: #536371;
    max-width: 36rem;
    margin: 0 0 1.75rem;
}

.early-partner__fit {
    margin: 1.25rem 0 0;
    color: #536371;
    font-size: 0.88rem;
    line-height: 1.55;
}

.early-partner__industries {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #6b7a87;
    margin: 0;
    line-height: 1.35;
}

.early-partner__industries-label {
    font-weight: 700;
    color: #536371;
    margin-right: 0.2rem;
}

.early-partner__industries a {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(25, 51, 70, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #2f3b45;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.early-partner__industries a:hover {
    background: #ffffff;
    border-color: rgba(12, 132, 118, 0.35);
    color: var(--accent-primary-dark);
}

.early-partner__industries span {
    margin: 0;
}

.early-partner__industries span[aria-hidden="true"] {
    display: none;
}

.early-partner__panel {
    background: #ffffff;
    border: 1px solid rgba(15, 20, 25, 0.08);
    border-radius: 10px;
    box-shadow: 0 22px 60px rgba(15, 20, 25, 0.11);
    padding: 1.75rem;
    align-self: center;
}

.early-partner__panel-heading {
    color: #0f1419;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.25rem;
}

.early-partner__checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.early-partner__checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f1419;
    line-height: 1.4;
}

.early-partner__checklist li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: rgba(var(--accent-primary-rgb), 0.14);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.38);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 7.2 6.4 10 10.5 5' stroke='%23059669' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.early-partner__cta {
    width: fit-content;
    margin-top: 1.5rem;
    text-align: center;
}

.early-partner-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.early-partner-modal[hidden] {
    display: none;
}

.early-partner-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 25, 0.58);
    backdrop-filter: blur(10px);
}

.early-partner-modal__dialog {
    position: relative;
    width: min(100%, 680px);
    max-height: min(760px, calc(100vh - 3rem));
    overflow: auto;
    background: #ffffff;
    border: 1px solid rgba(15, 20, 25, 0.08);
    border-radius: 14px;
    box-shadow: 0 30px 90px rgba(15, 20, 25, 0.28);
    padding: clamp(1.5rem, 4vw, 2.25rem);
}

.early-partner-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(15, 20, 25, 0.08);
    border-radius: 999px;
    background: #f8fafc;
    color: #536371;
    cursor: pointer;
}

.early-partner-modal__close:hover,
.early-partner-modal__close:focus-visible {
    color: #0f1419;
    border-color: rgba(15, 20, 25, 0.16);
}

.early-partner-modal__close svg {
    width: 18px;
    height: 18px;
}

.early-partner-modal__header {
    padding-right: 2.75rem;
    margin-bottom: 1.5rem;
}

.early-partner-modal__eyebrow {
    margin: 0 0 0.75rem;
    color: var(--accent-primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.early-partner-modal__header h2 {
    margin: 0 0 0.75rem;
    color: #0f1419;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    line-height: 1.08;
}

.early-partner-modal__header p {
    margin: 0;
    max-width: 34rem;
    color: #536371;
    line-height: 1.6;
}

.early-partner-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.early-partner-form label {
    display: grid;
    gap: 0.45rem;
}

.early-partner-form__wide {
    grid-column: 1 / -1;
}

.early-partner-form span {
    color: #0f1419;
    font-size: 0.84rem;
    font-weight: 600;
}

.early-partner-form input,
.early-partner-form select,
.early-partner-form textarea {
    width: 100%;
    border: 1px solid rgba(15, 20, 25, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #0f1419;
    font: inherit;
    padding: 0.78rem 0.85rem;
}

.early-partner-form textarea {
    resize: vertical;
}

.early-partner-form input:focus,
.early-partner-form select:focus,
.early-partner-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.early-partner-form .field-error {
    display: block;
    color: #dc2626;
    font-size: 0.8rem;
    line-height: 1.35;
}

.early-partner-form__notice {
    margin: 1rem 0 0;
    color: #6b7a87;
    font-size: 0.8rem;
    line-height: 1.5;
}

.early-partner-form__notice a {
    color: var(--accent-primary-dark);
}

.early-partner-form__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.35rem;
}

.early-partner-form__actions p {
    margin: 0;
    color: #6b7a87;
    font-size: 0.85rem;
    line-height: 1.45;
}

.early-partner-form__actions a {
    color: var(--accent-primary-dark);
    text-decoration: none;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 420px) {
    .early-partner__cta {
        width: 100%;
    }
}

@media (max-width: 860px) {
    .early-partner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: clamp(2.5rem, 9vw, 3.5rem) 0;
    }

    .early-partner__copy h2,
    .early-partner__body {
        max-width: none;
    }

    .early-partner__panel {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .early-partner__eyebrow {
        margin-bottom: 1rem;
    }

    .early-partner__copy h2 {
        font-size: clamp(1.85rem, 10vw, 2.35rem);
        line-height: 1.12;
        margin-bottom: 1rem;
    }

    .early-partner__body {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 1.4rem;
    }

    .early-partner__industries {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        font-size: 0.95rem;
    }

    .early-partner__industries-label {
        grid-column: 1 / -1;
        margin: 0 0 0.05rem;
    }

    .early-partner__industries a {
        justify-content: center;
        min-height: 2.5rem;
        padding: 0.45rem 0.55rem;
        text-align: center;
    }

    .early-partner__panel {
        padding: 1.35rem;
        border-radius: 8px;
        box-shadow: 0 16px 42px rgba(15, 20, 25, 0.1);
    }

    .early-partner__panel-heading {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .early-partner__checklist li {
        font-size: 0.95rem;
    }

    .early-partner__cta {
        width: 100%;
    }

    .early-partner-modal {
        padding: 0.75rem;
        place-items: end center;
    }

    .early-partner-modal__dialog {
        max-height: calc(100vh - 1.5rem);
        border-radius: 12px;
    }

    .early-partner-form__grid,
    .early-partner-form__actions {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .early-partner-form__actions .button {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .early-partner__industries {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HOME TESTIMONIAL MARQUEE
   ======================================== */

.testimonial-marquee {
    overflow: hidden;
    padding: 2rem 0 4rem;
    position: relative;
}

.testimonial-marquee::before,
.testimonial-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.testimonial-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.testimonial-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.testimonial-track {
    display: flex;
    gap: 1.5rem;
    animation: home-marquee 40s linear infinite;
    width: max-content;
}

.testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes home-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 380px;
    padding: 1.75rem;
    background: var(--bg-light-surface);
    border: 1px solid var(--border-light-default);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-light-default);
}

.testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card__quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark-secondary);
    margin: 0;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card__quote::before {
    content: none;
}

.testimonial-card__author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-card__name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.testimonial-card__position {
    font-size: 0.85rem;
    color: var(--text-dark-muted);
}

/* ============================================
   HOME INTEGRATION MARQUEE
   ============================================ */

.integration-marquee {
    overflow: hidden;
    padding: 1.5rem 0;
    position: relative;
}

.integration-marquee::before,
.integration-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.integration-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.integration-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.integration-marquee__row {
    overflow: hidden;
}

.integration-marquee__track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: home-integration-scroll 60s linear infinite;
}

.integration-marquee:hover .integration-marquee__track {
    animation-play-state: paused;
}

@keyframes home-integration-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.integration-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.integration-pill svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .industry-text-list a,
    .industry-text-list__separator {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .testimonial-card {
        width: 320px;
        padding: 1.5rem;
    }

    .testimonial-card__avatar {
        width: 56px;
        height: 56px;
    }

    .testimonial-marquee::before,
    .testimonial-marquee::after {
        width: 60px;
    }

    .integration-marquee::before,
    .integration-marquee::after {
        width: 60px;
    }

    .integration-pill svg {
        width: 26px;
        height: 26px;
    }

    .integration-marquee__track {
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        width: 280px;
        padding: 1.25rem;
    }

    .testimonial-card__avatar {
        width: 48px;
        height: 48px;
    }

    .testimonial-marquee::before,
    .testimonial-marquee::after {
        width: 40px;
    }

    .integration-marquee::before,
    .integration-marquee::after {
        width: 40px;
    }

    .integration-pill svg {
        width: 22px;
        height: 22px;
    }

    .integration-marquee__track {
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 2rem;
        gap: 1.5rem;
    }

    .testimonial-marquee::before,
    .testimonial-marquee::after {
        display: none;
    }

    .testimonial-card {
        flex-shrink: 1;
    }

    .integration-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 2rem;
        gap: 1rem;
    }

    .integration-marquee::before,
    .integration-marquee::after {
        display: none;
    }

    .integration-pill {
        flex-shrink: 1;
    }
}

/* ============================================
   WORKFLOW STORY
   ============================================ */

.workflow-story-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 8%, rgba(var(--accent-primary-rgb), 0.1), transparent 34%),
        radial-gradient(circle at 86% 72%, rgba(var(--accent-primary-strong-rgb), 0.06), transparent 32%),
        linear-gradient(135deg, #000000 0%, #101820 55%, #0b1018 100%);
}

.workflow-story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
    opacity: 0.18;
}

.workflow-story-section .container {
    position: relative;
    z-index: 1;
}

.workflow-story {
    --story-accent: var(--accent-primary);
    --story-accent-strong: var(--accent-primary-strong);
    --story-border: var(--border-default);
    --workflow-ink: rgba(255, 255, 255, 0.94);
    --workflow-ink-2: rgba(231, 233, 234, 0.66);
    --workflow-ink-3: rgba(231, 233, 234, 0.48);
    --workflow-surface: rgba(255, 255, 255, 0.065);
    --workflow-card: rgba(9, 15, 22, 0.72);
    --workflow-card-muted: rgba(255, 255, 255, 0.06);
    --workflow-card-border: rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.25rem, 4vw, 3.75rem);
    align-items: start;
    padding: clamp(2.25rem, 4.8vw, 4.5rem) 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.workflow-story__copy {
    max-width: 760px;
}

.workflow-story__eyebrow {
    max-width: 32rem;
    margin: 0 0 0.85rem;
    color: var(--accent-primary-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.workflow-story__copy h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.65rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.workflow-story__visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: clamp(1.1rem, 1.45vw, 1.45rem);
    min-width: 0;
    padding: 0.2rem 0 0;
    isolation: isolate;
}

.workflow-step-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1rem;
    min-width: 0;
    color: #ffffff;
}

.workflow-step-card__rail {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.3rem;
}

.workflow-step-card__surface {
    display: flex;
    min-height: clamp(300px, 25vw, 340px);
    flex-direction: column;
    padding: clamp(1rem, 1.25vw, 1.2rem);
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
        rgba(21, 32, 43, 0.88);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 22px 54px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.workflow-step-card--cover .workflow-step-card__surface {
    background:
        linear-gradient(180deg, rgba(245, 158, 11, 0.075), rgba(255, 255, 255, 0.035)),
        rgba(21, 32, 43, 0.88);
}

.workflow-step-card--onboarding .workflow-step-card__surface {
    border-color: rgba(var(--accent-primary-rgb), 0.22);
    background:
        linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.12), rgba(255, 255, 255, 0.035)),
        rgba(21, 32, 43, 0.9);
}

.workflow-step-card__header {
    margin-bottom: 0.9rem;
}

.workflow-step-card__number {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.4);
    border-radius: 999px;
    background: var(--story-accent);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 0 0 5px rgba(var(--accent-primary-rgb), 0.09);
}

.workflow-step-card__label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.workflow-step-card h3 {
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(1.18rem, 1.45vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.workflow-step-card__description {
    margin: 0;
    color: rgba(231, 233, 234, 0.72);
    font-size: 0.86rem;
    line-height: 1.55;
}

.workflow-card-graphic {
    display: grid;
    min-height: 92px;
    margin-top: auto;
    padding-top: 1rem;
}

.workflow-mini-list,
.workflow-mini-roster,
.workflow-mini-availability,
.workflow-mini-timesheet {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        rgba(7, 13, 20, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.workflow-mini-list,
.workflow-mini-availability,
.workflow-mini-timesheet {
    display: grid;
    gap: 0.5rem;
    padding: 0.72rem;
}

.workflow-mini-row,
.workflow-mini-availability span,
.workflow-mini-timesheet span {
    display: grid;
    align-items: center;
    gap: 0.48rem;
    min-width: 0;
}

.workflow-mini-row {
    grid-template-columns: 1rem 1fr 2.15rem;
}

.workflow-mini-row i,
.workflow-mini-availability i {
    display: block;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: rgba(var(--accent-primary-rgb), 0.18);
    box-shadow: inset 0 0 0 4px rgba(var(--accent-primary-rgb), 0.52);
}

.workflow-mini-row b,
.workflow-mini-row em,
.workflow-mini-availability b,
.workflow-mini-availability em,
.workflow-mini-timesheet b,
.workflow-mini-timesheet i {
    display: block;
    min-width: 0;
    height: 0.48rem;
    border-radius: 999px;
}

.workflow-mini-row b,
.workflow-mini-availability b,
.workflow-mini-timesheet b {
    background: rgba(255, 255, 255, 0.58);
}

.workflow-mini-row em,
.workflow-mini-availability em,
.workflow-mini-timesheet i {
    background: rgba(var(--accent-primary-rgb), 0.42);
}

.workflow-mini-row:nth-child(2) b,
.workflow-mini-availability span:nth-child(2) b,
.workflow-mini-timesheet span:nth-child(2) b {
    width: 82%;
}

.workflow-mini-row:nth-child(3) b,
.workflow-mini-availability span:nth-child(3) b,
.workflow-mini-timesheet span:nth-child(3) b {
    width: 68%;
}

.workflow-mini-roster {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
    padding: 0.64rem;
}

.workflow-mini-roster span {
    display: block;
    aspect-ratio: 1.5;
    min-height: 0;
    border-radius: 0.46rem;
    background: rgba(255, 255, 255, 0.08);
}

.workflow-mini-roster .is-filled {
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.86), rgba(39, 200, 178, 0.7));
    box-shadow: 0 6px 14px rgba(var(--accent-primary-rgb), 0.18);
}

.workflow-mini-roster .is-muted {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: none;
}

.workflow-mini-availability span {
    grid-template-columns: 1rem 1fr 2.6rem;
}

.workflow-mini-availability span:nth-child(2) em {
    background: rgba(245, 158, 11, 0.65);
}

.workflow-mini-availability span:nth-child(3) em {
    background: rgba(255, 255, 255, 0.28);
}

.workflow-mini-timesheet span {
    grid-template-columns: 1fr 2.35rem;
    padding: 0.14rem 0;
}

.workflow-mini-timesheet span:nth-child(2) i {
    background: rgba(245, 158, 11, 0.72);
}

.workflow-review-list {
    display: grid;
    gap: 0.48rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.workflow-review-list li {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    padding: 0.62rem 0.72rem;
    border-radius: 12px;
}

.workflow-c03,
.workflow-c09,
.workflow-c11,
.workflow-c12 {
    position: relative;
}

.workflow-c03 {
    border-left: 3px solid #f59e0b;
}

.workflow-c09 {
    border-left: 3px solid var(--story-accent);
}

.workflow-c11 {
    border-left: 3px solid #94a3b8;
}

.workflow-c12 {
    border-left: 3px solid #f59e0b;
}

.workflow-review-list__label,
.workflow-open-shift__label,
.workflow-open-shift p,
.workflow-publish-list p {
    color: var(--workflow-ink-3);
    font-size: 0.73rem;
    line-height: 1.35;
}

.workflow-review-list strong {
    color: var(--workflow-ink);
    font-size: 0.84rem;
    font-weight: 700;
}

.workflow-pill {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    min-width: 4rem;
    padding: 0.27rem 0.48rem;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
}

.workflow-dot {
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: currentColor;
}

.workflow-pill--pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.workflow-pill--warning {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.workflow-pill--neutral {
    background: rgba(148, 163, 184, 0.14);
    color: rgba(226, 232, 240, 0.82);
}

.workflow-pill--soft {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
}

.workflow-av {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 800;
}

.workflow-av-sm {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.48rem;
}

.workflow-av-md {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.62rem;
}

.workflow-av-green,
.workflow-av-teal {
    background: rgba(16, 185, 129, 0.18);
    color: #6ee7b7;
}

.workflow-av-blue {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

.workflow-av-amber {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
}

.workflow-av-pink {
    background: rgba(236, 72, 153, 0.18);
    color: #f9a8d4;
}

.workflow-c09-header,
.workflow-c12-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-c09-name,
.workflow-c12-title {
    display: block;
    color: var(--workflow-ink);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.workflow-c09-meta,
.workflow-c12-dates {
    display: block;
    color: var(--workflow-ink-3);
    font-size: 0.66rem;
    line-height: 1.35;
}

.workflow-c09-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.workflow-c09-type,
.workflow-c03-meta,
.workflow-c11-name,
.workflow-c12-note {
    color: var(--workflow-ink-2);
    font-size: 0.68rem;
}

.workflow-c03-label {
    color: #fbbf24;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.15;
    text-transform: uppercase;
}

.workflow-c03-time {
    display: block;
    color: var(--workflow-ink);
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
}

.workflow-c03-meta {
    display: block;
}

.workflow-c03-btn {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    padding: 0.3rem 0.55rem;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
}

.workflow-c11-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.workflow-c11-title {
    color: var(--workflow-ink);
    font-size: 0.76rem;
    font-weight: 800;
}

.workflow-c11-row {
    display: flex;
    align-items: center;
    gap: 0.42rem;
}

.workflow-c11-name {
    flex: 1;
}

.workflow-c11-hours {
    color: var(--workflow-ink-3);
    font-size: 0.68rem;
    font-weight: 800;
}

.workflow-c12-header .workflow-pill {
    margin-left: auto;
}

.workflow-c12-icon {
    display: inline-flex;
    width: 1.55rem;
    height: 1.55rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.16);
}

.workflow-c12-icon svg {
    width: 0.88rem;
    height: 0.88rem;
}

.workflow-c12-icon rect,
.workflow-c12-icon path {
    fill: none;
    stroke: #93c5fd;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.workflow-c12-note {
    display: block;
    padding: 0.3rem 0.45rem;
    border-radius: 6px;
    background: var(--workflow-surface);
}

.workflow-mini-roster {
    display: grid;
    gap: 0.5rem;
    padding: 0.7rem;
    border-radius: 12px;
}

.workflow-c16-header {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.2rem;
}

.workflow-c16-day {
    color: var(--workflow-ink-3);
    font-size: 0.54rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.workflow-c16-day--active {
    color: var(--story-accent-strong);
}

.workflow-c16-grid {
    display: grid;
    gap: 0.22rem;
}

.workflow-c16-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.18rem;
}

.workflow-c16-cell {
    position: relative;
    display: block;
    height: 1.06rem;
    overflow: hidden;
    border-radius: 4px;
}

.workflow-c16-shift,
.workflow-c16-shift_b,
.workflow-c16-shift_c {
    background: rgba(var(--accent-primary-rgb), 0.16);
}

.workflow-c16-shift::after,
.workflow-c16-shift_b::after,
.workflow-c16-shift_c::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--story-accent);
}

.workflow-c16-shift_b {
    background: rgba(148, 163, 184, 0.16);
}

.workflow-c16-shift_b::after {
    background: #94a3b8;
}

.workflow-c16-shift_c {
    background: rgba(245, 158, 11, 0.16);
}

.workflow-c16-shift_c::after {
    background: #f59e0b;
}

.workflow-c16-empty {
    background: rgba(255, 255, 255, 0.045);
}

.workflow-c16-unavailable {
    border: 1px solid rgba(245, 158, 11, 0.18);
    background: repeating-linear-gradient(
        45deg,
        rgba(245, 158, 11, 0.14),
        rgba(245, 158, 11, 0.14) 2px,
        rgba(255, 255, 255, 0.045) 2px,
        rgba(255, 255, 255, 0.045) 6px
    );
}

.workflow-roster-legend {
    display: grid;
    gap: 0.34rem;
    margin-top: 0.6rem;
}

.workflow-shift-chip {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0.45rem;
    align-items: center;
    padding: 0.36rem 0.48rem;
    border: 1px solid var(--workflow-card-border);
    border-radius: 8px;
    background: var(--workflow-card-muted);
    box-shadow: none;
}

.workflow-shift-chip span {
    color: var(--workflow-ink-3);
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
}

.workflow-shift-chip strong {
    color: var(--workflow-ink);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
}

.workflow-shift-chip em {
    min-width: 0;
    color: var(--workflow-ink-2);
    font-size: 0.62rem;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-shift-chip--bar {
    background: rgba(148, 163, 184, 0.08);
}

.workflow-shift-chip--kitchen {
    background: rgba(245, 158, 11, 0.08);
}

.workflow-roster-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
}

.workflow-roster-day {
    min-height: 7.2rem;
    padding: 0.35rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
}

.workflow-roster-day__label {
    display: block;
    margin-bottom: 0.45rem;
    color: rgba(231, 233, 234, 0.5);
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
}

.workflow-shift-card {
    display: grid;
    gap: 0.2rem;
    min-height: 5rem;
    padding: 0.5rem;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.18);
    border-left: 3px solid var(--story-accent);
    border-radius: 12px;
    background: rgba(var(--accent-primary-rgb), 0.1);
}

.workflow-shift-card strong {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
}

.workflow-shift-card__role {
    color: rgba(231, 233, 234, 0.48);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.workflow-shift-card > span:not(.workflow-shift-card__role):not(.workflow-shift-card__bar) {
    color: rgba(231, 233, 234, 0.58);
    font-size: 0.7rem;
}

.workflow-shift-card__bar {
    display: block;
    height: 3px;
    margin-top: 0.18rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.workflow-shift-card__bar span {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: var(--story-accent);
}

.workflow-shift-card--bar {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.workflow-shift-card--bar .workflow-shift-card__bar span {
    background: #10b981;
}

.workflow-shift-card--kitchen {
    border-color: rgba(245, 158, 11, 0.18);
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.11);
}

.workflow-shift-card--kitchen .workflow-shift-card__bar span {
    width: 64%;
    background: #f59e0b;
}

.workflow-time-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    width: fit-content;
    padding: 0.24rem 0.38rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.62rem;
    font-weight: 800;
}

.workflow-warning {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.62rem;
    padding: 0.38rem 0.54rem;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    font-size: 0.68rem;
    font-weight: 700;
}

.workflow-warning span {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.2);
}

.workflow-open-shift {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.78rem 0.85rem;
    border-radius: 12px;
}

.workflow-c03-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.32rem;
}

.workflow-open-shift p {
    margin: 0;
}

.workflow-open-shift + .workflow-publish-list {
    margin-top: 0.62rem;
}

.workflow-avatars {
    display: flex;
    align-items: flex-start;
    padding-top: 0.15rem;
}

.workflow-avatars span {
    margin-left: -0.35rem;
    border: 2px solid rgba(9, 15, 22, 0.92);
}

.workflow-avatars span:first-child {
    margin-left: 0;
}

.workflow-card-button {
    width: 100%;
    min-height: 2.35rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 750;
    cursor: default;
}

.workflow-card-button--primary {
    background: var(--story-accent);
    border-color: var(--accent-primary-dark);
    box-shadow: var(--shadow-cta);
}

.workflow-timesheet-issues {
    display: grid;
    gap: 0.52rem;
    padding: 0.76rem 0.82rem;
    border-radius: 12px;
}

.workflow-published-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.62rem;
    padding: 0.72rem 0.82rem;
    border-color: rgba(var(--accent-primary-rgb), 0.22);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(var(--accent-primary-rgb), 0.1), rgba(255, 255, 255, 0.035)),
        var(--workflow-card);
}

.workflow-published-badge strong {
    display: block;
    color: var(--workflow-ink);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.workflow-c04-text {
    min-width: 0;
}

.workflow-c04-text span {
    display: block;
    color: var(--workflow-ink-3);
    font-size: 0.66rem;
    line-height: 1.35;
}

.workflow-c04-icon {
    display: inline-flex;
    width: 1.85rem;
    height: 1.85rem;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-primary-rgb), 0.16);
    box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.06);
}

.workflow-c04-icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.workflow-c07 {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    margin-bottom: 0.56rem;
    padding: 0.72rem 0.82rem;
    border-radius: 12px;
}

.workflow-c07-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.workflow-c07-label {
    color: var(--workflow-ink-3);
    font-size: 0.72rem;
    font-weight: 700;
}

.workflow-c07-count {
    color: var(--workflow-ink);
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1;
}

.workflow-c07-count span {
    color: var(--workflow-ink-3);
    font-size: 0.78rem;
    font-weight: 500;
}

.workflow-c07-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.workflow-c07-dot {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.workflow-c07-dot--on {
    background: var(--story-accent);
}

.workflow-publish-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.38rem;
}

.workflow-publish-list div {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.46rem 0.6rem;
    border: 1px solid var(--workflow-card-border);
    border-radius: 9px;
    background: var(--workflow-card-muted);
    box-shadow: none;
    text-align: left;
}

.workflow-publish-list span {
    display: inline-flex;
    min-height: 1.45rem;
    align-items: center;
    justify-content: center;
    color: var(--workflow-ink);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.workflow-publish-list p {
    margin: 0;
}

.workflow-checkmark {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    flex-shrink: 0;
}

.workflow-checkmark svg {
    width: 0.82rem;
    height: 0.82rem;
}

.workflow-checkmark path {
    fill: none;
    stroke: #34d399;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
    .workflow-story.is-visible .workflow-step-card {
        animation: workflow-card-in 0.55s ease both;
        animation-delay: calc(0.1s + (var(--step-index) * 0.12s));
    }

    .workflow-step-card__surface {
        transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }

    .workflow-step-card:hover .workflow-step-card__surface {
        transform: translateY(-3px);
        border-color: rgba(255, 255, 255, 0.16);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 28px 68px rgba(0, 0, 0, 0.3);
    }

    .workflow-story.is-visible .workflow-pill,
    .workflow-story.is-visible .workflow-warning {
        animation: workflow-status-pulse 0.7s ease both;
        animation-delay: calc(0.45s + (var(--step-index, 0) * 0.1s));
    }
}

@keyframes workflow-card-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes workflow-status-pulse {
    0% { transform: scale(1); }
    45% { transform: scale(1.045); }
    100% { transform: scale(1); }
}

@media (max-width: 1180px) {
    .workflow-story {
        gap: 2.6rem;
        padding: clamp(2rem, 4vw, 3.25rem) 0;
    }

    .workflow-story__copy {
        max-width: 760px;
    }

    .workflow-story__visual {
        gap: 1.35rem;
    }

    .workflow-step-card__surface {
        min-height: 330px;
    }
}

@media (max-width: 1040px) {
    .workflow-story-section::before {
        opacity: 0.12;
    }

    .workflow-story__visual {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .workflow-step-card__surface {
        min-height: 320px;
    }
}

@media (max-width: 860px) {
    .workflow-story__visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .workflow-story-section::before {
        opacity: 0.08;
        background-size: 56px 56px;
    }

    .workflow-story {
        gap: 2rem;
        padding: 1.6rem 0;
    }

    .workflow-story__copy {
        max-width: none;
    }

    .workflow-story__eyebrow {
        margin-bottom: 0.7rem;
        font-size: 0.66rem;
    }

    .workflow-story__copy h2 {
        margin-bottom: 0.8rem;
        font-size: clamp(2rem, 12vw, 2.75rem);
    }

    .workflow-story__visual {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .workflow-step-card {
        min-height: auto;
        gap: 0.75rem;
    }

    .workflow-step-card__rail {
        min-height: 2rem;
    }

    .workflow-step-card__number {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.76rem;
        box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.08);
    }

    .workflow-step-card__label {
        font-size: 0.66rem;
    }

    .workflow-step-card__surface {
        min-height: auto;
        padding: 1rem;
        border-radius: 18px;
    }

    .workflow-step-card__header {
        margin-bottom: 0.8rem;
    }

    .workflow-step-card h3 {
        font-size: 1.18rem;
    }

    .workflow-step-card__description {
        min-height: 0;
        font-size: 0.76rem;
    }

    .workflow-review-list {
        gap: 0.55rem;
    }

    .workflow-publish-list {
        gap: 0.5rem;
    }
}

@media (max-width: 460px) {
    .workflow-story {
        padding: 1.25rem 0;
    }

    .workflow-story__visual {
        gap: 1.1rem;
    }

    .workflow-step-card__surface {
        padding: 0.85rem;
        border-radius: 16px;
    }

    .workflow-c09-footer,
    .workflow-c12-header,
    .workflow-open-shift {
        gap: 0.5rem;
    }

    .workflow-c12-header {
        align-items: flex-start;
    }

    .workflow-c12-header .workflow-pill {
        margin-left: 0;
    }

    .workflow-shift-chip {
        grid-template-columns: auto auto;
    }

    .workflow-shift-chip em {
        grid-column: 1 / -1;
        white-space: normal;
    }

    .workflow-card-button {
        min-height: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-story.is-visible .workflow-step-card,
    .workflow-story.is-visible .workflow-pill,
    .workflow-story.is-visible .workflow-warning {
        animation: none;
    }
}
/* ============================================
   MOBILE APP BENTO GRID
   ============================================ */

.app-bento-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.75rem;
}

.app-bento-header__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: 0.9rem;
}

.app-bento-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
}

.app-bento-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.app-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

/* ---- Base card ---- */
.bento-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 1.75rem 1.75rem 0;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 60px rgba(0,0,0,0.28);
}

.bento-card__content {
    position: relative;
    z-index: 2;
    padding-bottom: 1.5rem;
}

.bento-card__eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    margin-bottom: 0.6rem;
    opacity: 0.75;
}

.bento-card__content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.96);
    margin: 0 0 0.55rem;
}

.bento-card__content p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.48);
    margin: 0;
    max-width: 30ch;
}

/* ---- Image wrap — shared base ---- */
.bento-card__img-wrap {
    position: absolute;
    overflow: hidden;
    bottom: 0;
}

.bento-card__img-wrap img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

/* ---- Card 1: Clock-In (wide) ---- */
.bento-card--clockin {
    grid-column: span 7;
    min-height: 380px;
    background:
        radial-gradient(ellipse 65% 55% at 88% 100%, rgba(16,185,129,0.26) 0%, transparent 70%),
        linear-gradient(150deg, #0c1c14 0%, #111e17 100%);
}

.bento-card--clockin .bento-card__eyebrow { color: #34d399; }

.bento-card--clockin .bento-card__img-wrap {
    right: 0;
    bottom: 0;
    width: 46%;
    height: 88%;
    border-radius: 16px 0 0 0;
}

.bento-card--clockin .bento-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to right, #0c1c14 0%, rgba(12,28,20,0.5) 22%, transparent 50%),
        linear-gradient(to bottom, #0c1c14 0%, transparent 20%);
}

.bento-card--clockin .bento-card__img-wrap img {
    border-radius: 16px 0 0 0;
    box-shadow: -18px 0 36px rgba(0,0,0,0.45);
    filter: brightness(0.96);
}

/* ---- Card 2: Messenger ---- */
.bento-card--messenger {
    grid-column: span 5;
    min-height: 380px;
    background:
        radial-gradient(ellipse 60% 50% at 55% 100%, rgba(99,102,241,0.22) 0%, transparent 70%),
        linear-gradient(150deg, #10101e 0%, #14132a 100%);
}

.bento-card--messenger .bento-card__eyebrow { color: #a5b4fc; }

.bento-card--messenger .bento-card__img-wrap {
    left: 50%;
    transform: translateX(-50%);
    width: 64%;
    height: 70%;
}

.bento-card--messenger .bento-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, #10101e 0%, transparent 28%),
        linear-gradient(to right, rgba(16,16,30,0.7) 0%, transparent 12%, transparent 88%, rgba(16,16,30,0.7) 100%);
}

.bento-card--messenger .bento-card__img-wrap img {
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}

/* ---- Card 3: Roster (week view) ---- */
.bento-card--roster {
    grid-column: span 4;
    min-height: 310px;
    background:
        radial-gradient(ellipse 60% 55% at 55% 100%, rgba(59,130,246,0.2) 0%, transparent 70%),
        linear-gradient(150deg, #0c1220 0%, #0f172a 100%);
}

.bento-card--roster .bento-card__eyebrow { color: #93c5fd; }

.bento-card--roster .bento-card__img-wrap {
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 66%;
}

.bento-card--roster .bento-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, #0c1220 0%, transparent 26%),
        linear-gradient(to right, rgba(12,18,32,0.65) 0%, transparent 10%, transparent 90%, rgba(12,18,32,0.65) 100%);
}

.bento-card--roster .bento-card__img-wrap img {
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}

/* ---- Card 4: Team View ---- */
.bento-card--team {
    grid-column: span 4;
    min-height: 310px;
    background:
        radial-gradient(ellipse 60% 55% at 55% 100%, rgba(245,158,11,0.16) 0%, transparent 70%),
        linear-gradient(150deg, #160e05 0%, #1c1409 100%);
}

.bento-card--team .bento-card__eyebrow { color: #fcd34d; }

.bento-card--team .bento-card__img-wrap {
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 66%;
}

.bento-card--team .bento-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, #160e05 0%, transparent 26%),
        linear-gradient(to right, rgba(22,14,5,0.65) 0%, transparent 10%, transparent 90%, rgba(22,14,5,0.65) 100%);
}

.bento-card--team .bento-card__img-wrap img {
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}

/* ---- Card 5: Kiosk ---- */
.bento-card--kiosk {
    grid-column: span 4;
    min-height: 310px;
    background:
        radial-gradient(ellipse 70% 55% at 55% 100%, rgba(20,184,166,0.18) 0%, transparent 70%),
        linear-gradient(150deg, #081816 0%, #0b1e1b 100%);
}

.bento-card--kiosk .bento-card__eyebrow { color: #5eead4; }

.bento-card--kiosk .bento-card__img-wrap {
    left: 0;
    right: 0;
    width: 100%;
    height: 52%;
}

.bento-card--kiosk .bento-card__img-wrap img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.4);
}

.bento-card--kiosk .bento-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, #081816 0%, transparent 32%),
        linear-gradient(to right, rgba(8,24,22,0.5) 0%, transparent 8%, transparent 92%, rgba(8,24,22,0.5) 100%);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .bento-card--clockin { grid-column: span 8; }
    .bento-card--messenger { grid-column: span 4; }
}

@media (max-width: 900px) {
    .app-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .bento-card--clockin  { grid-column: span 2; min-height: 340px; }
    .bento-card--messenger { grid-column: span 2; min-height: 300px; }
    .bento-card--roster   { grid-column: span 1; min-height: 280px; }
    .bento-card--team     { grid-column: span 1; min-height: 280px; }
    .bento-card--kiosk    { grid-column: span 2; min-height: 260px; }

    .bento-card--clockin .bento-card__img-wrap { width: 44%; height: 84%; }
    .bento-card--messenger .bento-card__img-wrap { width: 58%; height: 66%; }
}

@media (max-width: 540px) {
    .app-bento {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .bento-card--clockin,
    .bento-card--messenger,
    .bento-card--roster,
    .bento-card--team,
    .bento-card--kiosk { grid-column: span 1; min-height: 300px; }

    .bento-card--clockin .bento-card__img-wrap { width: 52%; height: 76%; }
    .bento-card--roster .bento-card__img-wrap,
    .bento-card--team .bento-card__img-wrap { width: 68%; height: 62%; }
    .bento-card--kiosk .bento-card__img-wrap { height: 48%; }
}

/* ============================================
   HOME STATS + PLATFORM SHOWCASE
   ============================================ */

.stats-showcase {
    text-align: center;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.stats-showcase__heading {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.stats-showcase__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stats-showcase__item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1.5rem;
    border-right: 1px solid var(--border-subtle);
}

.stats-showcase__item:last-child {
    border-right: none;
}

.stats-showcase__number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.stats-showcase__label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
}

.platform-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.platform-showcase__content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.platform-showcase__subtitle {
    font-family: var(--font-body);
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 440px;
    line-height: 1.6;
}

.platform-showcase__list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.platform-showcase__list-item {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.platform-showcase__list-item:last-child {
    border-bottom: none;
}

.platform-showcase__list-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.platform-showcase__list-item h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.platform-showcase__list-item p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.platform-showcase__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-showcase__glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.25) 0%, rgba(var(--accent-primary-rgb), 0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.platform-showcase__mockup {
    position: relative;
    max-width: 260px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.platform-showcase__placeholder {
    position: relative;
    width: 100%;
    max-width: 560px;
}

.platform-showcase__placeholder svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.platform-showcase--reversed {
    margin-top: 4rem;
}

.connected-flow {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.connected-flow__copy {
    max-width: 660px;
}

.connected-flow__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: var(--accent-primary-strong);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.connected-flow__eyebrow::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--accent-primary);
    box-shadow: 0 0 0 6px rgba(var(--accent-primary-rgb), 0.12);
}

.connected-flow__copy h2 {
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.connected-flow__copy p {
    max-width: 560px;
    margin: 1.25rem 0 0;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

.connected-flow__outcomes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.connected-flow__outcomes span {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 600;
}

.connected-flow__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.connected-card {
    position: relative;
    min-height: 280px;
    padding: clamp(1.2rem, 2.5vw, 1.6rem);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
        #111414;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.22);
}

.connected-card__visual {
    position: relative;
    height: 142px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 74% 18%, rgba(var(--accent-primary-rgb), 0.24), transparent 34%),
        rgba(255, 255, 255, 0.05);
}

.connected-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 20, 20, 0.08) 0%, rgba(17, 20, 20, 0.32) 74%, rgba(17, 20, 20, 0.58) 100%),
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.14), transparent 34%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.connected-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.connected-card__visual--staff img {
    width: 58%;
    height: 170%;
    margin-left: auto;
    object-position: 50% 27%;
    filter: drop-shadow(-18px 18px 28px rgba(0, 0, 0, 0.34));
}

.connected-card__visual--roster img {
    width: 142%;
    height: 128%;
    transform: translate(-17%, -8%);
    object-position: 48% 13%;
}

.connected-card__visual--time img {
    width: 136%;
    height: 132%;
    transform: translate(-12%, -13%);
    object-position: 54% 36%;
}

.connected-card__visual--payroll img {
    width: 138%;
    height: 128%;
    transform: translate(-16%, -12%);
    object-position: 50% 43%;
}

.connected-card__badge,
.connected-card__chip,
.connected-card__time-pill,
.connected-card__export-pill {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.connected-card__badge {
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.42rem 0.72rem;
    background: rgba(17, 20, 20, 0.78);
    color: var(--text-primary);
    backdrop-filter: blur(14px);
}

.connected-card__badge::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.42rem;
    border-radius: 999px;
    background: var(--accent-primary-strong);
}

.connected-card__chip {
    right: 0.9rem;
    padding: 0.42rem 0.7rem;
    background: rgba(var(--accent-primary-rgb), 0.86);
    color: #061713;
}

.connected-card__chip--one {
    bottom: 3.25rem;
}

.connected-card__chip--two {
    bottom: 0.9rem;
    right: 1.4rem;
    background: rgba(255, 255, 255, 0.9);
    color: #111414;
}

.connected-card__rail {
    position: absolute;
    z-index: 2;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    height: 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.connected-card__rail::after {
    content: '';
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-primary);
}

.connected-card__time-pill {
    right: 1rem;
    bottom: 1rem;
    padding: 0.44rem 0.8rem;
    background: var(--accent-primary);
    color: #061713;
}

.connected-card__export-pill {
    right: 1rem;
    bottom: 1rem;
    padding: 0.48rem 0.85rem;
    background: var(--accent-primary);
    color: #061713;
}

.connected-card h3 {
    margin: 1.2rem 0 0;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 650;
    line-height: 1.15;
}

.connected-card p {
    margin: 0.7rem 0 0;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.93rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .platform-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .connected-flow {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .connected-flow__copy {
        max-width: 760px;
    }

    .connected-flow__cards {
        max-width: 760px;
    }

    .platform-showcase--reversed .platform-showcase__content {
        order: -1;
    }

    .platform-showcase__mockup {
        max-width: 220px;
    }

    .platform-showcase__placeholder {
        max-width: 440px;
    }
}

@media (max-width: 768px) {
    .stats-showcase {
        padding-bottom: 3rem;
        margin-bottom: 3rem;
    }

    .stats-showcase__items {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stats-showcase__item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding: 1.5rem 0;
    }

    .stats-showcase__item:last-child {
        border-bottom: none;
    }

    .stats-showcase__number {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .platform-showcase__glow {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .platform-showcase__list-item:hover {
        background: transparent;
    }

    .platform-showcase__mockup {
        max-width: 200px;
    }

    .platform-showcase__glow {
        width: 160px;
        height: 160px;
    }
}
