        :root {
            --primary: #053966;
            --primary-dark: #011e30;
            --secondary: rgba(0, 57, 122, 0.6);
            --accent: #DF951F;
            --text: #002f4c;
            --text-light: #62748e;
            --highlight: #00a5b1;
            --bg: #ffffff;
            --bg-light: #f8fafc;
            --highlight-bg: #e9f7ff;
            --border: rgba(0, 57, 122, 0.15);
            --cta: #DF951F;
        }

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

        body {
            font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--text);
            line-height: 1.6;
            background: var(--bg);
            font-size: 16px;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            padding: 0.75rem 0;
            box-shadow: 0 4px 20px rgba(0, 47, 76, 0.08);
        }

        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .logo-text {
            display: block;
            line-height: 1.1;
        }

        .logo-main {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            display: block;
            font-family: 'Sora', sans-serif;
            letter-spacing: -0.025em;
            line-height: 1;
        }

        .logo-tld {
            color: var(--highlight);
        }

        .logo-sub {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-light);
            display: block;
            font-family: 'Sora', sans-serif;
            letter-spacing: -0.025em;
            line-height: 1;
            margin-top: 0.25rem;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            object-fit: contain;
            border-radius: 4px;
        }

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

        .nav-toggle {
            display: none;
        }

        .nav-links a {
            text-decoration: none;
            color: rgba(74, 85, 101, 1);
            font-weight: 500;
            transition: color 0.3s;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: var(--highlight);
        }

        .nav-cta {
            border: none;
            cursor: pointer;
            font-family: inherit;
            background: var(--accent);
            color: var(--bg);
            font-weight: 700;
            font-size: 0.9rem;
            padding: 0.65rem 1.4rem;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 6px 18px rgba(0, 47, 76, 0.18);
        }

        .nav-cta:hover {
            color: var(--primary);
            filter: brightness(1.06);
            box-shadow: 0 8px 24px rgba(0, 47, 76, 0.28);
        }

        /* Vertical section indicator */
        .side-nav {
            position: fixed;
            right: 1.5rem;
            top: 50%;
            transform: translateY(-50%);
            z-index: 900;
            pointer-events: none;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
        }

        /* Revealed only once the hero is out of view */
        .side-nav--visible {
            opacity: 1;
            visibility: visible;
        }

        .side-nav ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.55rem;
        }

        .side-nav a {
            pointer-events: auto;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 0.6rem;
            min-height: 22px;
            padding: 3px 2px;
            text-decoration: none;
            border-radius: 6px;
        }

        .side-nav a:focus-visible {
            outline: 2px solid var(--highlight);
            outline-offset: 3px;
        }

        .side-nav-label {
            font-size: 0.8rem;
            font-weight: 600;
            line-height: 1;
            color: var(--primary);
            white-space: nowrap;
            opacity: 0;
            transform: translateX(4px);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        .side-nav a:hover .side-nav-label,
        .side-nav a:focus-visible .side-nav-label,
        .side-nav a.active .side-nav-label {
            opacity: 1;
            transform: none;
        }

        .side-nav-dash {
            display: block;
            width: 30px;
            height: 3px;
            border-radius: 3px;
            /* Slate chosen to stay readable on white and on the navy bands */
            background: #7b8da6;
            transform: scaleX(0.5);
            transform-origin: right center;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .side-nav a:hover .side-nav-dash,
        .side-nav a.active .side-nav-dash {
            background: var(--highlight);
        }

        .side-nav a.active .side-nav-dash {
            transform: scaleX(1);
        }

        /* Labels flip over navy bands and dark cards; the matching backdrop
           keeps them legible where the text crosses a card's edge. */
        .side-nav--on-dark .side-nav-label {
            color: #ffffff;
            background: var(--primary);
            padding: 3px 7px;
            /* Negativna margina poništava padding: kutija ostaje iste veličine
               u oba stanja, pa se rail ne pomera kad se pojavi pilula. */
            margin: -3px -7px;
            border-radius: 6px;
        }

        @media (max-width: 1024px) {
            .side-nav {
                display: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .side-nav,
            .side-nav-label,
            .side-nav-dash {
                transition: none;
            }
        }

        /* Offset anchor targets for the fixed navbar */
        #kako-funksionise,
        #kako-biramo,
        #investiciono,
        #zdravstveno,
        #kasko,
        #primer-ponude {
            scroll-margin-top: 5.5rem;
        }

        /* Hero Section */
        .hero {
            padding: 8rem 2rem 4rem;
            background:
                /* ai glow: soft teal bloom behind the headline */
                radial-gradient(ellipse 60% 55% at 22% 16%, rgba(0, 165, 177, 0.10), transparent 70%),
                /* fade dots out only near the very bottom */
                linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.85) 92%),
                /* visible navy dot grid */
                radial-gradient(rgba(0, 47, 76, 0.06) 1px, transparent 1.8px) 0 0 / 24px 24px,
                /* cool brand wash: light blue → white */
                linear-gradient(180deg, var(--highlight-bg) 0%, var(--bg) 75%);
            position: relative;
            overflow: hidden;
        }

        .hero-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            display: block;
            pointer-events: none;
        }

        .hero-container {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.15fr 1fr;
            gap: 2rem;
            align-items: stretch;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            display: flex;
            flex-direction: column;
        }

        .hero-content .products-grid {
            margin-top: auto;
        }

        .hero-learn {
            margin-top: 0.9rem;
            font-size: 0.88rem;
        }

        .hero-learn a {
            color: var(--text-light);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 1px solid var(--border);
            padding-bottom: 1px;
            transition: color 0.25s, border-color 0.25s;
        }

        .hero-learn a:hover {
            color: var(--highlight);
            border-color: var(--highlight);
        }

        .hero-content h1 {
            color: var(--primary);
            font-size: 3rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1rem;
            font-family: 'Archivo', sans-serif;
        }

        .hero-content h1 .h1-highlight {
            color: #00a5b1;
        }

        .hero-content .hero-sub {
            font-size: 1.15rem;
            color: var(--text-light);
            margin-bottom: 2rem;
            max-width: 640px;
        }

        /* Hero product cards */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .product-card {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
            padding: 1.75rem 1.5rem;
            border-radius: 20px;
            background: #fff;
            border: 1px solid transparent;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
            text-align: left;
            font-family: inherit;
            position: relative;
            color: var(--text);
        }

        .product-card:hover:not(:disabled) {
            transform: translateY(-5px);
            border-color: var(--highlight);
            box-shadow:
                0 12px 40px 12px rgba(0, 0, 0, 0.2),
                0 0 20px 3px rgba(23, 162, 160, 0.3);
        }

        .product-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
            line-height: 1.3;
        }

        .product-card:hover:not(:disabled) h3 {
            color: var(--highlight);
        }

        .product-card p {
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.5;
        }

        .product-card:active:not(:disabled) {
            transform: translateY(-2px);
        }

        /* Explicit inquiry action, visible at rest on desktop and touch */
        .product-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            margin-top: auto;
            padding-top: 0.35rem;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--highlight);
            line-height: 1.2;
        }

        .product-cta svg {
            width: 15px;
            height: 15px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform 0.25s ease;
        }

        .product-card:hover:not(:disabled) .product-cta svg {
            transform: translateX(3px);
        }

        /* One-shot attention cue when a "Zatražite ponudu" entry point sends
           people to the cards: reused hover styling, rippling left to right. */
        @keyframes product-card-spotlight {
            0%, 100% { transform: translateY(0); }
            35% {
                transform: translateY(-6px);
                border-color: var(--highlight);
                box-shadow:
                    0 12px 40px 12px rgba(0, 0, 0, 0.2),
                    0 0 20px 3px rgba(23, 162, 160, 0.3);
            }
        }

        @keyframes product-card-spotlight-flash {
            0%, 100% { border-color: transparent; }
            40% { border-color: var(--highlight); }
        }

        .products-grid--spotlight .product-card {
            animation: product-card-spotlight 0.55s ease;
        }

        .products-grid--spotlight .product-card:nth-child(2) {
            animation-delay: 0.08s;
        }

        .products-grid--spotlight .product-card:nth-child(3) {
            animation-delay: 0.16s;
        }

        @media (prefers-reduced-motion: reduce) {
            .product-cta svg,
            .product-card {
                transition: none;
            }
            .product-card:hover:not(:disabled) .product-cta svg {
                transform: none;
            }
            .products-grid--spotlight .product-card {
                animation: product-card-spotlight-flash 0.9s ease;
            }
        }

        .product-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.5rem;
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
        }

        .product-icon svg {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: #ffffff;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .icon--teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
        .icon--rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
        .icon--indigo { background: linear-gradient(135deg, #818cf8, #4f46e5); }
        .icon--amber { background: linear-gradient(135deg, #fbbf24, #d97706); }
        .icon--green { background: linear-gradient(135deg, #4ade80, #16a34a); }
        .icon--blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }

        /* Featured product card - two comet trails sweeping clockwise around the border */
        @property --trail-angle {
            syntax: "<angle>";
            inherits: false;
            initial-value: 0deg;
        }

        .product-card--featured {
            box-shadow: 0 8px 30px rgba(5, 57, 102, 0.18);
        }

        .product-card--featured::before,
        .product-card--featured::after {
            content: "";
            position: absolute;
            inset: -3px;
            border-radius: 23px;
            padding: 3px;
            pointer-events: none;
            -webkit-mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            mask-composite: exclude;
            animation: product-trail-spin 4s linear infinite;
        }

        /* Trail 1 - indigo */
        .product-card--featured::before {
            background: conic-gradient(
                from var(--trail-angle),
                transparent 0deg,
                transparent 296deg,
                rgba(99, 102, 241, 0.25) 330deg,
                rgba(99, 102, 241, 0.85) 352deg,
                #b6bcff 360deg
            );
            filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.55));
        }

        /* Trail 2 - indigo, half a lap behind */
        .product-card--featured::after {
            background: conic-gradient(
                from var(--trail-angle),
                transparent 0deg,
                transparent 296deg,
                rgba(99, 102, 241, 0.25) 330deg,
                rgba(99, 102, 241, 0.85) 352deg,
                #b6bcff 360deg
            );
            filter: drop-shadow(0 0 4px rgba(99, 102, 241, 0.55));
            animation-delay: -2s;
        }

        @keyframes product-trail-spin {
            to { --trail-angle: 360deg; }
        }

        @media (prefers-reduced-motion: reduce) {
            .product-card--featured::before {
                animation: none;
                background: #6366f1;
            }
            .product-card--featured::after {
                display: none;
            }
        }

        .product-badge {
            position: absolute;
            top: 0.9rem;
            right: 0.9rem;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            gap: 0.28rem;
            background: #eef0ff;
            color: #4f46e5;
            font-size: 0.68rem;
            font-weight: 700;
            padding: 0.28rem 0.65rem;
            border-radius: 999px;
            pointer-events: none;
        }

        .product-badge svg {
            width: 11px;
            height: 11px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .hero-note {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            background: #ffffff;
            border: none;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
            padding: 1rem 1rem;
        }

        .note-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
            padding: 1rem 1rem;
            border-radius: 14px;
            transition: background 0.5s ease;
        }

        .note-item:hover {
            background: rgba(248, 250, 252, 0.8);
        }

        .note-item::after {
            content: "";
            position: absolute;
            left: 1rem;
            bottom: 0;
            width: 0;
            height: 2px;
            border-radius: 999px;
            background: rgba(23, 162, 160, 0.3);
            transition: width 0.5s ease;
        }

        .note-item:hover::after {
            width: 3rem;
        }

        .note-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background: var(--highlight-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.5s ease;
        }

        .note-item:hover .note-icon {
            background: var(--highlight);
            transform: translateY(-4px);
            box-shadow: 0 0 24px rgba(23, 162, 160, 0.4);
        }

        .note-icon svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: var(--highlight);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: stroke 0.5s ease;
        }

        .note-item:hover .note-icon svg {
            stroke: #ffffff;
        }

        .note-title {
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.3;
            color: var(--primary);
            transition: color 0.3s ease;
        }

        .note-item:hover .note-title {
            color: var(--highlight);
        }

        .note-desc {
            font-size: 0.8rem;
            line-height: 1.4;
            color: var(--text-light);
        }

        /* Hero media card */
        .hero-media {
            position: relative;
            border-radius: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
            overflow: hidden;
            min-height: 420px;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .media-picture {
            position: absolute;
            inset: 0;
            border-radius: inherit;
        }

        .media-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: right bottom;
            display: block;
            border-radius: inherit;
        }

        @media (min-width: 1025px) and (max-width: 1279px) {
            .hero-container {
                grid-template-columns: 1.25fr 1fr;
                gap: 1.25rem;
            }

            .hero-note {
                padding: 1rem 1rem;
            }

            .note-item {
                padding: 1rem 1rem;
            }

            .note-item::after {
                left: 1rem;
            }

            .note-title {
                font-size: 0.88rem;
            }

            .note-desc {
                font-size: 0.78rem;
            }
        }

        /* Stats */
        .stats-bar {
            position: relative;
            z-index: 1;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            padding: 1.25rem 1rem;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 16px;
        }

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

        .stat-number {
            font-size: 1.75rem;
            font-weight: 800;
            color: #ffffff;
            white-space: nowrap;
            filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.10)) drop-shadow(0 2px 3px rgb(0 0 0 / 0.2));
        }

        .stat-label {
            font-size: 0.85rem;
            line-height: 1.3;
            color: rgba(255, 255, 255, 0.85);
            filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.10)) drop-shadow(0 2px 3px rgb(0 0 0 / 0.2));
        }

        /* Buttons */
        .btn {
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
            font-size: 1rem;
            font-family: inherit;
        }

        .btn-primary {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 4px 15px rgba(26, 95, 158, 0.2);
        }

        .btn-primary:hover {
            filter: brightness(0.95);
            box-shadow: 0 6px 20px rgba(26, 95, 158, 0.3);
        }

        /* Partners Marquee */
        .partners {
            padding: 1.25rem 2rem;
            background: var(--primary);
        }

        .logos-marquee {
            overflow: hidden;
            -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
        }

        .logos-track {
            display: flex;
            align-items: center;
            width: max-content;
            animation: marquee 40s linear infinite;
        }

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

        .logos-track img {
            height: 84px;
            width: auto;
            margin-right: 3.5rem;
            object-fit: contain;
            flex-shrink: 0;
            opacity: 0.7;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .logos-track img:hover {
            opacity: 1;
            transform: scale(1.08);
        }

        .partners .section-container {
            padding: 0;
        }

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

        @media (prefers-reduced-motion: reduce) {
            .logos-track {
                animation: none;
                flex-wrap: wrap;
                width: 100%;
                justify-content: center;
                gap: 2rem;
            }

            .logos-track img {
                opacity: 1;
                margin-right: 0;
            }

            .logos-track img.is-clone {
                display: none;
            }

            .logos-marquee {
                -webkit-mask-image: none;
                mask-image: none;
            }
        }

        /* Generic sections */
        .section-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem 1.5rem;
        }

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

        .section-header h2,
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
            font-family: 'Archivo', sans-serif;
            /* Index centres headings via .section-header; a bare .section-title needs it too */
            text-align: center;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
        }

        .section-header h2::after,
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 6px;
            border-radius: 4px;
            background: var(--highlight);
            margin: 1rem auto 0;
        }

        /* How It Works */
        .how-it-works {
            position: relative;
            overflow: hidden;
            padding: 6rem 2rem;
            background: var(--highlight-bg);
        }

        @media (min-width: 64rem) {
            .how-it-works {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .steps-container {
            max-width: 1280px;
            margin: 3rem auto 0;
            padding: 0;
            list-style: none;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .step-card {
            /* The padding is invisible, but it is what puts --node-center on the node's true centre */
            --node-center: calc(2rem + 1.875rem);
            --reveal-delay: 0s;
            --line-delay: 0.05s;
            --pulse-delay: 0.05s;
            --node-delay: 0s;
            position: relative;
            text-align: center;
            padding: 2rem;
            transition-property: opacity, transform;
            transition-duration: 0.7s, 0.7s;
            transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1), cubic-bezier(0.22, 1, 0.36, 1);
            transition-delay: var(--reveal-delay), var(--reveal-delay);
        }

        .step-card:nth-child(2) {
            --reveal-delay: 0.16s;
            --line-delay: 0.95s;
            --pulse-delay: 0.95s;
            --node-delay: 0.9s;
        }

        .step-card:nth-child(3) {
            --reveal-delay: 0.32s;
            --node-delay: 1.8s;
        }

        /* Connector rail between nodes: a line that draws in, plus a travelling pulse */
        .step-card::before,
        .step-card::after {
            content: '';
            position: absolute;
            pointer-events: none;
        }

        .step-card::before {
            top: calc(var(--node-center) - 0.5px);
            left: 50%;
            width: calc(100% + 2rem);
            height: 1px;
            z-index: 0;
            background: linear-gradient(90deg, rgba(0, 165, 177, 0.45), rgba(5, 57, 102, 0.12));
            transform-origin: left center;
            transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--line-delay);
        }

        /* Travelling pulse: a bright spot on the rail, moved with transform only */
        .step-card::after {
            top: calc(var(--node-center) - 3px);
            left: 50%;
            width: calc(100% + 2rem);
            height: 6px;
            z-index: 1;
            background: radial-gradient(circle 3px at calc(100% - 3px) 50%, rgba(0, 165, 177, 1) 96%, rgba(0, 165, 177, 0) 100%);
            filter: drop-shadow(0 0 5px rgba(0, 165, 177, 0.85));
            opacity: 0;
        }

        .step-card:last-child::before,
        .step-card:last-child::after {
            display: none;
        }

        /* Below the three-across layout the rail has nowhere to run - stack the steps instead */
        @media (max-width: 63.9rem) {
            .steps-container {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .step-card::before,
            .step-card::after {
                display: none;
            }

            /* Keep the measure readable when a stacked card spans the full width */
            .step-card p {
                max-width: 36rem;
                margin-left: auto;
                margin-right: auto;
            }
        }

        .step-node {
            position: relative;
            z-index: 2;
            width: 60px;
            height: 60px;
            margin: 0 auto 1.25rem;
            border-radius: 18px;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 24px rgba(5, 57, 102, 0.22);
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--node-delay);
        }

        .step-node svg {
            width: 26px;
            height: 26px;
            fill: none;
            stroke: #ffffff;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* Comet ring around the node - reuses the @property --trail-angle spin */
        .step-node::before,
        .step-node::after {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 22px;
            padding: 3px;
            pointer-events: none;
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
            background: conic-gradient(
                from var(--trail-angle),
                transparent 0deg,
                transparent 230deg,
                rgba(0, 165, 177, 0.55) 290deg,
                rgba(0, 165, 177, 1) 342deg,
                #00d5e3 356deg,
                #8ff5f2 360deg
            );
        }

        .step-num {
            font-weight: 800;
            font-variant-numeric: tabular-nums;
            color: var(--primary);
            margin-right: 0.15rem;
        }

        .step-card h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.6rem;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
        }

        .step-card p {
            color: var(--text-light);
            font-size: 0.9rem;
            text-wrap: pretty;
        }

        /* Activation: the rail draws in once, then the travelling pulse and the node flashes loop on a 3.6s cycle */
        .how-it-works.is-active .step-card::before {
            transform: scaleX(1);
        }

        .how-it-works.is-active .step-card:not(:last-child)::after {
            /* backwards fill keeps the pulse parked (and invisible) until its beat */
            animation: hiw-travel 3.6s ease-in-out var(--pulse-delay) infinite backwards;
        }

        .how-it-works.is-active .step-node {
            transform: scale(1);
            animation: hiw-node-flash 3.6s ease-in-out var(--node-delay) infinite backwards;
        }

        .how-it-works.is-active .step-node::before,
        .how-it-works.is-active .step-node::after {
            opacity: 1;
            animation: product-trail-spin 4s linear infinite, hiw-ring-flash 3.6s ease-in-out infinite backwards;
            animation-delay: 0s, var(--node-delay);
        }

        .how-it-works.is-active .step-node::after {
            animation-delay: -2s, var(--node-delay);
        }

        /* Hidden start state only when scripts can run; without JS the section stays composed */
        @media (scripting: enabled) {
            .how-it-works .step-card {
                opacity: 0;
                transform: translateY(18px) scale(0.96);
            }

            .how-it-works.is-active .step-card {
                opacity: 1;
                transform: translateY(0) scale(1);
            }

            .how-it-works .step-card::before {
                transform: scaleX(0);
            }

            .how-it-works .step-node {
                transform: scale(0.92);
            }

            .how-it-works .step-node::before,
            .how-it-works .step-node::after {
                opacity: 0;
            }
        }

        @keyframes hiw-travel {
            0%     { transform: translateX(-100%); opacity: 0; }
            2%     { opacity: 1; }
            20%    { opacity: 1; }
            22.22% { transform: translateX(0); opacity: 0; }
            100%   { transform: translateX(0); opacity: 0; }
        }

        /* The node lights while its pulse is in transit, then goes fully dark again */
        @keyframes hiw-node-flash {
            0%   { box-shadow: 0 10px 24px rgba(5, 57, 102, 0.22), 0 0 0 0 rgba(0, 165, 177, 0); }
            3%   { box-shadow: 0 12px 30px rgba(5, 57, 102, 0.28), 0 0 30px 8px rgba(0, 165, 177, 0.60); }
            22%  { box-shadow: 0 10px 24px rgba(5, 57, 102, 0.22), 0 0 0 0 rgba(0, 165, 177, 0); }
            100% { box-shadow: 0 10px 24px rgba(5, 57, 102, 0.22), 0 0 0 0 rgba(0, 165, 177, 0); }
        }

        @keyframes hiw-ring-flash {
            0%   { opacity: 0; }
            3%   { opacity: 1; }
            16%  { opacity: 1; }
            22%  { opacity: 0; }
            100% { opacity: 0; }
        }

        @media (prefers-reduced-motion: reduce) {
            .how-it-works .step-card {
                opacity: 1;
                transform: none;
                transition: none;
            }

            .how-it-works .step-card::before {
                transform: scaleX(1);
                transition: none;
            }

            /* No travelling pulse and no looping flash - the pipeline just sits lit */
            .how-it-works .step-card::after,
            .how-it-works .step-node::after {
                display: none;
            }

            .how-it-works .step-node,
            .how-it-works.is-active .step-node {
                transform: none;
                transition: none;
                animation: none;
                box-shadow: 0 10px 24px rgba(5, 57, 102, 0.22), 0 0 22px 2px rgba(0, 165, 177, 0.28);
            }

            .how-it-works .step-node::before,
            .how-it-works.is-active .step-node::before {
                opacity: 1;
                transition: none;
                animation: none;
                background: rgba(0, 165, 177, 0.8);
            }
        }

        /* How we choose the best offer */
        .compare-method {
            position: relative;
            padding: 6rem 2rem;
            background: var(--bg-light);
        }

        @media (min-width: 64rem) {
            .compare-method {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .cm-grid {
            max-width: 1180px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 3.5rem;
            align-items: start;
        }

        .cm-text > p {
            color: var(--text);
            font-size: 1.02rem;
            margin-bottom: 0.9rem;
        }

        .cm-text > p:last-of-type {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 2rem;
        }

        .cm-list {
            list-style: none;
            display: grid;
            gap: 0.35rem;
        }

        .cm-item {
            --cm-i: 0;
            display: grid;
            grid-template-columns: 38px 1fr;
            gap: 0.9rem;
            align-items: start;
            padding: 0.7rem 0.75rem 0.7rem 0.6rem;
            border-radius: 14px;
            opacity: 1;
            transform: none;
            transition:
                opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--cm-i) * 0.08s),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--cm-i) * 0.08s),
                background-color 0.3s ease 0s;
        }

        .cm-item:nth-child(2) { --cm-i: 1; }
        .cm-item:nth-child(3) { --cm-i: 2; }
        .cm-item:nth-child(4) { --cm-i: 3; }
        .cm-item:nth-child(5) { --cm-i: 4; }
        .cm-item:nth-child(6) { --cm-i: 5; }

        .cm-item:hover {
            background: #ffffff;
        }

        .cm-check {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--highlight-bg);
            color: var(--highlight);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transform: scale(1);
            transition:
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.18s,
                background-color 0.3s ease,
                color 0.3s ease;
        }

        .cm-item:hover .cm-check {
            background: var(--highlight);
            color: #fff;
        }

        .cm-check svg {
            width: 17px;
            height: 17px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2.4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .cm-item strong {
            display: block;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
            font-size: 0.98rem;
            font-weight: 700;
            line-height: 1.35;
            margin-bottom: 0.15rem;
        }

        .cm-item p {
            color: var(--text-light);
            font-size: 0.85rem;
            line-height: 1.5;
        }

        /* Funnel card: from 10+ offers to the top 3 */
        .cm-card {
            position: relative;
            background: var(--primary);
            border-radius: 24px;
            padding: 2.25rem 2rem;
        }

        .cm-card-title {
            font-family: 'Archivo', sans-serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 1.75rem;
        }

        .cm-stages {
            position: relative;
            list-style: none;
            display: grid;
            gap: 1.35rem;
        }

        .cm-stage {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: 44px 1fr;
            gap: 1rem;
            align-items: start;
            opacity: 1;
            transform: none;
            transition:
                opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .cm-stage:nth-child(1) { transition-delay: 0.08s; }
        .cm-stage:nth-child(2) { transition-delay: 0.18s; }
        .cm-stage:nth-child(3) { transition-delay: 0.28s; }
        .cm-stage:nth-child(4) { transition-delay: 0.38s; }
        .cm-stage:nth-child(5) { transition-delay: 0.48s; }

        /* Connector between stages */
        .cm-stage::before {
            content: '';
            position: absolute;
            left: 21px;
            top: 48px;
            width: 2px;
            height: calc(100% - 48px + 1.35rem);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.18);
            transform: scaleY(1);
            transform-origin: top center;
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .cm-stage:nth-child(1)::before { transition-delay: 0.24s; }
        .cm-stage:nth-child(2)::before { transition-delay: 0.4s; }
        .cm-stage:nth-child(3)::before { transition-delay: 0.56s; }
        .cm-stage:nth-child(4)::before { transition-delay: 0.72s; }

        /* A soft dot travelling down each connector once the section is active */
        .cm-stage::after {
            content: '';
            position: absolute;
            left: 18px;
            top: 48px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #6ee7e3;
            opacity: 0;
            pointer-events: none;
        }

        .cm-stage:last-child::before,
        .cm-stage:last-child::after {
            display: none;
        }

        .compare-method.is-active .cm-stage:nth-child(1)::after {
            animation: cm-rail-dot 1.6s ease-in-out 0.4s infinite;
        }

        .compare-method.is-active .cm-stage:nth-child(2)::after {
            animation: cm-rail-dot 1.6s ease-in-out 0.8s infinite;
        }

        .compare-method.is-active .cm-stage:nth-child(3)::after {
            animation: cm-rail-dot 1.6s ease-in-out 1.2s infinite;
        }

        .compare-method.is-active .cm-stage:nth-child(4)::after {
            animation: cm-rail-dot 1.6s ease-in-out 1.6s infinite;
        }

        @keyframes cm-rail-dot {
            0%   { top: 48px; opacity: 0; }
            12%  { opacity: 1; }
            88%  { opacity: 1; }
            100% { top: calc(100% + 1.35rem - 8px); opacity: 0; }
        }

        .cm-stage-icon {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            transition:
                background-color 0.45s ease,
                color 0.45s ease;
        }

        .cm-stage:nth-child(1) .cm-stage-icon { transition-delay: 0.24s; }
        .cm-stage:nth-child(2) .cm-stage-icon { transition-delay: 0.36s; }
        .cm-stage:nth-child(3) .cm-stage-icon { transition-delay: 0.48s; }
        .cm-stage:nth-child(4) .cm-stage-icon { transition-delay: 0.6s; }
        .cm-stage:nth-child(5) .cm-stage-icon { transition-delay: 0.72s; }

        .compare-method.is-active .cm-stage-icon {
            background: var(--highlight);
            color: #fff;
        }

        .cm-stage-icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .cm-stage h4 {
            font-family: 'Archivo', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.3;
            margin: 0.35rem 0 0.15rem;
        }

        .cm-stage p {
            color: rgba(255, 255, 255, 0.72);
            font-size: 0.84rem;
            line-height: 1.5;
        }

        .cm-result {
            display: flex;
            gap: 0.75rem;
            align-items: flex-start;
            margin-top: 1.9rem;
            padding: 1rem 1.1rem;
            border-radius: 16px;
            background: rgba(0, 165, 177, 0.16);
            opacity: 1;
            transform: none;
            transition:
                opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.8s,
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.8s;
        }

        .cm-result-icon {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: var(--highlight);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .cm-result-icon svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .cm-result p {
            color: rgba(255, 255, 255, 0.82);
            font-size: 0.85rem;
            line-height: 1.5;
        }

        .cm-result strong {
            color: #fff;
        }

        /* Centred CTA block: muted question above a short link (same pattern as
           index's .pi-cta / .pi-cta-note / .pi-cta-link). Keeping the link short
           is what stops the arrow from dangling mid-line when the text wraps. */
        .cm-cta {
            margin-top: 3.5rem;
            text-align: center;
        }

        .cm-cta-note {
            margin: 0 0 0.55rem;
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .cm-more {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            margin: 0;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--primary);
            text-decoration: none;
        }

        .cm-more svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform 0.2s ease;
        }

        .cm-more:hover { text-decoration: underline; }
        .cm-more:hover svg { transform: translateY(3px); }

        /* Hidden start states only when scripts can run; without JS the section stays composed */
        @media (scripting: enabled) {
            .compare-method .cm-item,
            .compare-method .cm-stage,
            .compare-method .cm-result {
                opacity: 0;
                transform: translateY(16px);
            }

            .compare-method .cm-check {
                transform: scale(0.55);
            }

            .compare-method .cm-stage::before {
                transform: scaleY(0);
            }

            .compare-method.is-active .cm-item,
            .compare-method.is-active .cm-stage,
            .compare-method.is-active .cm-result {
                opacity: 1;
                transform: none;
            }

            .compare-method.is-active .cm-check {
                transform: scale(1);
            }

            .compare-method.is-active .cm-stage::before {
                transform: scaleY(1);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .compare-method .cm-item,
            .compare-method .cm-stage,
            .compare-method .cm-result,
            .compare-method .cm-check,
            .compare-method .cm-stage::before {
                opacity: 1;
                transform: none;
                transition: none;
            }

            .compare-method.is-active .cm-stage:nth-child(n)::after {
                animation: none;
                opacity: 0;
            }
        }

        @media (max-width: 63.9rem) {
            .cm-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .cm-text > p {
                max-width: 34rem;
            }
        }

        @media (max-width: 768px) {
            .compare-method {
                padding: 2.5rem 1rem;
            }

            .cm-item {
                padding: 0.6rem 0.5rem;
            }

            .cm-card {
                padding: 1.75rem 1.25rem;
                border-radius: 20px;
            }

            .cm-cta {
                margin-top: 3rem;
            }
        }

        /* Product explainers */
        .product-info {
            padding: 6rem 2rem;
            background: var(--bg);
        }

        .product-info--tinted {
            background: var(--highlight-bg);
        }

        @media (min-width: 64rem) {
            .product-info {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .pi-grid {
            max-width: 1180px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 3.5rem;
            align-items: start;
        }

        .pi-badge {
            display: flex;
            align-items: center;
            gap: 0.9rem;
            margin-bottom: 1.1rem;
        }

        .pi-badge .product-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            margin-bottom: 0;
            flex-shrink: 0;
        }

        .pi-badge .product-icon svg {
            width: 20px;
            height: 20px;
        }

        .pi-label {
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-light);
        }

        .pi-text h2 {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.25rem;
            font-family: 'Archivo', sans-serif;
        }

        .pi-text > p {
            color: var(--text);
            font-size: 1.05rem;
            margin-bottom: 1rem;
        }

        .pi-text > p:last-of-type {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-bottom: 2rem;
        }

        .pi-adv {
            list-style: none;
            display: grid;
            gap: 1rem;
        }

        .pi-adv li {
            padding: 0.9rem 1.1rem;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 16px;
            font-size: 0.9rem;
            color: var(--text-light);
            line-height: 1.55;
        }

        .product-info--tinted .pi-adv li {
            background: #fff;
            border-color: transparent;
            box-shadow: 0 4px 12px rgba(0, 47, 76, 0.08);
        }

        .pi-adv li::before {
            content: '✓';
            display: inline-block;
            min-width: 1.5em;
            font-weight: 800;
            color: var(--highlight);
        }

        .pi-adv strong {
            color: var(--primary);
        }

        .pi-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 2.5rem 2rem;
            box-shadow: 0 20px 50px rgba(0, 47, 76, 0.1);
        }

        .pi-card-title {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
            margin-bottom: 1.75rem;
        }

        .pi-steps {
            list-style: none;
            display: grid;
            gap: 1.5rem;
            counter-reset: pi-step;
        }

        .pi-steps li {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .pi-num {
            counter-increment: pi-step;
            width: 40px;
            height: 40px;
            flex-shrink: 0;
            border-radius: 12px;
            background: var(--highlight-bg);
            color: var(--highlight);
            font-weight: 800;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pi-num::before {
            content: counter(pi-step);
        }

        .pi-steps strong {
            display: block;
            color: var(--primary);
            font-size: 0.95rem;
            margin-bottom: 0.15rem;
        }

        .pi-steps p {
            color: var(--text-light);
            font-size: 0.85rem;
            line-height: 1.55;
        }

        .pi-use {
            max-width: 1180px;
            margin: 3.5rem auto 0;
        }

        .pi-use > h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
            text-align: center;
            margin-bottom: 2rem;
        }

        .pi-use-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .pi-use-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 1.75rem 1.5rem;
            box-shadow: 0 4px 12px rgba(0, 47, 76, 0.08);
        }

        .pi-use-card h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.4rem;
        }

        .pi-use-card p {
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.55;
        }

        .pi-cta {
            max-width: 1180px;
            margin: 3.5rem auto 0;
            text-align: center;
        }

        .pi-cta .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .pi-cta-note {
            margin-top: 0.9rem;
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .pi-cta-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            margin-top: 1.1rem;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--primary);
            text-decoration: none;
        }

        .pi-cta-link svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            transition: transform 0.2s;
        }

        .pi-cta-link:hover { text-decoration: underline; }
        .pi-cta-link:hover svg { transform: translateX(3px); }

        .pi-col { display: grid; gap: 2rem; align-content: start; }
        .pi-logos-title { font-size: 1.05rem; font-family: 'Archivo'; color: var(--primary); margin-bottom: 1.25rem; }
        .pi-logos-grid { display: grid; grid-template-columns: repeat(4, 114.45px); gap: 1rem; }
        .pi-logo-card { width: 114.45px; height: 114.45px; background: #fff; border: 1px solid var(--border); border-radius: 16px;
                        box-shadow: 0 20px 50px rgba(0, 47, 76, 0.1);
                        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: .75rem; }
        .pi-logo-card svg { width: 52px; height: 52px; fill: var(--primary); }
.pi-logo-card .pi-icon { fill: var(--highlight); stroke: none; }
.pi-logo-card img { width: 52px; height: 52px; aspect-ratio: 1; object-fit: contain; opacity: .85; }
        .pi-logo-card span { font-size: .72rem; font-weight: 700; color: var(--text); }
        .pi-logos-note { margin-top: 1rem; font-size: .78rem; color: var(--text-light); }

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

            .pi-use-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .pi-logos-title { text-align: center; }
            .pi-logos-grid { grid-template-columns: repeat(2, 114.45px); justify-content: center; }
        }

        /* Benefits Section */
        .benefits {
            padding: 6rem 2rem;
            background: var(--bg);
        }

        @media (min-width: 64rem) {
            .benefits {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .benefit-card {
            padding: 2rem;
            border-radius: 25px;
            background: var(--bg);
            border: 1px solid transparent;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow:
                0 12px 40px 12px rgba(0, 0, 0, 0.12),
                0 0 20px 3px rgba(23, 162, 160, 0.15);
            border-color: var(--highlight);
        }

        .benefit-icon {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
        }

        .benefit-icon svg {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: #ffffff;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .benefit-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
        }

        .benefit-card:hover h3 {
            color: var(--highlight);
        }

        .benefit-card p {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        /* Offer preview */
        .preview-section {
            padding: 6rem 2rem;
            background: var(--highlight-bg);
        }

        @media (min-width: 64rem) {
            .preview-section {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .offer-doc {
            max-width: 860px;
            margin: 0 auto;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 24px;
            box-shadow: 0 20px 50px rgba(0, 47, 76, 0.12);
            overflow: hidden;
        }

        .offer-doc-head {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1.25rem 1.5rem;
            background: var(--primary);
            color: #fff;
        }

        .offer-doc-logo {
            width: 40px;
            height: 40px;
            background: #fff;
            border-radius: 10px;
            padding: 4px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .offer-doc-title {
            flex: 1;
            min-width: 0;
        }

        .offer-doc-title strong {
            display: block;
            font-size: 0.95rem;
            font-weight: 700;
        }

        .offer-doc-title span {
            display: block;
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.75);
        }

        .offer-count {
            background: var(--highlight);
            color: #fff;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 0.3rem 0.7rem;
            border-radius: 999px;
            white-space: nowrap;
        }

        .offer-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
            padding: 1.75rem 1.5rem;
        }

        @media (max-width: 63.9rem) {
            .offer-doc-head {
                flex-wrap: wrap;
            }
            .offer-doc-title {
                order: 2;
                flex: 1 1 100%;
                padding-top: 0.4rem;
            }
            .offer-count {
                order: 1;
                margin-left: auto;
            }
        }

        .offer-card {
            border: 1.5px solid var(--border);
            border-radius: 18px;
            padding: 1.1rem 1rem 1.25rem;
            text-align: center;
            background: #fff;
        }

        .offer-card--best {
            border: 2px solid var(--accent);
            box-shadow: 0 12px 30px rgba(0, 47, 76, 0.12);
            transform: translateY(-4px);
        }

        .offer-card-head {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding-bottom: 0.9rem;
            border-bottom: 1px solid var(--border);
        }

        .offer-card-head img {
            width: 120px;
            height: 60px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .offer-card-head span {
            display: none;
        }

        .offer-stat {
            padding: 0.55rem 0;
            border-top: 1px solid rgba(0, 57, 122, 0.08);
        }

        .offer-card-head + .offer-stat {
            border-top: none;
        }

        .offer-stat strong {
            display: block;
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
            line-height: 1.2;
        }

        .offer-stat span {
            display: block;
            font-size: 0.68rem;
            color: var(--text-light);
            margin-top: 0.1rem;
        }

        .offer-doc-foot {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.1rem;
            padding: 1.5rem;
            background: var(--bg-light);
        }

        .offer-note {
            font-size: 0.78rem;
            color: var(--text-light);
            text-align: center;
        }

        .offer-cta {
            flex: none;
        }

        /* Testimonials */
        .testimonials {
            padding: 6rem 2rem;
            background: var(--highlight-bg);
        }

        @media (min-width: 64rem) {
            .testimonials {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

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

        .testimonial-card {
            display: flex;
            flex-direction: column;
            position: relative;
            top: 0;
            padding: 2rem;
            border-radius: 25px;
            background: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .testimonial-card:hover {
            top: -5px;
            box-shadow:
                0 12px 40px 12px rgba(0, 0, 0, 0.12),
                0 0 20px 3px rgba(23, 162, 160, 0.15);
        }

        .t-stars {
            display: flex;
            gap: 0.2rem;
        }

        .t-stars svg {
            width: 18px;
            height: 18px;
            fill: var(--highlight);
        }

        .testimonial-card blockquote {
            margin: 1rem 0 1.5rem;
            font-size: 0.95rem;
            color: var(--text);
            line-height: 1.6;
            flex: 1;
        }

        .t-footer {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .t-avatar {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
            flex-shrink: 0;
        }

        .t-meta strong {
            display: block;
            font-size: 0.9rem;
            color: var(--primary);
        }

        .t-meta span {
            font-size: 0.9rem;
            color: var(--highlight);
        }



        /* CTA band */
        .cta-band {
            padding: 4.5rem 2rem;
            background: var(--primary);
            text-align: center;
            color: #fff;
        }

        .cta-band h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
            font-family: 'Archivo', sans-serif;
        }

        .cta-band p {
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 1.75rem;
        }

        .cta-band-btn { margin-top: 3rem; display: flex; justify-content: center; }
        .cta-band .btn-cta {
            flex: none;
            background: var(--highlight);
            color: #fff;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
            max-width: 320px;
            width: 100%;
        }
        .cta-band .btn-cta:hover {
            filter: none;
            transform: translateY(-2px);
            box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
        }

        /* Kontakt band (below FAQ) */
        .contact-band {
            padding: 4.5rem 2rem;
            background: var(--highlight-bg);
            text-align: center;
            color: var(--primary);
        }

        .contact-band h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
            font-family: 'Archivo', sans-serif;
        }

        .contact-band p {
            color: var(--text-light);
            margin-bottom: 1.75rem;
        }

        .contact-band .btn-cta {
            flex: none;
            background: var(--highlight);
            color: #fff;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
            max-width: 320px;
            width: 100%;
        }
        .contact-band .btn-cta:hover {
            filter: none;
            transform: translateY(-2px);
            box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
        }

        .trust-chips {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem 2.5rem;
        }

        .trust-chip {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.9rem;
            width: 150px;
        }

        .trust-icon {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.12);
            border: none;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .trust-chip:hover .trust-icon {
            transform: translateY(-4px);
            background: rgba(255, 255, 255, 0.16);
        }

        .trust-icon svg {
            width: 40px;
            height: 40px;
            fill: none;
            stroke: #6ee7e3;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .trust-label {
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.4;
            color:rgba(255, 255, 255, 0.85);
            text-align: center;
        }

        /* FAQ */
        .faq-section {
            padding: 6rem 2rem;
            background: var(--bg-light);
        }

        @media (min-width: 64rem) {
            .faq-section {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .faq-item {
            max-width: 800px;
            margin: 0 auto 1rem;
            border-radius: 25px;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: border-color 0.3s ease;
        }

        .faq-item.active {
            border-color: var(--highlight);
        }

        .faq-question {
            padding: 1.5rem;
            background: white;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-family: 'Archivo', sans-serif;
            font-size: 1.25rem;
            line-height: 1.75rem;
        }

        .faq-question span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--bg-light);
            color: var(--text-light);
            font-size: 18px;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .faq-question svg {
            display: none;
        }

        .faq-question .icon-plus {
            display: block;
        }

        .faq-item.active .faq-question span {
            background: var(--highlight);
            color: #ffffff;
        }

        .faq-item.active .icon-plus {
            display: none;
        }

        .faq-item.active .icon-minus {
            display: block;
        }

        .faq-answer {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            background: white;
            color: var(--text-light);
        }

        .faq-item.active .faq-answer {
            padding: 1.5rem;
            max-height: 600px;
        }

        .faq-item.active .faq-answer::before {
            content: '';
            display: block;
            height: 1px;
            background: var(--border);
            margin-bottom: 1.5rem;
        }

        /* Footer */
        footer {
            background: var(--primary);
            color: white;
            padding: 4rem 2rem 2rem;
        }

        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.1fr 1fr;
            gap: 4rem;
        }

        .footer-brand-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .footer-logo-badge {
            width: 54px;
            height: 54px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .footer-logo-badge img {
            width: 50px;
            height: 50px;
            object-fit: contain;
        }

        .footer-wordmark {
            font-family: 'Sora', sans-serif;
            font-size: 1.5rem;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -0.025em;
        }

        .footer-tagline {
            color: rgba(255, 255, 255, 0.85);
            max-width: 26rem;
            margin-bottom: 2rem;
            font-size: 0.875rem;
            line-height: 1.5;
        }

        .footer-partners {
            align-self: center;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            align-items: center;
            justify-items: center;
            gap: 1.75rem 1.25rem;
        }

        .footer-partners img {
            width: 100%;
            height: 52px;
            object-fit: contain;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }

        .footer-partners img:hover {
            opacity: 1;
        }

        .footer-socials {
            display: flex;
            gap: 0.75rem;
        }

        .footer-socials a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: background 0.3s, border-color 0.3s;
        }

        .footer-socials a:hover {
            background: var(--highlight);
            border-color: var(--highlight);
        }

        .footer-socials svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .footer-contact {
            justify-self: end;
        }

        .footer-contact h3 {
            font-family: 'Sora', sans-serif;
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .contact-item {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .contact-item > svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            margin-top: 0.1rem;
            fill: none;
            stroke: var(--highlight);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .contact-item h4 {
            font-size: 0.875rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .contact-item address {
            font-style: normal;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 1rem;
            font-size: 0.875rem;
        }

        .contact-row {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            margin-bottom: 0.6rem;
            transition: color 0.3s;
            font-size: 0.875rem;
        }

        .contact-row:hover {
            color: white;
        }

        .contact-row svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            fill: none;
            stroke: var(--highlight);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .contact-divider {
            border: none;
            height: 1px;
            background: rgba(255, 255, 255, 0.15);
            margin: 1.5rem 0;
        }

        .footer-bottom {
            max-width: 1280px;
            margin: 3rem auto 0;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-links {
            display: flex;
            gap: 2rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

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

        /* ===== Modal ===== */
        .modal {
            position: fixed;
            inset: 0;
            background: rgba(1, 20, 33, 0.55);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            display: none;
            align-items: flex-start;
            justify-content: center;
            z-index: 2000;
            padding: 1.5rem;
            overflow-y: auto;
        }

        .modal.open {
            display: flex;
        }

        .modal-card {
            background: #fff;
            border-radius: 24px;
            width: 100%;
            max-width: 960px;
            overflow: hidden;
            position: relative;
            margin: auto;
            padding: 2.75rem 2.75rem 2rem;
            box-shadow: 0 30px 80px rgba(0, 20, 40, 0.45);
            display: flex;
            flex-direction: column;
            animation: modal-in .28s ease-out;
        }

        @keyframes modal-in {
            from { opacity: 0; transform: translateY(14px) scale(.985); }
            to { opacity: 1; transform: none; }
        }

        @media (prefers-reduced-motion: reduce) {
            .modal-card { animation: none; }
        }

        .modal-step {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .modal-step[hidden] {
            display: none;
        }

        .lead-form {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .modal-close {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: #fff;
            color: var(--text-light);
            font-size: 1.25rem;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: var(--bg-light);
            color: var(--primary);
        }

        .step-head h2 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
            font-family: 'Sora', sans-serif;
            padding-right: 2.5rem;
        }

        .step-head p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 1.75rem;
        }

        /* Step 1 - option cards */
        .opt-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .opt-card {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            border: 1.5px solid var(--border);
            border-radius: 16px;
            padding: 1.25rem;
            cursor: pointer;
            background: #fff;
            transition: all 0.2s ease;
            text-align: left;
            font-family: inherit;
        }

        .opt-card:hover {
            border-color: var(--highlight);
        }

        .opt-card.selected {
            border-color: var(--highlight);
            background: var(--highlight-bg);
        }

        .opt-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: #eef2f7;
            color: var(--text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s ease;
        }

        .opt-icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .opt-card.selected .opt-icon {
            background: var(--highlight);
            color: #fff;
        }

        .opt-body h3 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
            font-family: 'Sora', sans-serif;
        }

        .opt-card.selected .opt-body h3 {
            color: var(--highlight);
        }

        .opt-body p {
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.5;
        }

        .step-hint {
            color: #e11d48;
            font-size: 0.875rem;
            margin-top: 0.75rem;
            text-align: center;
        }

        /* Step 2 - package cards */
        .pkg-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.25rem;
            flex: 1;
            align-content: center;
        }

        .pkg-card {
            border: 1.5px solid var(--border);
            border-radius: 18px;
            padding: 1.5rem 1.25rem;
            position: relative;
            cursor: pointer;
            background: #fff;
            transition: all 0.2s ease;
            text-align: left;
            font-family: inherit;
            display: flex;
            flex-direction: column;
        }

        .pkg-card:hover {
            border-color: var(--highlight);
        }

        .pkg-card.selected {
            border-color: var(--highlight);
            background: var(--highlight-bg);
        }

        .pkg-tick {
            position: absolute;
            top: 1.1rem;
            right: 1.1rem;
            color: var(--text-light);
            display: inline-flex;
        }

        .pkg-tick svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .pkg-check {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--highlight);
            color: #fff;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .pkg-card.selected .pkg-check {
            display: flex;
        }

        .pkg-card.selected .pkg-tick {
            display: none;
        }

        .pkg-check svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: currentColor;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .pkg-name {
            font-weight: 700;
            color: var(--primary);
            font-size: 0.95rem;
            margin-bottom: 1.25rem;
            padding-right: 1.75rem;
        }

        .pkg-sum {
            font-size: 1.9rem;
            font-weight: 800;
            color: var(--primary);
            font-family: 'Archivo', sans-serif;
            line-height: 1.1;
        }

        .pkg-sub {
            font-size: 0.8rem;
            font-weight: 400;
            color: var(--text-light);
            margin: 0.35rem 0 1.1rem;
        }

        .pkg-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.75rem;
            background: #f5f8fb;
            border-radius: 12px;
            padding: 0.9rem 1rem;
            margin-bottom: 1.1rem;
        }

        .pkg-meta div {
            display: flex;
            flex-direction: column;
        }

        .pkg-meta div:last-child {
            text-align: right;
        }

        .pkg-meta strong {
            font-size: 1.05rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .pkg-meta span {
            font-size: 0.65rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .c-teal { color: var(--highlight); }
        .c-accent { color: var(--accent); }
        .c-amber { color: #d97706; }
        .c-dark { color: var(--primary); }
        .c-muted { color: var(--text-light); }

        .pkg-feat {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.82rem;
            font-weight: 400;
            color: var(--primary);
            padding: 0.4rem 0;
        }

        .pkg-feat svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: var(--highlight);
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }

        /* Investiciono step 2 - projection disclaimer + optional serious-illness add-on */
        .proj-note {
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
            margin-top: 1.1rem;
            padding: 0.85rem 1rem;
            border-radius: 12px;
            background: #f5f8fb;
            color: var(--text-light);
            font-size: 0.78rem;
            line-height: 1.5;
        }

        .proj-note svg {
            width: 16px;
            height: 16px;
            margin-top: 0.1rem;
            flex-shrink: 0;
            fill: none;
            stroke: var(--highlight);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .proj-note strong {
            color: var(--primary);
        }

        .addon-card {
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: 0.9rem;
            margin-top: 1rem;
            padding: 1.1rem 1.15rem;
            border: 1.5px solid var(--border);
            border-radius: 16px;
            background: #fff;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .addon-card:hover {
            border-color: var(--highlight);
        }

        .addon-card.selected {
            border-color: var(--highlight);
            background: var(--highlight-bg);
        }

        .addon-card:has(.addon-input:focus-visible) {
            outline: 2px solid rgba(0, 165, 177, 0.45);
            outline-offset: 2px;
        }

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

        .addon-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: #eef2f7;
            color: var(--text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s ease;
        }

        .addon-icon svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .addon-card.selected .addon-icon {
            background: var(--highlight);
            color: #fff;
        }

        .addon-body {
            flex: 1;
            min-width: 0;
        }

        .addon-title {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'Sora', sans-serif;
        }

        .addon-card.selected .addon-title {
            color: var(--highlight);
        }

        .addon-badge {
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            color: var(--text-light);
            background: #eef2f7;
            border-radius: 999px;
            padding: 0.18rem 0.5rem;
        }

        .addon-card.selected .addon-badge {
            color: var(--highlight);
            background: rgba(255, 255, 255, 0.75);
        }

        .addon-desc {
            display: block;
            margin-top: 0.25rem;
            font-size: 0.82rem;
            line-height: 1.5;
            color: var(--text-light);
        }

        .addon-price {
            display: inline-block;
            margin-top: 0.55rem;
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--highlight);
        }

        .addon-price span {
            font-weight: 400;
            color: var(--text-light);
        }

        .addon-check {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 1.5px solid var(--border);
            background: #fff;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 0.1rem;
            transition: all 0.2s ease;
        }

        .addon-check svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: currentColor;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
            opacity: 0;
        }

        .addon-card.selected .addon-check {
            background: var(--highlight);
            border-color: var(--highlight);
        }

        .addon-card.selected .addon-check svg {
            opacity: 1;
        }

        @media (max-width: 640px) {
            .addon-card {
                gap: 0.7rem;
                padding: 1rem;
            }

            .addon-icon {
                width: 38px;
                height: 38px;
            }

            .addon-check {
                position: absolute;
                top: 0.9rem;
                right: 0.9rem;
            }

            .addon-body {
                padding-right: 2rem;
            }
        }

        /* Zdravstveno step 1 + kasko step 2 - grouped feature lists (no price blocks) */
        #step1Health .pkg-name,
        #step2Kasko .pkg-name {
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
        }

        #step1Health .pkg-sub,
        #step2Kasko .pkg-sub {
            margin-top: 0;
        }

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

        .pkg-group {
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 0.7rem 0 0.1rem;
        }

        .pkg-inherit {
            font-size: 0.82rem;
            font-style: italic;
            color: var(--text-light);
            margin: 0.1rem 0 0.2rem;
        }

        /* Step 3 - contact form */
        .lead-form .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.25rem 1.5rem;
        }

        .lead-form .form-group {
            min-width: 0;
        }

        .lead-form .form-group--full {
            grid-column: 1 / -1;
        }

        .lead-form label {
            display: block;
            font-weight: 700;
            font-size: 0.9rem;
            margin-bottom: 0.4rem;
            color: var(--primary);
        }

        .lead-form input,
        .lead-form select,
        .lead-form textarea {
            width: 100%;
            padding: 0.85rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            font-size: 0.95rem;
            font-family: inherit;
            color: var(--primary);
            background: var(--bg-light);
            transition: border-color 0.3s, background 0.3s;
        }

        .lead-form select {
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
            padding-right: 2.5rem;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002f4c' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1.1rem;
        }

        .lead-form input::placeholder,
        .lead-form textarea::placeholder {
            color: #9aa8ba;
        }

        .lead-form input:focus,
        .lead-form select:focus,
        .lead-form textarea:focus {
            outline: none;
            border-color: var(--highlight);
            background: #fff;
        }

        .lead-form textarea {
            resize: vertical;
            min-height: 96px;
        }

        /* Inputs on wizard steps 1-2 (kasko vehicle data, health insured count) */
        .step-fields {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.9rem;
            margin: 0.75rem 0 0.5rem;
        }

        .step-field label {
            display: block;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-light);
            margin-bottom: 0.35rem;
        }

        .step-field input,
        .step-field select {
            width: 100%;
            padding: 0.85rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            font-size: 0.95rem;
            font-family: inherit;
            color: var(--primary);
            background: var(--bg-light);
            transition: border-color 0.3s, background 0.3s;
        }

        .step-field select {
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
            padding-right: 2.5rem;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002f4c' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1.1rem;
        }

        .step-field input:focus,
        .step-field select:focus {
            outline: none;
            border-color: var(--highlight);
            background: #fff;
        }

        .step-field input.invalid,
        .step-field select.invalid {
            border-color: #e11d48;
            background: #fff1f2;
        }

        .step-field--narrow {
            max-width: 160px;
        }

        .step-field--full {
            grid-column: 1 / -1;
        }

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

        /* Health step 2: insured persons ("Samo ja" + added family members) */
        .person-stack {
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
            margin: 0.75rem 0 0.5rem;
        }

        #personRows {
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
        }

        .person-chip {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            align-self: flex-start;
            padding: 0.9rem 1.1rem;
            border-radius: 12px;
            border: 1.5px solid var(--highlight);
            background: var(--highlight-bg);
            color: var(--highlight);
            font-weight: 700;
            font-size: 0.95rem;
        }

        .person-chip svg,
        .person-add svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }

        .person-row {
            display: grid;
            grid-template-columns: auto 1fr auto auto;
            align-items: center;
            gap: 0.5rem;
        }

        .person-row .person-num {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary);
            color: #fff;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .person-row input {
            width: 100%;
            min-width: 0;
            padding: 0.75rem 0.9rem;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            font-size: 0.95rem;
            font-family: inherit;
            color: var(--primary);
            background: var(--bg-light);
            transition: border-color 0.3s, background 0.3s;
        }

        .person-row input:focus {
            outline: none;
            border-color: var(--highlight);
            background: #fff;
        }

        .person-row input.invalid {
            border-color: #e11d48;
            background: #fff1f2;
        }

        .person-row .person-age {
            width: 200px;
            max-width: 200px;
        }

        /* Phones: stack the year input under the name so it stays readable */
        @media (max-width: 640px) {
            .person-row {
                grid-template-columns: auto 1fr auto;
            }

            .person-row .person-num  { grid-column: 1; grid-row: 1; }
            .person-row .person-name { grid-column: 2; grid-row: 1; }
            .person-row .person-x    { grid-column: 3; grid-row: 1; }
            .person-row .person-age  { grid-column: 2 / 3; grid-row: 2; width: 100%; max-width: none; }
        }

        .person-x {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: 1.5px solid var(--border);
            background: var(--bg-light);
            color: var(--text-light);
            font-size: 1.1rem;
            line-height: 1;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .person-x:hover {
            border-color: #e11d48;
            color: #e11d48;
            background: #fff1f2;
        }

        .person-add {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.9rem 1rem;
            border-radius: 12px;
            border: 1.5px dashed var(--border);
            background: transparent;
            color: var(--text-light);
            font-weight: 700;
            font-size: 0.95rem;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .person-add:hover {
            border-color: var(--highlight);
            color: var(--highlight);
        }

        .person-add[hidden] {
            display: none;
        }

        .contact-toggle {
            display: flex;
            gap: 1rem;
        }

        .toggle-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.9rem 1rem;
            border-radius: 12px;
            border: 1.5px solid var(--border);
            background: var(--bg-light);
            color: var(--text-light);
            font-weight: 700;
            font-size: 0.95rem;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .toggle-btn svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .toggle-btn.selected {
            border-color: var(--highlight);
            background: var(--highlight-bg);
            color: var(--highlight);
        }

        /* Consent checkbox */
        .form-group--checkbox {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .form-group--checkbox input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            width: 1.25rem;
            height: 1.25rem;
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            border: 2px solid var(--border);
            border-radius: 4px;
            cursor: pointer;
            flex-shrink: 0;
            background: #fff;
            position: relative;
        }

        .form-group--checkbox input[type="checkbox"]:checked {
            background: var(--highlight);
            border-color: var(--highlight);
        }

        .form-group--checkbox input[type="checkbox"]:checked::after {
            content: "";
            position: absolute;
            left: 4px;
            top: 0px;
            width: 6px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .form-group--checkbox input[type="checkbox"]:focus {
            border-color: var(--highlight);
        }

        .form-group--checkbox label {
            flex: 1;
            font-weight: 400;
            font-size: 0.85rem;
            color: var(--text-light);
            line-height: 1.5;
            margin-bottom: 0;
            cursor: pointer;
        }

        .form-group--checkbox a {
            color: var(--highlight);
            font-weight: 700;
            text-decoration: none;
        }

        .form-error {
            color: #e11d48;
            font-size: 0.85rem;
            margin-top: 0.75rem;
            text-align: center;
        }

        .lead-form input.invalid,
        .lead-form select.invalid,
        .lead-form textarea.invalid {
            border-color: #e11d48;
            background: #fff1f2;
        }

        .form-group--checkbox input.invalid {
            outline: 2px solid #e11d48;
            outline-offset: 2px;
        }

        /* Modal footer */
        .modal-footer {
            margin-top: auto;
            padding-top: 2rem;
        }

        .modal-nav {
            display: flex;
            gap: 1rem;
            align-items: stretch;
        }

        .btn-back {
            width: 58px;
            flex-shrink: 0;
            border-radius: 16px;
            border: 1.5px solid var(--border);
            background: #fff;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .btn-back:hover {
            background: var(--bg-light);
            border-color: var(--highlight);
        }

        .btn-back svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .btn-cta {
            flex: 1;
            background: linear-gradient(90deg, #0d8e8c, #00a5b1);
            color: #fff;
            border: none;
            border-radius: 16px;
            padding: 1.15rem 1.5rem;
            font-size: 1rem;
            font-weight: 800;
            font-family: inherit;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            transition: all 0.3s ease;
            box-shadow: 0 6px 18px rgba(23, 162, 160, 0.35);
        }

        .btn-cta:hover {
            filter: brightness(1.08);
            box-shadow: 0 8px 24px rgba(23, 162, 160, 0.45);
        }

        .btn-cta:disabled {
            opacity: 0.7;
            cursor: wait;
        }

        .btn-cta svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }

        .modal-micro {
            text-align: center;
            font-size: 0.82rem;
            color: var(--text-light);
            margin-top: 1rem;
        }

        .dots {
            display: flex;
            gap: 0.4rem;
            justify-content: center;
            margin-top: 1.1rem;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 6px;
            background: #d4dde7;
            transition: all 0.3s ease;
        }

        .dot.active {
            width: 28px;
            background: var(--highlight);
        }

        /* Success state */
        .modal-success {
            text-align: center;
            padding: 2rem 0 1rem;
            justify-content: center;
        }

        .success-icon {
            width: 84px;
            height: 84px;
            border-radius: 50%;
            background: linear-gradient(135deg, #14b8a6, #0d9488);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 12px 30px rgba(23, 162, 160, 0.4);
        }

        .success-icon svg {
            width: 40px;
            height: 40px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .modal-success h2 {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.75rem;
            font-family: 'Archivo', sans-serif;
        }

        .modal-success p {
            color: var(--text-light);
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-container {
                grid-template-columns: 1fr;
            }

            .hero-content {
                display: contents;
            }

            .hero-content h1 {
                order: 1;
                margin-bottom: 0;
            }

            .hero-content .hero-sub {
                order: 2;
                margin-bottom: 0;
            }

            /* Product pages put actions/chips inside .hero-content, so without an
               explicit order they default to 0 and jump above the headline. */
            .hero-content .hero-actions {
                order: 3;
            }

            .hero-content .hero-chips {
                order: 4;
            }

            .hero-content .products-grid {
                order: 3;
            }

            .hero-media {
                order: 5;
                min-height: 380px;
            }

            .hero-note {
                order: 6;
            }
        }

        @media (max-width: 768px) {
            /* Mobile Navigation */
            .nav-toggle {
                display: block;
                width: 32px;
                height: 32px;
                background: transparent;
                border: none;
                cursor: pointer;
                position: relative;
                z-index: 1001;
            }

            .hamburger {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 24px;
                height: 2px;
                background-color: var(--primary);
                transition: all 0.3s ease;
            }

            .hamburger::before,
            .hamburger::after {
                content: '';
                position: absolute;
                left: 0;
                width: 100%;
                height: 2px;
                background-color: var(--primary);
                transition: all 0.3s ease;
            }

            .hamburger::before {
                top: -8px;
            }

            .hamburger::after {
                top: 8px;
            }

            /* Hamburger animation */
            .nav-toggle.active .hamburger {
                background-color: transparent;
            }

            .nav-toggle.active .hamburger::before {
                top: 0;
                transform: rotate(45deg);
            }

            .nav-toggle.active .hamburger::after {
                top: 0;
                transform: rotate(-45deg);
            }

            .nav-links {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(10px);
                border-bottom: 1px solid var(--border);
                z-index: 999;
                padding: 0;
                box-shadow: 0 4px 20px rgba(0, 47, 76, 0.08);
                transform: translateY(-100%);
                opacity: 0;
                transition: all 0.3s ease;
                visibility: hidden;
                pointer-events: none;
                display: flex;
                flex-direction: column;
                list-style: none;
                margin: 0;
                gap: 0;
            }

            .nav-links.open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

            .nav-links li {
                margin: 0;
                padding: 0 2rem;
            }

            .nav-links a {
                display: flex;
                align-items: center;
                justify-content: center;
                height: 3.25rem;
                padding: 0 1.5rem;
                text-align: center;
                color: var(--primary);
                text-decoration: none;
                transition: all 0.2s ease;
                border-bottom: 1px solid rgba(0, 47, 76, 0.08);
            }

            .nav-links a:hover {
                background-color: rgba(0, 47, 76, 0.03);
            }

            .nav-links li.nav-cta-item {
                padding: 1.25rem 2rem 1.5rem;
            }

            .nav-cta {
                width: 100%;
                padding: 1rem;
            }

            .hero {
                padding: 6.5rem 0.75rem 2rem;
            }

            .hero-content h1 {
                font-size: 2rem;
                line-height: 1.15;
            }

            .hero-content .hero-sub {
                font-size: 1rem;
            }

            .products-grid {
                grid-template-columns: 1fr;
            }

            .hero-media {
                min-height: 320px;
                padding: 1rem;
            }

            .hero-note {
                grid-template-columns: 1fr;
                padding: 1rem 1rem;
            }

            .note-item {
                padding: 1rem 1rem;
            }

            .note-item::after {
                left: 1rem;
            }

            .stats-bar {
                justify-content: space-between;
                gap: 0.75rem;
                padding: 1.25rem 0.75rem;
            }

            .stat-item {
                text-align: center;
                flex: 1;
                min-width: 0;
            }

            .stat-number {
                font-size: 1.35rem;
            }

            .stat-label {
                font-size: 0.75rem;
            }

            /* Sections */
            .benefits,
            .how-it-works,
            .faq-section,
            .preview-section,
            .testimonials {
                padding: 2.5rem 1rem;
            }

            .product-info {
                padding: 2.5rem 1rem;
            }

            .pi-text h2 {
                font-size: 1.75rem;
            }

            .section-container {
                padding: 0;
            }

            .section-header {
                margin-bottom: 1.5rem;
            }

            .section-header h2,
            .section-title {
                font-size: 1.75rem;
            }

            .pi-card {
                padding: 1.5rem 1.25rem;
            }

            .pi-use,
            .pi-cta {
                margin-top: 2.5rem;
            }

            .benefits-grid,
            .steps-container,
            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .offer-cards {
                grid-template-columns: 1fr;
                gap: 1rem;
                padding: 1rem;
            }

            .offer-doc-head {
                flex-wrap: wrap;
            }

            .step-card {
                padding: 1.5rem 1.25rem;
            }

            .cta-band {
                padding: 3rem 1rem;
            }

            .contact-band {
                padding: 3rem 1rem;
            }

            .trust-chips {
                gap: 1.25rem 1.5rem;
            }

            .trust-icon {
                width: 88px;
                height: 88px;
            }

            /* Footer */
            footer {
                padding: 2.5rem 1rem 1.5rem;
            }

            .footer-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .footer-contact {
                justify-self: start;
            }

            .footer-partners {
                display: flex;
                flex-wrap: wrap;
                justify-content: flex-start;
                gap: 1rem 1.5rem;
            }

            .footer-partners img {
                width: auto;
                height: 40px;
            }

            .footer-bottom {
                margin-top: 2rem;
            }

            .footer-links {
                flex-direction: row;
                gap: 1.5rem;
                align-items: center;
                flex-wrap: wrap;
            }

            /* Partners */
            .logos-track {
                animation-duration: 28s;
            }

            .logos-track img {
                height: 60px;
                margin-right: 2rem;
            }

            .partners {
                padding: 1rem 0;
            }

            /* Modal as full screen on mobile */
            .modal {
                align-items: flex-end;
                padding: 0;
            }

            .modal-card {
                min-height: 100%;
                max-height: none;
                border-radius: 0;
                padding: 2rem 1.25rem 1.5rem;
            }

            .opt-grid,
            .pkg-grid,
            .lead-form .form-grid {
                grid-template-columns: 1fr;
            }

            #step2Kasko .pkg-grid {
                grid-template-columns: 1fr;
            }

            .contact-toggle {
                flex-direction: column;
                gap: 0.75rem;
            }

            .step-head h2 {
                font-size: 1.05rem;
            }

            /* Prevent iOS Safari auto-zoom on input focus (requires >= 16px) */
            .lead-form input,
            .lead-form textarea,
            .step-field input {
                font-size: 1rem;
            }
        }

        /* ============================================================
           Baseline basics (template layer)
           Index expresses these only through component-scoped rules;
           these generic classes codify the same values for new pages.
           Values are taken from index — do not restyle per page.
           ============================================================ */

        /* Section rhythm — same as .how-it-works / .product-info on index */
        .section {
            padding: 6rem 2rem;
            background: var(--bg);
        }

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

        @media (min-width: 64rem) {
            .section {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 2.5rem 1rem;
            }
        }

        /* Section body — index's content grids (.cm-grid, .pi-grid) are 1180px */
        .section-body {
            max-width: 1180px;
            margin: 0 auto;
        }

        /* Prose — index's two styles: dark lead, light main text */
        .prose p {
            font-size: 1.05rem;
            line-height: 1.6;
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .prose > p:first-of-type {
            color: var(--text);
        }

        .prose > p:last-of-type {
            font-size: 0.95rem;
        }

        .prose p.muted {
            color: var(--text-light);
        }

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

        .prose a:hover,
        .prose a:focus-visible {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .prose ul {
            margin: 0 0 1.5rem;
            padding-left: 1.2rem;
            display: grid;
            gap: 0.55rem;
        }

        .prose li {
            font-size: 1rem;
            line-height: 1.6;
            color: var(--text-light);
        }

        .prose strong {
            color: var(--text);
        }

        .prose li::marker {
            color: var(--highlight);
        }

        /* ============================================================
           Page-specific styles: investiciono-osiguranje.html
           Shared navbar / side-nav / CTA band / footer above are reused.
           These rules cover the hero, prose sections, calculator,
           comparison table, FAQ accordion and related posts.
           ============================================================ */

        /* Inline feather-style icons (they carry no fill/stroke attrs) */
        .breadcrumb svg,
        .btn-primary svg,
        .btn-navy svg,
        .hero-chips svg,
        .card-icon svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }

        /* Layout primitives are the template's shared ones (see baseline
           block above): .section-container, .section-body, .section, .prose. */

        section[id],
        header[id] {
            scroll-margin-top: 5.5rem;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.82rem;
            color: var(--text-light);
        }

        .breadcrumb a {
            display: inline-flex;
            align-items: center;
            gap: 0.15rem;
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .breadcrumb a:hover {
            color: var(--highlight);
        }

        .breadcrumb svg {
            width: 15px;
            height: 15px;
        }

        .eyebrow {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.13em;
            text-transform: uppercase;
            color: var(--highlight);
            background: rgba(0, 165, 177, 0.10);
            border: 1px solid rgba(0, 165, 177, 0.22);
            border-radius: 999px;
            padding: 0.35rem 0.8rem;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.85rem;
            margin-bottom: 1.9rem;
        }

        /* Index's .btn base carries padding, radius, font size and weight.
           Only the icon alignment needs a scoped flex rule here. */
        .hero-actions .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
        }

        /* Navy is the page's own primary treatment; the amber hero action uses
           index's .btn .btn-primary untouched. */
        .btn-navy {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 10px 24px -10px rgba(5, 57, 102, 0.55);
        }

        .btn-navy:hover {
            background: var(--primary-dark);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 14px 30px -12px rgba(5, 57, 102, 0.65);
            filter: none;
        }

        /* The shared .hero-media frame is built for index's full-bleed photo and
           stats bar (min-height, shadow, overflow clip, content pinned to the
           bottom). Here it holds only .hero-card, so strip the empty frame and
           centre the card. Placed after the shared rules and their media
           queries, so equal-specificity rules resolve in this page's favour. */
        .hero-media {
            min-height: 0;
            padding: 0;
            box-shadow: none;
            overflow: visible;
            justify-content: center;
            align-items: center;
        }

        /* These two are <a> elements here (buttons on the homepage), so the
           browser default underline must be reset explicitly. */
        .cta-band .btn-cta {
            text-decoration: none;
        }

        .hero-chips {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 0.55rem 1.35rem;
            margin: 0;
            padding: 0;
        }

        .hero-chips li {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 0.88rem;
            font-weight: 500;
            color: var(--text-light);
        }

        .hero-chips svg {
            width: 16px;
            height: 16px;
            stroke: var(--highlight);
            stroke-width: 2.6;
        }

        .hero-card {
            width: 100%;
            max-width: 460px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 22px;
            padding: 1.2rem 1.35rem 0.9rem;
            box-shadow: 0 30px 60px -32px rgba(5, 57, 102, 0.45);
        }

        .hero-card-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            margin-bottom: 0.4rem;
        }

        .hero-card-title {
            font-family: 'Archivo', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .hero-card-pill {
            font-size: 0.64rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--highlight);
            background: rgba(0, 165, 177, 0.10);
            border-radius: 999px;
            padding: 0.25rem 0.6rem;
        }

        .spark {
            display: block;
            width: 100%;
            height: auto;
        }

        .spark-line {
            stroke-dasharray: 420;
            stroke-dashoffset: 420;
            animation: spark-draw 1.5s ease-out 0.2s forwards;
        }

        .spark-dot {
            opacity: 0;
            animation: spark-pop 0.4s ease-out 1.4s forwards;
            transform-box: fill-box;
            transform-origin: center;
        }

        /* Cumulative premiums: a dashed navy line under the unit value */
        .spark-paid {
            opacity: 0;
            animation: spark-fade 0.6s ease-out 1.15s forwards;
        }

        /* One dot per purchase of units, sitting on the value curve */
        .spark-unit {
            opacity: 0;
            animation: spark-pop 0.4s ease-out forwards;
            transform-box: fill-box;
            transform-origin: center;
        }

        @keyframes spark-draw {
            to { stroke-dashoffset: 0; }
        }

        @keyframes spark-pop {
            from { opacity: 0; transform: scale(0.4); }
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes spark-fade {
            to { opacity: 0.7; }
        }

        .hero-card-foot {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 0.4rem 0.9rem;
            margin-top: 0.6rem;
            padding-top: 0.75rem;
            border-top: 1px solid var(--border);
            font-size: 0.73rem;
            color: var(--text-light);
        }

        .hero-card-foot span {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }

        .flow-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
            flex-shrink: 0;
        }

        .hero-card-foot span:nth-child(2) .flow-dot {
            background: var(--accent);
        }

        .hero-card-foot span:nth-child(3) .flow-dot {
            background: var(--highlight);
        }

        /* Prose sections: body text, lists and links come from the shared
           baseline block. Only the page's own heading rhythm and the closing
           callout live here. */
        .prose h3 {
            font-family: 'Archivo', sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            line-height: 1.3;
            color: var(--primary);
            margin: 2.4rem 0 0.9rem;
        }

        .prose p.closer {
            margin: 2rem 0 0;
            padding: 0.2rem 0 0.2rem 1.1rem;
            border-left: 3px solid var(--accent);
            font-size: 1.05rem;
            line-height: 1.6;
            color: var(--text-light);
        }

        /* Lead paragraph keeps full size even when it is the only direct child p */
        .prose p.lead {
            font-size: 1.05rem;
        }

        /* Two text columns side by side, each its own .prose block */
        .two-col {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1rem 3rem;
            align-items: start;
        }

        .two-col .prose > :first-child {
            margin-top: 0;
        }

        /* Two-column split: prose left, info cards right (index .cm-grid /
           .pi-grid proportions) */
        .sta-grid {
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 2rem 3.5rem;
            align-items: start;
        }

        .sta-grid .duo {
            grid-template-columns: 1fr;
            margin: 0;
        }

        .sta-grid .info-card--wide {
            display: block;
            grid-column: auto;
        }

        .sta-grid .info-card--wide .card-icon {
            margin-bottom: 0.85rem;
        }

        /* Info cards */
        .duo {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.1rem;
            margin: 2rem 0 2.4rem;
        }

        .info-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 1.5rem 1.4rem;
            box-shadow: 0 18px 40px -34px rgba(5, 57, 102, 0.6);
        }

        .info-card h3 {
            font-family: 'Archivo', sans-serif;
            font-size: 1.12rem;
            font-weight: 700;
            line-height: 1.35;
            color: var(--primary);
            margin: 0 0 0.5rem;
        }

        .info-card p {
            font-size: 0.94rem;
            line-height: 1.65;
            color: var(--text-light);
            margin: 0;
        }

        .info-card--wide {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: auto 1fr;
            align-items: center;
            column-gap: 0.9rem;
            row-gap: 0.7rem;
        }

        .info-card--wide h3 {
            margin: 0;
        }

        .info-card--wide p {
            grid-column: 1 / -1;
        }

        .card-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border-radius: 13px;
            margin-bottom: 0.85rem;
        }

        .card-icon svg {
            width: 23px;
            height: 23px;
        }

        .info-card--wide .card-icon {
            margin-bottom: 0;
        }

        .card-icon--teal {
            background: rgba(0, 165, 177, 0.12);
            color: var(--highlight);
        }

        .card-icon--amber {
            background: rgba(223, 149, 31, 0.15);
            color: #b37516;
        }

        .card-icon--blue {
            background: rgba(5, 57, 102, 0.10);
            color: var(--primary);
        }

        /* How it works flow */
        .flow {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.9rem;
            margin: 2rem 0 2.4rem;
        }

        .flow-step {
            position: relative;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.25rem 1.1rem 1.15rem;
            box-shadow: 0 16px 36px -34px rgba(5, 57, 102, 0.65);
        }

        .flow-step::after {
            content: "";
            position: absolute;
            top: 50%;
            right: -0.62rem;
            width: 0.35rem;
            height: 0.35rem;
            border-top: 1.5px solid rgba(5, 57, 102, 0.3);
            border-right: 1.5px solid rgba(5, 57, 102, 0.3);
            transform: translateY(-50%) rotate(45deg);
        }

        .flow-step:last-child::after {
            display: none;
        }

        .flow-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--highlight-bg);
            color: var(--highlight);
            font-size: 0.82rem;
            font-weight: 700;
            margin-bottom: 0.7rem;
        }

        .flow-step:nth-child(2) .flow-num {
            background: var(--highlight-bg);
        }

        .flow-step:nth-child(3) .flow-num {
            background: var(--highlight-bg);
        }

        .flow-step:nth-child(4) .flow-num {
            background: var(--highlight-bg);
        }

        .flow-step h3 {
            font-family: 'Archivo', sans-serif;
            font-size: 0.98rem;
            font-weight: 700;
            line-height: 1.3;
            color: var(--primary);
            margin: 0 0 0.3rem;
        }

        .flow-step p {
            font-size: 0.84rem;
            line-height: 1.5;
            color: var(--text-light);
            margin: 0;
        }

        /* Calculator */
        .calc-section {
            padding: 6rem 2rem;
            background: var(--highlight-bg)
        }

        @media (min-width: 64rem) {
            .calc-section {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .calc-shell {
            display: grid;
            grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
            gap: 1.25rem;
            align-items: stretch;
        }

        .calc-panel {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 22px;
            padding: 1.75rem;
            box-shadow: 0 30px 60px -40px rgba(5, 57, 102, 0.6);
        }

        .calc-chart-panel {
            display: flex;
            flex-direction: column;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 22px;
            padding: 1.5rem 1.5rem 1.25rem;
            box-shadow: 0 30px 60px -40px rgba(5, 57, 102, 0.6);
        }

        .calc-field {
            margin-bottom: 1.35rem;
        }

        .calc-field-head {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 0.5rem;
        }

        .calc-field-head label,
        .calc-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text);
        }

        .calc-label {
            display: block;
            margin-bottom: 0.5rem;
        }

        .calc-field-head output {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--primary);
            font-variant-numeric: tabular-nums;
        }

        .calc-field input[type="range"] {
            -webkit-appearance: none;
            appearance: none;
            display: block;
            width: 100%;
            height: 6px;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--highlight) 0%, var(--highlight) var(--fill, 50%), #dce7ef var(--fill, 50%), #dce7ef 100%);
            outline: none;
            cursor: pointer;
        }

        .calc-field input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #fff;
            border: 3px solid var(--highlight);
            box-shadow: 0 2px 8px rgba(5, 57, 102, 0.3);
            cursor: pointer;
        }

        .calc-field input[type="range"]::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #fff;
            border: 3px solid var(--highlight);
            box-shadow: 0 2px 8px rgba(5, 57, 102, 0.3);
            cursor: pointer;
        }

        .calc-field input[type="range"]::-moz-range-track {
            height: 6px;
            border-radius: 999px;
            background: transparent;
        }

        .calc-field input[type="range"]:focus-visible {
            box-shadow: 0 0 0 4px rgba(0, 165, 177, 0.22);
        }

        .calc-hint {
            font-size: 0.75rem;
            color: var(--text-light);
            margin: 0.45rem 0 0;
        }

        .segmented {
            display: flex;
            gap: 0.3rem;
            background: #eef3f8;
            border-radius: 12px;
            padding: 0.3rem;
        }

        .seg-btn {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.05rem;
            padding: 0.5rem 0.35rem;
            border: none;
            border-radius: 9px;
            background: transparent;
            font-family: inherit;
            font-size: 0.76rem;
            font-weight: 600;
            color: var(--text-light);
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
        }

        .seg-btn span {
            font-size: 1rem;
            font-weight: 800;
            color: var(--primary);
            font-variant-numeric: tabular-nums;
        }

        .seg-btn:hover {
            color: var(--primary);
        }

        .seg-btn.is-active {
            background: #fff;
            color: var(--primary);
            box-shadow: 0 2px 8px rgba(5, 57, 102, 0.14);
        }

        .calc-result {
            margin-top: 1.5rem;
            padding: 1.05rem 1.2rem;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--primary) 0%, #0a4a7d 100%);
        }

        .calc-result-label {
            display: block;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.09em;
            text-transform: uppercase;
            color: #ffffff;
        }

        .calc-result-value {
            display: block;
            font-family: 'Archivo', sans-serif;
            font-size: clamp(1.75rem, 2.6vw, 2.35rem);
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -0.02em;
            color: #ffffff;
            font-variant-numeric: tabular-nums;
            margin: 0.25rem 0 0.15rem;
        }

        .calc-result-sub {
            display: block;
            font-size: 0.8rem;
            color: #ffffff;
        }

        .split {
            margin-top: 1.25rem;
        }

        .split-bar {
            display: flex;
            height: 10px;
            border-radius: 999px;
            overflow: hidden;
            background: #e8eef5;
        }

        .split-paid {
            background: var(--accent);
            transition: width 0.35s ease;
        }

        .split-gain {
            background: var(--highlight);
            transition: width 0.35s ease;
        }

        .split-legend {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 0.4rem 1rem;
            margin-top: 0.6rem;
            font-size: 0.78rem;
            color: var(--text-light);
        }

        .split-legend span {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .split-legend strong {
            color: var(--primary);
            font-variant-numeric: tabular-nums;
        }

        .legend-dot {
            display: inline-block;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .legend-dot--paid {
            background: var(--accent);
        }

        .legend-dot--gain {
            background: var(--highlight);
        }

        .chart-head {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            justify-content: space-between;
            gap: 0.25rem 1rem;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary);
        }

        .chart-note {
            font-size: 0.72rem;
            font-weight: 400;
            color: var(--text-light);
        }

        .pl-chart {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 720 / 340;
            margin: 0.5rem 0 0.25rem;
        }

        .pl-chart .c-y,
        .pl-chart .c-x,
        .pl-chart .c-axis,
        .pl-chart .c-tip,
        .pl-chart .c-tip-head {
            font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
            font-variant-numeric: tabular-nums;
        }

        .pl-chart .c-y {
            font-size: 12px;
            fill: #8aa0b8;
        }

        .pl-chart .c-x {
            font-size: 12px;
            fill: var(--text-light);
        }

        .pl-chart .c-axis {
            font-size: 11px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            fill: #8aa0b8;
        }

        .pl-chart .c-tip {
            font-size: 11px;
            fill: #fff;
        }

        .pl-chart .c-tip-head {
            font-size: 11.5px;
            font-weight: 700;
            fill: #fff;
        }

        .chart-legend {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.45rem 1.1rem;
            margin-top: 0.35rem;
        }

        .chart-legend .lg {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.2rem 0;
            border: none;
            background: none;
            font-family: inherit;
            font-size: 0.78rem;
            color: var(--text-light);
        }

        .chart-legend button.lg {
            cursor: pointer;
        }

        .chart-legend button.lg:hover {
            color: var(--primary);
        }

        .chart-legend button.lg[aria-pressed="true"] {
            color: var(--primary);
            font-weight: 700;
        }

        .chart-legend .lg strong {
            color: var(--primary);
            font-variant-numeric: tabular-nums;
        }

        .lg-line {
            display: inline-block;
            width: 18px;
            height: 3px;
            border-radius: 2px;
            flex-shrink: 0;
        }

        .lg-line--3 {
            background: #8aa0b8;
        }

        .lg-line--5 {
            background: var(--primary);
        }

        .lg-line--7 {
            background: var(--highlight);
        }

        .lg-line--paid {
            height: 0;
            border-top: 3px dashed var(--accent);
            background: none;
            border-radius: 0;
        }

        .calc-assumption {
            margin: 0.9rem 0 0;
            font-size: 0.71rem;
            line-height: 1.55;
            color: #8aa0b8;
        }

        /* MSCI World historic chart (section #indeksi) */
        .idx-panel {
            margin-top: 2.4rem;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 22px;
            padding: 1.5rem 1.6rem 1.1rem;
            box-shadow: 0 30px 60px -40px rgba(5, 57, 102, 0.6);
        }

        .idx-chart {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 940 / 340;
            margin: 0.7rem 0 0.15rem;
        }

        .idx-chart .c-y,
        .idx-chart .c-x,
        .idx-chart .c-axis,
        .idx-chart .c-name,
        .idx-chart .c-end {
            font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
            font-variant-numeric: tabular-nums;
        }

        .idx-chart .c-y {
            font-size: 13px;
            fill: #8aa0b8;
        }

        .idx-chart .c-x {
            font-size: 13px;
            fill: var(--text-light);
        }

        .idx-chart .c-axis {
            font-size: 11px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            fill: #8aa0b8;
        }

        .idx-chart .c-name {
            font-size: 12px;
            font-weight: 600;
            fill: #b37516;
        }

        .idx-chart .c-name--up {
            fill: #0b7f88;
        }

        .idx-chart .c-end {
            font-size: 15px;
            font-weight: 700;
            fill: var(--primary);
        }

        .idx-line {
            stroke-dasharray: 2000;
            stroke-dashoffset: 2000;
        }

        /* The line draws itself once the panel scrolls into view */
        .idx-panel.in .idx-line {
            animation: idx-draw 1.7s ease-out 0.25s forwards;
        }

        @keyframes idx-draw {
            to { stroke-dashoffset: 0; }
        }

        /* Without JS the reveal class never becomes .in - keep the line visible */
        html:not(.js) .idx-line {
            stroke-dasharray: none;
            stroke-dashoffset: 0;
        }

        .lg-dot-down {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--accent);
            flex-shrink: 0;
        }

        .lg-dot-up {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--highlight);
            flex-shrink: 0;
        }

        .idx-foot {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            justify-content: space-between;
            gap: 0.4rem 1.25rem;
            margin-top: 0.85rem;
            padding-top: 0.85rem;
            border-top: 1px solid var(--border);
            font-size: 0.72rem;
            line-height: 1.55;
            color: var(--text-light);
        }

        .idx-foot span {
            max-width: 72ch;
        }

        .idx-foot a {
            color: var(--highlight);
            font-weight: 600;
            text-decoration: none;
            white-space: nowrap;
        }

        .idx-foot a:hover,
        .idx-foot a:focus-visible {
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .idx-panel {
                margin-top: 2rem;
                padding: 1.15rem 1rem 0.9rem;
                border-radius: 18px;
            }

            .idx-chart .c-y,
            .idx-chart .c-x {
                font-size: 22px;
            }

            .idx-chart .c-axis {
                font-size: 20px;
            }

            .idx-chart .c-name {
                font-size: 20px;
            }

            .idx-chart .c-end {
                font-size: 25px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .idx-panel.in .idx-line,
            html:not(.js) .idx-line {
                animation: none;
                stroke-dasharray: none;
                stroke-dashoffset: 0;
            }
        }

        /* Pros / cons and fit */
        .pros-cons {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.1rem;
            margin: 1.9rem 0 1.6rem;
        }

        .pros,
        .cons {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 1.4rem 1.45rem;
            box-shadow: 0 18px 40px -34px rgba(5, 57, 102, 0.55);
        }

        .pros h3,
        .cons h3,
        .fit h3 {
            font-family: 'Archivo', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            line-height: 1.3;
            color: var(--primary);
            margin: 0 0 0.85rem;
        }

        .pros ul,
        .cons ul,
        .fit ul {
            list-style: none;
            display: grid;
            gap: 0.6rem;
            margin: 0;
            padding: 0;
        }

        .pros li,
        .cons li,
        .fit li {
            position: relative;
            padding-left: 1.5rem;
            font-size: 0.9rem;
            line-height: 1.55;
            color: var(--text-light);
        }

        .pros li::before {
            content: "";
            position: absolute;
            left: 1px;
            top: 0.32em;
            width: 0.62rem;
            height: 0.34rem;
            border-left: 2px solid var(--highlight);
            border-bottom: 2px solid var(--highlight);
            transform: rotate(-45deg);
        }

        .cons li::before {
            content: "";
            position: absolute;
            left: 1px;
            top: 0.72em;
            width: 0.65rem;
            height: 2px;
            background: var(--accent);
        }

        .fit-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.1rem;
            margin-top: 1.1rem;
        }

        .fit {
            background: rgba(255, 255, 255, 0.75);
            border: 1px dashed rgba(0, 57, 122, 0.24);
            border-radius: 18px;
            padding: 1.35rem 1.4rem;
        }

        .fit li::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 0.58em;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--highlight);
        }

        .fit:last-child li::before {
            background: var(--accent);
        }

        /* Comparison table */
        .table-wrap {
            margin: 1.6rem 0 1rem;
            overflow-x: auto;
            border: 1px solid var(--border);
            border-radius: 18px;
            background: #fff;
            -webkit-overflow-scrolling: touch;
        }

        .cmp-table {
            width: 100%;
            min-width: 720px;
            border-collapse: collapse;
            font-size: 0.88rem;
            text-align: left;
        }

        .cmp-table th,
        .cmp-table td {
            padding: 0.85rem 1rem;
            vertical-align: top;
            border-bottom: 1px solid rgba(0, 57, 122, 0.09);
        }

        .cmp-table thead th {
            background: #f2f7fb;
            font-family: 'Archivo', sans-serif;
            font-size: 0.8rem;
            font-weight: 700;
            line-height: 1.35;
            color: var(--primary);
        }

        .cmp-table thead th:first-child {
            width: 19%;
        }

        .cmp-table tbody td {
            line-height: 1.55;
            color: var(--text-light);
        }

        .cmp-table tbody td:first-child {
            font-weight: 600;
            color: var(--primary);
            background: #fbfdff;
        }

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

        .table-note {
            margin: 0;
            font-size: 0.79rem;
            line-height: 1.6;
            color: var(--text-light);
        }

        .table-note a {
            color: var(--highlight);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .table-note a:hover,
        .table-note a:focus-visible {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        /* FAQ: uses index's .faq-item / .faq-question / .faq-answer markup and
           styles from the shared layer (no page-specific rules). */

        /* Disclaimer callout */
        .post-callout {
            margin-top: 2.2rem;
            padding: 1.2rem 1.35rem;
            background: #fffaf0;
            border-radius: 12px;
        }

        .post-callout p {
            margin: 0;
            font-size: 0.95rem;
            line-height: 1.65;
            color: var(--text-light);
        }

        .post-callout strong {
            color: var(--primary);
        }

        /* Related posts */
        .related-section {
            padding: 6rem 2rem;
            background: var(--bg-light);
        }

        @media (min-width: 64rem) {
            .related-section {
                padding-top: 8rem;
                padding-bottom: 8rem;
            }
        }

        .related-title {
            font-family: 'Archivo', sans-serif;
            font-size: clamp(1.4rem, 2.2vw, 1.85rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--primary);
            margin-bottom: 1.6rem;
        }

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

        .post-card {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            padding: 1.35rem 1.4rem;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 18px;
            color: inherit;
            text-decoration: none;
            transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
        }

        .post-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 165, 177, 0.45);
            box-shadow: 0 24px 44px -30px rgba(5, 57, 102, 0.55);
        }

        .post-card-badge {
            align-self: flex-start;
            font-size: 0.66rem;
            font-weight: 700;
            letter-spacing: 0.09em;
            text-transform: uppercase;
            color: var(--highlight);
            background: rgba(0, 165, 177, 0.10);
            border-radius: 999px;
            padding: 0.25rem 0.6rem;
        }

        .post-card-title {
            font-family: 'Archivo', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            line-height: 1.35;
            color: var(--primary);
        }

        .post-card-excerpt {
            flex-grow: 1;
            font-size: 0.86rem;
            line-height: 1.6;
            color: var(--text-light);
        }

        .post-card-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.35rem;
            padding-top: 0.7rem;
            border-top: 1px solid var(--border);
            font-size: 0.74rem;
            color: #8aa0b8;
        }

        /* CTA band accents (layout/spacing come from index's .cta-band rules) */
        .cta-accent {
            color: var(--highlight);
        }

        /* cta-band-bg.js lifts direct children above its canvas; the button now
           sits inside index's .cta-band-btn wrapper, so lift that too. */
        .cta-band .cta-band-btn {
            position: relative;
            z-index: 1;
        }

        /* Scroll reveal (progressive enhancement via .js on <html>) */
        .js .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .js .reveal.in {
            opacity: 1;
            transform: none;
        }

        /* Focus visibility */
        .calc-section button:focus-visible,
        .calc-section input:focus-visible,
        .post-card:focus-visible,
        .cm-more:focus-visible {
            outline: 2px solid var(--highlight);
            outline-offset: 3px;
        }

        /* This page's .cm-more ends in a right arrow (it navigates away), so
           nudge it right on hover instead of index's downward nudge. */
        .calc-section .cm-more:hover svg {
            transform: translateX(3px);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-card {
                max-width: 560px;
            }

            .sta-grid {
                grid-template-columns: 1fr;
            }

            .two-col {
                grid-template-columns: 1fr;
                gap: 0;
            }

            /* When stacked, the second column's heading needs its own breathing room */
            .two-col .prose + .prose > :first-child {
                margin-top: 2.4rem;
            }

            .calc-shell {
                grid-template-columns: 1fr;
            }

            .pros-cons,
            .fit-grid {
                grid-template-columns: 1fr;
            }

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

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

        @media (max-width: 768px) {
            .calc-section,
            .related-section {
                padding: 2.5rem 1rem;
            }

            .duo {
                grid-template-columns: 1fr;
            }

            .info-card--wide {
                display: block;
                grid-column: auto;
            }

            .info-card--wide .card-icon {
                margin-bottom: 0.85rem;
            }

            .calc-panel,
            .calc-chart-panel {
                padding: 1.35rem 1.25rem;
            }

            .post-grid {
                grid-template-columns: 1fr;
            }

            .table-wrap {
                border-radius: 14px;
            }

            .cmp-table {
                min-width: 640px;
            }
        }

        @media (max-width: 640px) {
            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .hero-actions .btn {
                width: 100%;
            }

            .flow {
                grid-template-columns: 1fr;
            }

            .flow-step::after {
                display: none;
            }

            .seg-btn {
                font-size: 0.7rem;
                padding: 0.45rem 0.15rem;
            }

            .seg-btn span {
                font-size: 0.92rem;
            }

            .calc-result-value {
                font-size: 1.65rem;
            }

            .split-legend {
                flex-direction: column;
                align-items: flex-start;
            }

            .chart-legend {
                gap: 0.35rem 0.8rem;
            }

            .calc-assumption {
                font-size: 0.68rem;
            }
        }

        @media (max-width: 768px) {
            /* The chart SVG scales down with the viewBox, so its text needs
               larger user units to stay readable on phones. */
            .pl-chart .c-y,
            .pl-chart .c-x {
                font-size: 19px;
            }

            .pl-chart .c-axis {
                font-size: 17px;
                letter-spacing: 0.02em;
            }

            .pl-chart .c-tip {
                font-size: 18px;
            }

            .pl-chart .c-tip-head {
                font-size: 19px;
            }
        }

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

        @media (prefers-reduced-motion: reduce) {
            .js .reveal,
            .js .reveal.in {
                opacity: 1;
                transform: none;
                transition: none;
            }

            .spark-line {
                animation: none;
                stroke-dashoffset: 0;
            }

            .spark-dot {
                animation: none;
                opacity: 1;
            }

            .spark-paid {
                animation: none;
                opacity: 0.7;
            }

            .spark-unit {
                animation: none;
                opacity: 1;
            }

            .split-paid,
            .split-gain,
            .post-card,
            .btn-navy {
                transition: none;
            }
        }
