  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --blue-deep:   #1a1208;
    --blue-mid:    #7a3d08;
    --blue-bright: #e8900a;
    --blue-light:  #f5b042;
    --blue-pale:   #fef3e0;
    --blue-ghost:  #fffbf0;
    --white:       #ffffff;
    --off-white:   #f7f9fc;
    --slate:       #5c4228;
    --mist:        #c4956a;
    --line:        rgba(120,70,8,0.12);
  }
  html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
  }
  body.listings-page {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: 'Manrope', sans-serif;
    background: var(--off-white);
    color: var(--blue-deep);
    overflow-x: hidden;
  }
  .listings-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 3.5rem;
    background: rgba(247,249,252,0.95); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .logo { display: flex; align-items: center; text-decoration: none; height: 36px; }
  .logo img { height: 36px; width: auto; display: block; }
  .nav-actions { display: flex; align-items: center; gap: 0.75rem; }
  .nav-donate {
    font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 600;
    color: var(--blue-bright); text-decoration: none; padding: 0.5rem 1.2rem;
    border-radius: 4px; border: 1.5px solid var(--blue-bright);
    background: rgba(255,255,255,0.92); transition: background .2s; white-space: nowrap;
  }
  .nav-donate:hover { background: var(--blue-pale); }
  .nav-cta {
    font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 700;
    background: var(--blue-bright); color: var(--white); padding: 0.5rem 1.3rem;
    border-radius: 4px; border: none; text-decoration: none; white-space: nowrap; transition: background .2s;
  }
  .nav-cta:hover { background: var(--blue-mid); }
  .nav-logout-form { display: inline-flex; margin: 0; }
  .nav-logout {
    font-family: 'Manrope', sans-serif; font-size: 0.85rem; font-weight: 600;
    color: var(--slate); background: transparent; border: none;
    padding: 0.5rem 0.4rem; cursor: pointer; white-space: nowrap;
  }
  .nav-logout:hover { color: var(--blue-bright); }
  .verification-alert {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 190;
    display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
    padding: 0.9rem 1.5rem;
    background: var(--blue-pale);
    border-bottom: 1px solid rgba(232,144,10,0.35);
    color: var(--blue-deep);
    text-align: center;
  }
  .verification-alert strong { display: block; font-size: 0.9rem; }
  .verification-alert span { font-size: 0.82rem; color: var(--slate); }
  .verification-alert form { margin: 0; }
  .verification-alert button {
    font-family: 'Manrope', sans-serif; font-size: 0.82rem; font-weight: 700;
    color: var(--white); background: var(--blue-bright);
    border: none; border-radius: 4px; padding: 0.55rem 1rem; cursor: pointer;
  }
  .verification-alert button:hover { background: var(--blue-mid); }

  /* ── PAGE HERO ── */
  .page-hero {
    margin-top: 72px; background: var(--blue-deep);
    padding: 4rem 3.5rem 3rem; position: relative; overflow: hidden;
  }
  .page-hero-topo { position: absolute; inset: 0; pointer-events: none; }
  .page-hero-topo svg { width: 100%; height: 100%; }
  .ptl { fill: none; stroke: var(--blue-bright); stroke-width: 0.8; opacity: 0.08; }
  .page-eyebrow {
    font-family: 'DM Mono', monospace; font-size: 0.68rem;
    letter-spacing: 0.28em; color: var(--blue-light); text-transform: uppercase; margin-bottom: 1rem;
  }
  .page-title {
    font-family: 'Google Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700;
    line-height: 1.1; letter-spacing: -0.02em; color: var(--white);
  }
  .page-title .accent { color: var(--blue-bright); }
  .page-sub {
    margin-top: 0.8rem; font-size: 0.95rem; font-weight: 300;
    color: rgba(255,255,255,0.55); max-width: 50ch;
  }

  /* ── SEARCH BAR (top) ── */
  .search-bar {
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 1rem 0; position: sticky; top: 72px; z-index: 100;
  }
  .search-bar-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 3.5rem;
    display: flex; align-items: center; gap: 1rem; flex-wrap: nowrap;
  }
  .search-wrap { position: relative; flex: 1 1 auto; min-width: 220px; }
  .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--mist); pointer-events: none; }
  .search-input {
    width: 100%; padding: 0.65rem 1rem 0.65rem 2.6rem;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem;
    border: 1.5px solid var(--line); border-radius: 4px;
    background: var(--off-white); color: var(--blue-deep); outline: none; transition: border-color .2s;
  }
  .search-input:focus { border-color: var(--blue-bright); background: var(--white); }
  .search-input::placeholder { color: var(--mist); }

  .top-filters { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; flex-wrap: nowrap; }
  .filter-select {
    font-family: 'Manrope', sans-serif; font-size: 0.82rem; font-weight: 500;
    padding: 0.6rem 2rem 0.6rem 0.9rem; border: 1.5px solid var(--line); border-radius: 4px;
    background: var(--off-white); color: var(--blue-deep); outline: none; cursor: pointer;
    transition: border-color .2s; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c4956a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.7rem center;
  }
  .filter-select:focus { border-color: var(--blue-bright); }
  .view-toggle {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.15rem;
    padding: 0.18rem;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    background: var(--off-white);
  }
  .view-toggle-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--slate);
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 0.42rem 0.8rem;
    cursor: pointer;
    transition: background .16s, color .16s, box-shadow .16s;
  }
  .view-toggle-btn:hover {
    background: var(--blue-pale);
    color: var(--blue-bright);
  }
  .view-toggle-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(232, 144, 10, 0.28);
  }
  .view-toggle-btn.active {
    background: var(--blue-bright);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(120,70,8,0.14);
  }
  .view-toggle-btn.active:hover {
    background: var(--blue-mid);
    color: var(--white);
  }
  .filter-toggle {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.82rem; font-weight: 500; color: var(--slate);
    padding: 0.6rem 1rem; border: 1.5px solid var(--line); border-radius: 4px;
    background: var(--off-white); cursor: pointer; transition: all .2s; white-space: nowrap; user-select: none;
  }
  .filter-toggle:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
  .filter-toggle.active { border-color: var(--blue-bright); background: var(--blue-pale); color: var(--blue-bright); }
  .toggle-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
  .results-count {
    flex: 0 0 8.5rem;
    width: 8.5rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--mist);
    text-align: right;
    white-space: nowrap;
  }

  /* ── TWO-COLUMN LAYOUT ── */
  .layout-wrap {
    width: 100%;
    max-width: 1280px; margin: 0 auto;
    padding: 2rem 3.5rem 5rem;
    display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start;
  }

  /* ── REGION SIDEBAR ── */
  .sidebar {
    position: sticky; top: 128px;
    background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    overflow: hidden; max-height: calc(100vh - 150px); overflow-y: auto;
  }
  .sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line);
    cursor: pointer; user-select: none;
    font-family: 'DM Mono', monospace; font-size: 0.7rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-deep); font-weight: 700;
  }
  .sidebar-header svg { color: var(--mist); transition: transform .25s; }
  .sidebar-header.collapsed svg { transform: rotate(-90deg); }

  .region-tree { padding: 0.5rem 0; }

  /* Country row */
  .country-row {
    display: flex; align-items: center;
    padding: 0.6rem 1.1rem; gap: 0.7rem; cursor: pointer;
    transition: background .15s; user-select: none;
  }
  .country-row:hover { background: var(--blue-ghost); }
  .country-checkbox {
    width: 16px; height: 16px; border: 1.5px solid var(--line);
    border-radius: 3px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    transition: all .15s; background: var(--white);
  }
  .country-checkbox.checked { background: var(--blue-bright); border-color: var(--blue-bright); }
  .country-checkbox.checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg) translateY(-1px); display: block; }
  .country-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-deep); flex: 1; }
  .country-toggle {
    width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 300; color: var(--slate); flex-shrink: 0;
    background: var(--off-white); transition: all .15s; line-height: 1;
  }
  .country-toggle:hover { border-color: var(--blue-bright); color: var(--blue-bright); }

  /* Region rows (sub-items) */
  .region-list { display: none; }
  .region-list.open { display: block; }
  .region-row {
    display: flex; align-items: center; padding: 0.48rem 1.1rem 0.48rem 2.8rem; gap: 0.7rem;
    cursor: pointer; transition: background .15s; user-select: none;
  }
  .region-row:hover { background: var(--blue-ghost); }
  .region-checkbox {
    width: 14px; height: 14px; border: 1.5px solid var(--line);
    border-radius: 2px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    transition: all .15s; background: var(--white);
  }
  .region-checkbox.checked { background: var(--blue-bright); border-color: var(--blue-bright); }
  .region-checkbox.checked::after { content: ''; width: 8px; height: 4px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg) translateY(-1px); display: block; }
  .region-label { font-size: 0.8rem; font-weight: 500; color: var(--slate); letter-spacing: 0.04em; text-transform: uppercase; }

  .sidebar-clear {
    display: none; padding: 0.7rem 1.1rem; border-top: 1px solid var(--line);
    font-size: 0.75rem; color: var(--blue-bright); cursor: pointer;
    font-family: 'DM Mono', monospace; letter-spacing: 0.08em;
    transition: background .15s; text-align: center;
  }
  .sidebar-clear:hover { background: var(--blue-pale); }
  .sidebar-clear.visible { display: block; }

  /* ── RESULTS ── */
  .results-panel {
    grid-column: 2;
    display: grid;
    grid-template-areas: "results";
    min-width: 0;
    width: 100%;
  }

  /* ── CARD GRID ── */
  .card-grid {
    grid-area: results;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
    min-width: 0;
    width: 100%;
  }
  .card-grid.is-hidden {
    display: none;
  }

  .map-view {
    grid-area: results;
    min-width: 0;
    width: 100%;
  }
  .map-view.is-hidden {
    display: none;
  }
  .listings-map {
    width: 100%;
    min-height: 680px;
    height: calc(100vh - 190px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--blue-ghost);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(120,70,8,0.08);
  }
  .listings-map .leaflet-control-attribution {
    font-size: 0.62rem;
  }
  .map-message {
    margin-top: 0.8rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--mist);
    text-transform: uppercase;
  }
  .map-popup {
    min-width: 180px;
    color: var(--blue-deep);
  }
  .map-popup-title {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--blue-deep);
    font-family: 'Google Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
  }
  .map-popup-title:hover {
    color: var(--blue-bright);
  }
  .map-popup-meta {
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--slate);
  }

  .listing-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: 8px; overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer; text-decoration: none; display: block; color: inherit;
  }
  .listing-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(120,70,8,0.1); }

  .card-image {
    height: 180px; background: var(--blue-ghost);
    position: relative; overflow: hidden;
    background-size: cover; background-position: center;
  }
  .card-image-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  }
  .card-image-placeholder svg { opacity: 0.18; }

  .card-badges {
    position: absolute; top: 0.8rem; left: 0.8rem;
    display: flex; gap: 0.4rem; flex-wrap: wrap;
  }
  .badge {
    font-family: 'DM Mono', monospace; font-size: 0.6rem;
    letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
    padding: 0.25rem 0.6rem; border-radius: 3px;
  }
  .badge-type { background: rgba(26,18,8,0.7); color: var(--white); }
  .badge-difficulty {
    color: var(--white);
  }
  .badge-difficulty.easy      { background: rgba(37, 99, 235, 0.9); }
  .badge-difficulty.medium    { background: rgba(198, 40, 40, 0.9); }
  .badge-difficulty.hard      { background: rgba(26, 18, 8, 0.92); }
  .badge-difficulty:not(.easy):not(.medium):not(.hard) { background: rgba(100, 100, 100, 0.9); }

  .card-rating {
    position: absolute; bottom: 0.8rem; right: 0.8rem;
    background: rgba(26,18,8,0.72); backdrop-filter: blur(4px);
    border-radius: 3px; padding: 0.25rem 0.6rem;
    display: flex; align-items: center; gap: 0.3rem;
  }
  .card-rating svg { color: var(--blue-bright); }
  .card-rating span {
    font-family: 'DM Mono', monospace; font-size: 0.68rem;
    color: var(--white); letter-spacing: 0.05em;
  }

  .card-body { padding: 1.3rem 1.4rem 1.4rem; }
  .card-location {
    font-family: 'DM Mono', monospace; font-size: 0.65rem;
    letter-spacing: 0.12em; color: var(--mist); text-transform: uppercase; margin-bottom: 0.5rem;
  }
  .card-title {
    font-family: 'Google Sans', sans-serif; font-size: 1.05rem; font-weight: 700;
    line-height: 1.25; color: var(--blue-deep); margin-bottom: 0.8rem;
  }
  .card-desc {
    font-size: 0.82rem; line-height: 1.6; color: var(--slate); font-weight: 300;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 1rem;
  }
  .card-meta {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding-top: 0.9rem; border-top: 1px solid var(--line);
  }
  .card-meta-item {
    display: flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; color: var(--slate); font-weight: 400;
  }
  .card-meta-item svg { color: var(--blue-bright); flex-shrink: 0; }

  /* ── SKELETON PLACEHOLDERS (same DOM + metrics as real cards) ── */
  .listing-card--skeleton,
  .listing-card--empty {
    pointer-events: none;
    cursor: default;
  }
  .listing-card--skeleton:hover,
  .listing-card--empty:hover {
    transform: none;
    box-shadow: none;
  }
  .listing-card--skeleton .card-image,
  .listing-card--skeleton .card-location,
  .listing-card--skeleton .card-title,
  .listing-card--skeleton .card-desc,
  .listing-card--skeleton .card-meta-item {
    color: transparent !important;
    user-select: none;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
  }
  .listing-card--skeleton .card-image::before,
  .listing-card--skeleton .card-location::before,
  .listing-card--skeleton .card-title::before,
  .listing-card--skeleton .card-desc::before,
  .listing-card--skeleton .card-meta-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
      90deg,
      var(--blue-ghost) 0%,
      rgba(120, 70, 8, 0.09) 50%,
      var(--blue-ghost) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.35s ease-in-out infinite;
  }
  .listing-card--skeleton .card-image::before {
    border-radius: 0;
  }
  .listing-card--skeleton .card-meta-item svg {
    visibility: hidden;
  }

  /* ── EMPTY STATE (same card footprint as skeleton / result; message overlay) ── */
  .listing-card--empty {
    grid-column: 1;
    align-self: start;
  }
  .listing-card--empty .card-body {
    position: relative;
  }
  .listing-card--empty .card-body > :not(.listings-empty-overlay) {
    visibility: hidden;
  }
  .listings-empty-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.3rem 1.4rem;
    text-align: center;
    pointer-events: none;
  }
  .listings-empty-overlay svg {
    color: var(--mist);
    opacity: 0.55;
    flex-shrink: 0;
  }
  .listings-empty-overlay h3 {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--blue-deep);
  }
  .listings-empty-overlay p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--mist);
    font-weight: 300;
    max-width: 28ch;
  }

  @keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* ── PAGINATION ── */
  .listings-pagination {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0 0.5rem;
  }
  .pagination-btn {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-deep);
    background: var(--ghost);
    border: 1.5px solid var(--line);
    border-radius: 4px;
    padding: 0.55rem 1rem;
    cursor: pointer;
    transition: background .2s, border-color .2s;
  }
  .pagination-btn:not([disabled]):hover {
    background: var(--white);
    border-color: var(--blue-bright);
    color: var(--blue-bright);
  }
  .pagination-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .pagination-info {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--mist);
  }

  /* ── FOOTER ── */
  footer {
    flex-shrink: 0;
    padding: 2.8rem 3.5rem; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
    border-top: 1px solid var(--line); background: var(--white);
  }
  .footer-logo { display: flex; align-items: center; }
  .footer-logo a { display: flex; align-items: center; text-decoration: none; color: inherit; }
  .footer-logo img { height: 28px; width: auto; display: block; }
  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a { font-size: 0.8rem; color: var(--mist); text-decoration: none; transition: color .2s; }
  .footer-links a:hover { color: var(--blue-bright); }
  .footer-links a.active { color: var(--blue-bright); font-weight: 600; }
  .footer-copy { font-size: 0.72rem; color: var(--mist); font-family: 'DM Mono', monospace; }
  .footer-passion { font-size: 0.72rem; color: var(--blue-bright); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .layout-wrap { grid-template-columns: 1fr; padding: 1.5rem 1.5rem 4rem; }
    .sidebar { position: static; }
    .results-panel { grid-column: 1; }
    .listings-map { min-height: 560px; height: 68vh; }
  }
  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-cta { display: none; }
    .nav-actions .nav-donate { font-size: 0.75rem; padding: 0.42rem 0.85rem; }
    .page-hero { padding: 3rem 1.5rem 2.5rem; }
    .search-bar { padding: 0.8rem 0; top: 64px; }
    .search-bar-inner { padding: 0 1.5rem; flex-wrap: wrap; }
    .top-filters { flex-wrap: wrap; }
    .results-count { display: none; }
    .card-grid { grid-template-columns: 1fr; }
    .view-toggle { width: 100%; }
    .view-toggle-btn { flex: 1; }
    .listings-map { min-height: 420px; height: 65vh; }
    footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  }
  /* ── CARD DEMO MODAL ── */
  .demo-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(26,18,8,0.7); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .demo-overlay.active { opacity: 1; pointer-events: all; }
  .demo-box {
    background: var(--white); border-radius: 10px; padding: 3rem 2.8rem;
    max-width: 420px; width: 100%; position: relative; text-align: center;
    transform: translateY(24px); transition: transform .35s ease;
    box-shadow: 0 32px 80px rgba(26,18,8,0.2);
  }
  .demo-overlay.active .demo-box { transform: translateY(0); }
  .demo-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none; cursor: pointer;
    color: var(--mist); padding: 0.3rem; transition: color .2s;
  }
  .demo-close:hover { color: var(--blue-deep); }
  .demo-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: var(--blue-pale); margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-bright);
  }
  .demo-title {
    font-family: 'Google Sans', sans-serif; font-size: 1.4rem; font-weight: 700;
    color: var(--blue-deep); letter-spacing: -0.01em; margin-bottom: 0.8rem;
  }
  .demo-text {
    font-size: 0.92rem; line-height: 1.75; color: var(--slate); font-weight: 300;
    margin-bottom: 1.8rem;
  }
  .demo-text strong { font-weight: 600; color: var(--blue-deep); }
  .demo-btn {
    background: var(--blue-bright); color: var(--white);
    border: none; border-radius: 4px; padding: 0.85rem 2rem;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; transition: background .2s; width: 100%;
  }
  .demo-btn { margin-bottom: 0.6rem; }
  .demo-btn-secondary {
    background: transparent; color: var(--blue-bright);
    border: 1.5px solid var(--blue-bright); border-radius: 4px; padding: 0.85rem 2rem;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: background .2s, color .2s; width: 100%;
  }
  .demo-btn-secondary:hover { background: var(--blue-pale); }

  /* ── SUBSCRIBE MODAL ── */
  .sub-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(26,18,8,0.75); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .sub-overlay.active { opacity: 1; pointer-events: all; }
  .sub-box {
    background: var(--white); border-radius: 10px; padding: 3rem 2.8rem;
    max-width: 440px; width: 100%; position: relative;
    transform: translateY(24px); transition: transform .35s ease;
    box-shadow: 0 32px 80px rgba(26,18,8,0.22);
  }
  .sub-overlay.active .sub-box { transform: translateY(0); }
  .sub-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none; cursor: pointer; color: var(--mist); padding: 0.3rem; transition: color .2s;
  }
  .sub-close:hover { color: var(--blue-deep); }
  .sub-icon {
    width: 52px; height: 52px; border-radius: 10px;
    background: var(--blue-pale); margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center; color: var(--blue-bright);
  }
  .sub-title { font-family: 'Google Sans', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--blue-deep); margin-bottom: 0.6rem; }
  .sub-sub { font-size: 0.9rem; line-height: 1.7; color: var(--slate); font-weight: 300; margin-bottom: 1.8rem; }
  .sub-form { display: flex; flex-direction: column; gap: 1rem; }
  .optional-profile-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .sub-field { display: flex; flex-direction: column; gap: 0.4rem; }
  .sub-field label { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.16em; color: var(--mist); text-transform: uppercase; }
  .sub-field input {
    font-family: 'Manrope', sans-serif; font-size: 0.95rem;
    color: var(--blue-deep); background: var(--blue-ghost);
    border: 1.5px solid transparent; border-radius: 4px; padding: 0.75rem 1rem;
    outline: none; transition: border-color .2s, background .2s;
  }
  .sub-field input::placeholder { color: var(--mist); }
  .sub-field input:focus { border-color: var(--blue-bright); background: var(--white); }
  .sub-submit {
    margin-top: 0.4rem; background: var(--blue-bright); color: var(--white);
    border: none; border-radius: 4px; font-family: 'Manrope', sans-serif;
    font-size: 0.92rem; font-weight: 600; padding: 0.9rem; cursor: pointer; transition: background .2s;
  }
  .sub-submit:hover { background: var(--blue-mid); }
  .sub-note { margin-top: 0.9rem; font-size: 0.75rem; color: var(--mist); text-align: center; font-weight: 300; }
  #sub-success { display: none; text-align: center; padding: 1rem 0; }
  #sub-success .success-emoji { font-size: 2rem; margin-bottom: 0.8rem; }
  #sub-success .success-title { font-family: 'Google Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 0.4rem; }
  #sub-success .success-text { font-size: 0.88rem; color: var(--slate); line-height: 1.6; font-weight: 300; }
  .demo-btn-secondary {
    background: transparent; color: var(--blue-bright);
    border: 1.5px solid var(--blue-bright); border-radius: 4px; padding: 0.82rem 2rem;
    font-family: 'Manrope', sans-serif; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: background .2s, color .2s; width: 100%; margin-top: 0.75rem;
  }
  .demo-btn-secondary:hover { background: var(--blue-pale); }

  /* Subscribe modal */
  .subscribe-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(26,18,8,0.7); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .subscribe-overlay.active { opacity: 1; pointer-events: all; }
  .subscribe-box {
    background: var(--white); border-radius: 10px; padding: 3rem 2.8rem;
    max-width: 440px; width: 100%; position: relative;
    transform: translateY(24px); transition: transform .35s ease;
    box-shadow: 0 32px 80px rgba(26,18,8,0.2);
  }
  .subscribe-overlay.active .subscribe-box { transform: translateY(0); }
  .subscribe-close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none; cursor: pointer; color: var(--mist); padding: 0.3rem; transition: color .2s;
  }
  .subscribe-close:hover { color: var(--blue-deep); }
