        /* ===========================================================
           Home V2 — Design tokens from mock
           =========================================================== */
        :root {
            --home-primary: #01573C;
            --home-primary-dark: #133D30;
            --home-teal: #1EE196;
            --home-light-green: #d8ece4;
            --home-lighter-green: #ECFDF8;
            --home-yellow: #E9FB19;
            --home-border: rgba(185, 204, 199, 1);
            --home-text: #212529;
            --home-muted: #504b4b;
            --home-radius: 8px;
            --home-radius-lg: 10px;
            /* One content column and one vertical rhythm for every section.
               Widen --home-container to trim the side margins further; lower
               --home-section-y to tighten the gaps between sections. */
            --home-container: 1440px;
            --home-gutter: 24px;
            --home-section-y: 40px;
            --home-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --home-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
        }

        /* --- Hero with Gradient Background --- */
        .home-hero {
            position: relative;
            overflow: hidden;
            padding: var(--home-section-y) var(--home-gutter);
            background: linear-gradient(135deg, var(--home-primary-dark) 0%, var(--home-primary) 50%, var(--home-teal) 100%);
        }

        .home-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: var(--home-teal);
            opacity: 0.08;
            border-radius: 50%;
            pointer-events: none;
        }

        .home-hero-content {
            position: relative;
            z-index: 2;
            max-width: var(--home-container);
            width: 100%;
            margin: 0 auto;
            color: #fff;
        }

        .home-hero h2 {
            font-size: clamp(28px, 4vw, 40px);
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.2;
            max-width: 600px;
            margin-bottom: 16px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .home-hero p {
            font-size: 16px;
            color: rgba(255,255,255,0.9);
            max-width: 500px;
            margin: 0 0 32px;
            line-height: 1.7;
            text-shadow: 0 1px 4px rgba(0,0,0,0.2);
        }

        .home-hero-actions {
            display: flex;
            gap: 16px;
            justify-content: flex-start;
            flex-wrap: wrap;
            align-items: flex-start;
        }

        .home-hero .btn-hero-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            background: #ffffff;
            color: var(--home-primary-dark);
            border: none;
            border-radius: 2px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            box-shadow: 0 4px 14px rgba(0,0,0,0.18);
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .home-hero .btn-hero-primary:hover {
            background: var(--home-lighter-green);
            color: var(--home-primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.22);
        }

        .home-hero .btn-hero-ghost {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 28px;
            background: rgba(255,255,255,0.06);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.45);
            border-radius: 2px;
            font-weight: 600;
            font-size: 15px;
            text-decoration: none;
            transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .home-hero .btn-hero-ghost:hover {
            border-color: var(--home-teal);
            color: var(--home-teal);
            background: rgba(255,255,255,0.12);
            transform: translateY(-2px);
        }

        .home-login-note {
            display: block;
            margin-top: 10px;
            font-size: 12px;
            color: rgba(255,255,255,0.7);
        }

        .home-login-note i {
            margin-right: 4px;
        }

        /* --- Services Grid --- */
        .home-services {
            max-width: var(--home-container);
            margin: 0 auto;
            padding: var(--home-section-y) var(--home-gutter);
            position: relative;
        }

        .home-services-header {
            text-align: center;
            margin-bottom: 28px;
        }

        .home-services-header h3 {
            font-size: 22px;
            font-weight: 600;
            letter-spacing: -0.01em;
            color: var(--home-text);
        }

        /* Flex rather than grid so the short final row (5 cards over 3 columns)
           centres itself instead of leaving a hole on the right. */
        .home-services-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

        .home-services-grid > .home-service-card {
            flex: 0 1 calc((100% - 32px) / 3);
        }

        .home-service-card {
            background: #fff;
            border-radius: var(--home-radius-lg);
            padding: 24px 20px;
            text-decoration: none;
            color: var(--home-text);
            transition: all 0.25s;
            box-shadow: var(--home-shadow-sm);
            border: 1px solid var(--home-border);
            position: relative;
            overflow: hidden;
            display: block;
        }

        .home-service-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--home-shadow-lg);
            border-color: var(--home-primary);
            color: var(--home-text);
        }

        .home-service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--home-primary);
            opacity: 0;
            transition: opacity 0.25s;
        }

        .home-service-card:hover::before {
            opacity: 1;
        }

        .home-service-icon {
            width: 44px;
            height: 44px;
            background: var(--home-lighter-green);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
            transition: background 0.25s;
        }

        .home-service-card:hover .home-service-icon {
            background: var(--home-light-green);
        }

        .home-service-icon i {
            font-size: 18px;
            color: var(--home-primary);
        }

        .home-service-card h4 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 6px;
            letter-spacing: -0.01em;
        }

        .home-service-card p {
            font-size: 15px;
            color: var(--home-muted);
            line-height: 1.5;
            margin-bottom: 0;
        }

        .home-service-tag {
            display: inline-block;
            margin-top: 12px;
            font-size: 12px;
            font-weight: 600;
            color: var(--home-primary);
            background: var(--home-lighter-green);
            padding: 4px 10px;
            border-radius: 3px;
            letter-spacing: 0.02em;
        }

        .home-service-card .login-required-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 12px;
            font-size: 12px;
            font-weight: 600;
            color: #856404;
            background: #fff3cd;
            padding: 4px 10px;
            border-radius: 3px;
        }

        /* --- Notice Board --- */
        .home-notice-section {
            max-width: var(--home-container);
            margin: 0 auto;
            padding: 0 var(--home-gutter) var(--home-section-y);
        }

        .home-notice-card {
            background: #fff;
            border-radius: var(--home-radius-lg);
            overflow: hidden;
            border: 1px solid var(--home-border);
        }

        .home-notice-header {
            background: var(--home-primary);
            color: #fff;
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .home-notice-header h3 {
            font-size: 17px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .home-notice-badge {
            background: var(--home-yellow);
            color: var(--home-primary-dark);
            padding: 2px 10px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
        }

        .home-notice-list {
            padding: 4px 0;
        }

        .home-notice-item {
            padding: 12px 24px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            border-bottom: 1px solid var(--home-border);
            transition: background 0.15s;
        }

        .home-notice-item:last-child {
            border-bottom: none;
        }

        .home-notice-item:hover {
            background: var(--home-lighter-green);
        }

        .home-notice-dot {
            width: 8px;
            height: 8px;
            background: var(--home-teal);
            border-radius: 50%;
            margin-top: 6px;
            flex-shrink: 0;
        }

        .home-notice-item h4 {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 2px;
        }

        .home-notice-item p {
            font-size: 14px;
            color: var(--home-muted);
        }

        .home-notice-date {
            font-size: 13px;
            color: var(--home-muted);
            margin-left: auto;
            white-space: nowrap;
        }

        /* --- Illustration band (wraps Services + Notices) ---
           Background is a fixed, root-relative asset URL - the app serves
           at the root context, so no context-path resolution is needed. */
        .home-illustration-band {
            position: relative;
            overflow: hidden;
        }

        .home-illustration-band > section {
            position: relative;
            z-index: 1;
        }

        .home-illustration-band::before,
        .home-illustration-band::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
        }

        .home-illustration-band::before {
            background-image: url(/images/public-site-background.svg);
        }

        /* v1 — the same tiling hexagon lattice the other public pages use as
           their body background, under a vertical brand-green gradient. */
        .home-band-v1::before {
            background-repeat: repeat;
            background-position: center top;
            background-size: 200px 201px;
            opacity: 0.9;
        }

        .home-band-v1::after {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(236, 253, 248, 0.62) 35%, rgba(216, 236, 228, 0.55) 70%, rgba(255, 255, 255, 0.88) 100%);
        }

        /* --- Help Section --- */
        .home-help {
            background: var(--home-lighter-green);
            border-top: 1px solid var(--home-border);
            border-bottom: 1px solid var(--home-border);
            padding: var(--home-section-y) var(--home-gutter);
        }

        .home-help-content {
            max-width: var(--home-container);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 32px;
        }

        .home-help-block h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 14px;
            color: var(--home-text);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .home-help-block h4 i {
            color: var(--home-primary);
            font-size: 18px;
        }

        .home-help-block p,
        .home-help-block li {
            font-size: 15px;
            color: var(--home-muted);
            line-height: 1.7;
        }

        .home-help-block ul {
            list-style: none;
            padding-left: 0;
        }

        .home-help-block li {
            padding: 5px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .home-help-block li::before {
            content: '\2192';
            color: var(--home-teal);
            font-weight: 600;
        }

        .home-help-block a {
            color: var(--home-primary);
            text-decoration: none;
            font-weight: 500;
        }

        .home-help-block a:hover {
            text-decoration: underline;
        }

        /* --- Responsive --- */
        @media (max-width: 992px) {
            .home-services-grid > .home-service-card {
                flex-basis: calc((100% - 16px) / 2);
            }
        }

        @media (max-width: 768px) {
            :root {
                --home-section-y: 36px;
                --home-gutter: 16px;
            }

            .home-hero h2 {
                font-size: 26px;
            }

            .home-services-grid > .home-service-card {
                flex-basis: 100%;
            }

            .home-help-content {
                grid-template-columns: 1fr;
            }

            .home-notice-item {
                flex-wrap: wrap;
            }

            .home-notice-date {
                margin-left: 20px;
            }

            /* Tighter tile at phone widths so the lattice still reads as a
               pattern rather than a few oversized hexagons. */
            .home-band-v1::before {
                background-size: 140px 141px;
            }
        }
