/* ─── Maple Marketing Design System — Premium Warm Cream Theme ─── */
:root {
    --bg: #F5F0E8;               /* Warm off-white / soft cream */
    --bg-muted: #EBE4D8;         /* Slightly darker cream for contrast */
    --bg-elevated: #FDFAF5;      /* Slightly warmer white for cards/surfaces */
    --text: #1A1410;             /* Deep warm black */
    --text-secondary: #7A6E63;   /* Muted warm gray-brown */
    --text-tertiary: #9A8E83;    /* Light warm gray-brown */
    --accent: #5A6E5C;           /* Muted sage green */
    --accent-terracotta: #B56B55;/* Warm terracotta */
    --border: #E8E0D0;           /* Subtle 1px borders */
    --border-strong: #DFD5C4;    /* Stronger warm border */
    --shadow-sm: 0 1px 2px rgba(26, 20, 16, 0.02);
    --shadow-md: 0 2px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(26, 20, 16, 0.05);
    --radius-sm: 12px;
    --radius-md: 20px;           /* 20px rounded corners as requested */
    --radius-lg: 20px;
    --radius-xl: 32px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
    --font: var(--font-sans);
    --container: 1400px;
    --nav-h: 80px;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition: 0.3s var(--ease);

    /* Legacy aliases for compatibility */
    --bg-color: var(--bg);
    --text-primary: var(--text);
    --accent-sage: var(--accent);
    --white: var(--bg-elevated);
    --border-color: var(--border);
    --section-padding: 120px 24px;
    --container-max-width: var(--container);
    --transition-smooth: var(--transition);
    --card-bg: var(--bg-elevated);
}

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

html { scroll-behavior: smooth; background: var(--bg); }

/* Animation/Entrance effects */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

.container-narrow { max-width: 760px; }

.section { padding: 120px 0; border-bottom: 1px solid var(--border); }
.section-muted { background: var(--bg-elevated); }

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

/* Typography */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 400; /* Let size and whitespace do the work, no aggressive bolding */
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.section-title em { font-style: italic; color: var(--accent); font-family: inherit; }

.section-lead {
    font-size: clamp(17px, 2.5vw, 20px);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    font-weight: 400;
}

.section-header { margin-bottom: 72px; }
.section-header.center .section-lead { margin: 0 auto; }
.section-header.center { display: flex; flex-direction: column; align-items: center; }

.h1-large {
    font-family: var(--font-serif);
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.h2-medium {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.subtext-light {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px; /* Pill-shaped buttons */
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500; /* Clean, no aggressive bolding */
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

.btn-filled {
    background: var(--text); /* Deep charcoal #1A1410 */
    color: #FDFAF5; /* Cream text */
}

.btn-filled:hover {
    background: #332A24; /* Slightly softer hover state */
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    background: rgba(26, 20, 16, 0.03);
    border-color: var(--text);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(245, 240, 232, 0.85); /* Matches warm cream background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.logo-img { height: 28px; width: auto; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    margin: 0 auto;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none; /* No underlines as requested */
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--text);
    font-weight: 500;
}

.nav-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
}

/* Hero */
.hero {
    position: relative;
    padding-top: calc(var(--nav-h) + 96px);
    padding-bottom: 120px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 56px;
    position: relative;
    z-index: 2;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    padding: 6px 16px 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.animated-hero-title {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-items: center;
    width: 100%;
}

.hero-title-slide {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    width: 100%;
    display: block;
}

.hero-title-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-title-slide.exit {
    opacity: 0;
    transform: translateY(-16px);
}

.text-accent { color: var(--accent-terracotta); font-family: inherit; font-style: italic; }

.hero-lead {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Product mockup */
.hero-mockup {
    perspective: 1200px;
    width: 100%;
    max-width: 820px;
    margin-top: 16px;
}

.mockup-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: rotateX(4deg) translateY(0);
    transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.mockup-image:hover {
    transform: rotateX(0) translateY(-6px);
    box-shadow: 0 24px 50px rgba(26, 20, 16, 0.08);
}

.mockup-context i { width: 14px; height: 14px; }

/* Logo bar — animated marquee */
.logo-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
    overflow: hidden;
}

.logo-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-bar-label {
    text-align: center;
    margin: 0;
    overflow: hidden;
}

.logo-bar-label-text {
    display: inline-block;
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    opacity: 0;
    transform: translateY(100%);
    filter: blur(4px);
}

.logo-bar.visible .logo-bar-label-text {
    animation: logoBarLabelIn 0.9s var(--ease) 0.15s forwards;
}

@keyframes logoBarLabelIn {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.logo-bar-marquee {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
}

.logo-bar-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

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

.logo-bar-pills {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px;
    flex-shrink: 0;
}

.logo-bar-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transition:
        color 0.25s var(--ease),
        border-color 0.25s var(--ease),
        background 0.25s var(--ease),
        box-shadow 0.25s var(--ease),
        transform 0.25s var(--ease);
}

.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill {
    animation: logoBarPillIn 0.65s var(--ease) forwards;
}

.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill:nth-child(1) { animation-delay: 0.35s; }
.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill:nth-child(2) { animation-delay: 0.42s; }
.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill:nth-child(3) { animation-delay: 0.49s; }
.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill:nth-child(4) { animation-delay: 0.56s; }
.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill:nth-child(5) { animation-delay: 0.63s; }
.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill:nth-child(6) { animation-delay: 0.7s; }
.logo-bar.visible .logo-bar-pills:first-child .logo-bar-pill:nth-child(7) { animation-delay: 0.77s; }

.logo-bar.visible .logo-bar-pills:nth-child(2) .logo-bar-pill {
    animation: logoBarPillIn 0.5s var(--ease) 0.55s forwards;
}

@keyframes logoBarPillIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoBarMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Start marquee after entrance */
.logo-bar.visible .logo-bar-track {
    animation: logoBarMarquee 45s linear infinite;
    animation-delay: 1.1s;
}

.logo-bar-pill.is-spotlight {
    border-color: rgba(90, 110, 92, 0.4);
    background: var(--bg-elevated);
    box-shadow: 0 4px 20px rgba(90, 110, 92, 0.08);
    transform: translateY(-2px) scale(1.01);
}

.logo-bar-pill:hover {
    border-color: rgba(90, 110, 92, 0.6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(90, 110, 92, 0.12);
}

/* Review Card styling */
.logo-bar-pill.review-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    width: 350px;
    height: auto;
    min-height: 190px;
    white-space: normal;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: left;
    cursor: default;
}

.review-rating {
    color: var(--accent-terracotta);
    font-size: 16px;
    letter-spacing: 2px;
    margin: 0;
    line-height: 1;
}

.review-text {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.review-author {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.badge-beta {
    display: inline-block;
    font-size: 9px;
    background: var(--accent);
    color: var(--bg-elevated);
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Differentiator */
.diff-section { padding-top: 40px; }

.diff-card {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(40px, 6vw, 72px);
    box-shadow: var(--shadow-md);
}

.diff-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-terracotta);
    background: var(--bg-muted);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.diff-card .section-title { color: var(--text); margin-bottom: 16px; }
.diff-card .section-title em { color: var(--accent); }

.diff-lead {
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 48px;
}

.diff-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.diff-col {
    padding: 36px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(26, 20, 16, 0.015);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.diff-col:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: 0 4px 20px rgba(26, 20, 16, 0.02);
}

.diff-col h3 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.diff-col ul { list-style: none; }

.diff-col li {
    font-size: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.diff-col li:last-child { border-bottom: none; }

.diff-col li::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A8E83' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.diff-col-new {
    background: var(--bg-elevated);
    border-color: var(--border);
}

.diff-col-new:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(90, 110, 92, 0.06);
}

.diff-col-new h3 { opacity: 1; color: var(--accent); }
.diff-col-new li { color: var(--text); }

.diff-col-new li::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6E5C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Feature tiles */
.feature-grid-3,
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-tile {
    padding: 36px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature-tile:hover {
    border-color: var(--border-strong);
    box-shadow: 0 4px 32px rgba(26, 20, 16, 0.08);
    transform: translateY(-4px);
}

.feature-tile-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    color: var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.feature-tile-icon i { width: 20px; height: 20px; }

.feature-tile h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-tile p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Steps */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    padding: 36px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s var(--ease);
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 24px;
    font-style: italic;
    color: var(--accent-terracotta);
    margin-bottom: 16px;
}

.step-card h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trust */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.trust-item i {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 16px;
}

.trust-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing ladder */
.pricing-ladder,
.pricing-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 64px;
}

.pricing-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.pricing-tier:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(26, 20, 16, 0.05);
    border-color: var(--border-strong);
}

.pricing-tier.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.pricing-tier.featured:hover {
    box-shadow: 0 0 0 1.5px var(--accent), 0 24px 48px rgba(90, 110, 92, 0.1);
}

.pricing-tier-badge-floating {
    position: absolute;
    top: -12px;
    left: 32px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--accent);
    color: var(--bg-elevated);
    padding: 4px 12px;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
}

.pricing-tier-header {
    margin-bottom: 24px;
}

.pricing-tier-name {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.pricing-tier.featured .pricing-tier-name {
    color: var(--accent);
}

.pricing-tier-price-container {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.pricing-tier-price {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1;
}

.pricing-tier-suffix {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-tier-note {
    font-size: 12px;
    font-style: italic;
    color: var(--text-tertiary);
    margin-top: -8px;
    margin-bottom: 16px;
}

.pricing-tier-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-tier-features {
    list-style: none;
    flex: 1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.pricing-tier-features li {
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.pricing-tier-features li i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-tier-footer {
    margin-top: auto;
}

.pricing-tier .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.pricing-cta-link {
    text-align: center;
    margin-top: 32px;
}

.pricing-cta-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--accent);
    text-decoration: none;
}

.pricing-cta-link a:hover { text-decoration: underline; }
.pricing-cta-link i { width: 18px; height: 18px; }

/* Pricing Trust Strip */
.pricing-trust-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 48px auto 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    max-width: 880px;
}

.pricing-trust-strip .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-trust-strip .trust-item i {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* Pricing page */
.pricing-hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 48px;
    text-align: center;
}

.pricing-hero .section-lead { margin: 0 auto 32px; }

.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.billing-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 0 8px;
}

.billing-toggle-label.active { color: var(--text); font-weight: 600; }

.billing-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--text);
    border: none;
    border-radius: 100px;
    cursor: pointer;
}

.billing-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s var(--ease);
}

.billing-switch.annual::after { transform: translateX(22px); }

.billing-save {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: 4px 10px;
    border-radius: 100px;
}

.pricing-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
    margin-bottom: 80px;
}

/* Comparison table */
.comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.comparison-table th {
    font-weight: 700;
    font-size: 13px;
    background: var(--bg-muted);
}

.comparison-table td { color: var(--text-secondary); }
.comparison-table tr:last-child td,
.comparison-table tr:last-child th { border-bottom: none; }

.comparison-table .check { color: var(--accent); font-weight: 600; }

.comparison-table .comparison-section td {
    background: var(--bg-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    padding-top: 20px;
    padding-bottom: 10px;
}

.comparison-table tr.comparison-section + tr td,
.comparison-table tr.comparison-section + tr th {
    padding-top: 12px;
}

.comparison-footnote {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-tertiary);
    text-align: center;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

.comparison-footnote a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.comparison-footnote a:hover { text-decoration: underline; }

/* FAQ */
.faq-list { margin-top: 48px; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
}

.faq-question i { flex-shrink: 0; transition: transform 0.25s; color: var(--text-tertiary); }

.faq-answer {
    display: none;
    padding-bottom: 22px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(45deg); }

/* Final CTA */
.final-cta-section { padding-bottom: 120px; }

.final-cta-card {
    text-align: center;
    padding: clamp(48px, 8vw, 80px);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.final-cta-card .section-lead { margin: 0 auto 32px; }

/* Product Gallery Section */
.gallery-section {
    padding: 120px 0;
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 56px;
    width: 100%;
}

.gallery-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26, 20, 16, 0.05);
}

.gallery-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: contain;
    background: var(--bg-muted);
}

.gallery-caption {
    padding: 4px 8px;
}

.gallery-caption h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text);
}

.gallery-caption p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    background: var(--bg); /* Same cream background — no color break */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.link-col h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    color: var(--text);
}

.link-col a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.link-col a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.social-links { display: flex; gap: 16px; }
.social-links a,
.social-links .social-icon-btn { color: var(--text-tertiary); transition: color 0.2s; }
.social-links a:hover,
.social-links .social-icon-btn:hover { color: var(--text); }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 18, 17, 0.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 24px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--bg-elevated);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    position: relative;
    transform: translateY(12px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-tertiary);
    padding: 8px;
}

.modal-close:hover { color: var(--text); }

.waitlist-form { display: flex; flex-direction: column; gap: 12px; }

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-select {
    appearance: none;
    cursor: pointer;
    color: var(--text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Legacy subpage compatibility ─── */
.dropdown { position: relative; }
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-content a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    color: var(--text-secondary);
}
.dropdown-content a:hover { background: var(--bg-muted); color: var(--text); }

.feature-card {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-content { padding: 32px; position: relative; z-index: 1; }
.card-icon {
    width: 44px; height: 44px;
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}
.card-bg-image { display: none; }

.how-it-works { background: var(--bg-muted); }
.steps-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step {
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.step-icon {
    width: 48px; height: 48px;
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}
.step-divider { display: none; }

.tabs-nav { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.tab-btn {
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.tab-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab-panel { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tab-panel.active { display: grid; }
.panel-visual {
    aspect-ratio: 4/3;
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.visual-mockup { width: 100%; height: 100%; background: var(--accent-subtle); }
.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.light-section {
    background: var(--text);
    color: var(--bg);
}
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.privacy-pillar h3 { margin-bottom: 12px; }
.privacy-pillar p { opacity: 0.75; }

.hero-visual { margin-top: 48px; }
.video-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }

.testimonial-card {
    min-width: 320px;
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* Pricing page legacy card styles */
.pricing-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-top { padding: 28px 24px 0; }
.card-top h3 { font-size: 22px; font-weight: 700; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.price-subtext { font-size: 14px; color: var(--text-secondary); margin: 8px 0 24px; min-height: 42px; }
.btn-dark-pill {
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--text);
    color: var(--bg);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 28px;
    transition: var(--transition);
}
.btn-dark-pill:hover { background: #000; }
.feature-checklist { list-style: none; }
.feature-checklist li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}
.feature-checklist i { color: var(--accent); flex-shrink: 0; width: 18px; height: 18px; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-mockup { max-width: 520px; margin: 0 auto; }
    .mockup-window { transform: none; }
    .pricing-ladder,
    .pricing-page-grid { grid-template-columns: repeat(2, 1fr); }
    .diff-compare { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .nav-links,
    .nav-ctas { display: none; }
    .nav-toggle { display: flex; }
    .navbar.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg-elevated);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 16px;
        margin: 0;
    }
    .navbar.nav-open .nav-ctas {
        display: flex;
        position: absolute;
        top: calc(var(--nav-h) + 180px);
        left: 24px;
        right: 24px;
        flex-direction: column;
    }
    .navbar.nav-open .nav-ctas .btn { width: 100%; }
    .feature-grid-3,
    .grid-3-col,
    .steps-row,
    .trust-grid,
    .privacy-grid,
    .steps-container,
    .gallery-grid { grid-template-columns: 1fr; }
    .pricing-ladder,
    .pricing-page-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .tab-panel.active { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { transition: opacity 0.3s; transform: none; }
    .mockup-window { transform: none; }
    html { scroll-behavior: auto; }

    .logo-bar-track { animation: none !important; }
    .logo-bar-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
    .logo-bar-marquee .logo-bar-pills:nth-child(2) { display: none; }
    .logo-bar-marquee .logo-bar-track {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .logo-bar-label-text,
    .logo-bar-pill {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none !important;
    }
}

/* ─── Subpages ─── */
.page-main { padding-top: var(--nav-h); min-height: 100vh; }

.nav-links a.is-active { color: var(--text); font-weight: 600; }

.page-hero-block {
    padding: calc(var(--nav-h) + 48px) 0 64px;
}

.page-hero-block .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.page-hero-block .eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.page-hero-block.center { text-align: center; }
.page-hero-block.center .section-lead { margin: 0 auto; }

/* Split feature rows */
.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.split-row.reverse .split-copy { order: 2; }
.split-row.reverse .split-visual { order: 1; }

.split-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 12px;
}

.split-list {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.split-list li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.split-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.split-visual {
    aspect-ratio: 4/3;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.split-visual i {
    width: 64px;
    height: 64px;
    color: var(--accent);
    opacity: 0.35;
}

.split-visual-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
}

/* Use cases */
.use-case-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.use-case-row:last-child { border-bottom: none; }
.use-case-row.flip { direction: rtl; }
.use-case-row.flip > * { direction: ltr; }

/* Platform / download */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.platform-card {
    padding: 28px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.platform-card .platform-logo {
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    display: block;
}

.platform-card .platform-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 12px;
    min-height: 32px;
}

.platform-card .platform-logos .platform-logo {
    margin: 0;
    width: 28px;
    height: 28px;
}

.platform-card.soon .platform-logo { opacity: 0.55; }

.platform-card i { width: 32px; height: 32px; color: var(--accent); margin-bottom: 12px; }
.platform-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.platform-card p { font-size: 13px; color: var(--text-secondary); }
.platform-card.soon { opacity: 0.65; }

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 1.5s ease infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Blog */
.blog-page-header {
    padding: calc(var(--nav-h) + 48px) 0 48px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.blog-page-header .section-title,
.blog-page-header .section-lead {
    margin-left: auto;
    margin-right: auto;
}

.blog-page-header .section-lead {
    max-width: 36rem;
    text-wrap: balance;
}

.blog-grid-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 64px 0 100px;
}

.blog-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.blog-card-link.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.blog-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
    background-color: var(--bg-muted);
    background-size: cover;
    background-position: center;
    transition: transform 0.35s var(--ease);
}

.blog-card-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.35) 0%, transparent 45%);
    pointer-events: none;
}

.blog-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 17, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.blog-card-thumb-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.92);
    padding: 5px 10px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.blog-card-link:hover .blog-card-thumb {
    transform: scale(1.02);
}

.blog-card-link.featured .blog-card-thumb { margin-bottom: 0; }

.blog-card-body { min-width: 0; }

.blog-meta-line {
    display: flex;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 10px;
}

.blog-meta-line .tag { color: var(--accent); }

.blog-card-link h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.blog-card-link.featured h3 { font-size: 28px; }

.blog-card-link p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Careers */
.careers-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.careers-perk i {
    width: 22px;
    height: 22px;
    color: var(--accent);
    margin-bottom: 16px;
}

.careers-perk h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.careers-perk p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.careers-openings { padding-top: 0; }

.careers-openings-header {
    margin-bottom: 48px;
    max-width: 640px;
}

.careers-openings-header .section-lead { margin-bottom: 0; }

.careers-dept + .careers-dept { margin-top: 56px; }

.careers-dept-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.roles-grid-page {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.role-card,
.role-card-link {
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.role-card-link {
    min-height: 220px;
}

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

.role-card.role-card-soon,
.role-card-link.role-card-soon {
    cursor: default;
}

.role-card.role-card-soon:hover,
.role-card-link.role-card-soon:hover {
    border-color: var(--border);
    box-shadow: none;
    transform: none;
}

.role-tag-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: 12px;
}

.role-card-title,
.role-card-link h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.role-card-meta {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-bottom: 14px;
}

.role-card-desc,
.role-card-link p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.role-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.role-status-pill {
    padding: 5px 12px;
    background: var(--accent-subtle);
    color: var(--accent);
    border-radius: 100px;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.careers-experience {
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.careers-experience-lead {
    max-width: 720px;
    margin-bottom: 32px;
}

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

.experience-overview-col {
    padding: 24px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.experience-overview-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}

.experience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.experience-list li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
}

.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
}

.experience-list-compact { margin: 16px 0; }

.experience-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.experience-program-card {
    display: flex;
    flex-direction: column;
    padding: 28px 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.experience-program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.experience-program-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.experience-program-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.experience-program-meta {
    font-size: 13px;
    color: var(--text-tertiary);
}

.experience-program-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

.experience-program-fit {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 8px 0 24px;
    flex: 1;
}

.experience-program-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.role-status-pill-open {
    background: #E8F0E4;
    color: #3D5A2E;
    flex-shrink: 0;
}

.role-status-pill-muted {
    background: var(--bg-elevated);
    color: var(--text-tertiary);
}

/* Docs layout */
.docs-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    min-height: calc(100vh - var(--nav-h));
}

.docs-sidebar {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding: 32px 24px;
    border-right: 1px solid var(--border);
    background: var(--bg-muted);
}

.docs-sidebar h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin: 24px 0 12px;
}

.docs-sidebar h4:first-child { margin-top: 0; }

.docs-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.docs-nav a {
    display: block;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.docs-nav a:hover,
.docs-nav a.is-active {
    background: var(--bg-elevated);
    color: var(--text);
}

.docs-content {
    padding: 48px 56px 100px;
    max-width: 760px;
}

.docs-content h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
.docs-content h2 { font-size: 24px; font-weight: 700; margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.docs-content h2:first-of-type { border-top: none; padding-top: 0; }
.docs-content p, .docs-content li { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.docs-content ul { padding-left: 20px; margin-bottom: 20px; }
.docs-content code, .docs-content kbd {
    font-family: ui-monospace, monospace;
    font-size: 13px;
    background: var(--bg-muted);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* Prose / legal */
.prose-page {
    max-width: 720px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 48px) 24px 100px;
}

/* Legal/prose pages should always be readable even if JS fails */
.prose-page.fade-in,
.legal-page.fade-in {
    opacity: 1;
    transform: none;
}

.prose-page h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.prose-page .prose-meta { font-size: 15px; color: var(--text-tertiary); margin-bottom: 40px; }
.prose-page h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; padding-top: 8px; border-top: 1px solid var(--border); }
.prose-page h2:first-of-type { border-top: none; }
.prose-page h3 { font-size: 17px; font-weight: 700; margin: 24px 0 12px; }
.prose-page p, .prose-page li { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.prose-page ul { padding-left: 20px; }

.callout-box {
    padding: 24px;
    background: var(--accent-subtle);
    border: 1px solid rgba(74, 93, 58, 0.2);
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.callout-box h4 { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.callout-box p { margin: 0; }

.values-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-card-page {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.value-card-page i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.value-card-page h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.value-card-page p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Article (blog posts) */
body.article-page .page-main,
body.job-page .page-main { padding-top: 0; }

body.article-page,
body.job-page {
    background: var(--bg) !important;
    color: var(--text) !important;
}

.article-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 32px) 24px 80px;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 32px;
}

.article-back:hover { text-decoration: underline; }

.article-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.article-header .tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; display: block; }
.article-header h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--text-tertiary); }

.article-body h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.02em; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.article-body p { font-size: 17px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }
.article-body ul, .article-body ol { margin: 0 0 24px 20px; color: var(--text-secondary); line-height: 1.75; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote, .article-body .pullquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--accent);
    background: var(--bg-muted);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.55;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.premium-table th {
    background: var(--bg-muted);
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
}

.premium-table td {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

.diagram-container {
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.diagram-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    text-align: center;
}

/* Job application pages */
body.job-page .page-main { padding-top: var(--nav-h); }

.job-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}

.job-page .apply-panel,
.job-page .apply-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 48px;
    box-shadow: var(--shadow-md);
}

.job-wrap h1 { font-size: clamp(36px, 5vw, 48px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.job-meta-line { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 40px; }
.job-section { margin-bottom: 40px; }
.job-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.job-section p, .job-section li { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 12px; }
.job-section ul { padding-left: 20px; }

.apply-panel {
    margin-top: 48px;
    padding: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.apply-panel h2 { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 28px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group-page { margin-bottom: 20px; }
.form-group-page label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group-page .hint { font-size: 12px; color: var(--text-tertiary); margin-bottom: 8px; display: block; }

.experience-form-ack { margin-top: 8px; }

.experience-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    cursor: pointer;
}

.experience-checkbox-label input {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.apply-panel textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.community-card {
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.community-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--accent); }
.community-card i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 16px; }
.community-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.community-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 16px; }
.community-card a { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.community-card a:hover { text-decoration: underline; }

.press-kit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.press-asset {
    padding: 28px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

@media (max-width: 992px) {
    .split-row, .use-case-row, .blog-card-link.featured { grid-template-columns: 1fr; }
    .split-row.reverse .split-copy, .split-row.reverse .split-visual { order: unset; }
    .use-case-row.flip { direction: ltr; }
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
    .docs-content { padding: 32px 24px 80px; }
    .values-grid-page, .community-grid, .platform-grid, .careers-perks { grid-template-columns: 1fr; }
    .roles-grid-page, .blog-grid-page, .press-kit-grid { grid-template-columns: 1fr; }
    .experience-overview, .experience-programs-grid { grid-template-columns: 1fr; }
    .experience-program-header { flex-direction: column; }
    .form-grid-2 { grid-template-columns: 1fr; }
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent-terracotta);
    z-index: 10001;
    transition: width 0.1s ease-out;
}

.hero-mockup {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ─── Integrations Ecosystem Section ─── */
.integrations-section {
    background: var(--bg-elevated);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.integration-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    cursor: default;
}

.integration-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 20, 16, 0.06);
    border-color: var(--accent);
}

.integration-pill-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--accent);
}

.integration-pill-icon i {
    width: 20px;
    height: 20px;
}

.integration-pill-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.integration-pill-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.integration-pill-info p {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.integration-pill-status {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 100px;
    flex-shrink: 0;
}

.integration-pill-status.live {
    background: #E8F0E4;
    color: #3D5A2E;
}

.integration-pill-status.soon {
    background: var(--bg-muted);
    color: var(--text-tertiary);
}

.integrations-cta {
    text-align: center;
    margin-top: 40px;
}

.integrations-cta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
    color: var(--accent);
    text-decoration: none;
}

.integrations-cta a:hover {
    text-decoration: underline;
}

.integrations-cta i {
    width: 18px;
    height: 18px;
}

/* ─── Screen-Aware Intelligence Section ─── */
.screen-aware-section {
    background: var(--bg);
}

.screen-aware-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.screen-aware-visual {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.screen-aware-visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 12px;
}

.screen-aware-layer {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.screen-aware-layer:hover {
    border-color: var(--accent);
    background: rgba(90, 110, 92, 0.03);
}

.screen-aware-layer i {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.screen-aware-layer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-left: auto;
    flex-shrink: 0;
    animation: pulseDot 1.5s ease infinite;
}

.screen-aware-copy .section-title {
    font-size: clamp(28px, 4vw, 44px);
}

.screen-aware-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.screen-aware-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.screen-aware-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--accent);
}

.screen-aware-feature-icon i {
    width: 18px;
    height: 18px;
}

.screen-aware-feature h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.screen-aware-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── Workspace Memory Timeline ─── */
.memory-timeline-section {
    background: var(--bg-elevated);
}

.memory-timeline {
    display: flex;
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.memory-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--border) 0%, var(--accent) 50%, var(--border) 100%);
    z-index: 0;
}

.memory-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 12px;
}

.memory-node-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 3px solid var(--accent);
    margin-bottom: 24px;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
    position: relative;
    z-index: 2;
}

.memory-node:hover .memory-node-dot {
    transform: scale(1.3);
    background: var(--accent);
}

.memory-node-card {
    padding: 24px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 100%;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.memory-node:hover .memory-node-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 20, 16, 0.06);
    border-color: var(--accent);
}

.memory-node-card i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    margin-bottom: 12px;
}

.memory-node-card h4 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 8px;
}

.memory-node-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ─── Integrations Page ─── */
.integrations-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.integration-card-full {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.integration-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.integration-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    border-radius: var(--radius-sm);
    color: var(--accent);
}

.integration-card-icon i {
    width: 22px;
    height: 22px;
}

.integration-card-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.integration-card-full h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.integration-card-full p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.integration-category-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.integration-category + .integration-category {
    margin-top: 56px;
}

/* ─── Security Page ─── */
.security-hero-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.security-pillar-card {
    padding: 32px 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.security-pillar-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.security-pillar-card:hover::before {
    opacity: 1;
}

.security-pillar-card i {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 20px;
}

.security-pillar-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.security-pillar-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}

.security-detail-card {
    padding: 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.security-detail-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-detail-card h4 i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.security-detail-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-detail-card ul {
    list-style: none;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.security-detail-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
}

.security-detail-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

/* ─── Changelog Page ─── */
.changelog-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}

.changelog-entry {
    position: relative;
    margin-bottom: 48px;
}

.changelog-entry::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 3px solid var(--accent);
    z-index: 1;
}

.changelog-entry:first-child::before {
    background: var(--accent);
    width: 14px;
    height: 14px;
    left: -30px;
    border: none;
    box-shadow: 0 0 0 4px rgba(90, 110, 92, 0.15);
}

.changelog-date {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
}

.changelog-entry h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.changelog-entry p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.changelog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.changelog-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--text-tertiary);
    background: var(--bg-muted);
}

.changelog-tag.feature {
    color: var(--accent);
    border-color: rgba(90, 110, 92, 0.25);
    background: rgba(90, 110, 92, 0.06);
}

.changelog-tag.improvement {
    color: var(--accent-terracotta);
    border-color: rgba(181, 107, 85, 0.25);
    background: rgba(181, 107, 85, 0.06);
}

.changelog-tag.fix {
    color: var(--text-secondary);
}

.changelog-entry-card {
    padding: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.changelog-entry-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.changelog-version-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    background: var(--text);
    color: var(--bg-elevated);
    border-radius: 100px;
    margin-bottom: 12px;
}

/* ─── New sections responsive ─── */
@media (max-width: 1024px) {
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .screen-aware-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .memory-timeline {
        flex-direction: column;
        gap: 0;
    }
    .memory-timeline::before {
        top: 0;
        bottom: 0;
        left: 32px;
        right: auto;
        width: 2px;
        height: 100%;
    }
    .memory-node {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        padding: 0 0 32px 0;
    }
    .memory-node-dot {
        margin-bottom: 0;
        margin-top: 6px;
    }
    .integrations-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .security-hero-visual {
        grid-template-columns: 1fr;
    }
    .security-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    .integrations-page-grid {
        grid-template-columns: 1fr;
    }
    .memory-timeline::before {
        left: 20px;
    }
}

/* ──────────────────────────────────────────
   COMPARISON PAGES STYLING
   ────────────────────────────────────────── */
.compare-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 64px) 32px 120px;
}

.compare-page h1 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}

.compare-page .prose-meta {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 800px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 40px 0;
}

.compare-col {
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.compare-col:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.compare-col-old {
    background: var(--bg-muted);
    border-color: var(--border-strong);
}

.compare-col-new {
    background: var(--bg-elevated);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.compare-col-new:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(90, 110, 92, 0.1);
}

.compare-col h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.compare-col-old h3 {
    color: var(--text-secondary);
}

.compare-col-new h3 {
    color: var(--accent);
}

.compare-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.compare-list li i {
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.compare-col-old .compare-list li i {
    color: var(--accent-terracotta);
}

.compare-col-new .compare-list li i {
    color: var(--accent);
}

.compare-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.compare-feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.compare-feature-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.compare-feature-card h4 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

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

.compare-feature-val-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 6px;
}

.compare-feature-val-title.old {
    color: var(--text-tertiary);
}

.compare-feature-val-title.new {
    color: var(--accent);
}

.compare-feature-text {
    font-size: 14px;
    line-height: 1.5;
}

.compare-feature-text.old {
    color: var(--text-secondary);
}

.compare-feature-text.new {
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 768px) {
    .compare-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .compare-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .compare-page {
        padding: calc(var(--nav-h) + 32px) 20px 80px;
    }
}

/* ─── Billing Toggle Switch ─── */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 48px;
}

.billing-toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s var(--ease);
}

.billing-toggle-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

.billing-toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.billing-toggle-switch:hover {
    border-color: var(--border-strong);
}

.billing-toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.billing-toggle-switch.annual .billing-toggle-slider {
    transform: translateX(24px);
    background: var(--accent);
}

.billing-toggle-switch.annual {
    background: rgba(90, 110, 92, 0.08);
    border-color: rgba(90, 110, 92, 0.25);
}

.discount-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--accent-terracotta, #b56b55);
    border-radius: 100px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

