:root {
    /* Dark theme (admin panel palette) */
    --bg-primary: #0B1220;
    --bg-secondary: #131C2E;
    --bg-tertiary: #1A2438;
    --border: #1F2A3F;
    --border-strong: #2A3654;
    --text-primary: #E8EDF5;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --accent: #10B981;
    --accent-hover: #34D399;
    --accent-dim: rgba(16, 185, 129, 0.15);

    /* Light theme additions for landing page */
    --light-bg: #F8FAFC;
    --light-bg-alt: #FFFFFF;
    --light-text: #0B1220;
    --light-text-secondary: #475569;
    --light-border: #E2E8F0;

    /* Warm accent (used in admin panel bubble image, for highlights) */
    --warm: #F59E0B;
    --warm-dim: rgba(245, 158, 11, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) var(--bg-primary);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse 60% 25% at 15% 12%, rgba(16, 185, 129, 0.32), transparent 65%),
        radial-gradient(ellipse 55% 22% at 85% 45%, rgba(245, 158, 11, 0.20), transparent 65%),
        radial-gradient(ellipse 50% 22% at 50% 30%, rgba(59, 130, 246, 0.22), transparent 65%),
        radial-gradient(ellipse 45% 20% at 90% 60%, rgba(16, 185, 129, 0.18), transparent 65%),
        radial-gradient(ellipse 50% 22% at 20% 75%, rgba(245, 158, 11, 0.15), transparent 65%),
        radial-gradient(ellipse 55% 25% at 75% 90%, rgba(16, 185, 129, 0.20), transparent 65%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 400vh;
    background-position: 0 var(--parallax-offset, 0);
    color: var(--text-primary);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile: switch to scroll-attached so iOS Safari renders correctly */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

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

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

button {
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ======= Header ======= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.scrolled {
    background: rgba(11, 18, 32, 0.85);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.brand img {
    height: 32px;
    width: auto;
    display: block;
}

@media (max-width: 640px) {
    .brand img {
        height: 26px;
    }
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--warm);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 720px) {
    .nav-toggle {
        display: flex;
    }

    /* Mobile menu panel — glassmorphism over the page so the brand stays
       visible behind the menu. Solid var(--bg-secondary) is the fallback
       for engines without backdrop-filter (see @supports below). */
    .primary-nav {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 10px 12px;
        background: var(--bg-secondary);
        border: 1px solid var(--border);
        border-radius: 12px;
        /* Layered shadow: large soft ambient + tight close-in for depth. */
        box-shadow:
            0 18px 40px -12px rgba(0, 0, 0, 0.55),
            0 4px 10px -2px rgba(0, 0, 0, 0.35);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }

    /* Subtle emerald hairline along the top edge of the panel — a thin
       gradient line that fades to transparent at both sides so the brand
       reads without shouting. */
    .primary-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 12px;
        right: 12px;
        height: 1px;
        background: linear-gradient(
            to right,
            transparent,
            var(--accent) 50%,
            transparent
        );
        opacity: 0.7;
        pointer-events: none;
    }

    .site-header.nav-open .primary-nav {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .primary-nav .nav-link {
        position: relative;
        padding: 12px 14px;
        border-radius: 8px;
        color: var(--text-secondary);
        /* Inset 0 0 0 0 acts as a no-op until hover/focus animates the left
           accent bar in; transition both background and the inset shadow so
           the wash and the left edge land together. */
        box-shadow: inset 0 0 0 0 var(--accent);
        transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }

    .primary-nav .nav-link:hover,
    .primary-nav .nav-link:focus-visible {
        background: var(--accent-dim);
        color: var(--text-primary);
        box-shadow: inset 3px 0 0 0 var(--accent);
    }

    /* Visual separation between the nav links and the primary CTA so the
       button reads as the page's primary action, not just another row.
       A hairline divider sits in the gap above the button (via ::before)
       rather than on the button's own surface, so the emerald fill stays
       clean. */
    .primary-nav .btn {
        position: relative;
        width: 100%;
        text-align: center;
        margin-top: 18px;
    }

    .primary-nav .btn::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--border);
    }
}

/* Backdrop-filter upgrade for the mobile panel. Browsers without support
   fall through to the solid var(--bg-secondary) declared above. The
   translucent rgba is bg-secondary (#131C2E) with reduced alpha — same
   token color, just see-through. */
@supports ((backdrop-filter: blur(14px)) or (-webkit-backdrop-filter: blur(14px))) {
    @media (max-width: 720px) {
        .primary-nav {
            background: rgba(19, 28, 46, 0.78);
            backdrop-filter: blur(14px) saturate(140%);
            -webkit-backdrop-filter: blur(14px) saturate(140%);
        }
    }
}

/* Staggered entrance for the nav items. The panel itself keeps its own
   opacity/transform transition; each child waits ~35ms more than the
   previous before fading/sliding in. On close the items fade together
   (no delay) so the panel doesn't feel sluggish to dismiss. Wrapped in
   prefers-reduced-motion: no-preference so reduced-motion users get an
   instant, non-animated menu. */
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
    .primary-nav > * {
        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.18s ease, transform 0.18s ease;
        transition-delay: 0ms;
    }
    .site-header.nav-open .primary-nav > * {
        opacity: 1;
        transform: translateY(0);
    }
    .site-header.nav-open .primary-nav > *:nth-child(1) { transition-delay: 60ms; }
    .site-header.nav-open .primary-nav > *:nth-child(2) { transition-delay: 95ms; }
    .site-header.nav-open .primary-nav > *:nth-child(3) { transition-delay: 130ms; }
    .site-header.nav-open .primary-nav > *:nth-child(4) { transition-delay: 165ms; }
    .site-header.nav-open .primary-nav > *:nth-child(5) { transition-delay: 200ms; }
    .site-header.nav-open .primary-nav > *:nth-child(6) { transition-delay: 235ms; }
}

/* ======= Buttons ======= */

.btn {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px) scale(1.02);
}

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

.btn-sm {
    padding: 9px 16px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
    margin-top: 32px;
}

/* ======= Sections ======= */

.section {
    padding: 96px 0;
    position: relative;
}

.section-dark {
    background: transparent;
    color: var(--text-primary);
}

.section-light {
    background: var(--light-bg);
    color: var(--light-text);
}

.section-light-alt {
    background: #F1F5F9;
    border-top: 1px solid var(--light-border);
}

.section-divider {
    border-top: 1px solid var(--border);
}

.section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-title.light {
    color: var(--light-text);
}

.section-lead {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-lead.light {
    color: var(--light-text-secondary);
}

/* ======= Hero ======= */

.section-hero {
    padding: 160px 0 100px;
    /* bub5.png image background (kept for easy revert — uncomment to restore) */
    /*
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 30% 40%, rgba(11, 18, 32, 0.4) 0%, rgba(11, 18, 32, 0.86) 70%),
        url('/img/bub5.png');
    background-size: auto, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center calc(50% + var(--parallax-offset, 0px));
    background-attachment: fixed, fixed;
    */
    background: transparent;
}

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

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto 24px;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 720px;
    margin: 0 auto 36px;
}

.hero-microcopy {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 26px;
}

.trust-row {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-row li {
    position: relative;
}

@media (max-width: 640px) {
    .trust-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ======= Steps (Näin opetat) ======= */

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0 24px;
}

.step-card {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.55) 40%, rgba(248, 250, 252, 0) 75%),
        var(--light-bg-alt);
    border: 1px solid rgba(16, 185, 129, 0.10);
    border-radius: 40px;
    padding: 36px 32px;
    box-shadow:
        0 18px 44px rgba(11, 18, 32, 0.06),
        0 4px 12px rgba(11, 18, 32, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: cb-step-float 6s ease-in-out infinite;
    will-change: transform;
}

/* Stagger the breathing so the three cards don't pulse in unison */
.step-card:nth-child(1) { animation-delay: 0s; }
.step-card:nth-child(2) { animation-delay: 1.2s; }
.step-card:nth-child(3) { animation-delay: 2.4s; }

.step-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 56px rgba(11, 18, 32, 0.10),
        0 6px 16px rgba(11, 18, 32, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation-play-state: paused;
}

.step-bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 28% 22%, #6EE7B7 0%, #34D399 35%, #059669 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px rgba(0, 0, 0, 0.10),
        0 8px 20px rgba(16, 185, 129, 0.30);
}

@keyframes cb-step-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .step-card,
    .benefit-card {
        animation: none;
    }
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 8px;
}

.step-body {
    color: var(--light-text-secondary);
    font-size: 0.98rem;
    line-height: 1.55;
}

.steps-footnote {
    text-align: center;
    color: var(--light-text-secondary);
    font-style: italic;
    margin-top: 24px;
}

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

/* ======= Hint pill (Kokeile itse) ======= */

.hint-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px 24px;
    border: 1px solid rgba(16, 185, 129, 0.30);
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.06),
        0 4px 16px rgba(16, 185, 129, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: hint-pulse 2.5s ease-in-out infinite;
}

.hint-pill svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

@keyframes hint-pulse {
    0%, 100% { opacity: 0.85; }
    50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hint-pill {
        animation: none;
        opacity: 1;
    }
}

/* ======= Benefits grid (Hyödyt) ======= */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.benefit-card {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 18%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0) 75%),
        var(--bg-secondary);
    border: 1px solid rgba(16, 185, 129, 0.12);
    border-radius: 40px;
    padding: 32px 28px;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    animation: cb-step-float 6s ease-in-out infinite;
    will-change: transform;
}

/* Stagger the breathing across all 5 cards so they don't pulse in unison.
   Use prime-ish offsets so the rhythm doesn't visibly repeat. */
.benefit-card:nth-child(1) { animation-delay: 0s; }
.benefit-card:nth-child(2) { animation-delay: 1.1s; }
.benefit-card:nth-child(3) { animation-delay: 2.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.6s; }
.benefit-card:nth-child(5) { animation-delay: 1.7s; }
.benefit-card:nth-child(6) { animation-delay: 2.9s; }

.benefit-card p em {
    font-style: italic;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.30);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.32),
        0 6px 16px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation-play-state: paused;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 28% 22%, rgba(110, 231, 183, 0.30) 0%, rgba(16, 185, 129, 0.25) 35%, rgba(5, 150, 105, 0.30) 100%),
        var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.20),
        inset 0 -1px 2px rgba(0, 0, 0, 0.15),
        0 4px 14px rgba(16, 185, 129, 0.20);
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
}

.benefit-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.benefit-card-link {
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.benefit-card-link:hover {
    color: var(--accent-hover, var(--accent));
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ======= Two-column (Sinä olet pomo) ======= */

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

.two-column-left .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.two-column-left .section-lead {
    margin: 0;
    text-align: left;
    max-width: none;
}

/* Variant: top-align both columns (used when both columns hold their own
   self-contained text block instead of one being a content/list pair). */
.two-column-top {
    align-items: start;
}

.two-column-top .section-title,
.two-column-top .section-lead {
    text-align: left;
}

.two-column-top .section-title {
    margin-bottom: 20px;
}

.two-column-top .section-lead {
    max-width: none;
    margin: 0 0 16px;
}

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

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

.check-bubble {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-dim);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.check-bubble svg {
    width: 14px;
    height: 14px;
}

/* "Sopiiko Bottinen sinulle?" section — left-aligned subhead+list inside a centered text block */
.fit-block {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.fit-subhead {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 24px;
    margin-bottom: 16px;
}

.fit-closing {
    margin-top: 40px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ======= Pricing ======= */

.pricing-card {
    background: var(--light-bg-alt);
    border: 1px solid var(--light-border);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06), 0 2px 6px rgba(11, 18, 32, 0.04);
    max-width: 560px;
    margin: 0 auto;
}

.pricing-eyebrow {
    color: var(--light-text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-text);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.pricing-subhead {
    font-size: 1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-top: 28px;
    margin-bottom: 12px;
}

.install-subhead {
    font-size: 1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-top: 10px;
    margin-bottom: 12px;
}

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

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--light-text-secondary);
    font-size: 0.98rem;
    line-height: 1.5;
}

.pricing-list li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-footnote {
    margin-top: 16px;
    text-align: center;
    color: var(--light-text-secondary);
    font-size: 0.85rem;
    font-style: italic;
}

.pricing-footnote + .pricing-footnote {
    margin-top: 4px;
}

/* Install help card — matches the pricing card visual style */
.install-help-card {
    max-width: 560px;
    margin: 24px auto 0;
    background: var(--light-bg-alt);
    border: 1px solid var(--light-border);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 8px 24px rgba(11, 18, 32, 0.06), 0 2px 6px rgba(11, 18, 32, 0.04);
    text-align: center;
}

.install-help-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--light-text-secondary);
}

.install-help-card strong {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 640px) {
    .install-help-card {
        padding: 22px 24px;
    }

    .install-help-card p {
        font-size: 0.95rem;
    }
}

/* ======= FAQ ======= */

.faq-list {
    margin-top: 32px;
}

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

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    list-style: none;
    font-size: 1.02rem;
    line-height: 1.4;
}

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

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--light-text-secondary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--warm);
}

.faq-answer {
    color: var(--light-text-secondary);
    line-height: 1.6;
    padding-bottom: 24px;
    font-size: 0.98rem;
}

/* ======= Final CTA ======= */

.section-final-cta {
    padding: 80px 0;
    /* bub5.png image background (kept for easy revert — uncomment to restore) */
    /*
    background-color: var(--bg-primary);
    background-image:
        linear-gradient(rgba(11, 18, 32, 0.42), rgba(11, 18, 32, 0.86)),
        url('/img/bub5.png');
    background-size: auto, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center calc(50% + var(--parallax-offset, 0px));
    background-attachment: fixed, fixed;
    */
    background: transparent;
}

.final-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
}

.section-final-cta .section-lead {
    margin-bottom: 32px;
}

/* ======= Footer ======= */

.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-brand {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 280px;
}

.footer-heading {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.15s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    margin-top: 48px;
    padding-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--text-secondary);
}

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

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ======= Section spacing — mobile ======= */

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .section-hero {
        padding: 130px 0 72px;
    }
}

/* Parallax overrides — kept at end of file so they cascade AFTER both .section-hero and
   .section-final-cta base rules, regardless of where those declarations live above. */
@media (max-width: 900px) {
    .section-hero,
    .section-final-cta {
        background-attachment: scroll;
    }
}

/* Disable parallax on small viewports and for users who request reduced motion */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    body,
    .section-hero,
    .section-final-cta {
        --parallax-offset: 0px;
    }
}

/* === Warm (orange) accent modifiers — small brand-color highlights === */

/* Step bubble #2 — orange variant of .step-bubble */
.step-bubble--warm {
    background:
        radial-gradient(circle at 28% 22%, #FBBF24 0%, #F59E0B 35%, #D97706 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px rgba(0, 0, 0, 0.10),
        0 8px 20px rgba(245, 158, 11, 0.30);
}

/* Benefit icon orange variant — applied to mail + languages */
.benefit-icon--warm {
    background:
        radial-gradient(circle at 28% 22%, rgba(251, 191, 36, 0.35) 0%, rgba(245, 158, 11, 0.30) 35%, rgba(217, 119, 6, 0.35) 100%),
        var(--warm-dim);
    color: var(--warm);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.20),
        inset 0 -1px 2px rgba(0, 0, 0, 0.15),
        0 4px 14px rgba(245, 158, 11, 0.20);
}

/* Pricing item — orange text only (icon stays green via the more-specific .pricing-list li svg rule) */
.pricing-list li.price-item--warm {
    color: var(--warm);
}

/* Soft cool-gray + faint warm wash. Used by the pricing section and any other
   "deliberate stop" section that needs visual differentiation from neighbouring
   light sections (UKK / Kokeile itse use #F1F5F9; this sits one shade below). */
.section-pricing-bg {
    background:
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(245, 158, 11, 0.05), transparent 70%),
        #E9EEF5;
}

.why-now-text p {
    color: var(--light-text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.2em;
}

.why-now-text p:last-child {
    margin-bottom: 0;
}

.why-now-text p strong {
    color: var(--light-text);
    font-weight: 600;
}

/* Brand carousel — infinite-loop auto-scrolling band of widget screenshots.
   The track holds TWO identical copies of the cards back-to-back; the
   keyframe translates by exactly one copy width so the seam is invisible.
   Hover or drag pauses the animation (drag is wired up in landing.js).
   Edge mask fades cards in/out at the sides for a soft hand-off. */
.brand-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 24px auto 0;
    /* Vertical breathing room so the per-card tilt's corners don't clip
       against overflow: hidden. The horizontal mask is unaffected — it
       fades left/right only, so this padding stays fully opaque. */
    padding: 32px 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brand-carousel-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: brand-carousel-scroll 20s linear infinite;
}

.brand-carousel:hover .brand-carousel-track {
    animation-play-state: paused;
}

@keyframes brand-carousel-scroll {
    from { transform: translateX(0); }
    /* One copy = 5 cards (280px each) + 5 gaps (20px each, including the
       one after the last card before the duplicate) = 1500px. Keep this
       in sync with .brand-carousel-card width and the gap if either
       changes — landing.js's drag handler hard-codes the same value. */
    to { transform: translateX(-1500px); }
}

.brand-carousel-card {
    flex-shrink: 0;
    width: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
    /* position:relative so z-index lift on hover works; transition eases
       both the tilt-removal and the scale on hover IN and OUT. */
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.4, 1);
}

.brand-carousel-card img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Subtle hand-placed feel — each of the 5 source cards gets a different
   small tilt. The pattern repeats every 5 (5n+1..5n+5) so the duplicated
   copy tilts identically, keeping the loop seamless: card 1 and card 6
   look the same as the animation wraps. Track-level translateX and
   card-level rotate are on different elements, so they don't conflict. */
.brand-carousel-card:nth-child(5n+1) { transform: rotate(-1.2deg); }
.brand-carousel-card:nth-child(5n+2) { transform: rotate(1.5deg); }
.brand-carousel-card:nth-child(5n+3) { transform: rotate(-0.6deg); }
.brand-carousel-card:nth-child(5n+4) { transform: rotate(1.deg); }
.brand-carousel-card:nth-child(5n+5) { transform: rotate(-1.5deg); }

/* Hover straightens and slightly enlarges any card, regardless of its
   resting tilt. Per-variant selectors so :nth-child(5n+k):hover (two
   pseudo-classes) reliably wins over the bare :nth-child(5n+k) tilt
   (one pseudo-class) on every card. z-index lifts the hovered card
   above its neighbours so the grown size doesn't get clipped by them. */
.brand-carousel-card:nth-child(5n+1):hover,
.brand-carousel-card:nth-child(5n+2):hover,
.brand-carousel-card:nth-child(5n+3):hover,
.brand-carousel-card:nth-child(5n+4):hover,
.brand-carousel-card:nth-child(5n+5):hover {
    transform: rotate(0deg) scale(1.03);
    z-index: 10;
}

@media (max-width: 640px) {
    .brand-carousel-track {
        gap: 16px;
        /* 5 * 220 + 5 * 16 = 1180 — must match landing.js's mobile branch. */
        animation-name: brand-carousel-scroll-mobile;
    }
    .brand-carousel-card {
        width: 220px;
    }
    @keyframes brand-carousel-scroll-mobile {
        from { transform: translateX(0); }
        to { transform: translateX(-1180px); }
    }
}
