/* ========================================
   Logo Font Import
   ======================================== */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@700&display=swap");

/* ========================================
   CSS Variables & Root
   ======================================== */

:root {
    /* Brand Colors */
    --coral: #f18f48;
    --coral-bright: #ff9f58;
    --coral-dark: #d87a30;
    
    /* Theme Color3 References */
    --olive: #595a1c;
    --deep-red: #651021;
    --navy: #004f8b;
    --yellow: #ffc300;
    --forest-green: #2f7d4b;
    
    /* Derived Colors */
    --bg-dark: #000000;
    --bg-dark-alt: #050707;
    --bg-olive-dark: #1a2418;
    --bg-forest: #1e4a2e;
    --bg-navy-dark: #003a6b;
    
    --bg-light-beige: #f8f6ed;
    --bg-off-white: #fefcf8;
    --bg-light-blue: #f5f8fb;
    --bg-light-blue-tint: rgba(211, 224, 237, 0.08);
    --bg-yellow-tint: rgba(255, 195, 0, 0.08);
    
    --text-dark: #1a1a1a;
    --text-olive: #3d3f1f;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #999999;
    
    --border-light: #e5e5e5;
    --border-olive: #6b6d3a;
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Mobile: remove all top spacing/padding/margins */
@media (max-width: 767px) {
    html,
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Mobile: adjust base font size for better readability on small screens */
@media (max-width: 480px) {
    body {
        font-size: 1rem;
        line-height: 1.65;
    }
}

/* ========================================
   KVISEND Logo Styles
   ======================================== */

.kv-logo {
    font-family: "Sora", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    display: inline-block;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
}

.kv-logo-compact {
    font-family: "Sora", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    display: inline-block;
    text-transform: uppercase;
    font-size: 1.75rem;
}

.kv-logo-k {
    display: inline-block;
    transform: scaleX(-1);
    transform-origin: center;
    margin-right: 0;
}

.kv-logo-icon {
    font-family: "Sora", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 9999px;
    border: 2px solid currentColor;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.kv-logo-icon .kv-logo-k {
    transform: scaleX(-1);
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

/* Mobile: prevent h1 from wrapping into too many lines */
@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.2rem);
        line-height: 1.2;
    }
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

/* Mobile: ensure h2 doesn't wrap awkwardly */
@media (max-width: 480px) {
    h2 {
        font-size: clamp(1.5rem, 5vw, 1.875rem);
        line-height: 1.25;
    }
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.9rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

/* Mobile: adjust h3 for better readability */
@media (max-width: 480px) {
    h3 {
        font-size: clamp(1.125rem, 4vw, 1.5rem);
        line-height: 1.35;
    }
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    max-width: 60ch;
}

p:last-child {
    margin-bottom: 0;
}

.section-subheading {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
}

.section-manual .section-subheading,
.section-pricing .section-subheading,
.section-calm .section-subheading {
    color: rgba(0, 0, 0, 0.7);
}

.section-heading {
    margin-bottom: var(--spacing-sm);
}

strong {
    font-weight: 600;
}

a {
    color: var(--coral);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--coral-bright);
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   Container
   ======================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

/* Mobile: ensure containers don't cause horizontal scroll */
@media (max-width: 767px) {
    .container {
        padding: 0 var(--container-padding);
        width: 100%;
        max-width: 100%;
    }
}

/* ========================================
   Logo & Image Placeholders
   ======================================== */

/* Base placeholder styles */
.logo-placeholder {
    opacity: 0.7;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Default: dark sections (white text) */
.logo-placeholder {
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.logo-placeholder.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.logo-placeholder.logo-icon {
    border: 2px solid currentColor;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Light sections: dark text */
.section-manual .logo-placeholder,
.section-instructional .logo-placeholder,
.section-timeline .logo-placeholder,
.section-pricing .logo-placeholder,
.section-calm .logo-placeholder,
.section-feature-split .logo-placeholder {
    color: rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Text logo placeholder */
.logo-placeholder.logo-text {
    font-size: 1rem;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.logo-placeholder.logo-text.hero-logo {
    font-size: 1.125rem;
    opacity: 0.9;
}

.logo-placeholder.logo-text.byra-logo {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.logo-placeholder.logo-text.final-logo {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

/* Icon logo placeholder */
.logo-placeholder.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 1.25rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* NO BS icon removed */

.logo-placeholder.logo-icon.underlag-icon {
    position: absolute;
    left: var(--container-padding);
    top: var(--spacing-xl);
    width: 2rem;
    height: 2rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background-color: rgba(241, 143, 72, 0.1);
    border-color: var(--coral);
    color: var(--coral);
}

.logo-placeholder.logo-icon.tidrapport-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
    background-color: rgba(241, 143, 72, 0.15);
    border-color: var(--coral);
    color: var(--coral);
    margin-bottom: var(--spacing-xs);
}

.logo-placeholder.logo-icon.dual-icon-left,
.logo-placeholder.logo-icon.dual-icon-right {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: var(--spacing-md);
    background-color: rgba(241, 143, 72, 0.15);
    border-color: var(--coral);
    color: var(--coral);
}

.logo-placeholder.logo-icon.seo-icon {
    width: 2rem;
    height: 2rem;
    margin-top: var(--spacing-lg);
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: rgba(241, 143, 72, 0.1);
    border-color: var(--coral);
    color: var(--coral);
    opacity: 0.5;
}

/* Mockup placeholders */
.mockup-placeholder,
.graphic-placeholder {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    text-align: center;
    margin: 20px 0;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.mockup-placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero mockup - simplified structure */
.hero-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile: clip bottom half of mockup image */
@media (max-width: 767px) {
    .hero-mockup {
        overflow: hidden; /* Ensure clipped content is hidden */
        align-items: flex-start; /* Align to top */
    }
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .hero-content {
        gap: 2.5rem;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 0; /* Remove margin between headline and CTA button */
    }
    
    .hero-microtagline {
        margin-bottom: 0.75rem;
        margin-top: 10vh !important; /* Changed from 20vh to 10vh */
        font-size: 0.75rem;
    }
    
    .hero-subheading {
        margin-bottom: 2rem;
        font-size: clamp(1rem, 3vw, 1.125rem);
    }
    
    .hero-cta {
        width: 100%;
        max-width: 100%;
        padding: 1.125rem 2.5rem;
        font-size: 0.95rem;
        margin-top: 5vh !important; /* Set margin-top to 5vh */
    }
    
    .hero-mockup {
        order: 2;
    }
    
    .hero-mockup-image {
        width: auto; /* Remove width constraint - let image use natural size */
        max-width: none; /* Remove max-width constraint */
        height: auto;
        max-height: none; /* Remove max-height constraint */
        margin-top: 1rem;
        padding-top: 5vh; /* Add padding-top */
        margin-left: auto; /* Move image to the right */
        margin-right: auto; /* Center horizontally */
        transform: scale(2); /* Increase size by 100% (double the size) */
        object-fit: contain; /* Changed from cover to contain - show full image */
        object-position: center; /* Center the image */
        /* clip-path removed for mobile */
    }
    
    .hero-mockup-shadow {
        display: none; /* Hide shadow on mobile */
    }
    
    .hero-scroll-cue {
        display: none; /* Hide scroll cue on mobile */
    }
}

/* Hero mockup image - simple styling like mobile */
.hero-mockup-image {
    width: min(75%, 340px);
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
}

/* Oval shadow under phone at bottom */
.hero-mockup-shadow {
    position: absolute;
    bottom: 12%; /* Moved down */
    left: 40%; /* Moved to the right */
    transform: translateX(-50%) rotate(3deg); /* Rotated 3 degrees clockwise */
    width: 65%; /* Increased size */
    height: 8.5%; /* Increased size */
    background: radial-gradient(
        ellipse 100% 50%,
        rgba(15, 5, 4, 0.85) 0%,
        rgba(15, 5, 4, 0.65) 30%,
        rgba(15, 5, 4, 0.45) 60%,
        rgba(15, 5, 4, 0.25) 85%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.85;
    border-radius: 50%;
}


/* Mockup styling consistent across desktop sizes */

.mockup-placeholder.dual-mockup-underlag,
.mockup-placeholder.dual-mockup-tidrapport {
    min-height: 200px;
    margin-top: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
}

.mockup-placeholder.dual-mockup-underlag {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Graphic placeholders - override for light sections */
.section-manual .mockup-placeholder,
.section-instructional .mockup-placeholder,
.section-timeline .mockup-placeholder,
.section-pricing .mockup-placeholder,
.section-calm .mockup-placeholder,
.section-feature-split .mockup-placeholder,
.section-manual .graphic-placeholder,
.section-instructional .graphic-placeholder,
.section-timeline .graphic-placeholder,
.section-pricing .graphic-placeholder,
.section-calm .graphic-placeholder,
.section-feature-split .graphic-placeholder {
    border-color: rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.5);
}

.graphic-placeholder {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-placeholder.underlag-flow {
    min-height: 100px;
    background-color: rgba(241, 143, 72, 0.05);
    border-color: rgba(241, 143, 72, 0.2);
    color: rgba(0, 0, 0, 0.6);
}

.graphic-placeholder.tidrapport-timeline {
    min-height: 80px;
    background-color: rgba(255, 195, 0, 0.08);
    border-color: rgba(255, 195, 0, 0.2);
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: var(--spacing-md);
}


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

section {
    padding-top: clamp(3rem, 6vh, 5rem);
    padding-bottom: clamp(3rem, 6vh, 5rem);
    position: relative;
}

/* Mobile: reduce excessive vertical spacing */
@media (max-width: 768px) {
    section {
        padding-top: clamp(2rem, 4vh, 3rem);
        padding-bottom: clamp(2rem, 4vh, 3rem);
    }
}

.cta-section {
    padding-top: 0;
    padding-bottom: 0;
}

.section-cta-final {
    padding-top: 0;
    padding-bottom: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    /* Single radial gradient with hotspot at 20% from left, 60% from top */
    /* Mobile: gradient radius = 2x screen width */
    background: radial-gradient(
        circle 200vw at 30% 30%,
        #595a1c 0%,
        #020303 100%
    );
    position: relative;
    overflow: visible;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* iPad: gradient radius = 100% of screen width */
@media (min-width: 768px) {
    .hero {
        background: radial-gradient(
            circle 100vw at 20% 60%,
            #595a1c 0%,
            #020303 100%
        );
        padding-top: 0; /* No top padding - logo is absolute */
        padding-bottom: 2rem; /* Reduced bottom padding */
        min-height: 50vh; /* Changed from 90vh to 50vh */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center content vertically */
        position: relative; /* For absolute positioning of scroll cue */
    }
}

/* Desktop: gradient radius = 100% of screen width */
@media (min-width: 1100px) {
    .hero {
        background: radial-gradient(
            circle 100vw at 20% 60%,
            #595a1c 0%,
            #020303 100%
        );
        padding-top: 0;
        padding-bottom: 2rem; /* Reduced bottom padding */
        min-height: 90vh; /* Reduced from 100vh */
    }
}

/* Mobile: comfortable but smaller padding */
@media (max-width: 767px) {
    .hero {
        padding-top: 0 !important; /* Changed from 3rem, force no top padding */
        padding-bottom: 0 !important; /* Removed padding-bottom */
        margin-top: 0 !important;
    }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 calc(var(--container-padding) * 1.5); /* Increased padding-left significantly */
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1; /* Take available space */
}

/* Desktop: content block positioned strax under logo, then centered vertically */
@media (min-width: 768px) {
    .hero-container {
        justify-content: center; /* Center content block vertically in remaining space */
        padding-top: 0; /* No top padding */
        flex: 1;
        min-height: 0; /* Allow flex shrinking */
    }
}

/* Desktop: scroll cue sticky at bottom */
@media (min-width: 768px) {
    .hero-container {
        align-items: stretch; /* Allow scroll cue to position at bottom */
    }
}

.hero-brand {
    position: absolute;
    top: 1.5rem; /* Reduced from 2rem */
    left: var(--container-padding);
    z-index: 10;
}

/* Desktop: logo positioned at top, doesn't affect content centering */
@media (min-width: 768px) {
    .hero-brand {
        top: 2rem; /* Fixed position at top */
    }
    
    .hero-logo {
        font-size: 1.5rem;
    }
}

/* Mobile: adjust logo position */
@media (max-width: 767px) {
    .hero-brand {
        position: relative;
        top: 0;
        left: 0;
        padding: 0 var(--container-padding) 20px var(--container-padding) !important; /* Remove top padding, keep bottom */
        margin-top: 0 !important;
        margin-bottom: 1rem;
    }
}

.hero-logo {
    color: #ffffff;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: visible; /* Ensure reflection is visible */
}

/* Desktop: two-column layout - text and mockup, same height */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        align-items: stretch; /* Stretch both columns to same height */
        justify-content: space-between;
        gap: 4rem;
    }
    
    .hero-text {
        flex: 0 1 50%;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 0; /* Allow flex shrinking */
    }
    
    .hero-mockup {
        flex: 0 1 50%;
        display: flex;
        align-items: stretch; /* Stretch to match text block height */
        justify-content: center;
        position: relative;
        padding-left: 0; /* No padding on left side */
        padding-right: 0;
        margin-left: 0;
        min-height: 0; /* Allow flex shrinking */
        align-self: stretch; /* Ensure it stretches to match text block */
    }
    
    .hero-mockup-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%; /* Match parent height */
        position: relative;
        padding-left: 0;
        margin-left: 0;
    }
    
    .hero-mockup-image {
        max-height: 100%; /* Match text block height - prioritize height */
        height: 100%; /* Fill wrapper height */
        width: auto; /* Let width adjust based on aspect ratio */
        max-width: 100%; /* Don't exceed container width */
        min-height: 480px; /* Increased by 20% (400px * 1.2 = 480px) */
        object-fit: contain;
        transform: none; /* No rotation - simple like mobile */
        margin-left: -25%; /* Move image significantly towards center */
    }
    
    .hero-mockup-shadow {
        display: block; /* Show shadow on desktop */
    }
}

/* Hero CTA button - premium styling */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center content horizontally */
    gap: 0.75rem;
    padding: 1.25rem 3rem; /* Equal padding for centering */
    border-radius: 10px; /* Slightly rounded corners, not pill-shaped */
    background-color: var(--coral);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 250ms ease-out;
    font-family: var(--font-heading);
    border: none;
    width: auto;
    max-width: none;
    box-shadow: none; /* Remove glow from button */
    margin: 0;
    margin-top: 0; /* CTA directly after headline */
    text-align: center; /* Center text */
}

.hero-cta-arrow {
    transition: transform 250ms ease-out;
}

/* Desktop: increased width button, centered, no text wrap */
@media (min-width: 768px) {
    .hero-cta {
        padding: 1.5rem 3rem; /* Equal padding for centering */
        font-size: 1.05rem;
        min-width: 280px; /* Wider button */
        max-width: 280px;
        align-self: flex-start; /* Align left with headline */
        margin-left: 0;
        margin-right: auto;
        margin-top: 0; /* CTA directly after headline */
        margin-bottom: 0.875rem; /* Move 12-16px closer to subline (14px = 0.875rem) */
        white-space: nowrap; /* Prevent text wrapping */
        justify-content: center; /* Center content */
    }
}

.hero-cta:hover,
.hero-cta:focus-visible {
    background-color: var(--coral-bright);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 24px rgba(241, 143, 72, 0.4);
    outline: none;
}

.hero-cta:hover .hero-cta-arrow,
.hero-cta:focus-visible .hero-cta-arrow {
    transform: translateX(3px);
}

.hero-cta:focus-visible {
    box-shadow: 0 0 0 3px rgba(241, 143, 72, 0.5), 0 6px 24px rgba(241, 143, 72, 0.4);
}

/* Scroll cue - desktop only, sticky at bottom */
.hero-scroll-cue {
    display: none; /* Hidden by default, shown on desktop */
    flex-direction: column;
    align-items: center; /* Centered */
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-body);
    animation: scrollCueBounce 2s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
    width: auto; /* Auto width, not full width */
    text-align: center; /* Center text */
    position: fixed; /* Fixed by default, will be adjusted by JS */
    bottom: 2rem; /* Distance from bottom of viewport */
    right: 30px; /* 30px from right edge */
    left: auto; /* Remove left positioning */
    z-index: 5;
}

/* When hero section is smaller than viewport, use absolute positioning */
.hero-scroll-cue.hero-section-small {
    position: absolute;
    bottom: 2rem;
}

/* When scrolled past hero section, use absolute positioning */
.hero-scroll-cue.scrolled-past {
    position: absolute;
    bottom: 2rem;
}

.hero-scroll-label {
    opacity: 0.7;
}

.hero-scroll-chevron {
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.hero-scroll-cue:hover {
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-cue:hover .hero-scroll-chevron {
    transform: translateY(4px);
    opacity: 0.8;
}

@keyframes scrollCueBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* Desktop: show scroll cue */
@media (min-width: 768px) {
    .hero-scroll-cue {
        display: flex;
    }
}

@media (min-width: 1100px) {
    .hero-content {
        gap: 5rem;
    }
    
    .hero-text {
        max-width: 650px;
    }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start; /* Default: left align */
}

/* Desktop: center CTA button */
@media (min-width: 768px) {
    .hero-text {
        align-items: flex-start; /* Text left-aligned */
    }
    
    .hero-cta {
        align-self: center; /* Button centered in text block */
    }
}

/* Microtagline */
.hero-microtagline {
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    letter-spacing: 0.08em; /* Slight letter-spacing (0.5-1 range, using 0.08em = ~0.8) */
    text-transform: uppercase;
    margin: 0 0 0.75rem 0; /* Reduced gap before headline */
    font-family: var(--font-body);
}

/* Desktop/iPad: align microtagline with mockup top */
@media (min-width: 768px) {
    .hero-microtagline {
        margin-top: 10vh; /* More padding above preheader */
    }
}

/* Desktop only: margin-top on preheader */
@media (min-width: 1100px) {
    .hero-microtagline {
        margin-top: 15vh !important; /* Set margin-top to 15vh for desktop */
        padding-top: 5vh; /* Extra padding-top for desktop */
    }
}

.hero h1 {
    color: var(--text-primary);
    margin: 0; /* Reset margin, spacing handled by gap */
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: clamp(3rem, 5.4vw, 4.25rem); /* Increased by 10px (2.375rem+0.625rem=3rem, 3.625rem+0.625rem=4.25rem) */
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0; /* Remove letter-spacing */
    text-shadow: 
        0 2px 5px rgba(255, 255, 255, 0.15),
        0 4px 10px rgba(255, 255, 255, 0.12),
        0 6px 15px rgba(255, 255, 255, 0.08),
        0 10px 25px rgba(255, 255, 255, 0.04); /* Reduced glow radius by ~50%, more vertical/elliptical (vertical offset) */
}

.hero-headline-line {
    white-space: nowrap; /* Prevent wrapping on each line */
    display: inline-block;
}

/* Desktop: spacing after headline */
@media (min-width: 768px) {
    .hero h1 {
        margin-bottom: 3.5rem; /* More spacing between headline and CTA button */
    }
}

.hero-subheading {
    color: rgba(255, 255, 255, 0.84); /* Increased contrast by ~10-12% (0.75 * 1.12 = 0.84) */
    font-family: var(--font-heading, "Space Grotesk", system-ui, -apple-system, sans-serif);
    font-size: clamp(1rem, 2.3vw, 1.25rem); /* Reduced by 1-2px (1.125rem-0.125rem=1rem, 1.375rem-0.125rem=1.25rem) */
    font-weight: 400;
    line-height: 1.6; /* Airy line-height for easy scanning */
    margin: 0; /* Reset margin, spacing handled by gap */
    margin-top: 0.75rem; /* Add 8-12px more vertical spacing ABOVE subline (12px = 0.75rem) */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-subheading-arrow {
    flex-shrink: 0;
    opacity: 0.6;
    margin: 0 0.25rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* Desktop: spacing after subline */
@media (min-width: 768px) {
    .hero-subheading {
        margin-bottom: 0; /* No bottom margin - subline is now after CTA */
    }
}

/* Mobile: ensure hero h1 doesn't overflow */
@media (max-width: 767px) {
    .hero h1 {
        font-size: clamp(2.375rem, 7.4vw, 3rem); /* Increased by 10px (1.75rem+0.625rem=2.375rem, 2.375rem+0.625rem=3rem) */
        line-height: 1.2;
        margin-bottom: 0; /* Remove margin between headline and CTA button */
        letter-spacing: 0; /* Remove letter-spacing */
        text-shadow: 
            0 1px 3px rgba(255, 255, 255, 0.12),
            0 2px 6px rgba(255, 255, 255, 0.08),
            0 3px 9px rgba(255, 255, 255, 0.05),
            0 5px 15px rgba(255, 255, 255, 0.03); /* Reduced glow intensity for mobile */
    }
    
    .hero-cta {
        margin-bottom: 0.875rem; /* Move 12-16px closer to subline on mobile */
        border-radius: 10px; /* Slightly rounded corners for mobile */
        justify-content: center; /* Center content */
    }
    
    .hero-subheading {
        margin-top: 0.75rem; /* Add spacing above subline on mobile */
    }
}

/* Removed unused hero-subtitle and hero-under-button styles */

.hero-logo {
    color: #ffffff;
}

/* ========================================
   VEM DEN ÄR BYGGD FÖR + DÄRFÖR FUNKAR DET (SPLIT)
   ======================================== */

.section-split {
    background-color: var(--bg-light-beige);
    /* Subtle peek up into hero */
    margin-top: -2rem;
    padding-top: calc(3rem + 2rem); /* Compensate for negative margin */
}

/* Desktop: more subtle peek */
@media (min-width: 768px) {
    .section-split {
        margin-top: -3rem;
        padding-top: calc(clamp(3rem, 6vh, 5rem) + 3rem);
    }
}

.built-for-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--container-padding);
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .built-for-wrap {
        flex-direction: row;
        align-items: flex-start;
        padding-inline: clamp(1rem, 3vw, 2rem);
        gap: var(--spacing-md);
    }
    
    .built-for-left,
    .built-for-right {
        flex: 1 1 0;
        padding: 0;
        padding-top: 0;
        padding-bottom: 0;
        min-width: 0;
    }
    
    #who-and-why .split-separator {
        display: block;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.15);
        flex-shrink: 0;
    }
}

.column-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#who-and-why .split-inner {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--container-padding);
}

@media (min-width: 768px) {
    #who-and-why .split-inner {
        flex-direction: row;
        align-items: flex-start;
        padding-inline: clamp(1rem, 3vw, 2rem);
    }
    
    #who-and-why .split-column {
        flex: 1 1 0;
        padding: var(--spacing-md);
        min-width: 0;
    }
    
    /* iPad/Desktop: show desktop version, hide mobile version */
    .split-who-heading-desktop {
        display: block; /* Show desktop version */
    }
    
    .split-who-heading-mobile {
        display: none; /* Hide mobile version on iPad/Desktop */
    }
    
    #who-and-why .split-separator {
        display: block;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.15);
        flex-shrink: 0;
    }
}

#who-and-why .split-column {
    padding: var(--spacing-md);
    min-width: 0;
}

#who-and-why .split-separator {
    display: none;
}

/* Mobile: improve split section stacking and spacing */
@media (max-width: 767px) {
    .built-for-wrap,
    #who-and-why .split-inner {
        padding: var(--spacing-md) var(--container-padding);
        gap: var(--spacing-md);
    }
    
    /* Reduce spacing above "Enkelt flöde.." heading */
    #who-and-why .split-inner .split-column.split-why {
        margin-top: -1rem; /* Reduce spacing above heading */
    }
    
    .split-who,
    .split-why {
        padding: 0;
    }
    
    .split-who h2,
    .split-why h2 {
        margin-bottom: 0.75rem;
    }
    
    /* Mobile: show mobile version, hide desktop version */
    .split-who-heading-desktop {
        display: none; /* Hide desktop version on mobile */
    }
    
    .split-who-heading-mobile {
        display: block; /* Show mobile version */
    }
    
    .split-why .feature-list {
        margin-top: 0.5rem;
    }
    
    .split-why .feature-list li {
        margin-bottom: 0.75rem;
        padding-left: 0;
    }
}

.split-why {
    border-left: none !important;
}

.split-who h2,
.split-who p {
    color: var(--text-olive);
    text-align: left;
}

.split-who h2,
.split-why h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-top: 0;
    padding-bottom: 0;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem); /* Responsive font size that adapts to linebreaks */
    line-height: 1.3; /* Slightly tighter line-height for multi-line headings */
    max-width: 100%; /* Ensure headings don't overflow */
}

.split-who h2 {
    /* Ensure three-line heading fits properly */
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
}

.split-why h2 {
    color: var(--text-olive);
    text-align: left;
    /* Ensure two-line heading fits properly */
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.split-why .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 0;
}

.split-why .feature-list li {
    color: var(--text-olive);
    margin-bottom: var(--spacing-sm);
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* iPad and Desktop: reduce line spacing in feature list */
@media (min-width: 768px) {
    .split-why .feature-list li {
        line-height: 1.1; /* Reduced line-height for tighter spacing between lines */
    }
}

.split-why .feature-list li:last-child {
    margin-bottom: 0;
}

.split-why .closing-statement {
    color: var(--text-olive);
}

.manual-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.manual-block {
    padding: var(--spacing-sm) 0;
    border-left: 3px solid transparent;
}

.manual-block.accent {
    border-left-color: var(--coral);
    padding-left: var(--spacing-sm);
    background-color: rgba(241, 143, 72, 0.05);
    border-radius: 4px;
}

.manual-block p {
    max-width: none;
    margin-bottom: 0;
}

/* ========================================
   NO BS - Brutalist Block
   ======================================== */

.section-brutal {
    background-color: #4a0a18;
    color: var(--text-primary);
    position: relative;
    border-top: 4px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    padding-bottom: 3rem;
    overflow: visible; /* Changed from hidden to visible so notes 8 and 9 can show */
}

@media (min-width: 1100px) {
    .section-brutal {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.section-brutal .container {
    max-width: 800px;
}

.section-brutal .container {
    max-width: 800px;
}

.no-bs-inner {
    background: transparent;
    border: none;
    padding: var(--spacing-lg) 0;
    position: relative;
    transform: none;
    box-shadow: none;
}

.no-bs-inner::before {
    display: none;
}

.no-bs-inner .section-heading {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coral);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.no-bs-notes {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.no-bs-note {
    display: inline-block;
    padding: 0.85rem 1.3rem;
    border-radius: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    line-height: 1.4;
    transform-origin: center;
    width: fit-content;
    max-width: 100%;
    position: relative;
}

.no-bs-note-1 {
    transform: rotate(-1.5deg) translateX(2px);
    z-index: 6;
}

.no-bs-note-2 {
    transform: rotate(2deg) translateX(-3px);
    margin-top: -0.25rem;
    z-index: 5;
}

.no-bs-note-3 {
    transform: rotate(-0.5deg) translateX(1px);
    margin-top: -0.25rem;
    z-index: 4;
}

.no-bs-note-4 {
    transform: rotate(1.2deg) translateX(-2px);
    margin-top: -0.25rem;
    z-index: 3;
}

.no-bs-note-5 {
    transform: rotate(-1.8deg) translateX(3px);
    margin-top: -0.25rem; /* Same spacing as lapp 1-4 */
    z-index: 2;
}

.no-bs-note-6 {
    transform: rotate(0.7deg) translateX(-1px);
    margin-top: -0.25rem;
    z-index: 1;
}

.no-bs-note-1,
.no-bs-note-2,
.no-bs-note-3,
.no-bs-note-4,
.no-bs-note-5 {
    background-color: #ff3737;
    color: #ffffff;
}

.no-bs-note-6 {
    background-color: #ff3737; /* Same red color as lapp 1-5 */
    color: #ffffff;
}

.no-bs-note-7 {
    transform: rotate(-1.2deg) translateX(2px); /* Add rotation */
    margin-top: 2rem; /* Larger vertical margin */
    background-color: #ff3737;
    color: #ffffff;
    z-index: 0;
}

.no-bs-note-8 {
    transform: rotate(1.5deg) translateX(-2px); /* Add rotation */
    background-color: var(--coral);
    color: #ffffff;
    z-index: 1; /* Changed from -1 to positive z-index */
    margin-top: -0.25rem; /* Add spacing like other notes */
}

@media (max-width: 768px) {
    .section-brutal {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .no-bs-inner {
        padding: var(--spacing-md) 0;
    }
    
    .no-bs-inner .section-heading {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .no-bs-notes {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .no-bs-note {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        max-width: calc(100% - 1rem);
        margin-left: auto;
        margin-right: auto;
    }
    
    .no-bs-note-1 {
        transform: rotate(-0.8deg);
        translate: 0;
    }
    
    .no-bs-note-2 {
        transform: rotate(1deg);
        translate: 0;
        margin-top: -0.15rem;
    }
    
    .no-bs-note-3 {
        transform: rotate(-0.3deg);
        translate: 0;
        margin-top: -0.15rem;
    }
    
    .no-bs-note-4 {
        transform: rotate(0.7deg);
        translate: 0;
        margin-top: -0.15rem;
    }
    
    .no-bs-note-5 {
        transform: rotate(-1deg);
        translate: 0;
        margin-top: -0.15rem; /* Same spacing as lapp 1-4 on mobile */
    }
    
    .no-bs-note-6 {
        transform: rotate(0.4deg);
        translate: 0;
        margin-top: -0.15rem;
    }
    
    .no-bs-note-7 {
        transform: rotate(-0.8deg);
        translate: 0;
        margin-top: 1.5rem; /* Larger vertical margin on mobile */
    }
    
    .no-bs-note-8 {
        transform: rotate(0.7deg);
        translate: 0;
        margin-top: -0.15rem;
    }
}

.no-bs-strip {
    display: block;
    background: #ff3737;
    color: #fff;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    font-weight: 600;
    position: relative;
    max-width: fit-content;
    line-height: 1.5;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
}

.no-bs-strip:nth-child(3) {
    transform: rotate(-2deg);
}

.no-bs-strip:nth-child(4) {
    transform: rotate(1.5deg);
}

.no-bs-strip:nth-child(5) {
    transform: rotate(-1deg);
    margin-bottom: 1.5rem;
}

.no-bs-strip:nth-child(6) {
    transform: rotate(2deg);
}

.no-bs-strip + .no-bs-strip {
    margin-top: -0.25rem;
}

.no-bs-strip.no-bs-accent {
    background: var(--coral);
    font-size: 1.125rem;
}

.section-brutal h2,
.section-brutal h3,
.section-brutal p {
    color: var(--text-primary);
}

/* NO BS icon removed */

.no-bs-accent {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    border-left: 4px solid var(--coral);
    padding-left: var(--spacing-md);
}

/* ========================================
   POSITIONERING - Editorial (REMOVED - content merged into No BS)
   ======================================== */

/* ========================================
   FEATURE SPLIT - Underlag och tid
   ======================================== */

.section-feature-split {
    background-color: var(--bg-light-blue);
}

/* Two-ways section: max-height 90vh on desktop/iPad, flex layout to ensure payoff box is always visible */
@media (min-width: 768px) {
    .two-ways-section {
        min-height: auto; /* Changed from 70vh to auto */
        max-height: none; /* Changed from 90vh to none - allow content to show */
        padding-top: clamp(4rem, 8vh, 5.5rem); /* Increased top margin */
        padding-bottom: 20vh; /* Changed from 35vh to 20vh */
    }
    
    /* Desktop only: increase padding-bottom */
    @media (min-width: 1100px) {
        .two-ways-section {
            padding-bottom: 35vh; /* Increased to 35vh for desktop */
        }
    }
    
    .two-ways-section {
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Changed from space-between to flex-start */
        align-items: stretch;
        overflow: visible; /* Changed from hidden to visible */
    }
    
    .two-ways-section .container {
        display: flex; /* TWO-BLOCK FLEX LAYOUT */
        flex-direction: column;
        justify-content: flex-start; /* Changed from space-between to flex-start */
        align-items: stretch;
        flex: 1 1 auto;
        min-height: 0;
        height: auto; /* Changed from 100% to auto */
    }
    
    .two-ways-main {
        flex: 1 1 auto; /* Main block uses available space */
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: visible; /* Changed from hidden to visible - show all content */
    }
    
    .two-ways-payoff {
        flex: 0 0 auto; /* Payoff box always visible at bottom */
        margin-top: 2rem;
    }
    
    /* Mobile: margin above payoff */
    @media (max-width: 767px) {
        .two-ways-payoff {
            margin-top: 10vh !important; /* Reduced to 10vh for mobile */
        }
    }
}

.feature-split-title {
    text-align: center; /* Centered */
    font-size: clamp(2.88rem, 4.32vw, 3.84rem); /* 20-30% larger */
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.split-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

@media (min-width: 1100px) {
    .section-split-who-why .split-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
    
    .section-split-who-why .split-who,
    .section-split-who-why .split-why {
        flex: 1 1 50%;
    }
}

.section-feature-split .split-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Reduced from 2rem */
    margin: 0;
    position: relative;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--spacing-sm) var(--container-padding); /* Reduced from var(--spacing-md) */
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible; /* Changed from hidden to visible - show all content */
}

@media (min-width: 768px) {
    .section-feature-split .split-inner {
        flex-direction: row;
        align-items: flex-start;
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .section-feature-split .split-inner::before {
        content: '';
        position: absolute;
        left: 50%;
        top: var(--spacing-md);
        bottom: 0;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.15);
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    /* Mobile: single column layout */
    .two-ways-section {
        max-height: none;
        min-height: auto;
        padding-top: 3.5rem; /* Slightly increased top margin */
        padding-bottom: 20vh; /* Changed from 3rem to 20vh */
    }
    
    .two-ways-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .two-ways-main {
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .section-feature-split .split-inner {
        display: block;
        flex-direction: column;
        padding: 0;
        margin: 0;
        gap: 0;
    }
    
    /* Hide center divider on mobile */
    .section-feature-split .split-inner::before {
        display: none !important;
    }
    
    .section-feature-split .split-column {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0;
    }
    
    /* First column (Underlag): small gap under heading */
    .section-feature-split .split-column:first-child {
        margin-top: 1.5rem;
    }
    
    /* Second column (Tid): vertical spacing between the two blocks */
    .section-feature-split .split-column + .split-column {
        margin-top: 2.5rem;
    }
    
    /* Tid block: margin-bottom on mobile */
    .section-feature-split .split-column.split-tidrapport {
        margin-bottom: 10vh;
    }
    
    .feature-split-title {
        font-size: clamp(1.8rem, 5vw, 2.1rem);
        line-height: 1.15;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center; /* Centered on mobile too */
    }
    
    .split-column h3 {
        font-size: clamp(1.125rem, 4vw, 1.375rem); /* Reduced by 2px (1.25rem-0.125rem=1.125rem, 1.5rem-0.125rem=1.375rem) */
        margin-bottom: 0.75rem;
    }
    
    .split-column p {
        margin-bottom: 0.875rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .split-highlight {
        padding: 1.25rem;
        margin-top: 1.5rem;
        border-radius: 0.375rem;
    }
    
    .split-highlight p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

.split-column {
    padding: var(--spacing-md);
    min-width: 0;
}

.section-feature-split .split-underlag {
    background-color: transparent;
}

.section-feature-split .split-tidrapport {
    background-color: transparent;
}

/* Desktop/iPad: reduced padding for tighter layout */
@media (min-width: 768px) {
    .section-feature-split .split-column {
        padding: var(--spacing-sm); /* Reduced padding for tighter layout */
    }
}

.split-who,
.split-why {
    padding: var(--spacing-md);
}

/* Border-left removed from split-tidrapport - using center separator instead */

.split-column h3 {
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
}

.split-column .section-subheading {
    color: #666666;
    margin-bottom: var(--spacing-md);
}

.split-column p {
    max-width: 100%;
    overflow-wrap: break-word;
    margin-bottom: var(--spacing-sm);
    line-height: 1.45;
}

.split-column p:first-child {
    margin-top: 0;
}

.split-column p:last-child {
    margin-bottom: 0;
}

.underlag-steps,
.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: var(--spacing-md) 0;
}

.section-feature-split .step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    background-color: transparent;
    border: none;
    padding: var(--spacing-sm) 0;
    box-shadow: none;
}

.section-feature-split .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: var(--coral);
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.section-feature-split .step-content {
    flex: 1;
    min-width: 0;
    display: block;
}

.section-feature-split .step-content h4 {
    margin-bottom: var(--spacing-xs);
}

.section-feature-split .step-content p {
    max-width: none;
    margin-bottom: 0;
}

/* Desktop/iPad: split-column max-width and padding */
@media (min-width: 768px) {
    .section-feature-split .split-column {
        max-width: 50%;
        padding: var(--spacing-md);
    }
}

.split-column .steps,
.split-column .timeline-steps {
    margin: var(--spacing-md) 0;
}

/* Logo placeholders removed from feature-split section */
.section-feature-split .logo-placeholder {
    display: none;
}

.mockup-placeholder.split-left-mockup,
.mockup-placeholder.split-right-mockup {
    min-height: 250px;
    margin-top: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: rgba(0, 0, 0, 0.5);
}

.split-highlight {
    margin-top: 0;
    padding: 1.5rem;
    background-color: rgba(241, 143, 72, 0.15);
    border-radius: 0.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.underlagtid-highlight {
    margin-top: 0;
}

@media (min-width: 768px) {
    .two-ways-payoff {
        margin-top: 2rem;
    }
}

.split-highlight p {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
    max-width: none;
}

.split-highlight p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1100px) {
    .split-highlight p {
        font-size: 1.375rem;
    }
}

.logo-placeholder.logo-icon.tidrapport-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1rem;
    background-color: rgba(241, 143, 72, 0.15);
    border-color: var(--coral);
    color: var(--coral);
    margin-bottom: var(--spacing-xs);
}

.logo-placeholder.logo-icon.seo-end-icon {
    width: 2rem;
    height: 2rem;
    margin-top: var(--spacing-lg);
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: rgba(241, 143, 72, 0.1);
    border-color: var(--coral);
    color: var(--coral);
    opacity: 0.5;
}

/* ========================================
   SÅ FUNKAR UNDERLAG - Instructional (DEPRECATED - kept for reference)
   ======================================== */

.section-instructional {
    background-color: var(--bg-light-blue);
    padding: var(--spacing-xxl) 0;
    position: relative;
    padding-left: calc(var(--container-padding) + 3rem);
}

@media (max-width: 767px) {
    .section-instructional {
        padding-left: var(--container-padding);
    }
}

.section-instructional h2,
.section-instructional h3 {
    color: var(--text-dark);
}

.section-instructional p {
    color: var(--text-dark);
}

/* Underlag icon handled by .logo-placeholder.logo-icon.underlag-icon */

.steps-instructional {
    margin: var(--spacing-lg) 0;
}

.step-ui {
    background-color: white;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-ui:hover {
    border-color: var(--coral);
    box-shadow: 0 4px 12px rgba(241, 143, 72, 0.15);
}

.step-ui .step-number {
    background-color: var(--coral);
    color: white;
}

.step-ui h4 {
    color: var(--text-dark);
}

.step-ui p {
    color: #666666;
}

/* ========================================
   SÅ FUNKAR TIDRAPPORT - Timeline
   ======================================== */

.section-timeline {
    background-color: var(--bg-yellow-tint);
    padding: var(--spacing-xxl) 0;
}

.section-timeline h2,
.section-timeline h3 {
    color: var(--text-dark);
}

.section-timeline p {
    color: var(--text-dark);
}

/* Timeline steps now use unified .step structure - styles handled by .section-feature-split .step above */

.philosophy {
    margin-top: var(--spacing-lg);
    text-align: left;
    font-style: italic;
    color: var(--text-dark);
    opacity: 0.8;
    max-width: none;
}

/* ========================================
   TVÅ APPAR I EN - Split Layout
   ======================================== */

.section-split {
    padding: 0;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 600px;
}

@media (min-width: 768px) {
    .split-container {
        grid-template-columns: 1fr 1fr;
    }
}

.split-half {
    padding: var(--spacing-xxl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    position: relative;
}

.split-dark {
    background-color: var(--bg-olive-dark);
    color: var(--text-primary);
}

.split-dark h2,
.split-dark h3,
.split-dark h4,
.split-dark p {
    color: var(--text-primary);
}

.split-light {
    background-color: #f0f4e8;
    color: var(--text-dark);
}

.split-light h2,
.split-light h3,
.split-light h4,
.split-light p {
    color: var(--text-dark);
}

/* Split icons handled by .logo-placeholder.logo-icon.dual-icon-left/right */

.split-item {
    margin-bottom: var(--spacing-md);
}

.split-item h4 {
    color: var(--coral);
    margin-bottom: var(--spacing-xs);
}

/* ========================================
   PRICING
   ======================================== */

/* Mini CTA - overlaps boundary between "Två sätt att jobba" and pricing sections */
.mini-cta-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f8f6ed;
    opacity: 0;
    transform: translateY(20px);
    animation: miniCtaFadeIn 0.8s ease-out forwards;
}

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

.mini-cta-inner {
    background: radial-gradient(
        circle 60vw at 50% 50%,
        #5a5d25 0%, /* Lighter, more yellow/warm center */
        #4a4c20 30%,
        #3a3c15 55%,
        #2f3018 75%,
        #252710 90%,
        #0f0f08 100%
    );
    border-radius: 1rem; /* rounded-2xl */
    padding: 3.5rem 3rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    position: relative;
    /* Border 5px inside - double line using pseudo-element */
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.15);
    /* Top highlight line */
    overflow: hidden;
}

.mini-cta-inner::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: calc(1rem - 5px);
    border: 2px double rgba(255, 195, 0, 0.4); /* Lighter border color */
    pointer-events: none;
}

.mini-cta-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent 100%
    );
    pointer-events: none;
}

.mini-cta-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #fefcf8 !important; /* Off-white color - use !important to override inherited color */
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.mini-cta-subheading {
    font-size: clamp(1rem, 1.8vw, 1.125rem);
    color: rgba(248, 247, 243, 0.75);
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    max-width: 32rem;
    margin-top: -0.5rem; /* Reduce gap between heading and subheading */
}

.mini-cta-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem; /* Increased gap between subheading and button */
}

.mini-cta-button {
    padding: 1rem 2.5rem;
    border-radius: 6px;
    border: none;
    background: var(--coral); /* Same orange/coral as pricing cards */
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 250ms ease-out;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px rgba(241, 143, 72, 0.3);
}

.mini-cta-button-arrow {
    transition: transform 250ms ease-out;
}

.mini-cta-button:hover,
.mini-cta-button:focus-visible {
    background: var(--coral-bright); /* Lighter coral */
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 6px 20px rgba(241, 143, 72, 0.4);
    outline: none;
}

.mini-cta-button:hover .mini-cta-button-arrow,
.mini-cta-button:focus-visible .mini-cta-button-arrow {
    transform: translateX(2px);
}

.mini-cta-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(89, 90, 28, 0.4), 0 6px 20px rgba(89, 90, 28, 0.4);
}

.mini-cta-helper {
    font-size: 0.875rem;
    color: rgba(248, 247, 243, 0.6);
    margin: 0;
    font-weight: 400;
    font-style: italic;
}

/* Desktop/iPad: mini-CTA overlaps sections with negative margin */
@media (min-width: 768px) {
    .mini-cta-wrapper {
        margin-left: 15%; /* 70% width (30% margins = 70% width) */
        margin-right: 15%;
        margin-top: -7vh; /* Overlap upwards into Section A */
        margin-bottom: 0;
        height: 14vh; /* Half above, half below boundary */
        min-height: 14vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mini-cta-inner {
        gap: 2rem;
        padding: 3.5rem 3rem;
        transition: transform 300ms ease-out, box-shadow 300ms ease-out;
    }
    
    /* Hover lift effect on desktop */
    .mini-cta-wrapper:hover .mini-cta-inner {
        transform: translateY(-4px);
        box-shadow: 
            0 28px 80px rgba(0, 0, 0, 0.3),
            0 12px 32px rgba(0, 0, 0, 0.2);
    }
    
    .mini-cta-heading {
        font-size: clamp(2rem, 3.5vw, 2.75rem);
    }
    
    .mini-cta-subheading {
        font-size: clamp(1.125rem, 1.8vw, 1.25rem);
        margin-top: -0.5rem; /* Reduce gap between heading and subheading on desktop too */
    }
    
    .mini-cta-button {
        padding: 1.125rem 2.75rem;
        font-size: 1.05rem;
    }
}

/* Desktop only: make mini-CTA 20% wider */
@media (min-width: 1100px) {
    .mini-cta-wrapper {
        margin-left: 8%; /* 84% width (16% margins = 84% width, 20% wider than 70%) */
        margin-right: 8%;
    }
}

/* Mobile: no overlap, natural spacing */
@media (max-width: 767px) {
    .mini-cta-wrapper {
        margin-top: -15vh; /* Negative margin-top for overlap */
        margin-bottom: 15vh; /* Set margin-bottom to 15vh */
        margin-left: 1rem; /* Small margin left */
        margin-right: 1rem; /* Small margin right */
        width: calc(100% - 2rem); /* Explicit width to ensure margins are visible */
        height: auto;
        animation-delay: 0.2s; /* Slight delay on mobile */
    }
    
    .mini-cta-inner {
        background: radial-gradient(
            circle 200vw at 50% 50%, /* Gradient radius = 2x screen width */
            #5a5d25 0%, /* Lighter, more yellow/warm center */
            #4a4c20 30%,
            #3a3c15 55%,
            #2f3018 75%,
            #252710 90%,
            #0f0f08 100%
        );
        gap: 1.5rem;
        padding: 2.5rem 2rem;
        border-radius: 0.875rem; /* Slightly smaller on mobile */
    }
    
    .mini-cta-inner::after {
        border-radius: calc(0.875rem - 5px);
    }
    
    .mini-cta-heading {
        font-size: clamp(1rem, 5vw, 1.375rem); /* Reduced by additional 3px (1.1875rem-0.1875rem=1rem, 1.5625rem-0.1875rem=1.375rem) */
        letter-spacing: 0.03em; /* Slightly tighter on mobile */
    }
    
    .mini-cta-subheading {
        font-size: clamp(0.7625rem, 3vw, 0.8625rem); /* Reduced by 3px (0.95rem-0.1875rem=0.7625rem, 1.05rem-0.1875rem=0.8625rem) */
        margin-top: -0.5rem; /* Reduce gap between heading and subheading on mobile */
    }
    
    .mini-cta-button-group {
        margin-top: 1.5rem; /* Increased gap between subheading and button on mobile */
    }
    
    .mini-cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    .mini-cta-helper {
        font-size: 0.8rem;
    }
}

.section-pricing {
    background-color: white;
    background-image: linear-gradient(to bottom, rgba(241, 143, 72, 0.15), rgba(241, 143, 72, 0.1), var(--bg-light-blue-tint), white); /* Clear coral color in background */
    padding-top: 0; /* No top padding - mini-CTA handles spacing */
    padding-bottom: 3rem;
    position: relative;
}

.section-pricing h2,
.section-pricing h3 {
    color: var(--text-dark);
    text-align: center;
}

.section-pricing .container > h2,
.section-pricing .container > .pricing-intro {
    padding-left: 0;
    text-align: center;
}

/* Desktop/iPad: extra padding-top for "Enkelt pris" heading */
@media (min-width: 768px) {
    .section-pricing .container > h2 {
        padding-top: 15vh;
        margin-top: 0;
    }
}

/* Desktop only: increase margin-top on "Enkelt pris" heading */
@media (min-width: 1100px) {
    .section-pricing .container > h2 {
        margin-top: 25vh; /* Set margin-top to 25vh for desktop */
    }
}

.pricing-intro {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: var(--spacing-md);
    text-align: center;
    max-width: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: improve pricing card layout and spacing */
@media (max-width: 767px) {
    .section-pricing {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .section-pricing h2 {
        font-size: clamp(1.5rem, 5vw, 1.875rem);
        margin-bottom: 0.75rem;
    }
    
    .pricing-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 var(--container-padding);
    }
    
    .pricing-grid {
        gap: 1.25rem;
        margin: 1.5rem 0;
    }
    
    .pricing-card {
        padding: 1.25rem 1.5rem;
        border-radius: 0.5rem;
    }
    
    .pricing-card h4 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .pricing-card p {
        font-size: 1.1rem; /* Increased to be just below price heading on mobile */
        line-height: 1.5;
    }
    
    .pricing-card h4 {
        font-family: var(--font-heading); /* Heading font on mobile too */
    }
    
    .pricing-card-featured {
        order: -1;
    }
    
    .featured-badge {
        font-size: 0.8rem;
        padding: 0.2rem 0.875rem;
    }
}

.pricing-card {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background-color: white;
    text-align: left;
    position: relative;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pricing-card h4 {
    font-size: 1.75rem;
    color: var(--coral);
    margin-bottom: var(--spacing-sm);
    text-align: left;
    font-family: var(--font-heading); /* Heading font */
}

.pricing-card p {
    color: #666666;
    font-size: 1.25rem; /* Increased to be just below price heading */
    max-width: none;
    margin-bottom: var(--spacing-xs);
    text-align: left;
    line-height: 1.5;
}

.deadline-italic {
    font-style: italic;
}

.pricing-card-featured {
    border-color: var(--coral);
    background-color: rgba(241, 143, 72, 0.05);
    box-shadow: 0 4px 20px rgba(241, 143, 72, 0.2);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--coral);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.deadline {
    color: var(--coral-dark);
    font-weight: 600;
}

.pricing-features {
    margin-top: var(--spacing-md);
    text-align: left;
}

.pricing-features p {
    max-width: none;
    margin-bottom: var(--spacing-sm);
}

.pricing-features-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    color: #666666;
    font-size: 1rem;
}

@media (min-width: 1100px) {
    .pricing-features-inline {
        flex-wrap: nowrap;
        gap: 1.5rem;
    }
}

.pricing-features-inline .separator {
    color: var(--coral);
    font-weight: 600;
    margin: 0 0.25rem;
}

@media (max-width: 1099px) {
    .pricing-features-inline .separator {
        display: none;
    }
}

/* ========================================
   BYRÅPAKETET - Professional
   ======================================== */

.section-professional {
    background-color: var(--bg-navy-dark);
    color: var(--text-primary);
}

.professional-brand {
    margin-bottom: var(--spacing-md);
}

.byra-logo {
    color: #ffffff;
}

.section-professional h2,
.section-professional h3 {
    color: var(--text-primary);
}

.section-professional p {
    color: var(--text-secondary);
}

.card-professional {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: left;
}

.card-professional-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .card-professional-content {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--spacing-xl);
    }
}

/* Mobile: improve byråsektion layout */
@media (max-width: 767px) {
    .section-professional {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .card-professional {
        padding: 1.5rem;
        margin: 0 var(--container-padding);
    }
    
    .card-professional-content {
        gap: var(--spacing-md);
    }
    
    .card-professional-left h2 {
        font-size: clamp(1.5rem, 5vw, 1.875rem);
        margin-bottom: 1rem;
    }
    
    .card-professional-left p {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }
    
    .card-professional-right {
        margin-top: 1rem;
        width: 100%;
    }
    
    .byra-image {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
    }
}

.card-professional-left,
.card-professional-right {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
}

.byra-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: contain;
    align-self: flex-end; /* Align to right side on desktop/iPad */
}

.card-professional p {
    max-width: none;
}

.card-professional-right p {
    margin-top: var(--spacing-md);
}

.card-professional ul {
    margin-top: var(--spacing-sm);
}

.card-professional li {
    color: var(--text-secondary);
}

/* ========================================
   VARFÖR KVISEND - Calm
   ======================================== */

/* Section calm removed - content moved to split-who-why */

.section-calm h2,
.section-calm h3 {
    color: var(--text-olive);
}

.feature-list {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.feature-list li {
    padding: 0;
    padding-left: 0;
    position: relative;
    color: var(--text-olive);
}

.feature-list li::before {
    display: none;
    content: none;
}

.closing-statement {
    margin-top: var(--spacing-md);
    font-size: 1.25rem;
    color: var(--text-olive);
}

/* ========================================
   SEO / JÄMFÖRELSE - Factual
   ======================================== */

/* "Enklare alternativ" section removed */

/* ========================================
   FINAL CTA
   ======================================== */

.cta-section {
    background: radial-gradient(
        circle 100vw at 50% 80%,
        #595a1c 0%,
        #050605 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15vh 1.5rem; /* Default padding */
    text-align: center;
    color: #f8f6ed;
    overflow: hidden;
}

/* iPad: reduce padding */
@media (min-width: 768px) and (max-width: 1099px) {
    .cta-section {
        padding: 10vh 1.5rem; /* 10vh top/bottom for iPad */
    }
}

/* Mobile: improve CTA section spacing and readability */
@media (max-width: 767px) {
    .cta-section {
        background: radial-gradient(
            circle 200vw at 50% 80%, /* Gradient radius = 2x screen width */
            #595a1c 0%,
            #050605 100%
        );
        padding: 18vh 1rem;
        min-height: auto;
    }
    
    .cta-inner {
        padding: 0;
    }
    
    .cta-heading {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: 0.875rem;
    }
    
    .cta-subheading {
        font-size: clamp(1rem, 3vw, 1.125rem);
        margin-bottom: 10vh !important;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        min-height: 44px;
        width: 100%;
        max-width: 320px;
        margin-top: 0 !important;
        margin-bottom: 10vh !important;
    }
    
    .cta-body {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-top: 0;
        padding: 0 0.5rem;
    }
}

.cta-inner {
    max-width: 48rem;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Desktop and iPad-portrait: allow left alignment for checkbox block */
@media (min-width: 768px) {
    .cta-inner {
        align-items: stretch;
        /* Shared width variable for button and checkbox block alignment */
        --cta-content-width: calc(14rem + 5.5rem); /* Text width (14rem) + padding (5.5rem) */
    }
    
    .cta-heading,
    .cta-subheading {
        align-self: center;
    }
    
    /* Make button and checkbox block align by using same width */
    .cta-button {
        align-self: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: var(--cta-content-width);
        min-width: var(--cta-content-width);
    }
}

.cta-logo {
    display: inline-block;
    color: #f8f6ed;
    font-family: "Sora", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    letter-spacing: 0.08em;
    margin-bottom: clamp(0.5rem, 1.5vh, 0.75rem);
}

.cta-tagline {
    color: rgba(248, 247, 243, 0.95);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
    margin-top: 0;
    margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
}

.cta-heading {
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 700;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: clamp(0.75rem, 2vh, 1.25rem);
    line-height: 1.1;
    font-family: var(--font-heading);
}

/* Desktop and iPad-portrait: increase header and subheader size significantly */
@media (min-width: 768px) {
    .cta-heading {
        font-size: clamp(3.5rem, 5vw, 4.5rem);
    }
    
    .cta-subheading {
        font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    }
}

.cta-subheading {
    font-size: clamp(1.1rem, 1.7vw, 1.25rem);
    font-weight: 500;
    color: rgba(248, 247, 243, 0.95);
    margin-top: 0;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
}

/* Desktop: vertical distance between tagline and button to 10vh */
@media (min-width: 1100px) {
    .cta-subheading {
        margin-bottom: 10vh;
    }
}

/* iPad: vertical distance between tagline and button to 5vh */
@media (min-width: 768px) and (max-width: 1099px) {
    .cta-subheading {
        margin-bottom: 5vh;
    }
}

.cta-body {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 40rem;
    margin-top: clamp(1.5rem, 3vh, 2rem);
    margin-bottom: 0;
}

/* New CTA features block with checkboxes */
.cta-features {
    text-align: left;
    width: 100%;
    max-width: 48rem;
    margin-top: 0;
    margin-bottom: 0;
    align-self: center;
}

/* Desktop and iPad-portrait: align checkbox block so left edge matches button's left edge */
@media (min-width: 768px) {
    .cta-features {
        align-self: center;
        /* Match button width exactly using same CSS variable */
        width: var(--cta-content-width);
        max-width: var(--cta-content-width);
        min-width: var(--cta-content-width);
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

.cta-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.6;
}

.cta-feature-item:last-child {
    margin-bottom: 0;
}

.cta-checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.1rem;
}

/* Mobile: adjust checkbox block */
@media (max-width: 767px) {
    .cta-features {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        padding-left: calc(1rem + 15px);
        padding-right: 0;
    }
    
    .cta-feature-item {
        font-size: 0.95rem;
    }
}

/* Legacy class - kept for compatibility but not used in new CTA structure */
.cta-supporting {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 0;
}

.cta-button {
    padding: 0.9rem 2.75rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 0;
    /* margin-bottom set in mobile and desktop media queries */
    display: inline-block;
    text-decoration: none;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out, color 200ms ease-out;
    font-family: "Sora", system-ui, -apple-system, sans-serif;
}

.kv-logo-inline {
    font-family: "Sora", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.kv-logo-inline .kv-logo-k {
    display: inline-block;
    transform: scaleX(-1);
}

/* Desktop and iPad-portrait: vertical distance between button and copy to 10vh */
/* Desktop: button margin-bottom */
@media (min-width: 1100px) {
    .cta-button {
        margin-bottom: 10vh;
    }
}

/* iPad: button margin-bottom */
@media (min-width: 768px) and (max-width: 1099px) {
    .cta-button {
        margin-bottom: 5vh;
    }
}

.cta-button:hover,
.cta-button:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.4);
    outline: none;
    color: #ffffff;
    border-color: #ffffff;
}

.cta-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7), 0 0.75rem 2rem rgba(0, 0, 0, 0.4);
}

/* ========================================
   CTAs
   ======================================== */

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--coral);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid var(--coral);
}

.cta-button:hover {
    background-color: var(--coral-bright);
    border-color: var(--coral-bright);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 143, 72, 0.4);
}

.cta-primary {
    background-color: var(--coral);
    color: white;
}

.cta-wrapper {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.cta-link {
    color: var(--coral);
    font-weight: 600;
    border-bottom: 2px solid var(--coral);
    padding-bottom: 2px;
}

.cta-link:hover {
    color: var(--coral-bright);
    border-bottom-color: var(--coral-bright);
}

/* ========================================
   Steps (Shared)
   ======================================== */

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

/* Underlag steps are vertical, not grid */
.underlag-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: var(--spacing-md) 0;
}

.underlag-steps .step {
    width: 100%;
}

@media (min-width: 768px) {
    .steps:not(.underlag-steps) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--coral);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: var(--spacing-sm);
}

.step h4 {
    margin-bottom: var(--spacing-xs);
}

.step p {
    font-size: 1rem;
}

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

.footer {
    background-color: var(--bg-dark-alt);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem; /* Halved from 0.75rem */
    /* Smart solution: Container sizes to widest child, both children fill container width */
    width: max-content;
    max-width: 100%;
}

.footer-logo {
    display: block;
    color: var(--text-primary);
    font-family: "Sora", system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 1.5rem; /* Base size, may be adjusted by JS */
    letter-spacing: 0.08em;
    margin: 0;
    text-align: center;
    /* Visually match tagline width: both fill container width */
    width: 100%;
    /* Allow JS to adjust font-size dynamically */
    transition: font-size 0.2s ease;
}

.footer-tagline {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem; /* Base size, may be adjusted by JS */
    font-weight: 400;
    font-style: italic;
    margin: 0;
    text-align: center;
    /* Visually match logo width: both fill container width */
    width: 100%;
    /* Adjust letter-spacing slightly to help visual alignment */
    letter-spacing: 0.01em;
    /* Allow JS to adjust font-size dynamically */
    transition: font-size 0.2s ease;
}

/* iPad-portrait and larger: footer brand block covers 1/3 of screen width */
@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        align-items: center; /* Vertical align middle */
        justify-content: space-between;
        max-width: 1200px;
        padding: 0 clamp(3rem, 8vw, 6rem); /* Significantly increased horizontal padding */
    }
    
    .footer-brand {
        width: 33.333%;
        flex: 0 0 33.333%;
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.375rem; /* Halved from 0.75rem */
        width: max-content;
        max-width: 100%;
    }
    
    .footer-logo {
        text-align: left;
        width: 100%;
        /* Visually match tagline width: both fill container */
    }
    
    .footer-tagline {
        text-align: left;
        width: 100%;
        /* Visually match logo width: both fill container */
        letter-spacing: 0.01em;
    }
    
    .footer-links {
        flex: 1;
        text-align: right;
    }
}

.footer-links {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

.footer-links .separator {
    color: var(--text-muted);
    margin: 0 var(--spacing-xs);
}

/* ========================================
   Minisite Links (Editorial Links)
   ======================================== */

.minisite-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

.minisite-link a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.minisite-link a:hover {
    color: var(--text-dark);
    text-decoration: underline;
    text-decoration-color: rgba(26, 26, 26, 0.3);
}

/* Footer minisite link styling */
.footer .minisite-link {
    margin-top: 1rem;
    text-align: center;
}

.footer .minisite-link a {
    color: var(--text-secondary);
}

.footer .minisite-link a:hover {
    color: var(--text-primary);
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

/* Mobile: improve footer layout */
@media (max-width: 767px) {
    .footer {
        padding: var(--spacing-md) 0;
    }
    
    .footer-inner {
        gap: 0.875rem;
        padding: 0 var(--container-padding);
    }
    
    .footer-brand {
        width: 100%;
        align-items: center;
    }
    
    .footer-logo {
        font-size: 1.25rem;
        text-align: center;
        width: 100%;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
        padding: 0 1rem;
        text-align: center;
        width: 100%;
    }
    
    .footer-links {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .footer-links a {
        display: inline-block;
        padding: 0.25rem 0;
        min-height: 44px;
        line-height: 44px;
        white-space: nowrap;
    }
    
    .footer-links .separator {
        margin: 0 0.25rem;
        font-size: 0.8rem;
    }
    
    /* Stack footer links on very small screens if needed */
    @media (max-width: 360px) {
        .footer-links {
            font-size: 0.75rem;
        }
        
        .footer-links a {
            padding: 0.2rem 0;
            min-height: 40px;
            line-height: 40px;
        }
    }
}

/* ========================================
   Fine Print / Legal Pages (Privacy, Terms, etc.)
   ======================================== */

.fine-print {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f0;
    padding: 2rem 1rem;
}

.fine-print .logo-container {
    text-align: center;
    margin-bottom: 3rem;
}

.fine-print .kv-logo {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    display: inline-block;
    text-transform: uppercase;
    font-size: 50px;
    color: #333;
}

.fine-print .kv-logo-k {
    display: inline-block;
    transform: scaleX(-1);
    transform-origin: center;
    margin-right: 0;
}

.fine-print .content-container {
    max-width: 65ch;
    margin: 0 auto;
    position: relative;
}

.fine-print .close-button {
    position: fixed;
    top: 20px;
    right: max(20px, calc(50vw - 32.5ch + 20px));
    width: 24px;
    height: 24px;
    display: block;
    color: #333;
    background-color: #f5f5f0;
    text-decoration: none;
    cursor: pointer;
    z-index: 100;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 0;
    border-radius: 50%;
}

.fine-print .close-button:hover {
    color: #000;
    transform: scale(1.1);
}

.fine-print .close-button:active {
    transform: scale(0.95);
}

.fine-print h1 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.fine-print h1:first-of-type {
    margin-top: 0;
}

.fine-print h2 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.fine-print h3 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.fine-print p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.fine-print ul,
.fine-print ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #333;
}

.fine-print li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.fine-print table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.fine-print table th,
.fine-print table td {
    padding: 0.5rem;
    text-align: left;
    border: 1px solid #ddd;
}

.fine-print table th {
    font-weight: 600;
    background-color: #eee;
}

.fine-print a {
    color: #333;
    text-decoration: underline;
}

.fine-print a:hover {
    color: #000;
}

.fine-print strong {
    font-weight: 600;
}

.fine-print em {
    font-style: italic;
}

@media (max-width: 600px) {
    .fine-print {
        font-size: 9px;
        padding: 1.5rem 1rem;
    }
    
    .fine-print .kv-logo {
        font-size: 40px;
    }
    
    .fine-print h1 {
        font-size: 1.1rem;
    }
    
    .fine-print h2 {
        font-size: 0.95rem;
    }
    
    .fine-print h3 {
        font-size: 0.85rem;
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-xxl: 5rem;
        --spacing-lg: 3rem;
        --container-padding: 1rem;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-lg) 0;
    }
    
    .hero-brand {
        top: var(--spacing-sm);
        left: var(--container-padding);
    }
    
    .hero-content {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
    
    .logo-placeholder.logo-icon.underlag-icon {
        display: none;
    }
    
    .section-instructional {
        padding-left: var(--container-padding);
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-mockup-image {
        max-width: 100%;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .pricing-card-featured {
        order: -1;
    }
    
    .split-container {
        min-height: auto;
    }
    
    .split-half {
        padding: var(--spacing-lg) var(--container-padding);
    }
    
    .timeline-steps {
        padding-left: var(--spacing-sm);
    }
    
    .timeline-marker {
        min-width: 50px;
    }
    
    /* Ensure no horizontal scrolling */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    /* Very small screens: further tighten typography */
    h1 {
        font-size: clamp(1.625rem, 7vw, 2rem);
        line-height: 1.2;
    }
    
    h2 {
        font-size: clamp(1.375rem, 6vw, 1.75rem);
        line-height: 1.25;
    }
    
    h3 {
        font-size: clamp(1.125rem, 5vw, 1.375rem);
        line-height: 1.3;
    }
    
    .step {
        padding: var(--spacing-sm);
    }
    
    .card-professional {
        padding: var(--spacing-md);
    }
    
    .logotype {
        font-size: 1rem;
    }
    
    /* Ensure comfortable tap targets */
    a, button, .cta-button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent text from being too small */
    p, li {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

