    /* ── Reset ── */
    *, *::before, *::after { box-sizing: border-box; }
    body, h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }

    /* ── Tokens ── */
    :root {
        --brand:        #4eb39a;
        --brand-dark:   #3a9b83;
        --brand-deep:   #0e2d27;
        --accent-light: #e1f5ee;
        --text:         #1a2e2b;
        --text-muted:   #5f7a74;
        --border:       rgba(78,179,154,0.2);
        --radius:       8px;
    }
    
    .km-button-style-green {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  background-color: #04AA6D;
}

    /* ── Base ── */
    body {
        font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        line-height: 1.6;
        color: var(--text);
        background: #f5f9f8;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px;
    }

    /* ── Header ── */
    header {
        background: #fff;
        border-bottom: 1px solid var(--border);
        top: 0;
        z-index: 100;
    }
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
        gap: 1rem;
    }

    /* ── Logo ── */
    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }
    .logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    .logo img {
        height: 36px;
        width: auto;
    }
    .logo-badge {
        font-family: 'DM Mono', monospace;
        font-size: 0.68rem;
        font-weight: 500;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        background: var(--accent-light);
        color: var(--brand);
        border: 1px solid rgba(78,179,154,0.35);
        border-radius: 20px;
        padding: 2px 9px;
        line-height: 1.6;
    }

    /* ── Nav — DESKTOP (horizontal, original style) ── */
    #main-nav ul {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 0.2rem;
        margin: 0;
        padding: 0;
    }
    #main-nav a {
        text-decoration: none;
        color: var(--text-muted);
        font-weight: 500;
        font-size: 0.9rem;
        padding: 6px 14px;
        border-radius: var(--radius);
        transition: background 0.18s, color 0.18s;
        white-space: nowrap;
    }
    #main-nav a:hover {
        background: var(--accent-light);
        color: var(--brand);
    }
    #main-nav .nav-cta {
        background: var(--brand);
        color: #fff !important;
        padding: 7px 18px;
        border-radius: var(--radius);
        font-weight: 600;
        font-size: 0.875rem;
        margin-left: 6px;
        transition: background 0.18s, transform 0.15s;
    }
    #main-nav .nav-cta:hover {
        background: var(--brand-dark) !important;
        transform: translateY(-1px);
    }

    /* ── Header Search Trigger (Emoji Button) ── */
    .header-search {
        position: relative;
        flex-shrink: 0;
    }
    .search-trigger-btn {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        background: var(--accent-light);
        border: 2px solid var(--brand);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: 0;
        box-shadow: 0 2px 8px rgba(78,179,154,0.2);
    }
    .search-trigger-btn:hover {
        background: var(--brand);
        transform: scale(1.1) rotate(360deg);
        box-shadow: 0 4px 16px rgba(78,179,154,0.4);
    }
    .search-trigger-btn.active {
        background: var(--brand);
        border-color: var(--brand-dark);
        transform: scale(0.95);
    }
    
    /* ── Expandable Search Input ── */
    .header-search-input {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        padding: 0;
        border: 2px solid transparent;
        border-radius: 25px;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.9rem;
        color: var(--text);
        background: #fff;
        outline: none;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 4px 20px rgba(0,0,0,0);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    .header-search-input.expanded {
        width: 300px;
        padding: 10px 18px 10px 42px;
        border-color: var(--brand);
        opacity: 1;
        pointer-events: all;
        box-shadow: 0 4px 20px rgba(78,179,154,0.25);
    }
    .header-search-input.expanded:focus {
        border-color: var(--brand-dark);
        box-shadow: 0 6px 30px rgba(78,179,154,0.4);
        background: #fff;
    }
    .header-search-input::placeholder { color: var(--text-muted); }
    
    .header-search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--brand);
        pointer-events: none;
        display: none;
        transition: all 0.3s;
    }
    .header-search-input.expanded ~ .header-search-icon {
        display: flex;
    }
    
    .search-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 300px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        z-index: 400;
        overflow: hidden;
        animation: mob-drop 0.18s ease;
    }
    .search-dropdown.open { display: block; }
    .search-result-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        text-decoration: none;
        color: var(--text);
        font-size: 0.875rem;
        font-weight: 500;
        transition: background 0.15s, color 0.15s;
        border-bottom: 1px solid #f0f7f5;
    }
    .search-result-item:last-child { border-bottom: none; }
    .search-result-item:hover { background: var(--accent-light); color: var(--brand); }
    .search-result-tag {
        font-size: 0.7rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--brand);
        background: var(--accent-light);
        border-radius: 10px;
        padding: 1px 7px;
        margin-left: auto;
        flex-shrink: 0;
    }
    .search-no-results {
        padding: 14px;
        color: var(--text-muted);
        font-size: 0.875rem;
        text-align: center;
    }
    /* Mobile search inside dropdown */
    .mob-search-wrap {
        padding: 8px 8px 4px;
    }
    .mob-search-input {
        width: 100%;
        padding: 8px 12px 8px 34px;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.875rem;
        color: var(--text);
        background: #f5f9f8;
        outline: none;
        transition: border-color 0.18s;
        box-sizing: border-box;
    }
    .mob-search-input:focus {
        border-color: var(--brand);
        background: #fff;
    }
    .mob-search-icon-wrap {
        position: relative;
    }
    .mob-search-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-muted);
        pointer-events: none;
        display: flex;
    }
    .mob-search-results { list-style: none; padding: 0; margin: 0; }
    .mob-search-results li a {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: var(--text);
        font-weight: 500;
        font-size: 0.875rem;
        padding: 9px 14px;
        border-radius: 6px;
        transition: background 0.15s, color 0.15s;
    }
    .mob-search-results li a:hover { background: var(--accent-light); color: var(--brand); }

    /* ── Hamburger toggle & mobile nav — hidden on desktop ── */
    #nav-toggle  { display: none; }
    #mobile-nav  { display: none; }

    /* ── Mobile — hamburger + dropdown ── */
    @media (max-width: 640px) {

        /* Hide desktop nav */
        #main-nav { display: none; }

        /* Show hamburger */
        #nav-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            background: var(--accent-light);
            border: 1.5px solid rgba(78,179,154,0.35);
            border-radius: var(--radius);
            cursor: pointer;
            flex-shrink: 0;
            padding: 0;
            transition: background 0.18s, border-color 0.18s;
        }
        #nav-toggle:hover {
            background: #c8ede3;
            border-color: var(--brand);
        }
        #nav-toggle .bar {
            display: block;
            width: 17px;
            height: 2px;
            background: var(--brand);
            border-radius: 2px;
            transition: transform 0.22s, opacity 0.18s;
        }
        #nav-toggle .bars {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        #nav-toggle.open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
        #nav-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
        #nav-toggle.open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

        /* Dropdown panel — anchored to header, constrained to viewport */
        #mobile-nav {
            display: none;
            position: absolute;
            /* align right edge with viewport edge minus padding */
            right: 16px;
            /* position below the header bar */
            top: 64px;
            /* never wider than viewport minus 32px total margin */
            width: calc(100vw - 32px);
            max-width: 280px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.13);
            z-index: 300;
            overflow: hidden;
            animation: mob-drop 0.2s cubic-bezier(.34,1.3,.64,1);
        }
        #mobile-nav.open { display: block; }

        @keyframes mob-drop {
            from { opacity: 0; transform: translateY(-8px) scale(0.97); }
            to   { opacity: 1; transform: translateY(0)    scale(1); }
        }

        #mobile-nav ul {
            list-style: none;
            padding: 6px;
            margin: 0;
        }
        #mobile-nav ul li { display: block; }
        #mobile-nav ul li a {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            font-size: 0.9rem;
            padding: 10px 14px;
            border-radius: 8px;
            transition: background 0.15s, color 0.15s;
            white-space: nowrap;
        }
        #mobile-nav ul li a:hover {
            background: var(--accent-light);
            color: var(--brand);
        }
        #mobile-nav ul li a svg { flex-shrink: 0; opacity: 0.55; }
        #mobile-nav ul li a:hover svg { opacity: 1; }
        .mob-divider {
            height: 1px;
            background: var(--border);
            margin: 4px 8px;
        }
        .mob-cta {
            display: flex !important;
            align-items: center;
            gap: 10px;
            background: var(--brand) !important;
            color: #fff !important;
            font-weight: 600 !important;
            margin: 4px 6px 6px !important;
            border-radius: 8px !important;
            padding: 10px 14px !important;
        }
        .mob-cta:hover { background: var(--brand-dark) !important; }
        .mob-cta svg { opacity: 1 !important; }

        /* Keep header height fixed */
        header .container { height: 64px; flex-wrap: nowrap; }
        .logo-badge { display: none; }

        /* Hide desktop search on mobile */
        #desktop-search-wrap { display: none; }

        /* Hide standalone CTA on mobile — it's in the mobile nav instead */
        .header-cta-btn { display: none; }
    }

    /* ── Breadcrumb ── */
    .breadcrumb-bar {
        background: #f0f7f5;
        border-bottom: 1px solid var(--border);
        padding: 0.45rem 0;
        font-size: 0.8rem;
    }
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        list-style: none;
        flex-wrap: wrap;
    }
    .breadcrumb li {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        color: var(--text-muted);
    }
    .breadcrumb li a {
        text-decoration: none;
        color: var(--brand);
        font-weight: 500;
        transition: color 0.18s;
    }
    .breadcrumb li a:hover {
        color: #1e73be;
        text-decoration: underline;
    }
    .breadcrumb li.active {
        color: var(--text);
        font-weight: 500;
    }
    .breadcrumb-sep {
        color: #adb5bd;
        font-size: 0.75rem;
    }

    /* ── Layout ── */
    main { flex: 1; }

    /* ── Tool Grid ── */
    .tool-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .card {
        background: #fff;
        border-radius: var(--radius);
        padding: 1.5rem;
        border: 1px solid #e9ecef;
        transition: transform 0.2s, box-shadow 0.2s;
        display: flex;
        flex-direction: column;
    }
    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }
    .card h3 {
        margin-bottom: 0.6rem;
        color: #345475;
        font-size: 1rem;
        line-height: 1.4;
    }
    .card p {
        color: #555;
        margin-bottom: 1.25rem;
        font-size: 0.9rem;
        flex: 1;
    }

    /* ── Buttons ── */
    .btn {
        display: inline-block;
        background: #6DCAB5;
        color: #1a3a4a;
        padding: 0.5rem 1.1rem;
        border-radius: 6px;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 600;
        transition: background 0.2s;
        align-self: flex-start;
    }
    .btn:hover { background: #12A584; color: #fff; }

    /* ── Hero ── */
    .hero {
        min-height: 100vh;
        width: 100%;
        background-image: url("/assets/img/hero-image.webp");
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
    }
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.38);
    }
    .hero-content {
        position: relative;
        z-index: 1;
        color: #fff;
        padding: 0 1.5rem;
        max-width: 700px;
    }
    .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3.75rem);
        font-weight: 700;
        margin-bottom: 14px;
        letter-spacing: -0.5px;
        line-height: 1.15;
    }
    .hero p {
        font-size: 1.15rem;
        margin-bottom: 32px;
        opacity: 0.9;
    }
    .hero .btn {
        background: #6fd1b3;
        color: #0c2c2a;
        padding: 14px 38px;
        border-radius: var(--radius);
        font-size: 1rem;
        font-weight: 600;
        transition: background 0.3s, transform 0.2s;
    }
    .hero .btn:hover {
        background: #5bc2a4;
        color: #0c2c2a;
        transform: translateY(-2px);
    }

    /* ── Section ── */
    .section-inner { padding: 3rem 0; }
    .section-inner h2 {
        font-size: 1.5rem;
        color: #1a2e2b;
        font-weight: 600;
    }
    .section-inner > .container > p,
    .section-inner p.section-sub {
        color: var(--text-muted);
        margin-top: 0.35rem;
        margin-bottom: 0;
    }

    /* ── Footer ── */
    footer {
        background: #fff;
        border-top: 1px solid #e9ecef;
        padding: 2rem 0;
        text-align: center;
        color: #6c757d;
        font-size: 0.875rem;
    }
    footer .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 0.75rem;
        margin-top: 0.6rem;
    }
    footer a {
        color: var(--brand);
        text-decoration: none;
    }
    footer a:hover { text-decoration: underline; }

    
