/* Font Face Declarations */
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/space-mono-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/space-mono-v17-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/space-mono-v17-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/space-mono-v17-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-v24-latin-regular.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-v24-latin-500.woff2') format('woff2');
  font-weight: 500;
}

@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-v24-latin-600.woff2') format('woff2');
  font-weight: 600;
}

@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-v24-latin-700.woff2') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: 'Syne';
  src: url('../fonts/syne-v24-latin-800.woff2') format('woff2');
  font-weight: 800;
}

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

    :root {
      --green: #268245;
      --green-bright: #34b060;
      --green-dim: #1a5c30;
      --blurple: #5865F2;
      --blurple-bright: #7983f5;
      --bg: #0a0c0f;
      --bg2: #0f1215;
      --bg3: #141820;
      --surface: #181c24;
      --surface2: #1e2430;
      --border: rgba(255,255,255,0.07);
      --text: #e8edf5;
      --text-dim: #7a8599;
      --text-dimmer: #3d4657;
      --mono: 'Space Mono', monospace;
      --sans: 'Syne', sans-serif;
    }

    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
      max-width: 100%;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      overflow-x: hidden;
      max-width: 100%;
      line-height: 1.6;
    }

    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='1'/%3E%3C/svg%3E");
      opacity: 0.022;
      pointer-events: none;
      z-index: 9999;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      width: 100%;
      max-width: 100vw;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 2.5rem;
      background: rgba(10,12,15,0.85);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      transition: padding 0.3s;
    }
    .nav-logo-img { height: 48px; width: auto; display: block; transition: height 0.3s; }
    .nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; margin: 0; padding: 0; }
    .nav-links a {
      font-family: var(--mono);
      font-size: 0.75rem;
      color: var(--text-dim);
      text-decoration: none;
      letter-spacing: 0.05em;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--text); }
    .nav-cta {
      color: var(--blurple-bright) !important;
      border: 1px solid rgba(88,101,242,0.4);
      padding: 0.4rem 1rem;
      border-radius: 4px;
    }
    .nav-cta:hover { background: rgba(88,101,242,0.15) !important; color: #fff !important; }
    .nav-release-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: var(--mono);
      font-size: 0.65rem;
      letter-spacing: 0.05em;
      padding: 0.35rem 0.85rem;
      border-radius: 999px;
      background: rgba(38,130,69,0.1);
      border: 1px solid rgba(38,130,69,0.35);
      color: var(--green-bright);
      text-decoration: none;
      transition: background 0.2s, border-color 0.2s;
    }
    #release-badge-text { display: inline-block; min-width: 21ch; }
    .nav-release-badge:hover { background: rgba(38,130,69,0.18); border-color: rgba(38,130,69,0.6); }
    
    /* HAMBURGER MENU */
    .hamburger-btn {
      display: none;
      position: relative;
      width: 28px;
      height: 24px;
      flex-direction: column;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
    }
    .hamburger-btn span {
      width: 24px;
      height: 2px;
      position: absolute;
      left: 2px;
      top: 50%;
      background: var(--text-dim);
      transform-origin: center;
      transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
      display: block;
    }
    .hamburger-btn span:nth-child(1) { transform: translateY(-7px); }
    .hamburger-btn span:nth-child(2) { transform: translateY(0); }
    .hamburger-btn span:nth-child(3) { transform: translateY(7px); }
    .hamburger-btn.active span:nth-child(1) {
      transform: rotate(45deg);
    }
    .hamburger-btn.active span:nth-child(2) {
      opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
      transform: rotate(-45deg);
    }
    
    .mobile-nav-overlay {
      display: none;
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      max-width: 100vw;
      background: rgba(10,12,15,0.95);
      backdrop-filter: blur(16px);
      z-index: 99;
      flex-direction: column;
      padding: 2rem 2rem;
      gap: 1rem;
      max-height: calc(100vh - 60px);
      overflow-y: auto;
    }
    .mobile-nav-overlay.active {
      display: flex;
    }
    .mobile-nav-overlay a {
      font-family: var(--mono);
      font-size: 0.85rem;
      color: var(--text-dim);
      text-decoration: none;
      letter-spacing: 0.05em;
      transition: color 0.2s, background 0.2s, border-color 0.2s;
      padding: 0.75rem;
      display: block;
      width: 100%;
      border: 1px solid transparent;
      border-radius: 6px;
    }
    .mobile-nav-overlay a:hover {
      color: var(--text);
      background: rgba(255,255,255,0.03);
    }
    .mobile-nav-overlay .nav-cta {
      color: var(--blurple-bright) !important;
      border: 1px solid rgba(88,101,242,0.4);
      padding: 0.6rem 1rem;
      border-radius: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      background: rgba(88,101,242,0.08);
    }
    .mobile-nav-overlay .nav-cta:hover {
      color: #fff !important;
      background: rgba(88,101,242,0.16) !important;
    }
    .mobile-nav-overlay .nav-release-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      justify-content: center;
      text-align: center;
      width: 100%;
      padding: 0.65rem 1rem;
      background: rgba(38,130,69,0.12);
      border-color: rgba(38,130,69,0.35);
    }
    .mobile-nav-overlay .nav-release-badge .loading-text {
      color: var(--green-bright);
    }
    .mobile-nav-overlay .nav-release-badge:hover {
      background: rgba(38,130,69,0.18);
    }

    /* HERO */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 8rem 2rem 4rem;
      position: relative;
      overflow: hidden;
    }
    .hero::after {
      content: '';
      position: absolute;
      width: 700px; height: 700px;
      left: 50%; top: 50%;
      transform: translate(-60%, -55%);
      background: radial-gradient(ellipse, rgba(38,130,69,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-blob2 {
      position: absolute;
      width: 600px; height: 500px;
      right: -10%; bottom: 10%;
      background: radial-gradient(ellipse, rgba(88,101,242,0.1) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
      pointer-events: none;
    }

    /* Hero logo */
    .hero-logo {
      margin-bottom: 2rem;
      opacity: 0;
      animation: fadeUp 0.6s ease forwards 0.1s;
      position: relative; z-index: 1;
    }
    .hero-logo img {
      height: 192px;
      width: auto;
      max-width: 100%;
      filter: drop-shadow(0 0 28px rgba(38,130,69,0.22));
    }

    .hero-eyebrow {
      font-family: var(--mono);
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      color: var(--green-bright);
      text-transform: uppercase;
      margin-bottom: 1.25rem;
      opacity: 0;
      animation: fadeUp 0.6s ease forwards 0.22s;
      position: relative; z-index: 1;
    }

    /* Release badge */
    .release-badge-wrap {
      margin-bottom: 1.75rem;
      opacity: 0;
      animation: fadeUp 0.6s ease forwards 0.34s;
      position: relative; z-index: 1;
    }
    .release-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: var(--mono);
      font-size: 0.72rem;
      letter-spacing: 0.05em;
      padding: 0.4rem 1rem;
      border-radius: 999px;
      background: rgba(38,130,69,0.1);
      border: 1px solid rgba(38,130,69,0.35);
      color: var(--green-bright);
      text-decoration: none;
      transition: background 0.2s, border-color 0.2s;
    }
    .release-badge:hover { background: rgba(38,130,69,0.18); border-color: rgba(38,130,69,0.6); }
    .release-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--green-bright);
      box-shadow: 0 0 6px var(--green-bright);
      animation: rpulse 2s ease-in-out infinite;
      flex-shrink: 0;
    }
    @keyframes rpulse {
      0%,100% { opacity:1; transform:scale(1); }
      50%      { opacity:0.6; transform:scale(0.85); }
    }
    .loading-text { color: var(--text-dimmer); }

    .hero-desc {
      max-width: 560px;
      font-size: 1.05rem;
      color: var(--text-dim);
      line-height: 1.7;
      margin-bottom: 2.5rem;
      opacity: 0;
      animation: fadeUp 0.7s ease forwards 0.46s;
      position: relative; z-index: 1;
    }
    .hero-desc strong { color: var(--text); font-weight: 600; }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      justify-content: center;
      margin-bottom: 2.5rem;
      opacity: 0;
      animation: fadeUp 0.7s ease forwards 0.58s;
      position: relative; z-index: 1;
    }
    .badge {
      font-family: var(--mono);
      font-size: 0.7rem;
      letter-spacing: 0.05em;
      padding: 0.3rem 0.75rem;
      border-radius: 999px;
      border: 1px solid;
    }
    .badge-green   { color: var(--green-bright); border-color: rgba(38,130,69,0.4); background: rgba(38,130,69,0.08); }
    .badge-blurple { color: var(--blurple-bright); border-color: rgba(88,101,242,0.4); background: rgba(88,101,242,0.08); }
    .badge-yellow  { color: #f5c842; border-color: rgba(245,200,66,0.4); background: rgba(245,200,66,0.08); }
    .badge-red     { color: #f57b5e; border-color: rgba(245,123,94,0.4); background: rgba(245,123,94,0.08); }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
      opacity: 0;
      animation: fadeUp 0.7s ease forwards 0.7s;
      position: relative; z-index: 1;
    }

    /* Buttons */
    .btn-primary {
      font-family: var(--mono);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 0.8rem 1.8rem;
      background: var(--green);
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s;
      display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .btn-primary:hover { background: var(--green-bright); transform: translateY(-2px); }
    .btn-secondary {
      font-family: var(--mono);
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      padding: 0.8rem 1.8rem;
      background: transparent;
      color: var(--blurple-bright);
      border: 1px solid rgba(88,101,242,0.5);
      border-radius: 6px;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s;
      display: inline-flex; align-items: center; gap: 0.5rem;
    }
    .btn-secondary:hover { background: rgba(88,101,242,0.12); transform: translateY(-2px); }

    /* DIAGRAM */
    .diagram-section {
      padding: 5rem 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .diagram-heading {
      font-size: clamp(1.65rem, 4vw, 2.35rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.1;
      margin-bottom: 0.4rem;
      text-align: center;
    }
    .section-label {
      font-family: var(--mono);
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-dimmer);
      margin-bottom: 1rem;
    }
    .diagram-box {
      max-width: 700px;
      width: 100%;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .diagram-titlebar {
      background: var(--bg3);
      padding: 0.6rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-bottom: 1px solid var(--border);
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-red    { background: #ff5f57; }
    .dot-yellow { background: #febc2e; }
    .dot-green  { background: #28c840; }
    .diagram-titlebar span { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dimmer); margin-left: 0.5rem; }
    .diagram-body {
      padding: 1.5rem;
      font-family: var(--mono);
      font-size: 0.8rem;
      line-height: 1.9;
      color: #8da4c2;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
    }
    .diagram-body > div {
      white-space: nowrap;
      width: max-content;
      min-width: 100%;
    }
    .d-user    { color: #e8edf5; }
    .d-arrow   { color: var(--text-dimmer); }
    .d-cmd     { color: var(--blurple-bright); }
    .d-bot     { color: var(--green-bright); }
    .d-sys     { color: #f5c842; }
    .d-mc      { color: #f57b5e; }
    .d-rcon    { color: var(--blurple-bright); }
    .d-comment { color: var(--text-dimmer); }

    /* SECTION HEADER */
    .section-header { text-align: center; margin-bottom: 3.5rem; }
    .section-header h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
    .section-header p  { color: var(--text-dim); margin-top: 0.75rem; font-size: 0.95rem; }

    /* FEATURES */
    .features-section { padding: 4rem 2rem 6rem; max-width: 1100px; margin: 0 auto; }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
    }
    .feature-card { background: var(--bg2); padding: 2rem; transition: background 0.25s; }
    .feature-card:hover { background: var(--surface); }
    .feature-icon { font-size: 1.5rem; margin-bottom: 1rem; display: block; }
    .feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
    .feature-card p  { font-size: 0.85rem; color: var(--text-dim); line-height: 1.65; }
    .feature-tag {
      display: inline-block;
      font-family: var(--mono);
      font-size: 0.65rem;
      letter-spacing: 0.07em;
      margin-top: 0.75rem;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
    }
    .tag-green   { background: rgba(38,130,69,0.15); color: var(--green-bright); }
    .tag-blurple { background: rgba(88,101,242,0.15); color: var(--blurple-bright); }
    .tag-yellow  { background: rgba(245,200,66,0.1); color: #f5c842; }

    /* SHOWCASE */
    .showcase-section { padding: 4rem 2rem 6rem; max-width: 1100px; margin: 0 auto; }
    .showcase-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.25rem;
    }
    .showcase-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      transition: border-color 0.25s, transform 0.25s;
    }
    .showcase-card:hover { border-color: rgba(38,130,69,0.35); transform: translateY(-3px); }
    .showcase-img-wrap {
      position: relative;
      background: var(--bg3);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
      aspect-ratio: 1/1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .showcase-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .showcase-placeholder {
      width: 100%; height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: var(--bg3);
    }
    .showcase-placeholder-icon { font-size: 2rem; opacity: 0.3; }
    .showcase-placeholder-text {
      font-family: var(--mono);
      font-size: 0.65rem;
      color: var(--text-dimmer);
      letter-spacing: 0.1em;
    }
    .showcase-caption { padding: 1rem 1.25rem; }
    .showcase-caption h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
    .showcase-caption p  { font-size: 0.8rem; color: var(--text-dim); line-height: 1.55; }
    .showcase-label {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-family: var(--mono);
      font-size: 0.62rem;
      letter-spacing: 0.08em;
      color: var(--blurple-bright);
      background: rgba(88,101,242,0.1);
      border: 1px solid rgba(88,101,242,0.25);
      padding: 0.15rem 0.55rem;
      border-radius: 4px;
      margin-bottom: 0.5rem;
    }

    /* RELEASE SECTION */
    .release-section { padding: 4rem 2rem 6rem; max-width: 860px; margin: 0 auto; }
    .release-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
    .release-card-header {
      padding: 1.25rem;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      gap: 1rem;
    }
    .release-card-header-left { 
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }
    .release-card-header-right {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .release-version-tag { font-family: var(--mono); font-size: 0.85rem; font-weight: 700; color: var(--green-bright); }
    .release-date { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dimmer); margin-top: 0.25rem; margin-bottom: 0.75rem; }
    .release-gh-link {
      display: inline-block;
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--blurple-bright);
      text-decoration: none;
      border: 1px solid rgba(88,101,242,0.35);
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
      transition: background 0.2s;
      white-space: nowrap;
    }
    .release-gh-link:hover { background: rgba(88,101,242,0.12); }
    .release-toggle-arrow {
      width: 24px; height: 24px;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }
    .release-toggle-arrow::before {
      content: '';
      width: 8px; height: 8px;
      border-right: 2px solid var(--text-dim);
      border-bottom: 2px solid var(--text-dim);
      transform: rotate(-135deg);
      transition: transform 0.3s ease;
    }
    .release-toggle-arrow.collapsed::before {
      transform: rotate(45deg);
    }
    .release-card-body {
      padding: 1.5rem;
      max-height: 600px;
      overflow-y: auto;
      transition: max-height 0.3s ease, opacity 0.3s ease;
      opacity: 1;
    }
    .release-card-body.collapsed {
      max-height: 0;
      overflow-y: hidden;
      opacity: 0;
      padding: 0 1.5rem;
    }
    .release-card-body::-webkit-scrollbar {
      width: 6px;
    }
    .release-card-body::-webkit-scrollbar-track {
      background: transparent;
    }
    .release-card-body::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 3px;
    }
    .release-card-body::-webkit-scrollbar-thumb:hover {
      background: var(--text-dimmer);
    }
    .previous-releases-section {
      margin-top: 3rem;
    }
    .previous-releases-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
      margin-top: 1.5rem;
    }
    .previous-release-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 1.25rem;
      transition: border-color 0.2s, transform 0.2s;
    }
    .previous-release-card:hover {
      border-color: rgba(38,130,69,0.35);
      transform: translateY(-2px);
    }
    .prev-version { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; color: var(--green-bright); }
    .prev-date { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dimmer); margin-top: 0.25rem; margin-bottom: 0.75rem; }
    .prev-link {
      display: inline-block;
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--blurple-bright);
      text-decoration: none;
      border: 1px solid rgba(88,101,242,0.35);
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
      transition: background 0.2s;
    }
    .prev-link:hover { background: rgba(88,101,242,0.12); }

    /* Changelog rendered content */
    .changelog-content h2, .changelog-content h3 {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text);
      margin: 1.25rem 0 0.6rem;
      padding-bottom: 0.4rem;
      border-bottom: 1px solid var(--border);
      letter-spacing: -0.01em;
    }
    .changelog-content h2:first-child,
    .changelog-content h3:first-child { margin-top: 0; }
    .changelog-content ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
    .changelog-content li { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 0.3rem; }
    .changelog-content li strong { color: var(--text); font-weight: 600; }
    .changelog-content p { font-size: 0.83rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 0.5rem; }
    .changelog-content code {
      font-family: var(--mono);
      font-size: 0.75rem;
      background: var(--bg3);
      border: 1px solid var(--border);
      color: var(--green-bright);
      padding: 0.1rem 0.4rem;
      border-radius: 3px;
    }
    .changelog-content a { color: var(--blurple-bright); text-decoration: none; }
    .changelog-content a:hover { text-decoration: underline; }
    .changelog-content hr {
      border: none;
      border-top: 1px solid var(--border);
      margin: 0.9rem 0 1rem;
    }
    .changelog-content pre {
      margin: 0.75rem 0;
      padding: 0.8rem 0.95rem;
      background: var(--bg3);
      border: 1px solid var(--border);
      border-radius: 6px;
      overflow-x: auto;
    }
    .changelog-content pre code {
      display: block;
      border: none;
      background: transparent;
      padding: 0;
      border-radius: 0;
      color: #7ab8a0;
      font-size: 0.72rem;
      line-height: 1.6;
      white-space: pre;
    }

    .release-loading, .release-error {
      font-family: var(--mono);
      font-size: 0.75rem;
      color: var(--text-dimmer);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .spinner {
      width: 14px; height: 14px;
      border: 2px solid var(--border);
      border-top-color: var(--green-bright);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      flex-shrink: 0;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* PRESENCE */
    .presence-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
    .presence-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
    .presence-dot { width: 12px; height: 12px; border-radius: 50%; display: block; margin: 0 auto 0.75rem; }
    .p-offline  { background: #ed4245; box-shadow: 0 0 8px rgba(237,66,69,0.5); }
    .p-starting { background: #faa61a; box-shadow: 0 0 8px rgba(250,166,26,0.5); }
    .p-online   { background: #3ba55c; box-shadow: 0 0 8px rgba(59,165,92,0.5); }
    .presence-card .state    { font-family:var(--mono); font-size:0.7rem; color:var(--text-dim); display:block; text-align: left; }
    .presence-card .activity { font-family:var(--mono); font-size:0.68rem; color:var(--text-dimmer); margin-top:0.4rem; display:block; text-align: left; }

    /* COMMANDS TABLE */
    .commands-section { padding: 2rem 2rem 6rem; max-width: 860px; margin: 0 auto; }
    .cmd-table { width:100%; border-collapse:collapse; border:1px solid var(--border); border-radius:10px; overflow:hidden; font-size:0.875rem; }
    .cmd-table thead { background: var(--bg3); }
    .cmd-table th { font-family:var(--mono); font-size:0.65rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-dimmer); padding:0.75rem 1.25rem; text-align:left; border-bottom:1px solid var(--border); }
    .cmd-table td { padding:0.9rem 1.25rem; border-bottom:1px solid var(--border); color:var(--text-dim); line-height:1.5; }
    .cmd-table tr:last-child td { border-bottom:none; }
    .cmd-table tr:hover td { background: rgba(255,255,255,0.02); }
    .cmd-name { font-family:var(--mono); font-size:0.8rem; color:var(--blurple-bright); white-space:nowrap; }

    /* REQUIREMENTS */
    .setup-section { padding: 4rem 2rem 6rem; max-width: 860px; margin: 0 auto; }
    .req-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; margin-top:2rem; }
    .req-item { background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:1.1rem 1.25rem; display:flex; gap:0.75rem; align-items:flex-start; }
    .req-icon { font-size:1.1rem; flex-shrink:0; margin-top:0.1rem; }
    .req-item h4 { font-size:0.85rem; font-weight:700; margin-bottom:0.2rem; }
    .req-item p  { font-size:0.78rem; color:var(--text-dim); line-height:1.5; }

    /* STEPS */
    .steps { display:flex; flex-direction:column; gap:0; }
    .step { display:grid; grid-template-columns:3rem 1fr; gap:1.5rem; padding:1.5rem 0; border-bottom:1px solid var(--border); }
    .step:last-child { border-bottom:none; }
    .step-num { font-family:var(--mono); font-size:0.7rem; font-weight:700; color:var(--green-bright); background:rgba(38,130,69,0.12); border:1px solid rgba(38,130,69,0.3); border-radius:6px; width:2.5rem; height:2.5rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:0.2rem; }
    .step-content h4 { font-size:1rem; font-weight:700; margin-bottom:0.4rem; letter-spacing:-0.01em; }
    .step-content p  { font-size:0.85rem; color:var(--text-dim); line-height:1.65; }
    .step-content code { font-family:var(--mono); font-size:0.75rem; background:var(--bg3); border:1px solid var(--border); color:var(--green-bright); padding:0.15rem 0.4rem; border-radius:4px; }
    .code-block { margin-top:0.75rem; background:var(--bg3); border:1px solid var(--border); border-radius:6px; padding:0.75rem 1rem; font-family:var(--mono); font-size:0.75rem; color:#7ab8a0; line-height:1.7; overflow-x:auto; }

    /* DISCLAIMER */
    .disclaimer-banner { max-width: 860px; margin: 0 auto 3rem; padding: 0 2rem; }
    .disclaimer-inner {
      background: rgba(245,200,66,0.05);
      border: 1px solid rgba(245,200,66,0.2);
      border-radius: 10px;
      padding: 1.4rem 1.75rem;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
    .disclaimer-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
    .disclaimer-inner h4 { font-size: 0.85rem; font-weight: 700; color: #f5c842; margin-bottom: 0.4rem; }
    .disclaimer-inner p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.65; }
    .disclaimer-inner p + p { margin-top: 0.35rem; }
    .disclaimer-inner a { color: var(--blurple-bright); text-decoration: none; }
    .disclaimer-inner a:hover { text-decoration: underline; }

    /* FOOTER */
    footer { border-top: 1px solid var(--border); padding: 3rem 2rem; text-align: center; }
    .footer-logo-img { height: 30px; width: auto; margin: 0 auto 0.75rem; display: block; opacity: 0.75; }
    footer p { font-family: var(--mono); font-size: 0.72rem; color: var(--text-dimmer); margin-bottom: 1.5rem; }
    .footer-links { display:flex; gap:1.5rem; justify-content:center; flex-wrap:wrap; }
    .footer-links a { font-family:var(--mono); font-size:0.72rem; color:var(--text-dimmer); text-decoration:none; transition:color 0.2s; }
    .footer-links a:hover { color: var(--text); }

    /* DIVIDER */
    .section-divider { height:1px; background:var(--border); max-width:1100px; margin:0 auto; }

    /* INLINE CODE HELPER */
    .ic { font-family:var(--mono); font-size:0.75rem; background:var(--bg3); border:1px solid var(--border); padding:0.1rem 0.4rem; border-radius:4px; }
    .ic-g { color: var(--green-bright); }
    .ic-b { color: var(--blurple-bright); }

    /* ANIMATIONS */
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(20px); }
      to   { opacity:1; transform:translateY(0); }
    }
    .reveal { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease; }
    .reveal.visible { opacity:1; transform:none; }

    @media (max-width: 1120px) {
      nav { padding: 0.6rem 1rem; }
      .nav-logo-img { height: 40px; }
      .hamburger-btn { display: flex; }
      .nav-links { display: none; }
      .hero {
        min-height: calc(100svh - 60px);
        padding: 5rem 1.5rem 2.5rem;
      }
      .hero-logo { margin-bottom: 0.55rem; }
      .hero-logo img {
        width: min(84vw, 440px);
        height: auto;
      }
      .hero-eyebrow { font-size: 0.65rem; }
      .hero-desc {
        font-size: 0.95rem;
        text-align: justify;
        text-justify: inter-word;
        margin-inline: auto;
        padding-inline: 0.5rem;
      }
      .hero-badges { flex-wrap: wrap; }
      .hero-actions { flex-wrap: wrap; gap: 0.75rem; }
      .btn-primary, .btn-secondary { font-size: 0.75rem; padding: 0.7rem 1.5rem; }
      .diagram-body { font-size: 0.72rem; line-height: 1.75; }
      .section-header h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
      .features-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-inline: 0.35rem; }
      .showcase-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding-inline: 0.35rem; }
      .presence-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; padding-inline: 0.35rem; }
    }

    @media (max-width: 640px) {
      nav { padding: 0.5rem 0.75rem; }
      .nav-logo-img { height: 36px; }
      .hero {
        min-height: calc(100svh - 56px);
        padding: 3.75rem 1rem 1.5rem;
      }
      .hero-logo { margin-bottom:1.5em }
      .hero-logo img {
        width: min(88vw, 420px);
        height: auto;
        margin-bottom: 0;
      }
      .hero-eyebrow {
        margin-bottom: 1rem;
        font-size: 0.56rem;
        letter-spacing: 0.12em;
        white-space: nowrap;
      }
      .release-badge-wrap { margin-bottom: 1.25rem; }
      .hero-desc {
        font-size: 0.9rem;
        margin-bottom: 1.75rem;
        max-width: 100%;
        line-height: 1.6;
        text-align: justify;
        text-justify: inter-word;
        margin-inline: auto;
        padding-inline: 0.75rem;
      }
      .hero-badges { margin-bottom: 1.75rem; gap: 0.4rem; }
      .badge { font-size: 0.65rem; padding: 0.25rem 0.5rem; }
      .hero-actions { gap: 0.5rem; }
      .btn-primary, .btn-secondary { font-size: 0.7rem; padding: 0.65rem 1.25rem; }
      .diagram-section { padding: 3.5rem 1rem 3rem; }
      .diagram-box { max-width: 100%; }
      .diagram-titlebar { padding: 0.5rem 0.75rem; }
      .diagram-body { font-size: 0.64rem; padding: 1rem; line-height: 1.72; }
      .diagram-heading { font-size: 1.4rem; margin-bottom: 0.5rem; }
      .section-label { font-size: 0.6rem; }
      .section-header { margin-bottom: 2rem; }
      .section-header h2 { font-size: 1.35rem; line-height: 1.1; }
      .section-header p { font-size: 0.85rem; }
      .features-section { padding: 2rem 1rem 3rem; }
      .features-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; padding-inline: 0.5rem; }
      .feature-card { padding: 1.25rem; }
      .feature-card h3 { font-size: 0.95rem; }
      .feature-card p { font-size: 0.8rem; }
      .feature-tag { font-size: 0.6rem; }
      .showcase-section { padding: 2rem 1rem 3rem; }
      .showcase-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; padding-inline: 0.5rem; }
      .showcase-card { border-radius: 8px; }
      .showcase-img-wrap { aspect-ratio: 1/1; }
      .showcase-caption { padding: 0.75rem 1rem; }
      .showcase-caption h4 { font-size: 0.85rem; }
      .showcase-caption p { font-size: 0.75rem; }
      .diagram-box { margin: 0; }
      .presence-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; padding-inline: 0.5rem; }
      .release-card-header { 
        flex-direction: row;
        align-items: flex-start;
        padding: 1.25rem;
      }
      .release-card-header-left { 
        gap: 0.15rem;
        flex: 1;
      }
      .release-card-header-right {
        flex-direction: column-reverse;
        align-items: flex-end;
        gap: 0.5rem;
      }
      .release-date { margin-bottom: 0.5rem; }
      .release-gh-link { font-size: 0.68rem; padding: 0.2rem 0.5rem; }
      .code-block { word-break: break-all; }
    }
