:root {
    --bg-offwhite: #fcfbf9;
    --bg-beige: #efebe0;
    /* Darker for more contrast */
    --bg-beige-2: #e8e4d9;
    /* Even darker for 'new room' feel */
    --text: #0a192f;
    --accent: #5a7d7c;
    --accent-deep: #476766;
    --accent-light: rgba(90, 125, 124, 0.08);
    --white: #ffffff;
    --section-y: 110px;
    --max-content: 1100px;
    --h1: 72px;
    --h2: 52px;
    --h3: 28px;
    --body: 18px;
    --ease-clinical: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 8px 32px rgba(10, 25, 47, 0.06);
    --shadow-elevated: 0 16px 48px rgba(10, 25, 47, 0.08), 0 4px 16px rgba(10, 25, 47, 0.04);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* scroll-snap-type: y proximity; -- Removed to prevent fighting with manual scroll */
}

body {
    margin: 0;
    font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    font-size: var(--body);
    line-height: 1.7;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-offwhite);
    transition: background-color 1.2s var(--ease-clinical);
    overflow-x: hidden;
}

/* Scroll scene backdrop (fixed, full-screen) */
.scene-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #f6f2ea;
}

.scene-layer {
    position: absolute;
    inset: -12%;
    opacity: 0;
    transform: scale(1.07);
    filter: saturate(0.9);
    transition:
        opacity 160ms linear,
        transform 300ms var(--ease-clinical),
        filter 300ms var(--ease-clinical);
}

.scene-layer-hero {
    background:
        radial-gradient(980px 620px at 84% -8%, rgba(90, 125, 124, 0.12), rgba(90, 125, 124, 0) 72%),
        radial-gradient(900px 620px at 12% 88%, rgba(90, 125, 124, 0.08), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #fcfbf9 0%, #f7f3ea 100%);
}

.scene-layer-workflows {
    background:
        radial-gradient(940px 620px at 14% 10%, rgba(90, 125, 124, 0.12), rgba(90, 125, 124, 0) 72%),
        radial-gradient(880px 580px at 88% 86%, rgba(90, 125, 124, 0.08), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #f6f1e5 0%, #efe8da 100%);
}

.scene-layer-features {
    background:
        radial-gradient(980px 620px at 86% 14%, rgba(90, 125, 124, 0.12), rgba(90, 125, 124, 0) 72%),
        radial-gradient(860px 560px at 14% 84%, rgba(90, 125, 124, 0.07), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #f1eadc 0%, #e8dfce 100%);
}

.scene-layer-privacy {
    background:
        radial-gradient(980px 640px at 10% 6%, rgba(90, 125, 124, 0.1), rgba(90, 125, 124, 0) 74%),
        radial-gradient(900px 600px at 90% 82%, rgba(90, 125, 124, 0.07), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #faf8f3 0%, #f1ece2 100%);
}

.scene-layer-performance {
    background:
        radial-gradient(980px 640px at 86% 8%, rgba(90, 125, 124, 0.13), rgba(90, 125, 124, 0) 72%),
        radial-gradient(900px 620px at 12% 90%, rgba(90, 125, 124, 0.08), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #f2ecdf 0%, #e7decc 100%);
}

.scene-layer-roi {
    background:
        radial-gradient(980px 620px at 12% 10%, rgba(90, 125, 124, 0.1), rgba(90, 125, 124, 0) 74%),
        radial-gradient(920px 620px at 92% 84%, rgba(90, 125, 124, 0.07), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #f8f4ea 0%, #eee6d7 100%);
}

.scene-layer-pricing {
    background:
        radial-gradient(980px 620px at 86% 12%, rgba(90, 125, 124, 0.12), rgba(90, 125, 124, 0) 72%),
        radial-gradient(920px 620px at 10% 86%, rgba(90, 125, 124, 0.08), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #efe6d7 0%, #e4d9c5 100%);
}

.scene-layer-requirements {
    background:
        radial-gradient(980px 620px at 12% 14%, rgba(90, 125, 124, 0.1), rgba(90, 125, 124, 0) 74%),
        radial-gradient(900px 600px at 90% 80%, rgba(90, 125, 124, 0.08), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #f8f4eb 0%, #efe8da 100%);
}

.scene-layer-faq {
    background:
        radial-gradient(980px 620px at 84% 10%, rgba(90, 125, 124, 0.12), rgba(90, 125, 124, 0) 74%),
        radial-gradient(900px 600px at 12% 88%, rgba(90, 125, 124, 0.08), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #f2ecdf 0%, #e6ddcb 100%);
}

.scene-layer-final {
    background:
        radial-gradient(980px 620px at 22% 8%, rgba(90, 125, 124, 0.11), rgba(90, 125, 124, 0) 74%),
        radial-gradient(900px 600px at 84% 88%, rgba(90, 125, 124, 0.07), rgba(90, 125, 124, 0) 74%),
        linear-gradient(180deg, #ece2cf 0%, #dfd3bf 100%);
}

body[data-scene="hero"] .scene-layer-hero,
body[data-scene="workflows"] .scene-layer-workflows,
body[data-scene="features"] .scene-layer-features,
body[data-scene="privacy"] .scene-layer-privacy,
body[data-scene="performance"] .scene-layer-performance,
body[data-scene="roi"] .scene-layer-roi,
body[data-scene="pricing"] .scene-layer-pricing,
body[data-scene="requirements"] .scene-layer-requirements,
body[data-scene="faq"] .scene-layer-faq,
body[data-scene="final"] .scene-layer-final {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1.05);
}

.hero-focus-frame {
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(to right,
            rgba(8, 12, 20, var(--hero-vignette-alpha, 0.03)) 0%,
            rgba(8, 12, 20, var(--hero-vignette-alpha-soft, 0.015)) 14%,
            rgba(8, 12, 20, 0) 38%,
            rgba(8, 12, 20, 0) 62%,
            rgba(8, 12, 20, var(--hero-vignette-alpha-soft, 0.015)) 86%,
            rgba(8, 12, 20, var(--hero-vignette-alpha, 0.03)) 100%),
        linear-gradient(to bottom,
            rgba(8, 12, 20, var(--hero-vignette-alpha, 0.03)) 0%,
            rgba(8, 12, 20, var(--hero-vignette-alpha-soft, 0.015)) 16%,
            rgba(8, 12, 20, 0) 34%,
            rgba(8, 12, 20, 0) 66%,
            rgba(8, 12, 20, var(--hero-vignette-alpha-soft, 0.015)) 84%,
            rgba(8, 12, 20, var(--hero-vignette-alpha, 0.03)) 100%);
    transition: opacity 520ms var(--ease-clinical);
}

body.hero-spotlight-active .hero-focus-frame {
    opacity: 1;
}

main,
.site-footer {
    position: relative;
    z-index: 2;
}

/* Container - Centers content */
.container {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 24px;
}

/* Main Header - More Spacious & Minimal */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    transition: all 0.4s var(--ease-clinical);
    background: transparent;
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 25, 47, 0.05);
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
}

.site-nav {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 30px;
    /* Slimmer for the spacious header */
    width: auto;
    display: block;
    transition: transform 0.3s var(--ease-clinical);
}

.nav-brand:hover .logo-img {
    transform: scale(1.04);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* Smooth Focus Experience - Sections are always readable */
.reveal-section {
    opacity: 1;
    transition: background-color 0.6s var(--ease-clinical);
}

/* Active nav highlighting */
.nav-links a.active {
    color: var(--accent);
    opacity: 1;
}

/* Nav separator for external links */
.nav-links .separator,
.nav-links .nav-separator {
    width: 1px;
    height: 16px;
    background: rgba(10, 25, 47, 0.2);
    margin: 0 8px;
    align-self: center;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.02em;
    font-family: 'Joan', serif;
    font-weight: 400;
}

h1 {
    font-size: var(--h1);
    line-height: 1.08;
    max-width: 14ch;
}

h2 {
    font-size: var(--h2);
    line-height: 1.18;
    margin-bottom: 24px;
}

h3 {
    font-size: var(--h3);
    line-height: 1.3;
}

.brand-text {
    font-family: 'Joan', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text);
    margin-left: 10px;
}

.logo-icon {
    height: 48px;
    width: auto;
    display: block;
}

p {
    margin-top: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* CTA Buttons - Centered & Beautiful */
.cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--ease-clinical);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow:
        0 4px 14px rgba(90, 125, 124, 0.25),
        0 2px 6px rgba(90, 125, 124, 0.15);
}

.btn-primary:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(90, 125, 124, 0.3),
        0 4px 10px rgba(90, 125, 124, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(10, 25, 47, 0.2);
}

.btn-secondary:hover {
    background: rgba(10, 25, 47, 0.04);
    border-color: rgba(10, 25, 47, 0.3);
}

.coming-soon-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.coming-soon-modal.is-open {
    display: flex;
}

.coming-soon-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 34, 0.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.coming-soon-modal-card {
    position: relative;
    width: min(560px, 100%);
    border-radius: 22px;
    padding: 28px 26px 24px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(10, 25, 47, 0.08);
    box-shadow: 0 32px 70px rgba(10, 25, 47, 0.2);
}

.coming-soon-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(10, 25, 47, 0.15);
    background: #fff;
    color: rgba(10, 25, 47, 0.72);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.coming-soon-modal-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--accent-deep);
}

.coming-soon-modal-copy {
    margin-top: 0;
    color: rgba(10, 25, 47, 0.75);
    font-size: 16px;
    line-height: 1.6;
}

.coming-soon-form {
    margin-top: 18px;
}

.coming-soon-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(10, 25, 47, 0.85);
    margin-bottom: 8px;
}

.coming-soon-form input[type="email"] {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(10, 25, 47, 0.18);
    font-size: 15px;
    color: var(--text);
    background: #fff;
}

.coming-soon-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(90, 125, 124, 0.9);
    box-shadow: 0 0 0 4px rgba(90, 125, 124, 0.13);
}

.coming-soon-submit {
    margin-top: 12px;
    width: 100%;
}

.coming-soon-status {
    margin-top: 10px;
    min-height: 20px;
    font-size: 14px;
    color: rgba(10, 25, 47, 0.72);
}

.coming-soon-status.is-success {
    color: #1e7a42;
}

.coming-soon-status.is-error {
    color: #b02a37;
}

.container {
    width: min(100%, var(--max-content));
    margin: 0 auto;
    padding-left: clamp(24px, 6vw, 80px);
    padding-right: clamp(24px, 6vw, 80px);
}

.section {
    position: relative;
    z-index: 2;
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
    min-height: 62vh;
    /* Deep vertical immersion */
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: center;
    overflow: hidden;
}

.section-offwhite {
    background: transparent;
}

.section-beige {
    background: transparent;
}

.section-fade-to-beige::after,
.section-fade-to-offwhite::after {
    content: none;
}

.section-fade-to-beige::after {
    display: none;
}

.section-fade-to-offwhite::after {
    display: none;
}

.marker,
.inline-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    color: #9ca3af;
    background: rgba(156, 163, 175, 0.08);
    border: 1px solid rgba(156, 163, 175, 0.18);
    border-radius: 999px;
    padding: 3px 8px;
}

.inline-placeholder {
    border-radius: 7px;
}

.viz-note,
.diagram-note {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(10, 25, 47, 0.72);
}

/* Hero Specific Design */
.section-hero {
    background: transparent;
    padding-top: 120px;
    padding-bottom: 86px;
}

.section-hero::before {
    content: none;
    position: absolute;
    top: 0;
    right: 0;
    width: min(38vw, 470px);
    height: min(42vw, 360px);
    background: linear-gradient(135deg, rgba(90, 125, 124, 0.07), rgba(90, 125, 124, 0));
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    pointer-events: none;
    z-index: 0;
}

.hero-wrap {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-wrap h1 {
    line-height: 1.1;
}

.hero-product-subheader {
    margin-top: 12px;
    font-family: 'Joan', serif;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hero-wrap h1 .nowrap {
    white-space: nowrap;
}

.hero-subheadline {
    margin-top: 18px;
    max-width: 62ch;
}

.hero-audience {
    margin-top: 14px;
    max-width: 68ch;
    color: var(--text);
}

.ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.24;
    filter: blur(1.1px) saturate(0.9);
    transform: scale(0.985);
    transition:
        opacity 850ms var(--ease-clinical),
        filter 850ms var(--ease-clinical),
        transform 1100ms var(--ease-clinical);
}

.reveal-section.is-scene-active .ambient {
    opacity: 0.68;
    filter: blur(0) saturate(1);
    transform: scale(1);
}

.ambient-circle,
.ambient-rect {
    position: absolute;
    display: block;
}

.ambient-circle,
.ambient-rect {
    position: absolute;
    display: block;
}

.ambient-circle {
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(90, 125, 124, 0.06), rgba(90, 125, 124, 0.02));
    animation: float-ambient 30s infinite alternate ease-in-out;
    filter: blur(1px);
}

.ambient-rect {
    border-radius: 60px;
    background: linear-gradient(135deg, rgba(90, 125, 124, 0.04), rgba(90, 125, 124, 0.01));
    animation: drift-ambient 25s infinite ease-in-out;
}

@keyframes float-ambient {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(30px, 50px) rotate(5deg) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translate(60px, 80px) rotate(10deg) scale(1.02);
        opacity: 0.7;
    }
}

@keyframes drift-ambient {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-40px, 30px) rotate(-3deg);
    }

    66% {
        transform: translate(20px, -20px) rotate(2deg);
    }
}

/* Multiple ambient shapes for depth */
.a1 {
    width: 900px;
    height: 900px;
    top: -400px;
    right: -300px;
    animation-delay: 0s;
}

.a2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

.a3 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: -150px;
    animation-delay: -8s;
}

.a4 {
    width: 700px;
    height: 700px;
    top: -20%;
    right: -20%;
    animation-delay: -12s;
}

.a5 {
    width: 400px;
    height: 400px;
    bottom: 5%;
    right: -100px;
    animation-delay: -3s;
}

.a6 {
    width: 550px;
    height: 550px;
    top: 30%;
    left: -180px;
    animation-delay: -15s;
}

/* Hero Video Carousel Wrapper */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 48px auto 0;
    padding: 0 60px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s var(--ease-clinical);
    box-shadow: var(--shadow-soft);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow.left {
    left: 0;
}

.carousel-arrow.right {
    right: 0;
}

.carousel-arrow:hover {
    background: var(--white);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-elevated);
}

.hero-video-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.hero-video-track {
    display: flex;
    transition: transform 0.5s var(--ease-clinical);
}

.hero-video-track::-webkit-scrollbar {
    display: none;
}

.hero-video-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.mini-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s var(--ease-clinical);
    box-shadow: var(--shadow-soft);
}

.mini-arrow:hover {
    background: var(--white);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.08);
    box-shadow: var(--shadow-elevated);
}

/* Elegant Video Cards */
.video-card {
    flex: 0 0 100%;
    min-width: 100%;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 38px 34px 32px;
    box-shadow: var(--shadow-elevated);
    transition: all 0.4s var(--ease-clinical);
}

.video-card:hover {
    transform: none;
    box-shadow: var(--shadow-elevated);
}

.video-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 18px;
    padding-inline: 6px;
    padding-top: 2px;
    color: var(--text);
}

/* Beautiful Video Frame */
.video-frame {
    margin-top: 16px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: none;
    background:
        linear-gradient(135deg, rgba(90, 125, 124, 0.03) 0%, rgba(90, 125, 124, 0.08) 100%),
        linear-gradient(180deg, var(--bg-beige) 0%, var(--bg-offwhite) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(10, 25, 47, 0.5);
    text-align: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s var(--ease-clinical);
}

/* Beautiful Play Button */
.video-frame::before {
    content: "▶";
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--white);
    border-radius: 50%;
    background: var(--accent);
    box-shadow:
        0 8px 24px rgba(90, 125, 124, 0.3),
        0 0 0 8px rgba(90, 125, 124, 0.1);
    transition: all 0.3s var(--ease-bounce);
}

.video-frame:hover::before {
    transform: scale(1.1);
    box-shadow:
        0 12px 32px rgba(90, 125, 124, 0.4),
        0 0 0 12px rgba(90, 125, 124, 0.15);
}

.cta-row {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trial-note {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--accent);
    opacity: 0.85;
    font-weight: 500;
}

.btn {
    border-radius: 14px;
    padding: 18px 36px;
    font-weight: 600;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition:
        background-color 220ms var(--ease-clinical),
        color 220ms var(--ease-clinical),
        box-shadow 220ms var(--ease-clinical),
        transform 220ms var(--ease-clinical);
    position: relative;
    overflow: visible;
    will-change: transform;
    backface-visibility: hidden;
}

.btn-primary {
    color: var(--white);
    background: var(--accent);
    box-shadow:
        0 8px 20px rgba(90, 125, 124, 0.26),
        0 1px 2px rgba(90, 125, 124, 0.2);
}

.btn-primary:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow:
        0 12px 28px rgba(90, 125, 124, 0.28),
        0 2px 6px rgba(90, 125, 124, 0.22);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    color: var(--text);
    background: var(--glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

/* Elegant Testimonial Cards */
.testimonials-inline {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 320px));
    justify-content: center;
    gap: 32px;
}

.testimonial-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    min-height: 200px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s var(--ease-clinical);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.testimonial-card::before {
    content: open-quote;
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 48px;
    color: var(--accent-light);
    line-height: 1;
    font-family: Georgia, serif;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    opacity: 0.6;
}

.quote {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
}

.person {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.credential {
    margin-top: 4px;
    font-size: 14px;
    color: rgba(10, 25, 47, 0.6);
}

/* Shared Carousel Layout Wrappers */
.hero-video-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    width: min(100%, 1240px);
    margin: 56px auto 0;
}

/* Specific adjustments for workflow track scaling */
/* Consolidated Workflow Grid Card */
.workflow-single-card {
    background: var(--white);
    border-radius: 24px;
    padding: 22px 12px;
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--glass-border);
    max-width: 1060px;
    margin: 34px auto 0;
    position: relative;
    overflow: hidden;
}

.workflow-intro {
    margin-top: 10px;
    max-width: 58ch;
    font-size: 18px;
    color: rgba(10, 25, 47, 0.84);
}

.workflow-grid {
    counter-reset: workflow-item;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.workflow-item {
    counter-increment: workflow-item;
    padding: 26px 24px 24px;
    min-height: 180px;
    position: relative;
    border-top: 1px solid rgba(10, 25, 47, 0.09);
}

.workflow-item:nth-child(-n+2) {
    border-top: 0;
}

.workflow-item:nth-child(odd) {
    border-right: 1px solid rgba(10, 25, 47, 0.09);
}

.workflow-item::before {
    content: "0" counter(workflow-item);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(90, 125, 124, 0.12);
    color: var(--accent-deep);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.workflow-item h3 {
    color: var(--accent);
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.workflow-item p {
    font-size: 16px;
    color: var(--text);
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .workflow-item,
    .workflow-item:nth-child(-n+2) {
        border-top: 1px solid rgba(10, 25, 47, 0.09);
    }

    .workflow-item:first-child {
        border-top: 0;
    }

    .workflow-item:nth-child(odd) {
        border-right: 0;
    }
}

/* Add a subtle highlight line to separate items visually if needed, but spacing is good */

/* Hero video specific */
.hero-video-wrapper {
    margin-top: 56px;
    justify-content: center;
    padding-inline: 0;
}

.hero-video-carousel {
    flex: 0 1 auto;
    overflow: hidden;
    border-radius: 24px;
    max-width: 1240px;
    width: 100%;
    --hero-peek-width: 100%;
    --hero-peek-gap: 0px;
    -webkit-mask-image: none;
    mask-image: none;
}

.hero-video-track {
    position: relative;
    display: flex;
    gap: var(--hero-peek-gap);
    padding: 0;
    overflow: visible;
    scrollbar-width: none;
    transition: transform 0.5s var(--ease-clinical);
}

.hero-video-track.no-transition,
.features-track.no-transition {
    transition: none !important;
}

.hero-video-track::-webkit-scrollbar {
    display: none;
}

/* Video Card specific updates */
.video-card {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
}

/* Common Arrow Styles Override */
.workflow-carousel .carousel-arrow,
.hero-video-wrapper .carousel-arrow,
.features-carousel-wrap .carousel-arrow {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 6;
}

.workflow-carousel .carousel-arrow {
    position: static;
    transform: none;
    flex-shrink: 0;
}

.hero-video-wrapper .carousel-arrow,
.features-carousel-wrap .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.hero-video-wrapper .carousel-arrow.left,
.features-carousel-wrap .carousel-arrow.left {
    left: 14px;
}

.hero-video-wrapper .carousel-arrow.right,
.features-carousel-wrap .carousel-arrow.right {
    right: 14px;
}

.workflow-carousel .carousel-arrow:hover,
.hero-video-wrapper .carousel-arrow:hover,
.features-carousel-wrap .carousel-arrow:hover {
    background: var(--white);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-elevated);
    transform: scale(1.05);
}

.hero-video-wrapper .carousel-arrow:hover,
.features-carousel-wrap .carousel-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

.carousel-dots {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(10, 25, 47, 0.15);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-clinical);
}

.dot:hover {
    border-color: var(--accent);
}

.dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.15);
}


.ehr-note,
.cta-note {
    margin-top: 22px;
}

.section-micro {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.micro-copy {
    max-width: 900px;
}

/* Key Features Section */
.section-features {
    background: transparent;
}

.section-features .container {
    width: 100%;
    max-width: 1320px;
    padding-left: 0;
    padding-right: 0;
}

.section-features h2 {
    text-align: center;
}

.features-carousel-wrap {
    display: block;
    margin-top: 48px;
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: clamp(44px, 4.4vw, 64px);
    box-sizing: border-box;
}

.features-carousel-wrap .carousel-arrow {
    flex-shrink: 0;
}

.features-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    --features-peek-width: min(980px, 76%);
    --features-peek-gap: clamp(22px, 3vw, 36px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
}

.features-track {
    position: relative;
    display: flex;
    gap: var(--features-peek-gap);
    padding: 0 calc((100% - var(--features-peek-width)) / 2);
    transition: transform 0.5s var(--ease-clinical);
}

.feature-slide {
    flex: 0 0 var(--features-peek-width);
    min-width: var(--features-peek-width);
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 48px;
    box-sizing: border-box;
    border-radius: 24px;
    opacity: 0.42;
    transform: scale(0.95);
    filter: saturate(0.86);
    transition:
        transform 380ms var(--ease-clinical),
        opacity 320ms var(--ease-clinical),
        filter 320ms var(--ease-clinical),
        box-shadow 320ms var(--ease-clinical);
}

.feature-slide.is-active {
    opacity: 1;
    transform: scale(1);
    filter: none;
    box-shadow: var(--shadow-elevated);
}

.feature-slide h3 {
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0 0 32px 0;
    color: var(--accent-deep);
    text-align: center;
    letter-spacing: -0.02em;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.feature-item {
    position: relative;
    padding-bottom: 8px;
}

.feature-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.feature-header strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.studio-label {
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 0.85rem;
    color: rgba(10, 25, 47, 0.5);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.feature-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(10, 25, 47, 0.7);
}

/* Feature Item Border Separator comment removed - relying on whitespace for elegance */

@media (max-width: 768px) {
    .features-carousel-wrap {
        padding-inline: 0;
    }

    .feature-slide {
        padding: 32px 24px;
    }

    .feature-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-slide h3 {
        text-align: left;
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .hero-video-carousel {
        --hero-peek-width: 100%;
        --hero-peek-gap: 0px;
    }

    .features-carousel {
        --features-peek-width: 90%;
        --features-peek-gap: 12px;
    }

    .feature-slide {
        opacity: 0.55;
        transform: scale(0.98);
    }
}

.section-privacy {
    background: transparent;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.plain-list {
    margin-top: 18px;
    margin-bottom: 0;
    padding-left: 20px;
}

.plain-list li {
    margin-top: 8px;
}

.text-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent-deep);
    font-weight: 600;
}

.local-box {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px;
    min-height: 240px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s var(--ease-clinical);
}

.local-box:hover {
    box-shadow: var(--shadow-elevated);
}

.local-diagram {
    width: 100%;
    height: auto;
    stroke: rgba(90, 125, 124, 0.45);
    stroke-width: 2;
    fill: rgba(90, 125, 124, 0.04);
}

.local-diagram line {
    fill: none;
}

.local-diagram rect:first-child {
    fill: rgba(90, 125, 124, 0.02);
    stroke-dasharray: 8 6;
}

.a3 {
    width: 520px;
    height: 520px;
    right: -180px;
    top: -190px;
}

.a4 {
    width: 560px;
    height: 560px;
    right: -210px;
    top: -190px;
}

.benchmark-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .benchmark-grid {
        grid-template-columns: 1fr;
    }
}

.benchmark-card,
.hardware-card,
.price-card,
.inline-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    scroll-snap-align: start;
    transition: all 0.3s var(--ease-clinical);
    border-top: 4px solid transparent;
}

.requirements-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s var(--ease-clinical);
}

.requirements-card summary {
    padding: 28px;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background 0.2s ease;
}

.requirements-card summary::-webkit-details-marker {
    display: none;
}

.requirements-card summary h3 {
    margin: 0;
}

.requirements-card summary .requirements-os-note {
    margin-top: 8px;
    margin-bottom: 0;
}

.requirements-card summary::after {
    content: '+';
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 28px;
    line-height: 1;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s var(--ease-clinical);
}

.requirements-card[open] summary::after {
    content: '+';
    transform: rotate(45deg);
}

.requirements-card summary:hover {
    background: rgba(90, 125, 124, 0.04);
}

.requirements-card .requirements-model-grid {
    padding: 0 28px 28px;
}

.benchmark-card {
    border-top-color: var(--accent);
}

.benchmark-card:hover,
.hardware-card:hover,
.price-card:hover,
.requirements-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.hardware-grid,
.pricing-grid {
    margin-top: 24px;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tps-chart {
    margin-top: 24px;
    padding: 8px 0 0;
}

.tps-col {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: start;
    gap: 16px;
    margin-top: 12px;
}

.tps-col:first-child {
    margin-top: 0;
}

.tps-col .label {
    font-size: 14px;
    font-weight: 600;
}

.tps-col .bar {
    height: 32px;
    border-radius: 999px;
    position: relative;
    width: 100%;
    background: transparent;
    --tps-pct: 0%;
    --tps-value-room: 8rem;
}

.tps-col .bar::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 12px;
    width: var(--tps-pct);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(90, 125, 124, 0.18) 0%, rgba(90, 125, 124, 0.5) 100%);
}

.tps-col .bar span {
    position: absolute;
    top: -3px;
    width: var(--tps-value-room);
    text-align: right;
    left: clamp(0px,
            calc(var(--tps-pct) - var(--tps-value-room)),
            calc(100% - var(--tps-value-room)));
    transform: none;
    font-size: 16px;
    font-weight: 600;
    color: #476766;
    background: transparent;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
}

.tps-col .bar.high {
    --tps-pct: 82%;
}

.tps-col .bar.mid {
    --tps-pct: 55%;
}

.tps-col .bar.midhigh {
    --tps-pct: 72%;
}

.tps-col .bar.low {
    --tps-pct: 30%;
}

.viz-card {
    margin-top: 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 32px;
}

.audit-callout {
    margin-top: 32px;
    padding: 28px;
    background: rgba(90, 125, 124, 0.04);
    border-left: 4px solid var(--accent);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.audit-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 6px;
    margin-bottom: 16px;
}

.audit-callout p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(10, 25, 47, 0.7);
}

.benchmark-card:hover {
    border-top-color: var(--accent-deep);
}

.viz-head {
    margin-bottom: 14px;
}

.viz-head h3 {
    font-size: 24px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.roi-grid {
    display: grid;
    gap: 8px;
}

.roi-chart-wrap {
    margin-top: 10px;
}

.roi-chart-card {
    border-radius: 16px;
    border: 1px solid rgba(10, 25, 47, 0.06);
    background: rgba(255, 255, 255, 0.68);
    padding: 16px;
}

.roi-chart-title {
    margin: 0;
    font-size: 16px;
}

.roi-chart-note {
    margin: 6px 0 0;
    font-size: 13px;
    font-style: italic;
    color: rgba(10, 25, 47, 0.55);
}

.roi-chart {
    margin-top: 14px;
    display: block;
}

.roi-plot {
    border-radius: 14px;
    border: 1px solid rgba(10, 25, 47, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(250, 249, 246, 0.9));
    padding: 14px;
}

.roi-plot.horizontal {
    display: grid;
    gap: 10px;
}

.roi-h-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 64px;
    gap: 10px;
    align-items: center;
}

.roi-h-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(10, 25, 47, 0.82);
}

.roi-h-track {
    height: 30px;
    border-radius: 999px;
    background: rgba(10, 25, 47, 0.08);
    overflow: hidden;
}

.roi-h-bar {
    width: calc(var(--roi-w, 0) * 1%);
    height: 100%;
    border-radius: 999px;
    transition: filter 160ms var(--ease-clinical), transform 160ms var(--ease-clinical);
    transform-origin: left center;
}

.roi-h-bar:hover {
    transform: scaleX(1.01);
    filter: saturate(1.08);
}

.roi-h-bar.pro {
    background: linear-gradient(90deg, rgba(90, 125, 124, 0.85), rgba(90, 125, 124, 0.5));
}

.roi-h-bar.studio {
    background: linear-gradient(90deg, rgba(71, 103, 102, 0.92), rgba(71, 103, 102, 0.55));
}

.roi-h-bar.cloud30 {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.82), rgba(220, 38, 38, 0.46));
}

.roi-h-bar.cloud50 {
    background: linear-gradient(90deg, rgba(185, 28, 28, 0.9), rgba(185, 28, 28, 0.56));
}

.roi-h-value {
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: rgba(10, 25, 47, 0.72);
}

.roi-h-axis {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(10, 25, 47, 0.55);
}

.roi-header {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(10, 25, 47, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roi-row {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(250, 249, 246, 1), rgba(245, 243, 238, 0.6));
    font-size: 14px;
    font-weight: 500;
}

.roi-row.highlight {
    background: rgba(90, 125, 124, 0.1);
    border: 1px solid rgba(90, 125, 124, 0.2);
}

.roi-row span:nth-child(2),
.roi-row span:nth-child(3) {
    color: var(--accent);
    font-weight: 700;
}

.roi-row span:nth-child(4),
.roi-row span:nth-child(5),
.roi-row span:nth-child(6) {
    color: #b71c1c;
    font-weight: 600;
}

.roi-legend {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.roi-legend .lg {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(10, 25, 47, 0.06);
}

.roi-legend .pro,
.roi-legend .studio {
    color: var(--accent);
}

.roi-legend .studio {
    color: var(--accent-deep);
}

.roi-legend .cloud {
    color: #b71c1c;
}

.roi-legend .cloud30 {
    color: #dc2626;
}

.roi-legend .cloud50 {
    color: #b91c1c;
}

.completion-times {
    margin-top: 32px;
    margin-bottom: 48px;
    background: rgba(10, 25, 47, 0.02);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(10, 25, 47, 0.06);
}

.wait-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.wait-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-deep);
    border-bottom: 2px solid rgba(90, 125, 124, 0.2);
}

.wait-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(10, 25, 47, 0.04);
}

.time-split {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    line-height: 1.35;
}

.time-split .mode {
    font-weight: 700;
    color: rgba(10, 25, 47, 0.78);
}

.wait-table tr:last-child td {
    border-bottom: none;
}

.table-note {
    margin-top: 16px;
    font-size: 13px;
    font-style: italic;
    color: rgba(10, 25, 47, 0.5);
}

/* Speed Comparison Layout */
.speed-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.speed-model h4 {
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--text);
}

.speed-model {
    min-width: 0;
}

.speed-model .model-note {
    font-size: 14px;
    color: rgba(10, 25, 47, 0.6);
    margin-top: 0;
    margin-bottom: 16px;
}

.speed-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(10, 25, 47, 0.6);
    font-style: italic;
}

.tps-col .bar.verylow {
    --tps-pct: 20%;
}

.inline-panel {
    margin-top: 20px;
    font-size: 15px;
    color: rgba(10, 25, 47, 0.74);
}

.requirements-intro {
    margin-top: 20px;
}

.requirements-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.requirements-card h3 {
    font-size: 24px;
}

.requirements-os-note {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(10, 25, 47, 0.7);
}

.requirements-model-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.requirements-tier {
    padding: 16px 0;
    border-top: 1px solid rgba(90, 125, 124, 0.16);
}

.requirements-tier:first-child {
    border-top: 0;
    padding-top: 6px;
}

.requirements-tier h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.requirements-level {
    margin-top: 12px;
}

.requirements-level-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.requirements-level-grid .requirements-level {
    margin-top: 0;
}

.requirements-level-grid .requirements-level:first-child {
    padding-right: 10px;
    border-right: 1px solid rgba(90, 125, 124, 0.12);
}

.requirements-level h5 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.requirements-list {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(10, 25, 47, 0.74);
}

.requirements-list li {
    margin-top: 6px;
}

.requirements-list li:first-child {
    margin-top: 0;
}

/* Pricing Tiers & Feature Matrix */
.tier-cards {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 440px));
    gap: 40px;
    justify-content: center;
}

.tier-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 25, 47, 0.2);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: border-color 0.2s var(--ease-clinical), box-shadow 0.2s var(--ease-clinical);
    cursor: default;
}

.tier-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
}

.tier-card.selected {
    border: 1px solid rgba(10, 25, 47, 0.2);
    box-shadow: var(--shadow-soft);
}

.tier-card:focus-visible {
    outline: 3px solid rgba(90, 125, 124, 0.35);
    outline-offset: 3px;
}

.tier-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-deep);
}

.price {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin: 16px 0;
    color: var(--text);
}

.tier-best {
    font-size: 16px;
    color: rgba(10, 25, 47, 0.7);
    margin-bottom: 24px;
}

.personality-note {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-top: -12px;
    margin-bottom: 0;
    font-style: italic;
}

/* Feature Matrix Table */
.feature-matrix-wrap {
    margin-top: 64px;
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.04);
    overflow-x: auto;
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.feature-table th,
.feature-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(10, 25, 47, 0.06);
    font-size: 16px;
}

.feature-table th {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-deep);
    background: transparent;
}

.feature-table .highlight {
    background: rgba(90, 125, 124, 0.03);
    font-weight: 600;
}

.feature-table .status-yes {
    color: var(--text);
}

.feature-table .status-no {
    color: rgba(10, 25, 47, 0.4);
}

.pricing-foot {
    margin-top: 32px;
    text-align: center;
    color: rgba(10, 25, 47, 0.7);
}

.upgrade-info {
    font-size: 18px;
    margin-bottom: 8px;
}

.trial-info {
    font-size: 14px;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.faq-item {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s var(--ease-clinical);
}

.faq-item:hover {
    box-shadow: var(--shadow-elevated);
}

.faq-item summary {
    padding: 24px 28px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--accent);
    font-weight: 300;
    transition: transform 0.3s var(--ease-clinical);
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item summary:hover {
    background: var(--accent-light);
}

.faq-item p {
    padding: 0 28px 24px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(10, 25, 47, 0.7);
}

/* Final CTA Section */
.section-cta {
    background: transparent;
    min-height: 70vh;
}

@media (prefers-reduced-motion: reduce) {

    .scene-layer,
    .hero-focus-frame,
    .ambient {
        transition: none;
    }
}

.cta-center {
    text-align: center;
}

.cta-center h2 {
    font-size: 56px;
    margin-bottom: 32px;
}

.cta-center .cta-row {
    justify-content: center;
}

.cta-note {
    margin-top: 24px;
    font-size: 15px;
    color: rgba(10, 25, 47, 0.6);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(10, 25, 47, 0.06);
    padding: 48px 0 56px;
    background: var(--bg-offwhite);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 15px;
}

.footer-brand .nav-brand {
    opacity: 0.7;
    transition: opacity 0.3s var(--ease-clinical);
}

.footer-brand .nav-brand:hover {
    opacity: 1;
}

.footer-brand .brand-text {
    font-size: 20px;
    /* Slightly smaller for footer */
}

.footer-brand .logo-icon {
    height: 26px;
    /* Slightly smaller for footer */
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.a5 {
    width: 480px;
    height: 480px;
    left: -160px;
    top: -120px;
}

.a6 {
    width: 500px;
    height: 500px;
    right: -180px;
    bottom: -220px;
}

@media (max-width: 1220px) {
    .hero-video-carousel {
        --hero-peek-width: 100%;
    }

    .features-carousel {
        --features-peek-width: min(840px, 82%);
    }
}

@media (max-width: 1100px) {
    .testimonials-inline {
        grid-template-columns: repeat(3, minmax(260px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .testimonial-card {
        scroll-snap-align: start;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .hardware-grid,
    .pricing-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .speed-comparison {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tps-col {
        grid-template-columns: 200px 1fr;
    }

    .tps-col .bar {
        --tps-value-room: 7.5rem;
    }

    .workflow-track {
        grid-auto-columns: min(600px, 78vw);
        scroll-padding-inline: max(10vw, calc(50vw - 300px));
        padding: 4px max(10vw, calc(50vw - 300px)) 12px;
    }
}

@media (max-width: 900px) {
    :root {
        --h1: 42px;
        --h2: 32px;
    }

    .section {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .site-nav {
        height: auto;
        min-height: 72px;
        padding-top: 10px;
        padding-bottom: 10px;
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .nav-links {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 2px;
    }

    .workflow-carousel {
        padding: 0 6px;
    }

    .carousel-arrow {
        display: none;
    }

    .workflow-track {
        grid-auto-columns: 84vw;
        scroll-padding-inline: 8vw;
        padding: 4px 8vw 12px;
    }

    .requirements-model-grid {
        grid-template-columns: 1fr;
    }

    .requirements-level-grid {
        grid-template-columns: 1fr;
    }

    .tps-col {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tps-col .bar {
        --tps-value-room: 7rem;
    }

    .roi-h-row {
        grid-template-columns: 108px minmax(0, 1fr) 56px;
    }

    .requirements-level-grid .requirements-level:first-child {
        padding-right: 0;
        border-right: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(90, 125, 124, 0.12);
    }
}

/* -----------------------------
   Support Hub page
------------------------------ */

body.support-hub {
    background:
        radial-gradient(900px 520px at 12% 12%, rgba(90, 125, 124, 0.10), rgba(90, 125, 124, 0) 68%),
        radial-gradient(820px 560px at 92% 14%, rgba(90, 125, 124, 0.08), rgba(90, 125, 124, 0) 70%),
        linear-gradient(180deg, #fcfbf9 0%, #f7f3ea 100%);
}

.support-skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 1200;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(10, 25, 47, 0.10);
    color: var(--text);
    text-decoration: none;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: all 160ms ease;
}

.support-skip-link:focus {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    outline: none;
    box-shadow: 0 10px 28px rgba(10, 25, 47, 0.10);
}

.support-main {
    padding-top: 86px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.support-hero {
    padding-top: 42px;
    padding-bottom: 34px;
}

.support-subhead {
    margin-top: 10px;
    max-width: 680px;
    color: rgba(10, 25, 47, 0.72);
}

.support-search {
    margin-top: 22px;
    padding: 18px 18px 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(10, 25, 47, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 820px;
}

.support-search-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.7;
}

.support-search-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}

.support-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(10, 25, 47, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 16px;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.support-search-input:focus {
    border-color: rgba(90, 125, 124, 0.7);
    box-shadow: 0 0 0 4px rgba(90, 125, 124, 0.12);
}

.support-search-clear {
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(10, 25, 47, 0.12);
    background: rgba(90, 125, 124, 0.10);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.support-search-clear:hover {
    background: rgba(90, 125, 124, 0.14);
    border-color: rgba(90, 125, 124, 0.30);
}

.support-search-clear:active {
    transform: translateY(1px);
}

.support-meta {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(10, 25, 47, 0.68);
}

.support-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 10px;
}

.support-aside {
    position: sticky;
    top: 86px;
    align-self: start;
}

.support-aside-card {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.support-aside-card+.support-aside-card {
    margin-top: 14px;
}

.support-aside-title {
    font-family: 'Joan', serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 2px;
    padding-left: 14px;
}

.support-topics {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-topic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    /* Removed border */
    border-left: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 160ms ease;
    text-align: left;
}

.support-topic:hover {
    background: rgba(10, 25, 47, 0.03);
    border-left-color: rgba(10, 25, 47, 0.2);
}

.support-topic:active {
    transform: none;
    background: rgba(10, 25, 47, 0.06);
}

.support-topic.active {
    background: rgba(90, 125, 124, 0.08);
    border-left-color: var(--accent-deep);
}

.support-topic.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.support-topic-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    /* Regular weight */
    font-size: 15px;
    color: rgba(10, 25, 47, 0.85);
    /* Slightly softer black */
}

.support-topic.active .support-topic-title {
    font-weight: 600;
    color: var(--accent-deep);
}

.support-topic-count {
    min-width: 24px;
    height: 20px;
    /* Smaller pill */
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    background: transparent;
    /* Remove background */
    color: rgba(10, 25, 47, 0.4);
}

.support-topic.active .support-topic-count {
    color: var(--accent-deep);
    background: rgba(255, 255, 255, 0.5);
}

.support-aside-tip .support-tip-copy {
    margin-top: 10px;
    font-size: 15px;
    color: rgba(10, 25, 47, 0.70);
    line-height: 1.55;
}

.support-content {
    min-width: 0;
}

.support-results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0 12px;
}

.support-results-title {
    font-family: 'Joan', serif;
    font-weight: 400;
    font-size: 28px;
    letter-spacing: -0.01em;
}

.support-results-subtitle {
    font-size: 15px;
    color: rgba(10, 25, 47, 0.62);
    font-family: 'Inter', sans-serif;
}

.support-group {
    margin-bottom: 32px;
}

.support-group-title {
    font-family: 'Joan', serif;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(10, 25, 47, 0.1);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.support-group-count {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: rgba(10, 25, 47, 0.5);
    font-weight: 500;
}

.support-articles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-article-details {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.support-article-details:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(10, 25, 47, 0.04);
}

.support-article-details[open] {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(10, 25, 47, 0.08);
    box-shadow: var(--shadow-soft);
}

.support-article-summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    user-select: none;
    border-radius: 12px;
}

.support-article-summary::-webkit-details-marker {
    display: none;
}

.support-article-summary-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.support-article-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    /* reduced from 650 */
    font-size: 16px;
    color: var(--text);
    white-space: normal;
    /* allow wrapping */
    line-height: 1.4;
}

/* Remove the pill style since we group by header now */
.support-article-topic {
    display: none;
}

.support-article-chevron {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(10, 25, 47, 0.4);
    transition: transform 200ms var(--ease-clinical), background 200ms ease, color 200ms ease;
    flex-shrink: 0;
}

.support-article-details:hover .support-article-chevron {
    background: rgba(10, 25, 47, 0.04);
    color: var(--text);
}

.support-article-details[open] .support-article-chevron {
    transform: rotate(45deg);
    background: var(--accent-light);
    color: var(--accent-deep);
}

.support-article-body {
    padding: 2px 16px 20px 48px;
    /* Indent body to align with text */
    border-top: none;
}

.support-article-body p {
    margin-top: 8px;
    color: rgba(10, 25, 47, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.support-article-linkrow {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(10, 25, 47, 0.06);
}

.support-article-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-deep);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.support-article-link:hover {
    text-decoration: none;
    color: var(--accent);
}

.support-empty {
    padding: 22px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(10, 25, 47, 0.08);
    box-shadow: var(--shadow-soft);
}

.support-empty-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.support-empty-copy {
    margin-top: 0;
    color: rgba(10, 25, 47, 0.70);
}

.support-footer-cta {
    padding-top: 38px;
}

.support-footer-cta-card {
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(10, 25, 47, 0.08);
    box-shadow: var(--shadow-soft);
}

.support-footer-cta-card h2 {
    font-size: 30px;
}

.support-footer-cta-card p {
    margin-top: 10px;
    color: rgba(10, 25, 47, 0.78);
    max-width: 880px;
}

.support-footer-muted {
    font-size: 14px;
    color: rgba(10, 25, 47, 0.62);
}

.support-hub mark {
    background: rgba(90, 125, 124, 0.18);
    border-radius: 6px;
    padding: 0 2px;
}

@media (max-width: 980px) {
    .support-shell {
        grid-template-columns: 1fr;
    }

    .support-aside {
        position: relative;
        top: auto;
    }

    .support-article-title {
        white-space: normal;
    }
}
