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

    :root {
      --bg: #0a0b10; --surface: #14161f; --surface-2: #191c27;
      --ink: #f5f6fb; --muted: #8b91a6; --muted-2: #5f6577;
      --line: #20222e; --line-2: #2c2f3e;
      --accent: #7c84ff; --accent-ink: #9aa1ff; --accent-strong: #6b76f5;
      --ease: cubic-bezier(.22,1,.36,1); --pill: 999px; --radius: 16px;
    }

    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--line-2) var(--line); }
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: var(--line); }
    ::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 5px; border: 2px solid var(--line); }
    body {
      font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: var(--bg); color: var(--ink); line-height: 1.6;
      overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    }
    img, svg, video { max-width: 100%; display: block; }
    ::selection { background: var(--accent); color: #fff; }

    .atmos { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: 0.6;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); }

    
    body { padding-top: 72px; }
    .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 32px 16px 0; background: transparent; pointer-events: none;
      transition: transform 0.58s var(--ease), opacity 0.42s ease; will-change: transform; }
    .nav.nav-hidden { transform: translateY(-120%); opacity: 0; }
    .nav.scrolled { border-bottom-color: transparent; }
    .nav-inner { width: fit-content; max-width: calc(100vw - 32px); margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; justify-content: center; gap: 0; pointer-events: auto;
      background: color-mix(in srgb, var(--surface) 88%, transparent);
      border: 1px solid rgba(85, 91, 118, 0.42); border-radius: 15px;
      box-shadow: 0 18px 42px -30px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.05);
      backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); }
    .nav-links { display: flex; justify-content: center; gap: 2px; margin-left: 0; }
    .nav-links a { font-size: 0.92rem; color: var(--muted); font-weight: 600; padding: 7px 13px; border-radius: 11px; transition: color 0.18s ease, background 0.18s ease; }
    .nav-links a:hover { color: var(--ink); }
    .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,0.035); }
    
    .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 11px;
      font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1;
      padding: 15px 27px; border-radius: 20px; border: 1px solid rgba(85, 91, 118, 0.52); cursor: pointer; white-space: nowrap;
      color: #f7f8fd; background: linear-gradient(180deg, rgba(30, 33, 46, 0.98), rgba(18, 20, 29, 0.98));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 16px 34px -22px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.015);
      transition: transform 0.22s var(--ease), box-shadow 0.22s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
    .btn svg { width: 19px; height: 19px; color: #e2e5f2; filter: drop-shadow(0 0 10px rgba(124, 132, 255, 0.18)); }
    .btn:hover { transform: translateY(-2px); border-color: rgba(124, 132, 255, 0.45);
      background: linear-gradient(180deg, rgba(36, 39, 55, 0.98), rgba(22, 24, 35, 0.98));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 42px -22px rgba(0,0,0,0.95), 0 0 20px rgba(124, 132, 255, 0.1); }
    .btn:active { transform: translateY(0) scale(0.98); }
    .btn-discord { color: #fff; }
    .btn-sm { padding: 12px 20px; font-size: 0.94rem; }

    
    a { color: inherit; text-decoration: none; }
    h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; color: var(--ink); letter-spacing: -0.02em; }

    main { max-width: 920px; margin: 0 auto; padding: 0 32px; }
    .contrib-hero { text-align: center; padding: 56px 0 36px; }
    h1 { font-size: clamp(2.4rem, 6vw, 3.1rem); line-height: 1.1; margin-bottom: 14px; letter-spacing: -0.03em; }
    .lede { font-size: 1.08rem; line-height: 1.7; color: var(--muted); max-width: 56ch; margin: 0 auto; }

    
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
      gap: 16px;
      margin-top: 8px;
    }
    .card {
      position: relative;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 20px;
      text-align: left;
      transition: border-color 0.25s ease, transform 0.25s var(--ease);
    }
    .card:hover { border-color: var(--line-2); transform: translateY(-3px); }
    .person { display: flex; align-items: center; gap: 13px; margin-bottom: 11px; }
    .avatar {
      width: 50px; height: 50px; border-radius: 50%;
      border: 2px solid var(--surface-2); object-fit: cover; flex: 0 0 auto;
    }
    .name { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; letter-spacing: -0.01em; }
    .role { font-size: 0.72rem; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
    .card p { font-size: 0.9rem; line-height: 1.55; color: var(--muted); margin: 0; }
    
    .site-link {
      display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
      margin-top: 10px; font-size: 0.84rem;
    }
    .site-link a { color: var(--accent-ink); }
    .site-link a:hover { text-decoration: underline; }

    
    .brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
    .brand-card { display: block; color: inherit; text-decoration: none; overflow: hidden;
      background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
      transition: border-color 0.25s ease, transform 0.25s var(--ease); }
    .brand-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
    .brand-banner { position: relative; height: 116px; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
    .brand-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .brand-body { padding: 0 22px 22px; }
    .brand-avatar-wrap { position: relative; z-index: 1; margin-top: -30px; margin-bottom: 12px; }
    .brand-avatar-wrap .avatar { border: 3px solid var(--surface); width: 60px; height: 60px; }
    .brand-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .brand-join { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
      font-size: 0.84rem; font-weight: 600; color: var(--accent-ink); white-space: nowrap; margin-top: 4px;
      transition: gap 0.2s var(--ease); }
    .brand-card:hover .brand-join { gap: 9px; }
    .brand-join svg { width: 15px; height: 15px; }

    .box {
      margin-top: 18px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 22px 24px;
      text-align: left;
    }
    .box p { font-size: 0.96rem; line-height: 1.6; color: var(--muted); margin: 0; }
    .box p strong { color: var(--ink); font-weight: 600; }
    .box p + p { margin-top: 10px; }
    .box a { color: var(--accent-ink); }
    .box a:hover { text-decoration: underline; }

    
    .footer { border-top: 1px solid var(--line); padding: 24px 0 28px; margin-top: 40px; }
    .footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
    .foot-brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--ink); }
    .foot-brand img { width: 27px; height: 27px; border-radius: 8px; }
    .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
    .foot-links a { font-size: 0.94rem; color: var(--muted); transition: color 0.18s ease; }
    .foot-links a:hover { color: var(--ink); }

    @media (max-width: 860px) { .nav-links { display: flex; } }
    @media (max-width: 768px) {
      main { padding: 0 22px; }
      .contrib-hero { padding: 40px 0 28px; }
      .footer { margin-top: 32px; }
      .footer-inner { justify-content: center; text-align: center; }
    }
    @media (max-width: 460px) { body { padding-top: 58px; } .nav { padding: 20px 10px 0; } .nav-inner { max-width: calc(100vw - 20px); padding: 7px 8px; border-radius: 14px; } .nav-links { gap: 0; } .nav-links a { font-size: 0.84rem; padding: 7px 9px; } .footer-inner { padding: 0 20px; } }
