/* ============================================================
   THEME TOKENS
   ============================================================ */
:root {
    --brand-navy: #0B254B;
    --brand-navy-hover: #081C3A;
    --brand-blue: #1D6FA5;
    --brand-teal: #0E7C8B;
    --brand-amber: #F58220;
    --brand-amber-soft: #FFF5EB;
    --surface-subtle: #F7F9FC;
    --ink-muted: #475569;
    --border-hairline: #E2E8F0;

    --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;

    --shadow-sm: 0 1px 12px rgba(11, 37, 75, 0.05);
    --shadow-md: 0 20px 50px rgba(11, 37, 75, 0.12);
    --shadow-lg: 0 24px 60px rgba(11, 37, 75, 0.18);
    --shadow-fab: 0 12px 30px rgba(11, 37, 75, 0.22);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1200px;
}

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--font-sans);
    color: var(--brand-navy);
    background-color: #ffffff;
    scroll-padding-top: 5rem;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    text-wrap: balance;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p {
    text-wrap: pretty;
}

/* ============================================================
   FOCUS STYLES
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 640px) {
    .container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: 2rem;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
    z-index: 100;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    padding: 0.625rem 1rem;
    background: var(--brand-navy);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 100;
}

.tabular {
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   ICON SYSTEM
   ============================================================ */
.icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    width: 1rem;
    /* safe default */
    height: 1rem;
}

.icon-accent {
    color: var(--brand-amber);
}

.icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.icon-xs {
    width: 0.75rem;
    height: 0.75rem;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-md {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-check {
    width: 1rem;
    height: 1rem;
    color: var(--brand-teal);
    margin-top: 0.25rem;
}

.icon-teal {
    color: var(--brand-teal);
}

.icon-navy {
    color: var(--brand-navy);
}

.icon-blue {
    color: var(--brand-blue);
}

.icon-amber {
    color: var(--brand-amber);
}

.icon-muted {
    color: var(--ink-muted);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand-navy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-teal);
}

.btn-outline {
    background: #fff;
    color: var(--brand-navy);
    border: 1px solid var(--border-hairline);
}

.btn-outline:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
}

.btn-nav {
    display: none;
    min-height: 40px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .btn-nav {
        display: inline-flex;
    }
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 48px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    background: none;
    border: none;
    transition: color 0.15s ease;
}

.btn-link:hover {
    color: var(--brand-navy);
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding-inline: 1.5rem;
    opacity: 1;
    transition: opacity 0.32s var(--ease-out);
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.page-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.95) translateY(8px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.page-loader.visible .page-loader-inner {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.page-loader-logo {
    height: 6rem;
    width: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .page-loader-logo {
        height: 7rem;
    }
}

.page-loader-bar {
    margin-top: 1.5rem;
    height: 4px;
    width: 11rem;
    overflow: hidden;
    border-radius: 999px;
    background: #f1f5f9;
}

.page-loader-bar-fill {
    height: 100%;
    width: 100%;
    transform-origin: left;
    transform: scaleX(0);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-teal), var(--brand-amber));
    transition: transform 0.65s var(--ease-out);
}

.page-loader.visible .page-loader-bar-fill {
    transform: scaleX(1);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border-hairline);
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    max-width: var(--container-max);
    margin-inline: auto;
    height: 68px;
    padding-inline: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 640px) {
    .navbar-inner {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .navbar-inner {
        padding-inline: 2rem;
    }
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-logo {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
}

.brand-name-accent {
    color: var(--brand-blue);
}

/* Nav links */
.nav-links {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    position: relative;
    padding-block: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
    white-space: nowrap;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--brand-navy);
}

.nav-link.active {
    color: var(--brand-navy);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-amber);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    color: var(--brand-navy);
    background: #fff;
    transition: background-color 0.15s ease;
}

.nav-toggle:hover {
    background: var(--surface-subtle);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle .icon-x {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.nav-toggle[aria-expanded="true"] .icon-x {
    display: block;
}

/* Mobile drawer */
/* Mobile drawer — overlays content instead of pushing it */
.mobile-drawer {
    position: absolute;
    /* ← key fix */
    top: 100%;
    left: 0;
    right: 0;
    z-index: 39;
    /* below navbar (40), above backdrop (35) */

    border-top: 1px solid var(--border-hairline);
    background: #fff;
    padding: 0.75rem 1.25rem 1.5rem;
    box-shadow: 0 20px 40px rgba(11, 37, 75, 0.15);

    display: flex;
    flex-direction: column;
    gap: 0.25rem;

    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s var(--ease-out),
        transform 0.2s var(--ease-out),
        visibility 0s linear 0.2s;
}

.mobile-drawer[hidden] {
    display: none;
}

.mobile-drawer.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.2s var(--ease-out),
        transform 0.2s var(--ease-out),
        visibility 0s;
}

.mobile-drawer-link {
    /* unchanged */
}

.mobile-drawer-cta {
    /* unchanged */
}

@media (min-width: 768px) {
    .mobile-drawer {
        display: none !important;
    }
}

.mobile-drawer .mobile-drawer-link,
.mobile-drawer .mobile-drawer-cta {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.mobile-drawer.open .mobile-drawer-link,
.mobile-drawer.open .mobile-drawer-cta {
    opacity: 1;
    transform: translateY(0);
}

.mobile-drawer.open .mobile-drawer-link:nth-child(1) {
    transition-delay: 0.04s;
}

.mobile-drawer.open .mobile-drawer-link:nth-child(2) {
    transition-delay: 0.08s;
}

.mobile-drawer.open .mobile-drawer-link:nth-child(3) {
    transition-delay: 0.12s;
}

.mobile-drawer.open .mobile-drawer-link:nth-child(4) {
    transition-delay: 0.16s;
}

.mobile-drawer.open .mobile-drawer-cta {
    transition-delay: 0.20s;
}

/* Dimmed backdrop behind the open drawer */
body.drawer-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 75, 0.35);
    z-index: 35;
    animation: fadeIn 0.2s var(--ease-out);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Body scroll lock while drawer is open (already in your CSS) */
body.drawer-open {
    overflow: hidden;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    border-bottom: 1px solid var(--border-hairline);
    background: #fff;
}

.hero>.container {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero>.container {
        padding-top: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero>.container {
        padding-top: 4rem;
        padding-bottom: 5rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 3rem;
    }
}

/* Hero copy (left) */
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-copy {
        grid-column: span 6;
    }
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-teal);
}

.hero-meta-sep {
    color: #cbd5e1;
}

.hero-meta-muted {
    color: var(--ink-muted);
}

.hero-heading {
    margin-top: 1.25rem;
    font-size: clamp(2.25rem, 4vw, 3.65rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--brand-navy);
}

.hero-sub {
    margin-top: 1.5rem;
    max-width: 60ch;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

@media (min-width: 640px) {
    .hero-sub {
        font-size: 1.125rem;
    }
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
    text-decoration: underline;
    text-decoration-color: var(--border-hairline);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.hero-secondary-link:hover {
    color: var(--brand-teal);
    text-decoration-color: var(--brand-teal);
}

.hero-platform-strip {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-hairline);
    padding-top: 1.5rem;
}

.hero-platform-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.hero-platform-list {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.platform-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.platform-sep {
    color: #cbd5e1;
}

@media (max-width: 639px) {
    .platform-sep {
        display: none;
    }
}

.platform-text-blue {
    color: var(--brand-blue);
}

.platform-text-navy {
    color: var(--brand-navy);
}

/* Hero showcase (right) */
.hero-showcase {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .hero-showcase {
        grid-column: span 6;
    }
}

/* ============================================================
   MOBILE PHONE SHOWCASE
   ============================================================ */
.showcase-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1.25rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-hairline);
    background: var(--surface-subtle);
}

@media (min-width: 640px) {
    .showcase-card {
        padding: 1.75rem;
    }
}

/* Header with platform switcher */
.showcase-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 1rem;
}

.showcase-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.showcase-subtitle {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.platform-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: #fff;
}

.platform-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink-muted);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.platform-tab:hover {
    color: var(--brand-navy);
}

.platform-tab.active[data-platform="ios"] {
    background: var(--brand-navy);
    color: #fff;
}

.platform-tab.active[data-platform="android"] {
    background: var(--brand-teal);
    color: #fff;
}

/* Phone wrap */
.showcase-phone-wrap {
    margin-block: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Phone frame */
.phone-frame {
    position: relative;
    width: 100%;
    max-width: 318px;
    overflow: hidden;
    border: 6px solid var(--brand-navy);
    background: #fff;
    box-shadow: var(--shadow-md);
    border-radius: 38px;
    transition: border-radius 0.2s ease;
}

.phone-frame[data-platform="android"] {
    border-radius: 26px;
}

/* Status bar */
.phone-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem 0.5rem;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-navy);
    font-variant-numeric: tabular-nums;
}

.phone-notch {
    height: 1rem;
    width: 5rem;
    border-radius: 999px;
    background: var(--brand-navy);
}

.phone-frame[data-platform="android"] .phone-notch {
    height: 0.625rem;
    width: 0.625rem;
    border-radius: 999px;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--brand-navy);
}

.phone-battery {
    font-size: 10px;
}

/* App header */
.phone-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-hairline);
}

.phone-app-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.75rem;
    width: 1.75rem;
    border-radius: 0.5rem;
    color: #fff;
    background: var(--brand-navy);
    transition: background-color 0.2s ease;
}

.phone-frame[data-platform="android"] .phone-app-logo {
    background: var(--brand-teal);
}

.phone-app-name {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--brand-navy);
}

.phone-app-build {
    font-size: 11px;
    line-height: 1.2;
    color: var(--ink-muted);
}

.phone-auto-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-teal);
    font-variant-numeric: tabular-nums;
}

/* Screen */
.phone-screen {
    min-height: 268px;
    background: var(--surface-subtle);
    padding: 0.875rem;
    position: relative;
}

.phone-tab-panel {
    display: none;
    animation: fadeInUp 0.18s var(--ease-out);
}

.phone-tab-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview panel */
.phone-revenue-card {
    border-radius: var(--radius-md);
    background: var(--brand-navy);
    padding: 0.875rem;
    color: #fff;
}

.phone-revenue-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #cbd5e1;
}

.phone-revenue-value {
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.phone-revenue-footer {
    margin-top: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.5rem;
    font-size: 11px;
}

.phone-revenue-footer span:first-child {
    color: #e2e8f0;
}

.phone-revenue-highlight {
    font-weight: 600;
    color: var(--brand-amber);
    font-variant-numeric: tabular-nums;
}

.phone-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-top: 0.75rem;
}

.phone-stat-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: #fff;
    padding: 0.75rem;
}

.phone-stat-label {
    font-size: 11px;
    color: var(--ink-muted);
}

.phone-stat-value {
    margin-top: 0.125rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
    font-variant-numeric: tabular-nums;
}

.phone-stat-note {
    margin-top: 0.25rem;
    font-size: 10px;
}

.note-teal {
    color: var(--brand-teal);
}

.note-blue {
    color: var(--brand-blue);
}

.phone-automation-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: #fff;
    text-align: left;
    transition: border-color 0.15s ease;
}

.phone-automation-cta:hover {
    border-color: var(--brand-teal);
}

.phone-automation-cta-left {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.phone-cta-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.phone-cta-sub {
    font-size: 11px;
    color: var(--ink-muted);
}

.phone-cta-action {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-teal);
}

/* Automation panel */
.phone-panel-hint {
    padding-inline: 0.125rem;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 0.625rem;
}

.phone-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.625rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: #fff;
    text-align: left;
    transition: border-color 0.15s ease;
}

.phone-toggle-row:hover {
    border-color: var(--brand-teal);
}

.phone-toggle-copy {
    min-width: 0;
}

.phone-toggle-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-toggle-detail {
    font-size: 11px;
    color: var(--ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    width: 2.5rem;
    padding: 0.125rem;
    border-radius: 999px;
    background: #e2e8f0;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.phone-toggle-row.active .phone-toggle-switch {
    background: var(--brand-teal);
}

.phone-toggle-knob {
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(11, 37, 75, 0.1);
    transform: translateX(0);
    transition: transform 0.15s ease;
}

.phone-toggle-row.active .phone-toggle-knob {
    transform: translateX(1rem);
}

/* Alerts panel */
.phone-alert-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: #fff;
}

.phone-alert-left {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
}

.phone-alert-copy {
    min-width: 0;
}

.phone-alert-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-alert-meta {
    font-size: 11px;
    color: var(--ink-muted);
}

.phone-alert-metric {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-navy);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* Bottom nav */
.phone-bottom-nav {
    border-top: 1px solid var(--border-hairline);
    background: #fff;
    padding: 0.375rem 0.5rem 0.5rem;
}

.phone-nav-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}

.phone-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding-block: 0.375rem;
    border-radius: 0.5rem;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-muted);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.phone-nav-tab:hover {
    color: var(--brand-navy);
}

.phone-nav-tab.active {
    background: var(--surface-subtle);
    color: var(--brand-navy);
}

/* Gesture bar */
.phone-gesture {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
}

.gesture-ios {
    display: flex;
    justify-content: center;
}

.gesture-bar-wide {
    display: block;
    height: 4px;
    width: 6rem;
    border-radius: 999px;
    background: rgba(11, 37, 75, 0.25);
}

.gesture-android {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.gesture-bar-sm {
    display: block;
    height: 4px;
    width: 1rem;
    border-radius: 999px;
    background: rgba(11, 37, 75, 0.25);
}

.gesture-bar-md {
    display: block;
    height: 4px;
    width: 2rem;
    border-radius: 999px;
    background: rgba(11, 37, 75, 0.35);
}

.phone-frame[data-platform="ios"] .gesture-ios {
    display: flex;
}

.phone-frame[data-platform="ios"] .gesture-android {
    display: none;
}

.phone-frame[data-platform="android"] .gesture-ios {
    display: none;
}

.phone-frame[data-platform="android"] .gesture-android {
    display: flex;
}

/* Showcase footer */
.showcase-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 1px solid var(--border-hairline);
    padding-top: 0.875rem;
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.showcase-footer-platforms {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--brand-navy);
}

.showcase-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* ============================================================
   HERO PROOF STRIP
   ============================================================ */
.hero-proof {
    margin-top: 3.5rem;
    border-top: 1px solid var(--border-hairline);
    padding-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .hero-proof {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero-proof {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.proof-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
    font-variant-numeric: tabular-nums;
}

.proof-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-teal);
}

.proof-detail {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--ink-muted);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header {
    max-width: 42rem;
}

.eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-teal);
}

.section-heading {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
}

.section-sub {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

.section-header-split {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .section-header-split {
        flex-direction: row;
        align-items: flex-end;
    }
}

.section-header-left {
    max-width: 42rem;
}

.section-header-right {
    max-width: 24rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
    background: var(--surface-subtle);
    padding-block: 5rem;
}

@media (min-width: 1024px) {
    .services {
        padding-block: 6rem;
    }
}

.services-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-hairline);
    background: #fff;
    transition: border-color 0.2s ease;
}

@media (min-width: 640px) {
    .service-card {
        padding: 2rem;
    }
}

.service-card:hover {
    border-color: rgba(14, 124, 139, 0.5);
}

@media (min-width: 1024px) {
    .service-card-mobile {
        grid-column: span 7;
    }

    .service-card-ai {
        grid-column: span 5;
    }

    .service-card-software {
        grid-column: span 12;
    }
}

.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card-wide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .service-card-wide-grid {
        grid-template-columns: repeat(12, 1fr);
        align-items: flex-start;
    }

    .service-card-wide-grid .service-card-main {
        grid-column: span 5;
    }

    .service-card-wide-grid .service-card-deliverables {
        grid-column: span 7;
        padding-left: 1rem;
    }
}

.service-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-card-meta-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-teal);
    font-variant-numeric: tabular-nums;
}

.service-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.service-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-title {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
}

.service-desc {
    margin-top: 0.75rem;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-muted);
}

.service-deliverables-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.deliverables-list {
    margin-top: 0.875rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.deliverables-list-2col {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .deliverables-list-2col {
        grid-template-columns: 1fr 1fr;
    }
}

.deliverables-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.service-card-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.service-stack {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 40px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
    white-space: nowrap;
    flex-shrink: 0;
    background: none;
    border: none;
    transition: color 0.15s ease;
}

.service-cta:hover {
    color: var(--brand-teal);
}

/* ============================================================
   PROOF & PROCESS
   ============================================================ */
.proof-process {
    border-block: 1px solid var(--border-hairline);
    background: #fff;
    padding-block: 5rem;
}

@media (min-width: 1024px) {
    .proof-process {
        padding-block: 6rem;
    }
}

.case-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-hairline);
    background: var(--surface-subtle);
}

@media (min-width: 640px) {
    .case-card {
        padding: 1.75rem;
    }
}

.case-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-teal);
}

.case-metric-block {
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-hairline);
}

.case-metric {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
    font-variant-numeric: tabular-nums;
}

.case-metric-context {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--ink-muted);
}

.case-title {
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
}

.case-summary {
    margin-top: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

.case-platform-line {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-hairline);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-muted);
}

/* Process */
.process {
    margin-top: 5rem;
    border-top: 1px solid var(--border-hairline);
    padding-top: 4rem;
}

.process-header {
    max-width: 36rem;
}

.process-heading {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
}

.process-steps {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.process-step-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.process-step-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-amber);
    font-variant-numeric: tabular-nums;
}

.process-step-line {
    flex: 1;
    height: 1px;
    background: var(--border-hairline);
}

.process-step-title {
    margin-top: 0.625rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.process-step-desc {
    margin-top: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
    background: var(--surface-subtle);
    padding-block: 5rem;
}

@media (min-width: 1024px) {
    .contact {
        padding-block: 6rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .contact-info {
        grid-column: span 5;
    }

    .contact-card {
        grid-column: span 7;
    }
}

.contact-info-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-muted);
}

.contact-number {
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-navy);
    font-variant-numeric: tabular-nums;
}

.contact-desc {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.contact-info-block .btn-outline {
    margin-top: 1rem;
    border-color: var(--brand-teal);
}

.contact-info-block .btn-outline:hover {
    background: var(--brand-teal);
    color: #fff;
}

.contact-info-block .btn-outline:hover .icon-teal {
    color: #fff;
}

.contact-what-next {
    border-top: 1px solid var(--border-hairline);
    padding-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.contact-next-title {
    font-weight: 600;
    color: var(--brand-navy);
}

.contact-next-desc {
    margin-top: 0.375rem;
    line-height: 1.65;
}

/* Contact card + form */
.contact-card {
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-hairline);
    background: #fff;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .contact-card {
        padding: 2rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-fieldset {
    border: none;
}

.form-legend {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.scope-grid {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
}

@media (min-width: 640px) {
    .scope-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.scope-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: var(--surface-subtle);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.scope-btn:hover {
    border-color: var(--brand-teal);
}

.scope-btn.active {
    border-color: var(--brand-navy);
    background: var(--brand-navy);
    color: #fff;
}

.scope-btn .scope-check {
    display: none;
}

.scope-btn.active .scope-check {
    display: block;
}

.pill-grid {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-btn {
    min-height: 40px;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-muted);
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pill-btn:hover {
    border-color: var(--brand-teal);
    color: var(--brand-navy);
}

.pill-btn.active {
    border-color: var(--brand-teal);
    background: var(--brand-teal);
    color: #fff;
}

.timeline-grid {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .timeline-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.timeline-btn {
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-muted);
    text-align: center;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.timeline-btn:hover {
    border-color: rgba(11, 37, 75, 0.4);
    color: var(--brand-navy);
}

.timeline-btn.active {
    border-color: var(--brand-navy);
    background: rgba(11, 37, 75, 0.05);
    color: var(--brand-navy);
}

.form-contact-section {
    border-top: 1px solid var(--border-hairline);
    padding-top: 1.5rem;
}

.form-fields {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-fields {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.required {
    color: var(--brand-amber);
}

.form-input {
    width: 100%;
    min-height: 44px;
    margin-top: 0.375rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    background: #fff;
    font-size: 0.875rem;
    color: var(--brand-navy);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    border-color: var(--brand-teal);
}

.form-input.error {
    border-color: #dc2626;
    background: rgba(254, 242, 242, 0.4);
}

textarea.form-input {
    min-height: 90px;
    resize: vertical;
    line-height: 1.5;
}

.form-error {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #b91c1c;
    min-height: 0;
}

.form-error:empty {
    display: none;
}

.form-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
}

.form-selection {
    font-size: 0.75rem;
    color: var(--ink-muted);
}

.form-selection strong {
    color: var(--brand-navy);
}

/* Success state */
.contact-success {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-success[hidden] {
    display: none;
}

.success-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.success-desc {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.success-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: var(--surface-subtle);
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .success-summary {
        grid-template-columns: 1fr 1fr;
    }
}

.success-summary .full {
    grid-column: 1 / -1;
}

.success-summary dt {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ink-muted);
}

.success-summary dd {
    margin-top: 0.125rem;
    font-weight: 600;
    color: var(--brand-navy);
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--border-hairline);
    background: #fff;
}

.footer>.container {
    padding-block: 3.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .footer-brand {
        grid-column: span 5;
    }

    .footer-nav {
        grid-column: span 3;
    }

    .footer-contact {
        grid-column: span 4;
    }
}

.footer-tagline {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--brand-teal);
}

.footer-desc {
    margin-top: 0.75rem;
    max-width: 24rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

.footer-platforms {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--brand-navy);
}

.footer-sep {
    color: #cbd5e1;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-navy);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.footer-links a {
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--brand-navy);
}

.footer-contact .footer-desc {
    margin-top: 1rem;
}

.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    margin-top: 1rem;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    background: var(--surface-subtle);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-navy);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-wa-btn:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--ink-muted);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
    }
}

/* ============================================================
   CHATBOT
   ============================================================ */
.chatbot {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 40;
    /* NEW — keeps launcher pinned to the right */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (min-width: 640px) {
    .chatbot {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

.chat-panel {
    display: flex;
    flex-direction: column;
    height: min(560px, calc(100dvh - 6.5rem));
    width: min(380px, calc(100vw - 2rem));
    margin-bottom: 0.75rem;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-hairline);
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.2s var(--ease-out), transform 0.25s var(--ease-out);
    pointer-events: none;
}

.chat-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-panel[hidden] {
    display: none;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--brand-navy);
    color: #fff;
}

.chat-header-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.chat-logo {
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.125rem;
    object-fit: contain;
    flex-shrink: 0;
}

.chat-header-copy {
    min-width: 0;
}

.chat-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-subtitle {
    font-size: 11px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.chat-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    color: #e2e8f0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.chat-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.chat-wa-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-hairline);
    background: var(--surface-subtle);
    font-size: 0.75rem;
}

.chat-wa-banner>span {
    color: var(--ink-muted);
}

.chat-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--brand-teal);
    white-space: nowrap;
    transition: color 0.15s ease;
}

.chat-wa-link:hover {
    color: var(--brand-navy);
}

.chat-feed {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    animation: chatIn 0.2s var(--ease-out);
}

.chat-msg.user {
    align-items: flex-end;
}

.chat-msg.bot {
    align-items: flex-start;
}

@keyframes chatIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-bubble {
    max-width: 88%;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.6;
    border-radius: 1rem;
}

.chat-msg.user .chat-bubble {
    background: var(--brand-navy);
    color: #fff;
    border-bottom-right-radius: 0.25rem;
}

.chat-msg.bot .chat-bubble {
    background: var(--surface-subtle);
    color: var(--brand-navy);
    border: 1px solid var(--border-hairline);
    border-bottom-left-radius: 0.25rem;
}

.chat-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    margin-top: 0.5rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    background: var(--brand-teal);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    transition: background-color 0.15s ease;
}

.chat-wa-cta:hover {
    background: var(--brand-navy);
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.625rem;
}

.chat-quick-btn {
    min-height: 36px;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-navy);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.chat-quick-btn:hover {
    border-color: var(--brand-teal);
    color: var(--brand-teal);
}

.chat-quick-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    border-radius: 1rem;
    border-bottom-left-radius: 0.25rem;
    background: var(--surface-subtle);
    border: 1px solid var(--border-hairline);
}

.chat-typing span {
    height: 6px;
    width: 6px;
    border-radius: 999px;
    background: var(--brand-teal);
    animation: bounce 1.2s infinite;
}

.chat-typing span:nth-child(2) {
    animation-delay: -0.2s;
}

.chat-typing span:nth-child(3) {
    animation-delay: -0.1s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.chat-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid var(--border-hairline);
    background: #fff;
}

.chat-input {
    flex: 1;
    min-height: 42px;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: var(--surface-subtle);
    font-size: 0.875rem;
    color: var(--brand-navy);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.chat-input::placeholder {
    color: #94a3b8;
}

.chat-input:focus {
    border-color: var(--brand-teal);
    background: #fff;
}

.chat-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--brand-navy);
    color: #fff;
    flex-shrink: 0;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.chat-send:hover:not(:disabled) {
    background: var(--brand-teal);
}

.chat-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Launcher */
.chat-launcher {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: var(--brand-navy);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-fab);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.chat-launcher:hover {
    background: var(--brand-teal);
    transform: scale(1.03);
}

.chat-launcher:active {
    transform: scale(0.97);
}

.chat-launcher-label {
    white-space: nowrap;
}

.chat-launcher-icon-close {
    display: none;
}

.chat-launcher[aria-expanded="true"] .chat-launcher-icon-open {
    display: none;
}

.chat-launcher[aria-expanded="true"] .chat-launcher-icon-close {
    display: block;
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 767px) {
    .hero-actions {
        gap: 1rem;
    }

    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-submit-row .btn {
        width: 100%;
    }

    .chat-launcher-label {
        display: none;
    }

    .chat-launcher {
        width: 52px;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .showcase-header {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-switcher {
        justify-content: center;
    }

    .case-metric {
        font-size: 1.625rem;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .phone-tab-panel {
        animation: none;
    }

    .chat-msg {
        animation: none;
    }

    .chat-typing span {
        animation: none;
    }
}