    :root {
      --orange: #3B82F6;
      --orange-dark: #2563EB;
      --aubergine: #0F172A;
      --warm-grey: #94A3B8;
      --line: rgba(255,255,255,0.07);
    }

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

    body {
      font-family: 'Ubuntu', sans-serif;
      background: var(--aubergine);
      color: #e8e8e8;
      min-height: 100vh;
    }

    /* ── HEADER ── */
    header {
      background: linear-gradient(135deg, var(--aubergine) 0%, #1E3A5F 100%);
      border-bottom: 4px solid var(--orange);
      padding: 1.5rem 1.5rem 1.2rem;
      text-align: center;
    }
    header img.logo {
      height: 100px; object-fit: contain; margin-bottom: 0.75rem;
      background: #fff; border-radius: 10px; padding: 0.5rem 1.2rem;
      box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    }
    header h1 { color: #fff; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.3px; }
    header p.subtitle { color: var(--warm-grey); font-size: 1rem; margin-top: 0.5rem; font-weight: 300; }

    /* ── MAIN ── */
    main { max-width: 980px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

    /* ── SECTION TITLE ── */
    .section-title {
      color: #fff; font-size: 1.1rem; font-weight: 500;
      margin: 2.2rem 0 1rem;
      display: flex; align-items: center; gap: 0.5rem;
    }
    .section-title::before {
      content: ''; display: inline-block; width: 4px; height: 1.1rem;
      background: var(--orange); border-radius: 2px; flex-shrink: 0;
    }

    /* ── SYNC BAR ── */
    #sync-bar {
      display: flex; flex-direction: column; gap: 0.35rem;
      background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 8px; padding: 0.7rem 1.1rem; margin-top: 1.5rem; margin-bottom: 0.75rem;
      font-size: 0.82rem; color: var(--warm-grey);
    }

    /* ── INTRO CARDS ── */
    .intro-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem; margin: 1.5rem 0 0.5rem;
    }
    .intro-card {
      border-radius: 10px; overflow: hidden;
      box-shadow: 0 4px 16px rgba(0,0,0,0.4);
      display: flex; flex-direction: column;
    }
    .intro-card-body {
      padding: 1.1rem 1.2rem 1rem;
      display: flex; flex-direction: column; gap: 0.35rem;
      flex: 1;
    }
    .intro-card.pkg  .intro-card-body { background: linear-gradient(135deg,#1A3320,#0D1F12); border-bottom: 3px solid #4CAF7D; }
    .intro-card.iso  .intro-card-body { background: linear-gradient(135deg,#1B3A5C,#0D2137); border-bottom: 3px solid #4A9ECC; }
    .intro-card.bw   .intro-card-body { background: linear-gradient(135deg,#1F1506,#0D0C07); border-bottom: 3px solid var(--orange); }
    .intro-card .ic-icon  { font-size: 1.8rem; line-height: 1; }
    .intro-card .ic-title { color:#fff; font-size:0.95rem; font-weight:700; }
    .intro-card .ic-desc  { color:rgba(255,255,255,0.62); font-size:0.78rem; line-height:1.55; }

    /* ── DISTRO GRID ── */
    .distro-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 0.85rem;
      margin-bottom: 2rem;
    }
    .distro-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 10px;
      padding: 1rem 0.75rem;
      text-align: center;
      transition: all 0.15s;
    }
    .distro-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(233,84,32,0.4); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
    a.distro-card { text-decoration: none; cursor: pointer; transition: all 0.18s; }
    .distro-card .distro-icon { height: 36px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
    .distro-card .distro-icon img { height: 32px; width: 32px; object-fit: contain; }
    .distro-card .distro-name { font-size: 0.85rem; font-weight: 600; color: #fff; }
    .distro-card .distro-ver { font-size: 0.72rem; color: var(--warm-grey); margin-top: 0.2rem; font-family: 'Ubuntu Mono', monospace; }
    .distro-card .distro-badge {
      display: inline-block; margin-top: 0.45rem;
      font-size: 0.65rem; padding: 0.1rem 0.45rem; border-radius: 10px;
      font-weight: 600;
    }
    .distro-card .distro-badge.mirror { background: rgba(76,175,125,0.2); color: #4CAF7D; border: 1px solid rgba(76,175,125,0.3); }
    .distro-card .distro-badge.iso { background: rgba(74,158,204,0.2); color: #4A9ECC; border: 1px solid rgba(74,158,204,0.3); }
    .distro-card .distro-badge.soon { background: rgba(255,193,7,0.15); color: #FFC107; border: 1px solid rgba(255,193,7,0.25); }

    /* ── FEATURE CARDS ── */
    .feature-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 0 0 2rem;
    }
    .feat-card {
      border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.45);
      text-decoration: none; display: flex; flex-direction: column;
      transition: transform 0.18s, box-shadow 0.18s;
    }
    .feat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.6); }
    .feat-card-top {
      padding: 2rem 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1;
    }
    .feat-card.iso .feat-card-top  { background: linear-gradient(135deg, #1B3A5C, #0D2137); border-bottom: 3px solid #4A9ECC; }
    .feat-card.dir .feat-card-top  { background: linear-gradient(135deg, #1A3320, #0D1F12); border-bottom: 3px solid #4CAF7D; }
    .feat-card.alma   .feat-card-top { background: linear-gradient(135deg, #1A2640, #0D1520); border-bottom: 3px solid #3B82F6; }
    .feat-card.centos .feat-card-top { background: linear-gradient(135deg, #221535, #12091F); border-bottom: 3px solid #7B5EA7; }
    .feat-icon { font-size: 2.6rem; line-height: 1; }
    .feat-title { color: #fff; font-size: 1.15rem; font-weight: 700; margin-top: 0.2rem; }
    .feat-desc  { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.6; }
    .feat-card-footer {
      padding: 0.8rem 1.75rem; font-size: 0.82rem; font-weight: 600;
      letter-spacing: 0.3px;
    }
    .feat-card.iso .feat-card-footer  { background: #4A9ECC; color: #fff; }
    .feat-card.dir .feat-card-footer  { background: #4CAF7D; color: #fff; }
    .feat-card.alma   .feat-card-footer { background: #3B82F6; color: #fff; }
    .feat-card.centos .feat-card-footer { background: #7B5EA7; color: #fff; }
    .iso-editions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.5rem; }
    .iso-badge {
      background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
      color: rgba(255,255,255,0.88); border-radius: 5px;
      padding: 0.22rem 0.65rem; font-size: 0.75rem; font-family: 'Ubuntu Mono', monospace;
    }

    /* ── CARD (Ubuntu config) ── */
    .card { background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 1.25rem; box-shadow: 0 4px 20px rgba(0,0,0,0.35); }
    .card-header { background: var(--orange); padding: 0.75rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
    .card-header h3 { color: #fff; font-size: 1rem; font-weight: 500; }
    .badge { color: #fff; font-size: 0.72rem; font-weight: 500; padding: 0.2rem 0.65rem; border-radius: 20px; white-space: nowrap; }
    .badge.lts    { background: rgba(255,255,255,0.22); }
    .badge.active { background: rgba(40,180,80,0.45); }
    .card-body { padding: 1.2rem 1.25rem; }
    .card-body > p { font-size: 0.87rem; color: #555; margin-bottom: 0.7rem; }

    /* ── CODE ── */
    .code-block { position: relative; background: #1E0A14; border-radius: 6px; margin-bottom: 0.75rem; }
    .code-label { font-size: 0.7rem; color: var(--warm-grey); padding: 0.5rem 1rem 0; text-transform: uppercase; letter-spacing: 0.5px; }
    pre { font-family: 'Ubuntu Mono', monospace; font-size: 0.82rem; color: #F8D7C4; padding: 0.55rem 3.2rem 0.8rem 1rem; white-space: pre-wrap; word-break: break-all; line-height: 1.65; }
    .copy-btn { position: absolute; top: 0.5rem; right: 0.5rem; background: var(--orange); color: #fff; border: none; border-radius: 4px; padding: 0.25rem 0.6rem; font-size: 0.72rem; cursor: pointer; font-family: 'Ubuntu', sans-serif; font-weight: 500; transition: background 0.2s; }
    .copy-btn:hover  { background: var(--orange-dark); }
    .copy-btn.copied { background: #2E7D32; }

    /* ── STEPS ── */
    .steps { counter-reset: step-counter; }
    .step { background: #fff; border-radius: 8px; padding: 1rem 1.25rem 1rem 4rem; margin-bottom: 0.85rem; position: relative; box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
    .step::before { counter-increment: step-counter; content: counter(step-counter); position: absolute; left: 1rem; top: 1.1rem; width: 2rem; height: 2rem; background: var(--orange); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.88rem; }
    .step h4 { font-size: 0.95rem; font-weight: 500; color: var(--aubergine); margin-bottom: 0.3rem; }
    .step p  { font-size: 0.83rem; color: #666; line-height: 1.5; }
    .step .code-block { margin-top: 0.6rem; margin-bottom: 0; }

    /* ── TABS ── */
    .tab-bar { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
    .tab-btn { padding: 0.5rem 1.2rem; border: 2px solid rgba(255,255,255,0.15); border-radius: 6px; background: transparent; color: var(--warm-grey); font-family: 'Ubuntu', sans-serif; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.18s; }
    .tab-btn:hover  { border-color: var(--orange); color: #fff; }
    .tab-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

    /* ── FOOTER ── */
    footer { text-align: center; padding: 1.5rem; background: rgba(0,0,0,0.3); border-top: 1px solid var(--line); }
    footer p { color: var(--warm-grey); font-size: 0.83rem; line-height: 1.9; }
    footer a { color: var(--orange); text-decoration: none; }
    footer a:hover { text-decoration: underline; }

    /* ── INLINE-STYLE REPLACEMENTS ── */
    header { position: relative; }
    .about-link {
      position: absolute; top: 1rem; right: 1.2rem;
      color: rgba(255,255,255,0.6); font-size: 0.8rem; text-decoration: none;
      border: 1px solid rgba(255,255,255,0.2); padding: 0.3rem 0.8rem;
      border-radius: 20px; transition: all 0.15s;
    }
    .about-link:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

    #sync-bar strong { color: #fff; }
    .sync-status-label { font-size: 0.75rem; }

    .intro-text {
      font-size: 0.88rem; color: rgba(255,255,255,0.65);
      line-height: 1.75; margin: 0.75rem 0 1.25rem;
    }
    .intro-text strong, footer strong, .config-intro strong { color: #fff; }

    .ic-desc code, .info-box code, .info-card code {
      background: rgba(255,255,255,0.12); padding: 0.05rem 0.35rem; border-radius: 3px;
    }

    .legend-bar {
      font-size: 0.78rem; color: var(--warm-grey); margin: -0.5rem 0 0.8rem;
      display: flex; gap: 1rem; flex-wrap: wrap;
    }
    .legend-mirror {
      background: rgba(76,175,125,0.2); color: #4CAF7D;
      border: 1px solid rgba(76,175,125,0.3); padding: 0.1rem 0.5rem;
      border-radius: 10px; font-size: 0.7rem; font-weight: 600;
    }
    .legend-iso {
      background: rgba(74,158,204,0.2); color: #4A9ECC;
      border: 1px solid rgba(74,158,204,0.3); padding: 0.1rem 0.5rem;
      border-radius: 10px; font-size: 0.7rem; font-weight: 600;
    }

    .config-intro {
      font-size: 0.82rem; color: var(--warm-grey); margin: -0.5rem 0 1rem;
    }

    .tab-bar { flex-wrap: wrap; }

    .tab-hidden { display: none; }

    .badge.eol { background: rgba(220,38,38,0.5); }

    .eol-warning {
      margin-top: 0.6rem; padding: 0.6rem 0.9rem;
      background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3);
      border-radius: 6px; font-size: 0.82rem; color: #FCA5A5;
    }

    .info-box { margin: 0.5rem 0 0; }

    /* Sync status colors (used by JS) */
    .sync-ok { color: #4CAF7D; }
    .sync-warn { color: #FFC107; }
    .sync-stale { color: #E95420; }

    .mail-link { color: var(--orange); }

    @media (max-width: 600px) {
      header h1 { font-size: 1.3rem; }
      pre { font-size: 0.75rem; }
      .step { padding-left: 3.5rem; }
      .feature-grid { grid-template-columns: 1fr; }
      .distro-grid { grid-template-columns: repeat(3, 1fr); }
    }

    /* ── AUTO UPDATE SECTION ── */
    .autoupdate-section {
      background: #120A00;
      border: 1px solid #78350F;
      border-radius: 8px;
      padding: 1rem 1.25rem;
      margin-bottom: 1.25rem;
    }
    .autoupdate-header {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 0.75rem;
    }
    .autoupdate-label {
      font-size: 0.72rem;
      font-weight: 700;
      color: #F59E0B;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .badge-optional {
      font-size: 0.65rem;
      font-weight: 600;
      background: #1C1400;
      color: #F59E0B;
      border: 1px solid #78350F;
      border-radius: 4px;
      padding: 0.1rem 0.45rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .autoupdate-warning {
      background: #1C0A00;
      border: 1px solid #92400E;
      border-left: 4px solid #EF4444;
      border-radius: 6px;
      padding: 0.7rem 0.9rem;
      margin-bottom: 0.75rem;
      font-size: 0.8rem;
      color: #FCA5A5;
      line-height: 1.6;
    }
    .autoupdate-warning strong {
      color: #EF4444;
      display: block;
      margin-bottom: 0.3rem;
      font-size: 0.82rem;
    }
    .autoupdate-warning ul {
      margin: 0.3rem 0 0 1.1rem;
      color: #FBBF24;
    }
    .autoupdate-warning ul li {
      margin-bottom: 0.15rem;
    }
    .autoupdate-section .code-block {
      background: #0D0500;
      margin-bottom: 0.4rem;
    }
    .autoupdate-section .code-block pre {
      color: #F59E0B;
    }
    .autoupdate-section .checksum-line {
      border-left-color: #F59E0B;
      border-color: #78350F;
      background: #0D0500;
    }
    .autoupdate-section .checksum-line .cs-label {
      color: #F59E0B;
    }

    /* ── QUICK INSTALL BOX ── */
    .quick-install {
      background: linear-gradient(135deg, #0D2137 0%, #0F2D1A 100%);
      border: 1px solid #1E8A3C;
      border-left: 4px solid #22C55E;
      border-radius: 8px;
      padding: 1rem 1.25rem;
      margin-bottom: 1.25rem;
    }
    .quick-install-label {
      font-size: 0.72rem;
      font-weight: 700;
      color: #22C55E;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.5rem;
    }
    .quick-install p {
      font-size: 0.83rem;
      color: #94A3B8;
      margin-bottom: 0.6rem;
    }
    .quick-install .code-block {
      background: #020D05;
      margin-bottom: 0;
    }
    .quick-install .code-block pre {
      color: #22C55E;
    }
    .checksum-line {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      background: #0A1628;
      border: 1px solid #1E3A5F;
      border-left: 4px solid #3B82F6;
      border-radius: 6px;
      padding: 0.65rem 0.9rem;
      margin: 0.5rem 0;
      word-break: break-all;
    }
    .checksum-line .cs-label {
      font-size: 0.7rem;
      font-weight: 700;
      color: #3B82F6;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      white-space: nowrap;
      padding-top: 0.05rem;
    }
    .checksum-line code {
      font-family: 'Ubuntu Mono', monospace;
      color: #E2E8F0;
      font-size: 0.82rem;
      letter-spacing: 0.02em;
    }
