:root {
  --bg: #071226;
  --panel: #0d1a31;
  --panel-2: #12233e;
  --line: rgba(210, 180, 74, .35);
  --gold: #d9b83f;
  --gold-soft: #f2db78;
  --text: #e9eefb;
  --muted: #aab6cf;
  --blue: #0e7bff;
  --cyan: #14c8e8;
  --green: #67e69b;
  --orange: #ff7a00;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 95% 7%, rgba(255,255,255,.13) 0 1px, transparent 1px),
    radial-gradient(circle at 95% 7%, transparent 0 170px, rgba(255,255,255,.36) 171px, transparent 172px),
    linear-gradient(90deg, var(--gold) 0 34px, transparent 34px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 38px 22px 28px 62px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(5, 14, 31, .74);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 900;
  font-size: 46px;
  letter-spacing: -2px;
  margin-bottom: 4px;
}

.logo .g { color: var(--blue); }
.logo .l { color: var(--cyan); }
.logo .e { color: var(--green); }
.logo .m { color: var(--gold-soft); }
.logo .o { color: var(--orange); }

.tagline {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 34px;
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .26em;
  margin-bottom: 12px;
}

.nav {
  display: grid;
  gap: 7px;
}

.nav a {
  display: block;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: rgba(217,184,63,.35);
  background: rgba(217,184,63,.08);
}

.content {
  padding: 58px 72px 80px;
  max-width: 1220px;
}

.hero {
  padding: 8px 0 36px;
  border-bottom: 1px solid rgba(217,184,63,.32);
  margin-bottom: 34px;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero .subtitle {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  padding: 8px 11px;
  border: 1px solid rgba(217,184,63,.34);
  border-radius: 999px;
  background: rgba(217,184,63,.08);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18,35,62,.9), rgba(9,20,40,.86));
  box-shadow: var(--shadow);
  text-decoration: none;
}

.card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.08;
}

.card span {
  color: var(--muted);
  font-size: 13px;
}

main h1,
main h2,
main h3 {
  letter-spacing: 0;
}

main h1 {
  display: none;
}

main h2 {
  margin: 42px 0 12px;
  padding-top: 6px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

main h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  color: var(--text);
}

main p {
  max-width: 900px;
  color: #d9e2f5;
}

ul, ol {
  max-width: 900px;
  padding-left: 22px;
  color: #d9e2f5;
}

li + li { margin-top: 6px; }

blockquote {
  margin: 22px 0;
  max-width: 900px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(217,184,63,.08);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

code {
  color: var(--gold-soft);
  background: rgba(255,255,255,.07);
  padding: 2px 5px;
  border-radius: 4px;
}

pre {
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: #050c19;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 26px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(10, 23, 44, .82);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th, td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: top;
  text-align: left;
  font-size: 13px;
}

th {
  color: var(--gold-soft);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(217,184,63,.08);
}

td { color: #dbe4f6; }
tr:last-child td { border-bottom: 0; }

.footer {
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  body {
    background:
      linear-gradient(90deg, var(--gold) 0 10px, transparent 10px),
      var(--bg);
  }

  .shell {
    display: block;
  }

  .sidebar {
    position: relative;
    height: auto;
    padding: 24px 20px 20px 30px;
  }

  .content {
    padding: 34px 22px 60px 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
