/* Shared site styles — reset, theme variables, nav, dropdown, hamburger,
   mobile menu, search, theme toggle, footer, light theme. Used by every page. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #F5C020;
  --gold-dk: #D4A010;
  --off-black: #0E0E0E;
  --surface: #161616;
  --surface2: #1C1C1C;
  --border: #2C2C2C;
  --text: #F0EDE6;
  --muted: #888888;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --color-ileapp: #E30613;
  --color-aleapp: #A4C639;
  --color-rleapp: #4BA3C7;
  --color-vleapp: #531dab;
  --color-lava: #F5C020;
  --rank-1: #6CB4E4;
  --rank-2: #4A90D9;
  --rank-3: #9B59B6;
  --rank-4: #F5C020;
  --rank-5: #E8762D;
  --rank-6: #E0405E;
}
html { scroll-behavior: smooth; }
body {
      background: var(--off-black);
      color: var(--text);
      font-family: var(--font-body);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
a { color: inherit; }
.lp-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 2rem;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      background: rgba(14,14,14,0.96);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 1000;
    }
.lp-nav-logo {
      font-family: var(--font-head);
      font-size: 1.4rem;
      font-weight: 900;
      letter-spacing: .05em;
      color: var(--text);
      text-decoration: none;
    }
.lp-nav-links {
      display: flex;
      gap: 2rem;
      list-style: none; align-items: center;
    }
.lp-nav-links a {
      color: var(--muted);
      text-decoration: none;
      font-size: .875rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-weight: 500;
      transition: color .2s;
    }
.lp-nav-links a:hover { color: var(--gold); }
.lp-nav-cta {
      background: var(--gold);
      color: var(--off-black) !important;
      padding: .5rem 1.25rem;
      font-family: var(--font-head);
      font-weight: 700;
      font-size: .9rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      text-decoration: none !important;
      transition: background .2s;
    }
.lp-nav-cta:hover { background: var(--gold-dk) !important; color: var(--off-black) !important; }
.lp-nav-dropdown { position: relative; }
.lp-nav-dropdown-trigger {
      color: var(--muted); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase;
      font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: .3rem;
      user-select: none; transition: color .2s;
    }
.lp-nav-dropdown-trigger i.lp-chev { font-size: .75rem; transition: transform .2s; }
.lp-nav-dropdown:hover .lp-nav-dropdown-trigger { color: var(--gold); }
.lp-nav-dropdown:hover .lp-nav-dropdown-trigger i.lp-chev { transform: rotate(180deg); }
.lp-nav-dropdown-menu {
      display: none; position: absolute; top: 100%; left: 50%;
      transform: translateX(-50%); background: rgba(14,14,14,.98);
      backdrop-filter: blur(8px); border: 1px solid var(--border);
      min-width: 180px; z-index: 1001; flex-direction: column;
      margin-top: 8px; border-radius: 4px;
    }
.lp-nav-dropdown-menu::before {
      content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
      background: transparent;
    }
.lp-nav-dropdown:hover .lp-nav-dropdown-menu { display: flex; }
.lp-nav-dropdown-menu a {
      color: var(--muted) !important; font-size: .78rem; letter-spacing: .08em;
      text-transform: uppercase; padding: .65rem 1rem; text-decoration: none !important;
      border-bottom: 1px solid var(--border); display: flex; align-items: center;
      gap: .5rem; transition: color .2s, background .2s;
    }
.lp-nav-dropdown-menu a:last-child { border-bottom: none; }
.lp-nav-dropdown-menu a:hover { color: var(--gold) !important; background: var(--surface); }
.lp-nav-dropdown-menu i { font-size: .9rem; color: var(--gold); }
.lp-footer {
      border-top: 1px solid var(--border);
      padding: 3rem 2rem 2rem;
    }
.lp-footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 3rem;
      justify-content: space-between;
    }
.lp-footer-brand { max-width: 340px; }
.lp-footer-wordmark {
      font-family: var(--font-head);
      font-size: 1.5rem;
      font-weight: 900;
      letter-spacing: .08em;
      color: var(--text);
      text-decoration: none;
      display: inline-block;
    }
.lp-footer-tagline { font-size: .85rem; color: var(--muted); margin-top: .5rem; line-height: 1.55; }
.lp-footer-connect {
      font-family: var(--font-mono);
      font-size: .62rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--gold);
      margin: 1.4rem 0 .65rem;
    }
.lp-footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.lp-footer-social a {
      width: 34px; height: 34px;
      display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--border);
      border-radius: 6px;
      background: var(--surface);
      color: var(--muted);
      text-decoration: none;
      transition: color .2s, border-color .2s;
    }
.lp-footer-social a:hover { color: var(--gold); border-color: var(--gold); }
.lp-footer-social i { font-size: 1.05rem; }
.lp-footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.lp-footer-col-head {
      font-family: var(--font-mono);
      font-size: .62rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }
.lp-footer-col a {
      display: block;
      color: var(--muted);
      text-decoration: none;
      font-size: .85rem;
      letter-spacing: .04em;
      padding: .3rem 0;
      transition: color .2s;
    }
.lp-footer-col a:hover { color: var(--gold); }
.lp-footer-bottom {
      max-width: 1100px;
      margin: 2.5rem auto 0;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: .5rem;
      font-family: var(--font-mono);
      font-size: .7rem;
      letter-spacing: .05em;
      color: #666666;
    }
.lp-footer-bottom a { color: #666666; text-decoration: none; transition: color .2s; }
.lp-footer-bottom a:hover { color: var(--gold); }
@media (max-width: 768px) {
  .lp-footer { padding: 2.5rem 1.5rem 1.5rem; text-align: center; }
  .lp-footer-inner { flex-direction: column; align-items: center; gap: 2rem; }
  .lp-footer-brand { max-width: none; }
  .lp-footer-social { justify-content: center; }
  .lp-footer-cols { justify-content: center; gap: 3rem; width: 100%; }
  .lp-footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
.lp-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px;
      height: 36px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }
.lp-hamburger span {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--text);
      transition: transform .25s, opacity .25s;
      transform-origin: center;
    }
.lp-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-hamburger.open span:nth-child(2) { opacity: 0; }
.lp-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lp-mobile-menu {
      display: none;
      position: fixed;
      top: 57px;
      left: 0; right: 0;
      background: rgba(14,14,14,.98);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
      z-index: 999;
      padding: 1rem 2rem 1.5rem;
      flex-direction: column;
      gap: .25rem;
      max-height: calc(100vh - 57px);
      overflow-y: auto;
    }
.lp-mobile-menu.open { display: flex; }
.lp-mobile-menu a {
      color: var(--muted);
      text-decoration: none;
      font-size: 1rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      font-weight: 500;
      padding: .75rem 0;
      border-bottom: 1px solid var(--border);
      transition: color .2s;
    }
.lp-mobile-menu a:last-child { border-bottom: none; }
.lp-mobile-menu a:hover { color: var(--gold); }
@media (max-width: 768px) {
  .lp-nav-links { display: none; }
  .lp-hamburger { display: flex; }
  .lp-nav-cta { display: none; }
}
@media (max-width: 480px) {
  .lp-nav { padding: 1rem; }
}
[data-theme="light"] { --off-black: #F5F2EC; --surface: #EAE6DE; --border: #C8C3B8; --text: #1C1A14; --muted: #6B6458; }
[data-theme="light"] body, [data-theme="light"] #lp-root, [data-theme="light"] section,
    [data-theme="light"] main, [data-theme="light"] footer { background-color: #F5F2EC !important; }
[data-theme="light"] body { color: #1C1A14 !important; }
[data-theme="light"] .lp-nav { background: rgba(245,242,236,0.96); }
[data-theme="light"] .lp-nav-dropdown-menu { background: rgba(245,242,236,.98); }
[data-theme="light"] .lp-mobile-menu { background: rgba(245,242,236,.98); }
.lp-theme-toggle { background: none; border: 1px solid var(--border); color: var(--muted); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: color .2s, border-color .2s; font-size: 1rem; flex-shrink: 0; }
.lp-theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
.lp-search-wrap { position: relative; display: flex; align-items: center; }
.lp-search-input { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .05em; background: var(--surface); color: var(--text); border: 1px solid var(--border); padding: .4rem .75rem .4rem 2rem; width: 200px; outline: none; transition: border-color .2s, width .2s; }
.lp-search-input:focus { border-color: var(--gold); width: 260px; }
.lp-search-icon { position: absolute; left: .55rem; color: var(--muted); pointer-events: none; }
.lp-search-results { display: none; position: absolute; top: calc(100% + .5rem); left: 0; min-width: 340px; background: var(--surface); border: 1px solid var(--border); z-index: 9999; max-height: 400px; overflow-y: auto; }
.lp-search-group { padding: .35rem .75rem; color: var(--muted); font-family: var(--font-mono); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; border-bottom: 1px solid var(--border); background: var(--off-black); }
.lp-search-item { display: flex; align-items: center; justify-content: space-between; padding: .5rem .75rem; color: var(--text); text-decoration: none; font-size: .8rem; transition: background .15s; border-bottom: 1px solid rgba(44,44,44,.5); }
.lp-search-item:last-child { border-bottom: none; }
.lp-search-item:hover { background: rgba(245,192,32,.06); color: var(--gold); }
.lp-search-badge { font-family: var(--font-mono); font-size: .65rem; color: var(--muted); letter-spacing: .05em; margin-left: .75rem; white-space: nowrap; }
.lp-search-empty { padding: .75rem; color: var(--muted); font-family: var(--font-mono); font-size: .75rem; text-align: center; }
@media (max-width: 768px) {
  .lp-search-wrap { display: none; }
}
.lp-mobile-search { padding: .5rem 0 .75rem; border-bottom: 1px solid var(--border); margin-bottom: .25rem; position: relative; }
.lp-mobile-search-input { width: 100%; font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; background: var(--surface); color: var(--text); border: 1px solid var(--border); padding: .5rem .75rem .5rem 2.25rem; outline: none; transition: border-color .2s; }
.lp-mobile-search-input:focus { border-color: var(--gold); }
.lp-mobile-search-icon { position: absolute; left: .6rem; top: 1.1rem; color: var(--muted); pointer-events: none; }
.lp-mobile-search-results { display: none; margin-top: .5rem; background: var(--surface); border: 1px solid var(--border); max-height: 280px; overflow-y: auto; }
.lp-mobile-search-results .lp-search-group { padding: .3rem .75rem; color: var(--muted); font-family: var(--font-mono); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; border-bottom: 1px solid var(--border); background: var(--off-black); }
.lp-mobile-search-results .lp-search-item { display: flex; align-items: center; justify-content: space-between; padding: .5rem .75rem; color: var(--text); text-decoration: none; font-size: .78rem; border-bottom: 1px solid rgba(44,44,44,.5); transition: background .15s; }
.lp-mobile-search-results .lp-search-item:last-child { border-bottom: none; }
.lp-mobile-search-results .lp-search-item:hover { background: rgba(245,192,32,.06); color: var(--gold); }
