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

        :root {
            --primary: #f59f0a;
            --bg: #1a1a1a;
            --surface: #2a2a2a;
            --border: #333;
            --text: #f3f4f6;
            --muted: #9ca3af;
            --danger: #dc2626;
            --info: #3b82f6;
        }

        html {
            scroll-behavior: smooth
        }

        body {
            font-family: 'Work Sans', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            overflow-x: hidden
        }

        h1,
        h2,
        h3,
        h4,
        .serif {
            font-family: 'Lora', serif
        }

        .material-symbols-outlined {
            font-family: 'Material Symbols Outlined';
            font-weight: normal;
            font-style: normal;
            font-size: 24px;
            line-height: 1;
            letter-spacing: normal;
            text-transform: none;
            display: inline-block;
            white-space: nowrap;
            word-wrap: normal;
            direction: ltr;
            -webkit-font-smoothing: antialiased
        }

        /* PAGE SYSTEM */
        .page {
            display: none;
            min-height: 100vh;
            flex-direction: column
        }

        .page.active {
            display: flex
        }

        /* NAV */
        nav {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--bg);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 40px;
            gap: 16px
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            text-decoration: none;
            color: var(--text)
        }

        .nav-logo svg {
            width: 48px;
            height: 48px;
            color: var(--primary);
            flex-shrink: 0
        }

        .nav-logo span {
            font-family: 'Lora', serif;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: -0.01em;
            white-space: nowrap
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 28px
        }

        .nav-links a {
            color: var(--muted);
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            transition: color 0.2s;
            cursor: pointer;
            white-space: nowrap
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--primary)
        }

        .nav-cta {
            background: var(--primary);
            color: var(--bg);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 10px 24px;
            border: none;
            cursor: pointer;
            transition: background 0.2s;
            white-space: nowrap
        }

        .nav-cta:hover {
            background: #d48d09
        }

        .hamburger {
            display: none;
            background: none;
            border: none;
            color: var(--text);
            cursor: pointer;
            padding: 4px
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            gap: 0;
            background: var(--surface);
            border-bottom: 1px solid var(--border)
        }

        .mobile-menu a {
            padding: 14px 24px;
            color: var(--muted);
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: color 0.2s
        }

        .mobile-menu a:hover {
            color: var(--primary)
        }

        @media(max-width:900px) {

            .nav-links,
            .nav-cta {
                display: none
            }

            .hamburger {
                display: block
            }

            .mobile-menu.open {
                display: flex
            }

            nav {
                padding: 12px 20px
            }
        }

        /* PROGRESS BAR */
        #progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: var(--primary);
            width: 0%;
            z-index: 200;
            transition: width 0.1s
        }

        /* ===== PAGE 1: HOME ===== */
        .hero {
            position: relative;
            height: 85vh;
            min-height: 560px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            padding-bottom: 80px;
            text-align: center;
            border-bottom: 1px solid var(--border)
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, var(--bg) 0%, rgba(26, 26, 26, 0.7) 50%, transparent 100%), url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80') center/cover no-repeat;
            filter: grayscale(80%)
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            padding: 0 20px
        }

        .hero h1 {
            font-size: clamp(48px, 8vw, 96px);
            font-weight: 700;
            line-height: 1;
            margin-bottom: 20px;
            letter-spacing: -0.02em
        }

        .hero p {
            font-size: 18px;
            color: var(--text);
            max-width: 600px;
            margin: 0 auto 36px;
            line-height: 1.7;
            opacity: 0.9
        }

        .btn-primary {
            background: var(--primary);
            color: var(--bg);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 16px 40px;
            border: none;
            cursor: pointer;
            transition: background 0.2s;
            display: inline-block;
            text-decoration: none
        }

        .btn-primary:hover {
            background: #d48d09
        }

        .btn-outline {
            background: transparent;
            color: var(--text);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 14px 32px;
            border: 1px solid var(--border);
            cursor: pointer;
            transition: all 0.2s;
            display: inline-block;
            text-decoration: none
        }

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

        /* TICKER */
        .ticker {
            overflow: hidden;
            border-bottom: 1px solid var(--border);
            background: var(--surface);
            height: 80px;
            display: flex;
            align-items: center;
            position: relative
        }

        .ticker::before,
        .ticker::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 80px;
            z-index: 1
        }

        .ticker::before {
            left: 0;
            background: linear-gradient(to right, var(--surface), transparent)
        }

        .ticker::after {
            right: 0;
            background: linear-gradient(to left, var(--surface), transparent)
        }

        .ticker-track {
            display: flex;
            white-space: nowrap;
            animation: ticker 30s linear infinite
        }

        .ticker-track span {
            font-family: 'Lora', serif;
            font-size: clamp(20px, 3vw, 32px);
            font-weight: 700;
            margin: 0 32px;
            flex-shrink: 0
        }

        .ticker-track .stat {
            color: var(--primary)
        }

        .ticker-track .dot {
            color: var(--muted)
        }

        @keyframes ticker {
            0% {
                transform: translateX(0)
            }

            100% {
                transform: translateX(-50%)
            }
        }

        /* HOME GRID */
        .home-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            border-left: 1px solid var(--border);
            border-right: 1px solid var(--border)
        }

        .grid-cell {
            padding: 40px;
            border-right: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 320px;
            text-decoration: none;
            color: var(--text)
        }

        .grid-cell:nth-child(3n) {
            border-right: none
        }

        .grid-cell:hover {
            background: var(--surface)
        }

        .grid-cell:hover h2 {
            color: var(--primary)
        }

        .grid-cell .cell-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start
        }

        .grid-cell .material-symbols-outlined {
            font-size: 36px;
            color: var(--muted);
            transition: color 0.2s
        }

        .grid-cell:hover .material-symbols-outlined {
            color: var(--primary)
        }

        .cell-num {
            font-size: 11px;
            font-weight: 700;
            color: var(--muted);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            transition: color 0.2s
        }

        .grid-cell:hover .cell-num {
            color: var(--primary)
        }

        .grid-cell h2 {
            font-size: clamp(22px, 2.5vw, 36px);
            font-weight: 700;
            margin-bottom: 12px;
            transition: color 0.2s
        }

        .grid-cell p {
            color: var(--muted);
            font-size: 14px;
            line-height: 1.7;
            transition: color 0.2s
        }

        .grid-cell:hover p {
            color: var(--text)
        }

        .grid-cell-wide {
            grid-column: span 2
        }

        @media(max-width:768px) {
            .home-grid {
                grid-template-columns: 1fr
            }

            .grid-cell {
                border-right: none;
                min-height: 220px
            }

            .grid-cell-wide {
                grid-column: span 1
            }
        }

        /* EMERGENCY BANNER */
        .emergency-banner {
            background: var(--danger);
            padding: 20px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap
        }

        .emergency-banner p {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.5
        }

        .emergency-banner p strong {
            display: block;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 2px
        }

        @media(max-width:600px) {
            .emergency-banner {
                padding: 16px 20px
            }
        }

        /* ===== PAGE 2: KNOW YOUR RIGHTS ===== */
        .kyr-layout {
            display: flex;
            flex: 1;
            gap: 0
        }

        .kyr-sidebar {
            width: 260px;
            flex-shrink: 0;
            border-right: 1px solid var(--border);
            padding: 32px 24px;
            position: sticky;
            top: 57px;
            height: calc(100vh - 57px);
            overflow-y: auto
        }

        .sidebar-label {
            font-size: 10px;
            font-weight: 700;
            color: var(--muted);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 12px;
            padding: 0 12px
        }

        .sidebar-link {
            display: block;
            padding: 10px 12px;
            color: var(--muted);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s;
            border-left: 2px solid transparent;
            cursor: pointer;
            margin-bottom: 2px
        }

        .sidebar-link:hover {
            color: var(--text);
            background: rgba(255, 255, 255, 0.04)
        }

        .sidebar-link.active {
            color: var(--text);
            border-left-color: var(--primary);
            background: rgba(245, 159, 10, 0.08)
        }

        .kyr-main {
            flex: 1;
            padding: 40px;
            overflow-y: auto
        }

        .kyr-search {
            display: flex;
            align-items: center;
            gap: 12px;
            background: transparent;
            border: 1px solid var(--border);
            padding: 14px 20px;
            margin-bottom: 40px;
            transition: border-color 0.2s
        }

        .kyr-search:focus-within {
            border-color: var(--primary)
        }

        .kyr-search input {
            background: none;
            border: none;
            outline: none;
            color: var(--text);
            font-size: 16px;
            font-family: 'Work Sans', sans-serif;
            width: 100%;
            placeholder-color: var(--muted)
        }

        .kyr-search input::placeholder {
            color: var(--muted)
        }

        .kyr-section {
            margin-bottom: 48px
        }

        .kyr-section-header {
            border-bottom: 1px solid var(--border);
            padding-bottom: 16px;
            margin-bottom: 24px
        }

        .kyr-section-header h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 6px
        }

        .kyr-section-header p {
            color: var(--muted);
            font-size: 14px
        }

        .legal-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border);
            padding: 24px;
            margin-bottom: 16px;
            transition: border-color 0.2s
        }

        .legal-card:hover {
            border-color: #555
        }

        .legal-card h3 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
            font-family: 'Work Sans', sans-serif
        }

        .legal-card p {
            color: #d1d5db;
            font-size: 14px;
            line-height: 1.75
        }

        .legal-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 14px;
            font-size: 12px;
            color: var(--primary);
            font-family: monospace;
            background: rgba(245, 159, 10, 0.1);
            padding: 4px 10px
        }

        .state-widget-section {
            margin-bottom: 40px
        }

        .state-widget-section h2 {
            font-size: 28px;
            font-weight: 700;
            font-family: 'Lora', serif;
            border-bottom: 1px solid var(--border);
            padding-bottom: 16px;
            margin-bottom: 8px
        }

        .state-widget-section p {
            color: var(--muted);
            font-size: 14px;
            margin-bottom: 24px
        }

        /* embedded state widget styles */
        .sw-intro {
            font-size: 13px;
            color: var(--muted);
            margin-bottom: 16px;
            line-height: 1.6
        }

        .sw-legend {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 16px
        }

        .sw-legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11px;
            color: var(--muted)
        }

        .sw-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0
        }

        .sw-search {
            width: 100%;
            padding: 10px 14px;
            font-size: 13px;
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--text);
            margin-bottom: 12px;
            outline: none;
            font-family: 'Work Sans', sans-serif
        }

        .sw-search:focus {
            border-color: var(--primary)
        }

        .sw-tabs {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 16px
        }

        .sw-tab {
            padding: 5px 12px;
            font-size: 12px;
            border: 1px solid var(--border);
            background: var(--bg);
            color: var(--muted);
            cursor: pointer;
            font-family: 'Work Sans', sans-serif;
            transition: all 0.15s
        }

        .sw-tab.active {
            background: var(--surface);
            color: var(--text);
            border-color: #666;
            font-weight: 600
        }

        .sw-card {
            background: var(--bg);
            border: 1px solid var(--border);
            padding: 14px 18px;
            margin-bottom: 10px
        }

        .sw-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            cursor: pointer;
            gap: 10px
        }

        .sw-state-name {
            font-size: 15px;
            font-weight: 600;
            color: var(--text)
        }

        .sw-state-act {
            font-size: 11px;
            color: var(--muted);
            margin-top: 2px
        }

        .sw-header-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0
        }

        .sw-badge {
            font-size: 10px;
            padding: 2px 8px;
            border-radius: 999px;
            white-space: nowrap;
            font-weight: 600
        }

        .sw-badge-mta {
            background: #1a3d0f;
            color: #7bc95e
        }

        .sw-badge-old {
            background: #3d2a0f;
            color: #f5a623
        }

        .sw-badge-partial {
            background: #0f2040;
            color: #60a5fa
        }

        .sw-chevron {
            font-size: 10px;
            color: var(--muted);
            transition: transform 0.2s;
            margin-top: 2px
        }

        .sw-chevron.open {
            transform: rotate(180deg)
        }

        .sw-body {
            display: none;
            margin-top: 12px;
            border-top: 1px solid var(--border);
            padding-top: 12px
        }

        .sw-body.open {
            display: block
        }

        .sw-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 8px
        }

        .sw-metric {
            background: var(--surface);
            padding: 8px 10px;
            border-radius: 4px
        }

        .sw-metric-label {
            font-size: 10px;
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 3px
        }

        .sw-metric-value {
            font-size: 12px;
            font-weight: 500;
            color: var(--text);
            line-height: 1.4
        }

        .sw-pills {
            display: flex;
            gap: 4px;
            flex-wrap: wrap;
            margin-bottom: 10px
        }

        .sw-pill {
            font-size: 10px;
            padding: 3px 8px;
            border: 1px solid var(--border);
            color: var(--muted);
            background: var(--surface)
        }

        .sw-rights-label {
            font-size: 10px;
            font-weight: 600;
            color: var(--muted);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 6px
        }

        .sw-right {
            font-size: 12px;
            color: var(--text);
            padding: 6px 0;
            border-bottom: 1px solid var(--border);
            line-height: 1.5;
            display: flex;
            align-items: flex-start;
            gap: 6px
        }

        .sw-right:last-of-type {
            border-bottom: none
        }

        .sw-ok {
            color: #4ade80;
            font-size: 12px;
            flex-shrink: 0;
            font-weight: 700
        }

        .sw-warn {
            color: #fbbf24;
            font-size: 12px;
            flex-shrink: 0;
            font-weight: 700
        }

        .sw-link {
            display: inline-block;
            margin-top: 8px;
            font-size: 11px;
            color: var(--info);
            text-decoration: underline
        }

        .sw-no-results {
            text-align: center;
            color: var(--muted);
            font-size: 13px;
            padding: 24px 0
        }

        @media(max-width:768px) {
            .kyr-layout {
                flex-direction: column
            }

            .kyr-sidebar {
                width: 100%;
                position: static;
                height: auto;
                border-right: none;
                border-bottom: 1px solid var(--border);
                padding: 20px
            }

            .kyr-main {
                padding: 20px
            }

            .sw-grid {
                grid-template-columns: 1fr
            }
        }

        /* ===== PAGE 3: STORIES ===== */
        .stories-hero {
            padding: 60px 40px 40px;
            border-bottom: 1px solid var(--border)
        }

        .stories-hero h1 {
            font-size: clamp(36px, 5vw, 64px);
            font-weight: 700;
            margin-bottom: 12px
        }

        .stories-hero p {
            color: var(--muted);
            font-size: 16px;
            max-width: 560px;
            line-height: 1.7
        }

        .stories-grid {
            padding: 40px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            border-left: 1px solid var(--border)
        }

        .story-card {
            border-right: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            overflow: hidden;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            flex-direction: column
        }

        .story-card:hover {
            background: var(--surface)
        }

        .story-card-featured {
            grid-column: 1/3;
            grid-row: 1/3
        }

        .story-img {
            width: 100%;
            aspect-ratio: 16/10;
            object-fit: cover;
            filter: grayscale(80%);
            transition: filter 0.3s;
            background: var(--surface)
        }

        .story-card:hover .story-img {
            filter: grayscale(40%)
        }

        .story-card-featured .story-img {
            aspect-ratio: 16/9
        }

        .story-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column
        }

        .story-tag {
            font-size: 10px;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 8px
        }

        .story-tag-danger {
            color: var(--danger)
        }

        .story-content h3 {
            font-size: clamp(16px, 2vw, 22px);
            font-weight: 700;
            margin-bottom: 8px;
            line-height: 1.35;
            font-family: 'Lora', serif
        }

        .story-card-featured h3 {
            font-size: clamp(22px, 3vw, 36px)
        }

        .story-content p {
            color: var(--muted);
            font-size: 13px;
            line-height: 1.65;
            flex: 1
        }

        .story-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 14px;
            font-size: 11px;
            color: var(--muted)
        }

        .stories-footer {
            padding: 32px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border);
            gap: 16px;
            flex-wrap: wrap
        }

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

            .story-card-featured {
                grid-column: 1;
                grid-row: auto
            }

            .stories-grid {
                padding: 20px
            }

            .stories-hero {
                padding: 40px 20px 30px
            }
        }

        /* ===== PAGE 4: JOURNAL ===== */
        .journal-hero {
            padding: 60px 40px;
            max-width: 900px
        }

        .journal-hero .eyebrow {
            font-size: 11px;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 16px
        }

        .journal-hero h1 {
            font-size: clamp(32px, 5vw, 64px);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 20px
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-top: 16px
        }

        .author-avatar {
            width: 44px;
            height: 44px;
            border-radius: 2px;
            background: var(--surface);
            overflow: hidden;
            flex-shrink: 0
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(80%)
        }

        .author-name {
            font-weight: 700;
            font-size: 14px
        }

        .author-role {
            font-size: 12px;
            color: var(--muted)
        }

        .article-featured-img {
            width: 100%;
            aspect-ratio: 16/8;
            object-fit: cover;
            filter: grayscale(70%);
            border-bottom: 1px solid var(--border)
        }

        .article-body {
            max-width: 760px;
            margin: 0 auto;
            padding: 48px 40px
        }

        .article-body p {
            font-size: 17px;
            line-height: 1.8;
            margin-bottom: 24px;
            color: #e5e7eb
        }

        .article-body h2 {
            font-size: 26px;
            font-weight: 700;
            margin-top: 48px;
            margin-bottom: 16px
        }

        .pull-quote {
            font-family: 'Lora', serif;
            font-size: clamp(18px, 2.5vw, 26px);
            line-height: 1.5;
            border-left: 4px solid var(--primary);
            padding-left: 24px;
            margin: 40px 0;
            font-style: italic
        }

        .action-box {
            background: var(--surface);
            padding: 28px;
            margin: 32px 0;
            border: 1px solid var(--border);
            border-top: 2px solid var(--primary)
        }

        .action-box h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 16px;
            font-family: 'Work Sans', sans-serif
        }

        .action-box ul {
            padding-left: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px
        }

        .action-box li {
            font-size: 14px;
            color: #d1d5db;
            line-height: 1.7
        }

        .action-box li strong {
            color: var(--text)
        }

        .article-footer {
            max-width: 760px;
            margin: 0 auto;
            padding: 0 40px 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border);
            padding-top: 24px;
            gap: 16px;
            flex-wrap: wrap
        }

        @media(max-width:640px) {

            .journal-hero,
            .article-body,
            .article-footer {
                padding-left: 20px;
                padding-right: 20px
            }
        }

        /* ===== PAGE 5: Get Help Now ===== */
        .action-layout {
            display: flex;
            flex: 1
        }

        .action-left {
            flex: 1;
            background: #f8f7f5;
            color: #1a1a1a;
            padding: 60px;
            overflow-y: auto
        }

        .action-right {
            flex: 1;
            background: var(--danger);
            color: #fff;
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow-y: auto
        }

        .action-eyebrow {
            font-size: 11px;
            font-weight: 700;
            color: var(--danger);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-bottom: 20px
        }

        .action-left h1 {
            font-size: clamp(36px, 4vw, 64px);
            font-weight: 700;
            line-height: 1;
            margin-bottom: 20px;
            color: #1a1a1a
        }

        .action-left .lead {
            font-size: 15px;
            line-height: 1.7;
            color: #555;
            border-left: 3px solid var(--primary);
            padding-left: 16px;
            margin-bottom: 40px
        }

        .template-card {
            border: 1px solid #ccc;
            padding: 24px;
            background: #fff;
            margin-bottom: 16px;
            transition: border-color 0.2s;
            display: flex;
            flex-direction: column;
            gap: 12px
        }

        .template-card:hover {
            border-color: var(--primary)
        }

        .template-card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px
        }

        .template-card h3 {
            font-size: 20px;
            font-weight: 700;
            color: #1a1a1a;
            font-family: 'Lora', serif;
            flex: 1
        }

        .template-card p {
            font-size: 13px;
            color: #666;
            line-height: 1.65
        }

        .template-card .material-symbols-outlined {
            color: #999;
            font-size: 28px;
            flex-shrink: 0
        }

        .btn-download {
            background: var(--primary);
            color: #1a1a1a;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 14px 20px;
            border: none;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%
        }

        .btn-download:hover {
            background: #d48d09
        }

        .crisis-icon {
            width: 72px;
            height: 72px;
            border: 1px solid rgba(255, 255, 255, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 28px
        }

        .crisis-icon .material-symbols-outlined {
            font-size: 40px;
            color: #fff
        }

        .action-right h2 {
            font-size: clamp(32px, 4vw, 60px);
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 24px;
            font-family: 'Lora', serif
        }

        .action-right .donot {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 16px
        }

        .action-right .sub {
            font-size: 15px;
            line-height: 1.7;
            opacity: 0.9;
            margin-bottom: 32px
        }

        .contact-card {
            border: 1px solid rgba(255, 255, 255, 0.4);
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-decoration: none;
            color: #fff;
            margin-bottom: 12px;
            transition: all 0.2s;
            cursor: pointer;
            gap: 16px
        }

        .contact-card:hover {
            background: #fff;
            color: var(--danger)
        }

        .contact-card:hover .contact-icon {
            background: rgba(220, 38, 38, 0.1)
        }

        .contact-label {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            opacity: 0.7;
            margin-bottom: 4px
        }

        .contact-card:hover .contact-label {
            opacity: 0.7
        }

        .contact-num {
            font-size: clamp(22px, 3vw, 36px);
            font-weight: 700;
            letter-spacing: 0.05em
        }

        .contact-icon {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background 0.2s
        }

        @media(max-width:768px) {
            .action-layout {
                flex-direction: column
            }

            .action-left,
            .action-right {
                padding: 40px 20px
            }
        }

        /* ===== PAGE 6: CRISIS MAP ===== */
        .map-wrap {
            flex: 1;
            position: relative;
            overflow: hidden;
            background: #111
        }

        .map-bg {
            position: absolute;
            inset: 0;
            background: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1600&q=80') center/cover no-repeat;
            filter: grayscale(100%) contrast(1.2) brightness(0.5);
            opacity: 0.5
        }

        .map-grid-overlay {
            position: absolute;
            inset: 0;
            background-image: linear-gradient(to right, #333 1px, transparent 1px), linear-gradient(to bottom, #333 1px, transparent 1px);
            background-size: 50px 50px;
            opacity: 0.2;
            pointer-events: none
        }

        .map-search {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 20;
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(42, 42, 42, 0.95);
            border: 1px solid var(--border);
            padding: 12px 16px;
            width: 300px;
            backdrop-filter: blur(4px)
        }

        .map-search input {
            background: none;
            border: none;
            outline: none;
            color: var(--text);
            font-size: 14px;
            font-family: 'Work Sans', sans-serif;
            width: 100%
        }

        .map-search input::placeholder {
            color: var(--muted)
        }

        .marker {
            position: absolute;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.2s;
            z-index: 10
        }

        .marker:hover {
            transform: translate(-50%, -50%) scale(1.6);
            z-index: 20
        }

        .marker-red {
            width: 16px;
            height: 16px;
            background: var(--danger);
            border: 2px solid rgba(255, 255, 255, 0.8);
            animation: pulse 2s infinite
        }

        .marker-blue {
            width: 12px;
            height: 12px;
            background: var(--info);
            border: 1px solid rgba(255, 255, 255, 0.8)
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7)
            }

            70% {
                box-shadow: 0 0 0 10px rgba(220, 38, 38, 0)
            }

            100% {
                box-shadow: 0 0 0 0 rgba(220, 38, 38, 0)
            }
        }

        .map-tooltip {
            position: absolute;
            display: none;
            z-index: 30;
            pointer-events: none;
            transform: translate(-50%, -110%)
        }

        .marker:hover .map-tooltip {
            display: block
        }

        .tooltip-inner {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 14px;
            min-width: 220px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6)
        }

        .tooltip-tag {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 6px
        }

        .tooltip-tag-red {
            color: var(--danger)
        }

        .tooltip-tag-blue {
            color: var(--info)
        }

        .tooltip-city {
            font-family: 'Lora', serif;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 4px
        }

        .tooltip-desc {
            font-size: 12px;
            color: var(--muted);
            line-height: 1.5
        }

        .map-legend {
            position: absolute;
            bottom: 24px;
            left: 20px;
            z-index: 20;
            background: rgba(26, 26, 26, 0.95);
            border: 1px solid var(--border);
            width: 260px;
            backdrop-filter: blur(4px)
        }

        .legend-header {
            padding: 14px 16px;
            border-bottom: 1px solid var(--border)
        }

        .legend-header h3 {
            font-family: 'Lora', serif;
            font-size: 16px;
            font-weight: 700
        }

        .legend-header p {
            font-size: 11px;
            color: var(--muted);
            margin-top: 2px
        }

        .legend-body {
            padding: 14px 16px;
            display: flex;
            flex-direction: column;
            gap: 12px
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px
        }

        .legend-dot-red {
            width: 14px;
            height: 14px;
            background: var(--danger);
            border-radius: 50%;
            flex-shrink: 0
        }

        .legend-dot-blue {
            width: 10px;
            height: 10px;
            background: var(--info);
            border-radius: 50%;
            flex-shrink: 0
        }

        .legend-footer {
            padding: 12px 16px;
            background: var(--surface);
            border-top: 1px solid var(--border)
        }

        .report-btn {
            color: var(--primary);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            width: 100%;
            justify-content: center
        }

        .report-btn:hover {
            color: #d48d09
        }

        .map-controls {
            position: absolute;
            bottom: 24px;
            right: 20px;
            z-index: 20;
            display: flex;
            flex-direction: column;
            gap: 8px
        }

        .map-ctrl-btn {
            width: 40px;
            height: 40px;
            background: rgba(42, 42, 42, 0.95);
            border: 1px solid var(--border);
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.2s;
            backdrop-filter: blur(4px)
        }

        .map-ctrl-btn:hover {
            background: var(--surface)
        }

        @media(max-width:600px) {
            .map-search {
                width: calc(100% - 40px)
            }

            .map-legend {
                width: calc(100% - 40px)
            }
        }

        /* ===== PAGE 7: THE WALL ===== */
        .wall-hero {
            padding: 48px 40px 32px;
            border-bottom: 1px solid var(--border)
        }

        .wall-hero h1 {
            font-size: clamp(36px, 5vw, 64px);
            font-weight: 700;
            margin-bottom: 8px
        }

        .wall-hero .sub-h {
            font-size: clamp(16px, 2vw, 22px);
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 12px
        }

        .wall-hero p {
            color: var(--muted);
            font-size: 15px;
            max-width: 600px;
            line-height: 1.7
        }

        .wall-form {
            background: var(--surface);
            border: 1px solid var(--border);
            border-top: 2px solid var(--primary);
            padding: 28px;
            margin: 24px 40px;
            box-shadow: 4px 4px 0 #000
        }

        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px
        }

        .form-group {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 6px
        }

        .form-label {
            font-size: 11px;
            font-weight: 700;
            color: var(--text);
            letter-spacing: 0.1em;
            text-transform: uppercase
        }

        .form-input,
        .form-select,
        .form-textarea {
            background: var(--bg);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 12px;
            font-size: 14px;
            font-family: 'Work Sans', sans-serif;
            outline: none;
            transition: border-color 0.2s;
            width: 100%
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            border-color: var(--primary)
        }

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

        .form-submit {
            background: var(--primary);
            color: var(--bg);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            padding: 12px 28px;
            border: none;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 8px
        }

        .form-submit:hover {
            background: #d48d09
        }

        .wall-sort {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
            margin-bottom: 16px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 16px
        }

        .wall-sort h3 {
            font-size: 22px;
            font-weight: 700;
            font-family: 'Lora', serif
        }

        .sort-btns {
            display: flex;
            gap: 16px;
            align-items: center
        }

        .sort-btn {
            background: none;
            border: none;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            cursor: pointer;
            transition: color 0.2s;
            font-family: 'Work Sans', sans-serif
        }

        .sort-btn.active {
            color: var(--primary)
        }

        .sort-btn:not(.active) {
            color: var(--muted)
        }

        .sort-btn:hover {
            color: var(--text)
        }

        .masonry {
            columns: 1;
            column-gap: 0;
            padding: 0 40px 40px
        }

        @media(min-width:600px) {
            .masonry {
                columns: 2
            }
        }

        @media(min-width:900px) {
            .masonry {
                columns: 3
            }
        }

        @media(min-width:1200px) {
            .masonry {
                columns: 4
            }
        }

        .wall-card {
            break-inside: avoid;
            margin-bottom: 1px;
            border: 1px solid var(--border);
            border-top-width: 2px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            background: var(--surface);
            margin-bottom: 16px;
            transition: border-color 0.2s;
            position: relative
        }

        .wall-card:hover {
            border-color: #555
        }

        .wall-card-normal {
            border-top-color: var(--primary)
        }

        .wall-card-urgent {
            border-top-color: var(--danger)
        }

        .urgent-badge {
            position: absolute;
            top: 0;
            right: 0;
            background: var(--danger);
            color: #fff;
            font-size: 9px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 3px 8px
        }

        .card-location {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 10px;
            color: var(--muted);
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 10px
        }

        .card-badge {
            display: inline-block;
            background: #333;
            color: var(--text);
            font-size: 11px;
            padding: 3px 8px;
            margin-bottom: 10px;
            border: 1px solid #444
        }

        .card-badge-danger {
            background: rgba(220, 38, 38, 0.15);
            color: var(--danger);
            border-color: var(--danger)
        }

        .wall-card p {
            font-size: 13px;
            line-height: 1.7;
            color: #e5e7eb;
            flex: 1;
            margin-bottom: 12px
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--border);
            padding-top: 10px;
            margin-top: auto
        }

        .upvote-btn {
            display: flex;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
            color: var(--muted);
            cursor: pointer;
            font-size: 13px;
            font-weight: 700;
            font-family: 'Work Sans', sans-serif;
            transition: color 0.2s;
            padding: 0
        }

        .upvote-btn:hover,
        .upvote-btn.voted {
            color: var(--primary)
        }

        .share-btn {
            background: none;
            border: none;
            color: var(--muted);
            cursor: pointer;
            transition: color 0.2s;
            padding: 0;
            display: flex
        }

        .share-btn:hover {
            color: var(--text)
        }

        .wall-load-more {
            display: flex;
            justify-content: center;
            padding: 20px 40px 40px
        }

        @media(max-width:600px) {

            .wall-hero,
            .wall-form,
            .wall-sort,
            .masonry,
            .wall-load-more {
                padding-left: 20px;
                padding-right: 20px
            }

            .form-row {
                flex-direction: column
            }

            .wall-form {
                margin: 16px 0
            }
        }

        /* FOOTER */
        footer {
            background: var(--surface);
            border-top: 1px solid var(--border);
            padding: 32px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap
        }

        footer p {
            font-size: 12px;
            color: var(--muted);
            line-height: 1.6
        }

        footer a {
            color: var(--muted);
            text-decoration: none;
            font-size: 12px;
            transition: color 0.2s
        }

        footer a:hover {
            color: var(--primary)
        }

        @media(max-width:600px) {
            footer {
                padding: 24px 20px;
                flex-direction: column;
                text-align: center
            }
        }

        /* TOAST */
        .toast {
            position: fixed;
            bottom: 24px;
            left: 24px;
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 999;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s;
            font-size: 13px;
            font-weight: 600;
            max-width: 320px
        }

        .toast.show {
            transform: translateY(0);
            opacity: 1
        }

        .toast .material-symbols-outlined {
            color: var(--primary);
            font-size: 20px
        }
