/* ============================================================
   L5VEL — site styles
   Sections: tokens · base · nav · hero · verticals · progress
             · vision · philosophy · contact · footer · responsive
   ============================================================ */

/* ---- tokens ---- */
:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --blue-500:  #3b82f6;
    --violet-500: #8b5cf6;

    --container: 1200px;
    --radius-card: 16px;
    --nav-h: 4.5rem;
}

/* ---- base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* keep anchored sections clear of the fixed nav */
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
video {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--teal-400);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -120%);
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: white;
    color: var(--slate-900);
    font-weight: 600;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    transition: transform 0.2s;
}

.skip-link:focus {
    transform: translate(-50%, 0);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
}

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

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
}

.section-subtitle {
    color: var(--slate-500);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0.75rem auto 0;
}

/* ---- buttons ---- */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    color: white;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   NAVIGATION — fixed, transparent over the hero,
   solid once the hero scrolls away
   ============================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.is-scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

.nav-link.nav-cta {
    background: rgba(20, 184, 166, 0.9);
    color: white;
    margin-left: 0.5rem;
}

.nav-link.nav-cta:hover {
    background: var(--teal-500);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(15, 23, 42, 0.6) 50%,
        rgba(15, 23, 42, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(20, 184, 166, 0.35);
    border-radius: 100px;
    margin-bottom: 1.5rem;
    color: var(--teal-100);
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-description {
    font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
    text-align: center;
}

.scroll-indicator a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

/* ============================================
   VERTICALS — what S-bots are for
   ============================================ */
.page-content {
    position: relative;
    background: var(--slate-50);
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.content-inner {
    position: relative;
    z-index: 1;
}

.verticals {
    padding: 5rem 2rem;
    max-width: var(--container);
    margin: 0 auto;
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.vertical-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.vertical-card.home::before       { background: linear-gradient(90deg, var(--teal-500), var(--teal-400)); }
.vertical-card.warehouse::before  { background: linear-gradient(90deg, var(--amber-500), #fbbf24); }
.vertical-card.industrial::before { background: linear-gradient(90deg, var(--blue-500), #60a5fa); }

.vertical-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.vertical-card.home .vertical-icon       { background: var(--teal-50); color: var(--teal-600); }
.vertical-card.warehouse .vertical-icon  { background: #fef3c7; color: var(--amber-600); }
.vertical-card.industrial .vertical-icon { background: #dbeafe; color: var(--blue-500); }

.vertical-icon svg {
    width: 28px;
    height: 28px;
}

.vertical-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.vertical-description {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.vertical-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    background: var(--slate-100);
    color: var(--slate-600);
}

/* ============================================
   PRODUCTS — overview of the two platforms
   ============================================ */
.products {
    padding: 5rem 2rem 1rem;
    max-width: var(--container);
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--slate-900);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-status {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.625rem;
    border-radius: 6px;
    background: var(--slate-100);
    color: var(--slate-500);
    margin-bottom: 0.875rem;
}

.product-status--tested {
    background: var(--teal-50);
    color: var(--teal-700);
}

.product-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.product-name a {
    color: var(--slate-900);
    text-decoration: none;
}

/* Let the whole card be the click target while keeping one real link. */
.product-name a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.product-card {
    position: relative;
}

.product-name a:hover {
    color: var(--teal-700);
}

.product-text {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.product-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-600);
}

/* ============================================
   PROGRESS — real footage, shot vertically
   ============================================ */
.progress-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
}

.progress-container {
    max-width: var(--container);
    margin: 0 auto;
}

.progress-header {
    margin-bottom: 1rem;
}

.progress-header .section-label {
    color: var(--violet-500);
}

.progress-subtitle {
    text-align: center;
    margin-bottom: 3rem;
}

.progress-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
    background: var(--slate-100);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.progress-tag svg {
    width: 14px;
    height: 14px;
}

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

.video-card {
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Footage is vertical (9:16). Match the source and letterbox anything
   that isn't, rather than cropping the subject out of frame. */
.video-thumbnail {
    position: relative;
    aspect-ratio: 9 / 16;
    background: var(--slate-900);
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--slate-700);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.video-tags {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    pointer-events: none;
}

.video-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-tag.home       { color: var(--teal-600); }
.video-tag.warehouse  { color: var(--amber-600); }
.video-tag.industrial { color: var(--blue-500); }
.video-tag.all        { color: var(--violet-500); }

.video-content {
    padding: 1.25rem 1.5rem 1.5rem;
}

.video-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.video-description {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ============================================
   VISION — Unreal renders (16:9), dark section
   ============================================ */
.vision-section {
    background: var(--slate-950);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.vision-container {
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.vision-header .section-label {
    color: var(--teal-400);
}

.vision-header .section-title {
    color: white;
}

.vision-header .section-subtitle {
    color: var(--slate-400);
}

/* 6 columns: the first two cards span 3 (half width),
   the remaining three span 2 (a third each). */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.vision-card {
    grid-column: span 2;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.vision-grid .vision-card:nth-child(1),
.vision-grid .vision-card:nth-child(2) {
    grid-column: span 3;
}

.vision-card:hover {
    border-color: var(--slate-700);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vision-card-video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--slate-950);
}

.vision-card-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.3rem 0.625rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: var(--teal-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.vision-card-content {
    padding: 1.25rem 1.5rem;
}

.vision-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.vision-card-desc {
    font-size: 0.8125rem;
    color: var(--slate-500);
}

.vision-footer {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--slate-500);
    font-size: 0.875rem;
}

.vision-footer span {
    color: var(--slate-600);
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--slate-800);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.philosophy-quote cite {
    font-style: normal;
}

.philosophy-description {
    color: var(--slate-500);
    font-size: 1.0625rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 4rem 2rem 5rem;
    text-align: center;
}

.contact-card {
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    border-radius: 24px;
    padding: 3rem 2rem;
}

.contact-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.contact-text {
    color: var(--slate-400);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--slate-200);
    text-align: center;
    background: white;
}

.footer-content {
    max-width: var(--container);
    margin: 0 auto;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

.footer-text {
    color: var(--slate-500);
    font-size: 0.875rem;
}

.footer-text a {
    color: var(--teal-600);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* ============================================
   PRODUCT PAGES (A-MPEP)
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Product pages have no video hero, so the nav needs a background from
   the first paint rather than waiting for the scroll observer. */
.site-nav.is-solid {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-link[aria-current="page"] {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

.prod-hero {
    background: linear-gradient(160deg, var(--slate-900) 0%, var(--slate-950) 100%);
    padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
}

.prod-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.prod-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--teal-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.prod-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.prod-lede {
    font-size: clamp(1rem, 2.2vw, 1.1875rem);
    color: var(--slate-400);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.prod-hero-media {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--slate-800);
    background: var(--slate-950);
    aspect-ratio: 16 / 9;
}

.prod-hero-media video,
.prod-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prod-caption {
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
}

/* ---- proof / headline numbers ---- */
.proof {
    background: var(--slate-950);
    padding: 5rem 2rem;
    border-top: 1px solid var(--slate-800);
}

.proof-inner {
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
}

.proof-label {
    color: var(--teal-400);
}

.proof-title {
    color: white;
    margin-bottom: 1rem;
}

.proof-sub {
    color: var(--slate-400);
    max-width: 720px;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.stat {
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: var(--radius-card);
    padding: 1.5rem;
}

.stat-value {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--teal-400);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-400);
    line-height: 1.5;
}

.proof-source {
    margin-top: 2rem;
    font-size: 0.8125rem;
    color: var(--slate-600);
}

.proof-source cite {
    font-style: italic;
}

/* ---- demonstrated capability ---- */
.capability {
    padding: 5rem 2rem 2rem;
    max-width: var(--container);
    margin: 0 auto;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.cap-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-left: 3px solid var(--teal-500);
    border-radius: 12px;
    padding: 1.5rem;
}

.cap-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.cap-text {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.65;
}

/* ---- product video grid (16:9, unlike the vertical S-bot clips) ---- */
.prod-videos {
    padding: 4rem 2rem;
    max-width: var(--container);
    margin: 0 auto;
}

.prod-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.prod-video-media {
    aspect-ratio: 16 / 9;
    background: var(--slate-900);
}

.prod-video-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---- applique ---- */
.applique {
    max-width: var(--container);
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.applique-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--slate-200);
}

.applique-text {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.applique-list {
    margin: 1.5rem 0 0 1.125rem;
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.applique-list li {
    margin-bottom: 0.5rem;
}

.applique-list li::marker {
    color: var(--teal-500);
}

/* ---- specifications ---- */
.specs {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.spec-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-card);
    background: white;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--slate-100);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: 0;
}

.spec-table th {
    font-weight: 500;
    color: var(--slate-500);
    width: 55%;
}

.spec-table td {
    font-weight: 600;
    color: var(--slate-900);
}

.spec-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--slate-500);
}

@media (max-width: 860px) {
    .applique {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .prod-hero,
    .proof {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .capability,
    .prod-videos,
    .applique,
    .specs {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .spec-table th {
        width: 50%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .vision-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-card,
    .vision-grid .vision-card:nth-child(1),
    .vision-grid .vision-card:nth-child(2) {
        grid-column: span 1;
    }

    .progress-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .nav-inner {
        padding: 0 1rem;
    }

    /* Section links collapse; the contact CTA stays reachable. */
    .nav-links li:not(.nav-cta-item) {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .vision-section {
        padding: 4rem 1.5rem;
    }

    .vision-grid,
    .progress-grid {
        grid-template-columns: 1fr;
    }

    .verticals,
    .progress-section,
    .philosophy,
    .contact {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* A single full-width 9:16 card is taller than most phone
       viewports — cap it so the caption stays in view. */
    .video-thumbnail {
        aspect-ratio: auto;
        height: min(70vh, 460px);
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .vertical-card:hover,
    .video-card:hover,
    .vision-card:hover,
    .btn-primary:hover {
        transform: none;
    }
}
