/* Page-scoped styles for changelog.html */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg: #0a0a0a;
      --bg2: #111111;
      --bg3: #181818;
      --border: rgba(255,255,255,0.07);
      --border-bright: rgba(255,255,255,0.14);
      --lime: #bfff5e;
      --lime-dim: rgba(191,255,94,0.10);
      --lime-glow: rgba(191,255,94,0.28);
      --white: #f0f0ec;
      --muted: rgba(240,240,236,0.55);
      --faint: rgba(240,240,236,0.28);
      --mono: 'DM Mono', monospace;
      --sans: 'Bodoni Moda', Georgia, serif;
      --body: 'Instrument Sans', system-ui, sans-serif;
    }

    html { scroll-behavior: smooth; }
    body { background: var(--bg); color: var(--white); font-family: var(--body); line-height: 1.65; overflow-x: hidden; }

    /* noise overlay */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 1000;
      opacity: 0.6;
    }

    /* ── NAV shared styles ──────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 48px;
      background: rgba(10,10,10,0.88);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-logo { font-family: var(--mono); font-weight: 500; font-size: 18px; color: var(--lime); letter-spacing: 0.04em; text-decoration: none; }
    .nav-cta { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--bg); background: var(--lime); padding: 9px 20px; border-radius: 3px; text-decoration: none; transition: opacity 0.15s; }
    .nav-cta:hover { opacity: 0.92; box-shadow: 0 4px 20px var(--lime-glow); }
    .nav-cta-mobile { display: none; }
    .nav-links { display: flex; gap: 28px; align-items: center; }
    .nav-links a:link, .nav-links a:visited { font-family: var(--body); font-size: 13px; color: var(--lime); text-decoration: none; letter-spacing: 0.02em; transition: color 0.15s; }
    .nav-links a:hover, .nav-links a.active { color: var(--white); }
    .nav-hamburger { display: none; }
    .skip-link { position: absolute; left: -9999px; }
    .skip-link:focus { left: 48px; top: 20px; z-index: 200; background: var(--lime); color: var(--bg); padding: 8px 16px; border-radius: 3px; font-family: var(--mono); font-size: 12px; }

    /* ── PAGE HERO ──────────────────────────────────────────── */
    .page-hero {
      padding: 160px 48px 80px;
      border-bottom: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }
    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 100% 100% at 0% 50%, black 20%, transparent 80%);
    }
    .page-label {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--lime);
      margin-bottom: 24px;
      position: relative;
    }
    .page-title {
      font-family: var(--sans);
      font-size: clamp(44px, 6vw, 80px);
      font-weight: 900;
      font-variation-settings: 'opsz' 96;
      font-feature-settings: 'liga' 0;
      line-height: 1.0;
      letter-spacing: -0.02em;
      margin-bottom: 28px;
      position: relative;
      max-width: 700px;
    }
    .page-title em { font-style: italic; color: var(--lime); }
    .page-intro {
      font-size: 17px;
      color: var(--muted);
      max-width: 520px;
      line-height: 1.75;
      position: relative;
    }

    /* ── CHANGELOG LAYOUT ───────────────────────────────────── */
    .changelog-wrap {
      max-width: 760px;
      margin: 0 auto;
      padding: 80px 48px 120px;
    }

    /* ── VERSION BLOCK ──────────────────────────────────────── */
    .version-block {
      margin-bottom: 80px;
    }

    .version-header {
      display: flex;
      align-items: baseline;
      gap: 20px;
      margin-bottom: 48px;
      padding-bottom: 20px;
      border-bottom: 1px solid var(--border-bright);
      flex-wrap: wrap;
    }

    .version-number {
      font-family: var(--mono);
      font-size: 22px;
      font-weight: 500;
      color: var(--lime);
      letter-spacing: 0.04em;
    }

    .version-date {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--muted);
      letter-spacing: 0.06em;
    }

    .version-badge {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--bg);
      background: var(--lime);
      padding: 4px 10px;
      border-radius: 2px;
    }

    /* ── SECTION ────────────────────────────────────────────── */
    .cl-section {
      margin-bottom: 44px;
    }

    .cl-section-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .cl-section-icon {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      background: var(--lime-dim);
      border: 1px solid rgba(191,255,94,0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--lime);
    }

    .cl-section-icon svg { display: block; }

    .cl-section-title {
      font-family: var(--body);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--white);
    }

    .cl-section-tag {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      border: 1px solid var(--border-bright);
      padding: 3px 8px;
      border-radius: 2px;
    }

    /* ── ITEM LIST ──────────────────────────────────────────── */
    .cl-items {
      display: flex;
      flex-direction: column;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: 6px;
      overflow: hidden;
    }

    .cl-item {
      display: grid;
      grid-template-columns: 20px 1fr;
      gap: 14px;
      align-items: baseline;
      padding: 14px 20px;
      border-bottom: 1px solid var(--border);
      transition: background 0.12s;
    }
    .cl-item:last-child { border-bottom: none; }
    .cl-item:hover { background: var(--bg2); }

    .cl-item-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--lime);
      opacity: 0.55;
      margin-top: 8px;
      justify-self: center;
    }

    .cl-item-text {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.55;
    }

    .cl-item-text strong {
      color: var(--white);
      font-weight: 600;
    }

    /* ── ROADMAP SECTION ────────────────────────────────────── */
    .cl-section--roadmap .cl-item-dot {
      background: var(--faint);
      opacity: 1;
    }

    .cl-section--roadmap .cl-items {
      border-color: var(--border);
    }

    .cl-section--roadmap .cl-section-icon {
      background: rgba(240,240,236,0.06);
      border-color: var(--border-bright);
      color: var(--muted);
    }

    .cl-section--roadmap .cl-section-title {
      color: var(--muted);
    }

    /* ── FOOTER SHARED ──────────────────────────────────────── */
    footer {
      padding: 48px;
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }
    .footer-logo { font-family: var(--mono); font-size: 14px; color: var(--lime); }
    .footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
    .footer-links a { font-family: var(--mono); font-size: 12px; color: var(--muted); text-decoration: none; }
    .footer-links a:hover { color: var(--white); }
    .footer-copy { font-family: var(--mono); font-size: 11px; color: var(--faint); width: 100%; }
    .footer-copy a { color: var(--faint); text-decoration: none; transition: color 0.2s; }
    .footer-copy a:hover { color: var(--white); }

    /* ── CTA BLOCK ──────────────────────────────────────────── */
    .changelog-cta {
      background: var(--bg2);
      border: 1px solid var(--border-bright);
      border-radius: 8px;
      padding: 48px;
      margin-top: 64px;
      text-align: center;
    }
    .changelog-cta-label {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--lime);
      margin-bottom: 16px;
    }
    .changelog-cta-title {
      font-family: var(--body);
      font-size: 28px;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 10px;
    }
    .changelog-cta-sub {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 28px;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.05em;
      color: var(--bg);
      background: var(--lime);
      padding: 16px 32px;
      border-radius: 4px;
      text-decoration: none;
      transition: transform 0.15s, box-shadow 0.15s;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--lime-glow); }

    /* ── MOBILE ─────────────────────────────────────────────── */
    @media (max-width: 767px) {
      nav { padding: 16px 20px; }

      .nav-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 22px;
        height: 16px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        order: -1;
      }
      .nav-hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--white);
        border-radius: 1px;
        transition: transform 0.2s, opacity 0.2s;
      }
      .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
      .nav-hamburger.open span:nth-child(2) { opacity: 0; }
      .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

      .nav-links {
        display: none;
        position: fixed;
        top: 57px; left: 0; right: 0;
        background: rgba(10,10,10,0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        gap: 0;
      }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 14px 24px; font-size: 15px; }
      .nav-cta-mobile { display: block; margin: 8px 16px 4px; padding: 14px 20px; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--bg); background: var(--lime); border-radius: 3px; text-decoration: none; }
      .nav-cta { display: none; }

      .page-hero { padding: 120px 24px 60px; }
      .changelog-wrap { padding: 48px 24px 80px; }
      .version-header { gap: 12px; }
      .version-number { font-size: 18px; }
      .cl-item { padding: 12px 16px; }
      .changelog-cta { padding: 32px 20px; }
      footer { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
      .footer-links { flex-direction: column; gap: 12px; }
    }
