    :root {
      --bg:         #fafaf8;
      --bg-card:    #ffffff;
      --text:       #303030;
      --text-muted: #6b6b6b;
      --accent:     #fe5e0e;
      --border:     #e2dedd;
      --border-h:   #b8b3af;
      --radius:     14px;
    }

    @media (prefers-color-scheme: dark) {
      html { color-scheme: dark; }

      :root {
        --bg:         #131314;
        --bg-card:    #1c1c20;
        --text:       #ebebee;
        --text-muted: rgba(235, 235, 238, 0.55);
        --border:     rgba(255, 255, 255, 0.12);
        --border-h:   rgba(255, 255, 255, 0.24);
      }
    }

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

    html {
      scroll-behavior: smooth;
      color-scheme: light;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font);
      overflow-x: hidden;
    }

    .hero {
      position: relative; z-index: 2;
      height: 80vh;
      height: 80svh;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      width: 100%;
      padding: 14px clamp(16px, 4vw, 32px);
      padding-top: max(14px, env(safe-area-inset-top, 0px));
      background: var(--bg);
      border-bottom: 1px solid var(--border);
    }

    .logo-block { display: flex; align-items: center; gap: 10px; }

    .logo-block .site-wordmark {
      font-size: 1.05rem;
      margin: 0;
      font-weight: 600;
    }

    .status-pill {
      display: flex; align-items: center; gap: 7px;
      padding: 5px 11px;
      border: 1px solid rgba(254,94,14,0.25);
      border-radius: 20px;
      background: rgba(254,94,14,0.08);
      font-size: 0.7rem; font-weight: 600;
      color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
    }

    .status-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent); box-shadow: 0 0 6px rgba(254,94,14,0.5);
      animation: blink 2s ease-in-out infinite; flex-shrink: 0;
    }

    .try-terminal-btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 34px;
      padding: 0 12px;
      border-radius: 10px;
      background: var(--accent);
      color: #fff;
      text-decoration: none;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      box-shadow: 0 10px 24px rgba(254,94,14,0.22);
      transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
      white-space: nowrap;
    }
    .try-terminal-btn:hover{
      filter: brightness(0.98);
      transform: translateY(-1px);
      box-shadow: 0 12px 28px rgba(254,94,14,0.26);
    }
    .try-terminal-btn:active{
      transform: translateY(0px);
      box-shadow: 0 10px 22px rgba(254,94,14,0.22);
    }

    .header-actions{
      display:flex;
      align-items:center;
      gap:10px;
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0.25; }
    }

    /* ── Map ──────────────────────────────────────���─────────── */
    .map-wrap {
      position: absolute; inset: 0; overflow: hidden;
    }

    .index-hero-map {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    .map-wrap .maplibregl-map,
    .map-wrap .maplibregl-canvas-container {
      position: absolute !important;
      inset: 0;
    }

    .map-wrap .maplibregl-ctrl-bottom-right {
      margin-bottom: 8px;
      margin-right: 8px;
    }

    .index-map-sg-hit {
      width: 36px;
      height: 36px;
      margin: -18px 0 0 -18px;
      padding: 0;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      background: transparent;
      -webkit-tap-highlight-color: transparent;
    }

    .map-wrap svg {
      position: absolute; inset: 0;
      width: 100%; height: 100%; display: block;
    }

    /* Ocean */
    .sphere { fill: #edecea; }

    /* Grid lines */
    .graticule { fill: none; stroke: rgba(48,48,48,0.05); stroke-width: 0.3; }

    /* Non-live countries: outline only */
    .country:not(.live) {
      fill: none;
      stroke: rgba(48, 48, 48, 0.2);
      stroke-width: 0.5;
      vector-effect: non-scaling-stroke;
      paint-order: stroke fill;
      cursor: default;
      transition: stroke 0.12s ease;
    }
    .country:not(.live):hover { stroke: rgba(48, 48, 48, 0.32); }
    .country.sea:not(.live) { cursor: pointer; }
    .country.sea:not(.live):hover { stroke: rgba(48, 48, 48, 0.38); }

    /* Live countries */
    .country.live {
      fill: rgba(254,94,14,0.18); stroke: none;
      cursor: pointer;
    }
    .country.live:hover { fill: rgba(254,94,14,0.3); }

    /* Border mesh */
    .border-mesh {
      fill: none; stroke: rgba(48,48,48,0.14); stroke-width: 0.5;
      pointer-events: none;
    }
    /* Live country border overlay */
    .border-live {
      fill: none; stroke: rgba(254,94,14,0.7); stroke-width: 1;
      pointer-events: none;
    }

    /* Centre dot */
    .ping-dot {
      fill: #fe5e0e;
      filter: drop-shadow(0 0 3px rgba(254,94,14,0.6));
    }

    /* LIVE label */
    .live-tag {
      font-family: var(--font-mono); font-weight: 700; fill: #fe5e0e;
      dominant-baseline: middle; text-anchor: start; letter-spacing: 0.12em;
    }

    /* ── Hero overlay: no card — soft light halos so type stays legible on the map ── */
    .hero-overlay {
      position: absolute;
      top: 32%; left: 50%;
      transform: translate(-50%, -50%);
      z-index: 2; pointer-events: none;
      text-align: center;
      width: 90%; max-width: 620px;
    }
    .hero-headline {
      font-size: 2.8rem; font-weight: 700;
      letter-spacing: -0.03em; line-height: 1.15;
      color: var(--text);
      margin-bottom: 14px;
      text-shadow:
        0 0 1px rgba(255, 255, 255, 0.95),
        0 0 28px rgba(255, 255, 255, 0.45),
        0 0 10px rgba(255, 255, 255, 0.35);
    }
    .hero-subhead {
      font-size: 0.875rem;
      color: color-mix(in srgb, var(--text) 68%, var(--text-muted));
      letter-spacing: 0.01em; line-height: 1.7;
      max-width: 48ch;
      margin-left: auto;
      margin-right: auto;
      text-shadow:
        0 0 1px rgba(255, 255, 255, 0.92),
        0 0 22px rgba(255, 255, 255, 0.42),
        0 0 8px rgba(255, 255, 255, 0.32);
    }

    @media (max-width: 639px) {
      .hero-headline { font-size: 1.75rem; }
      .hero-subhead  { font-size: 0.78rem; }
    }

    /* Map hint */
    .map-hint {
      position: absolute; bottom: 40px; left: 50%;
      transform: translateX(-50%);
      z-index: 2; pointer-events: none;
      font-size: 0.7rem; color: var(--text-muted);
      letter-spacing: 0.12em; text-transform: uppercase;
      opacity: 0.4; white-space: nowrap;
    }

    /* Scroll-down nudge */
    .scroll-nudge {
      position: absolute; bottom: 14px; left: 50%;
      transform: translateX(-50%);
      z-index: 2; pointer-events: none;
      display: flex; flex-direction: column; align-items: center; gap: 3px;
      opacity: 0.28;
      animation: nudgeBounce 2.2s ease-in-out infinite;
    }
    .scroll-nudge span {
      font-size: 0.7rem; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--text-muted);
    }
    .scroll-nudge svg { color: var(--text-muted); }
    @keyframes nudgeBounce {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50%       { transform: translateX(-50%) translateY(4px); }
    }

    /* ═══════════════════════════════════════════════════════════
       FOOTER
    ═══════════════════════════════════════════════════════════ */
    .site-footer {
      position: relative; z-index: 2;
      padding: 40px 28px 36px;
      background: var(--bg);
      width: 100%;
      /* Everything except the wordmark uses a softer gray than body --text-muted */
      --footer-muted: #a8a8a8;
      --footer-muted-hover: #7a7a7a;
      --footer-rule: color-mix(in srgb, var(--border) 72%, var(--bg));
    }
    .footer-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px 28px;
    }
    .footer-row-top .footer-brand.site-wordmark {
      font-size: 1rem;
      color: var(--text);
    }
    .footer-nav-primary {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: clamp(16px, 3vw, 36px);
    }
    .footer-nav-primary a {
      font-size: 0.875rem;
      font-weight: 400;
      letter-spacing: 0.01em;
      color: var(--footer-muted);
      text-decoration: none;
      transition: color 0.15s;
    }
    .footer-nav-primary a:hover { color: var(--footer-muted-hover); }
    .footer-divider {
      height: 1px;
      background: var(--footer-rule);
      margin: 28px 0 24px;
    }
    .footer-legal {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px 8px;
      font-size: 0.8125rem;
      color: var(--footer-muted);
      line-height: 1.5;
    }
    .footer-copyright { color: var(--footer-muted); }
    .footer-copyright-break { display: none; }
    .footer-legal-sep {
      color: var(--footer-muted);
      opacity: 0.45;
      user-select: none;
      pointer-events: none;
    }
    .footer-legal a {
      color: var(--footer-muted);
      text-decoration: none;
      transition: color 0.15s;
    }
    .footer-legal a:hover { color: var(--footer-muted-hover); }
    .footer-contact {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px 28px;
      font-size: 0.8125rem;
    }
    .footer-contact > a:first-child {
      color: var(--footer-muted);
      text-decoration: none;
      transition: color 0.15s;
    }
    .footer-contact > a:first-child:hover { color: var(--footer-muted-hover); }
    .footer-social-x {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--footer-muted);
      text-decoration: none;
      transition: color 0.15s;
    }
    .footer-social-x:hover { color: var(--footer-muted-hover); }
    .footer-social-x svg { flex-shrink: 0; opacity: 0.9; }

    /* ── Currency toggle ──────────────────────────────────────── */
    .currency-toggle {
      display: flex;
      border: 1px solid var(--border);
      border-radius: 8px; overflow: hidden;
    }
    .curr-opt {
      background: none; border: none; cursor: pointer;
      padding: 5px 10px;
      color: var(--text-muted);
      font-family: var(--font);
      font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em;
      transition: background 0.12s, color 0.12s;
      white-space: nowrap;
    }
    .curr-opt + .curr-opt { border-left: 1px solid var(--border); }
    .curr-opt.active {
      background: color-mix(in srgb, var(--text) 8%, transparent);
      color: var(--text);
    }

    /* ── Nav links ─────────────────────────────────────────────── */
    .nav-links {
      position: absolute; left: 50%; transform: translateX(-50%);
      display: flex; align-items: center; gap: 44px;
    }
    .nav-links a {
      font-size: 0.7rem; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--text-muted); text-decoration: none;
      transition: color 0.15s;
    }
    .nav-links a:hover { color: var(--text); }



    /* ── Tooltip ──────────────────────────────────────────────── */
    #tooltip {
      position: fixed; z-index: 500; pointer-events: none;
      opacity: 0; transition: opacity 0.12s ease;
      background: rgba(255,255,255,0.97);
      border: 1px solid var(--border);
      border-radius: 8px; padding: 9px 14px 8px;
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
      min-width: 148px;
    }
    #tooltip.show { opacity: 1; }

    .tt-country {
      display: block; font-size: 0.8rem; font-weight: 600;
      color: var(--text); letter-spacing: 0.04em; margin-bottom: 3px;
    }
    .tt-status {
      display: block; font-size: 0.7rem;
      letter-spacing: 0.08em; text-transform: uppercase;
    }
    .tt-status.live { color: var(--accent); }
    .tt-status.soon { color: var(--text-muted); opacity: 0.65; }

    /* ════════════════════���════════════════════════════════��═════
       MOBILE  (< 640px)
    ══════════════════════════════════════���════════════════════ */
    @media (max-width: 639px) {
      header {
        padding: max(12px, env(safe-area-inset-top, 0px)) 16px 12px;
      }

      .logo-block .site-wordmark { font-size: 0.9rem; }
      .status-pill  { font-size: 0.7rem; padding: 4px 9px; gap: 5px; }
      .status-dot   { width: 5px; height: 5px; }
      .try-terminal-btn { height: 30px; padding: 0 10px; border-radius: 9px; font-size: 0.66rem; }

      .map-hint    { font-size: 0.7rem; bottom: 38px; }
      .scroll-nudge { bottom: 10px; }

      .site-footer {
        padding: 28px 16px 32px;
      }
      .footer-row-top,
      .footer-row-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        width: 100%;
      }
      .footer-nav-primary {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }
      .footer-divider { margin: 22px 0 20px; }
      .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
      }
      .footer-legal-sep {
        display: none;
      }
      .footer-copyright-break {
        display: inline;
      }
      .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
      }
    }

    /* Dark system UI: tokens above switch :root; below tweaks map + chrome that sit on the dark basemap. */
    @media (prefers-color-scheme: dark) {
      .site-footer {
        --footer-muted: rgba(255, 255, 255, 0.48);
        --footer-muted-hover: rgba(255, 255, 255, 0.78);
      }

      #tooltip {
        background: color-mix(in srgb, var(--bg-card) 92%, transparent);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
      }

      .scroll-nudge { opacity: 0.42; }

      .hero-headline {
        text-shadow:
          0 0 1px rgba(0, 0, 0, 0.55),
          0 0 20px rgba(0, 0, 0, 0.35),
          0 1px 3px rgba(0, 0, 0, 0.45);
      }

      .hero-subhead {
        color: rgba(235, 235, 238, 0.78);
        text-shadow:
          0 0 1px rgba(0, 0, 0, 0.5),
          0 0 16px rgba(0, 0, 0, 0.32),
          0 1px 2px rgba(0, 0, 0, 0.4);
      }

      .map-hint {
        color: rgba(255, 255, 255, 0.52);
        opacity: 0.9;
      }

      .map-wrap .maplibregl-ctrl-attrib {
        background: color-mix(in srgb, var(--bg-card) 88%, transparent);
        color: var(--text-muted);
      }

      .map-wrap .maplibregl-ctrl-attrib a {
        color: var(--text-muted);
      }
    }
