/* ========================================
   GENERAL STYLES - GAS Tools
   ======================================== */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Mono:wght@400;500&display=swap');

/* VARIABLES */
:root {
  --bg: #0a0b0e;
  --surface: #111318;
  --surface2: #181c23;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #f0f0f0;
  --muted: #8a8f9a;
  --accent: #4ade80;
  --accent2: #22d3ee;
  --font-main: 'Roboto', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
}

/* NAVIGATION */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-back {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.nav-back:hover {
  color: var(--text);
}

/* MAIN CONTENT */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 2rem 100px;
}

/* PAGE LABEL */
.page-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

/* HEADINGS */
h1 {
  font-family: var(--font-main);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

h2 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 24px 0 8px;
  color: var(--text);
}

/* TEXT */
.last-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
  font-family: var(--font-mono);
}

p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* LISTS */
ul {
  color: var(--muted);
  padding-left: 20px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 6px;
}

/* LINKS */
a {
  color: var(--accent2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* CODE */
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 4px;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background: rgba(74,222,128,.06);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0;
}

.highlight-box p {
  color: var(--text);
  margin: 0;
  font-size: 15px;
}

.highlight-box strong {
  color: var(--accent);
}

/* DIVIDER */
hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 2rem;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  nav {
    padding: 0 1rem;
  }

  main {
    padding: 40px 1.5rem 80px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
  }
}
