@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Nunito:wght@700;800&display=swap');

:root {
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  /* Hero / thesis — match logo wordmark (geometric sans) */
  --font-hero: 'Montserrat', system-ui, -apple-system, sans-serif;
  /* Optional playful rounded accent (GG-style); use sparingly */
  --font-accent: 'Nunito', system-ui, sans-serif;
  --purple: #6633ff;
  --purple-light: #eeedfe;
  --purple-mid: #a88fff;
  --green: #00cc66;
  --green-light: #e1f5ee;
  --bg: #ffffff;
  --bg-secondary: #f8f7fc;
  --bg-tertiary: #f1eff8;
  --text: #1a1a2e;
  --text-muted: #6b6880;
  --text-faint: #a09cb8;
  --border: rgba(102, 51, 255, 0.1);
  --border-mid: rgba(102, 51, 255, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(102,51,255,0.08), 0 4px 16px rgba(102,51,255,0.04);
}

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

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

/* SITE HEADER (back link + nav) */
.gg-site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.gg-site-bar {
  display: flex; align-items: center;
  padding: 8px 40px;
  border-bottom: 1px solid var(--border);
}
.gg-site-back {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-faint); text-decoration: none;
  transition: color 0.15s;
}
.gg-site-back:hover { color: var(--purple); }

/* NAV */
.gg-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; min-height: 60px;
  background: transparent;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 13px; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-cta {
  font-family: var(--font-display);
  background: var(--purple); color: white; padding: 8px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }

/* LAYOUT */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* TYPOGRAPHY — exclude .hero-title so home hero can tune separately */
h1:not(.hero-title), h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
.overline {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; display: block;
}
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 540px; line-height: 1.7; }

/* BUTTONS */
.btn {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 6px; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.15s; text-decoration: none;
}
.btn-primary { background: var(--purple); color: white; }
.btn-primary:hover { background: #5522ee; }
.btn-ghost { background: transparent; border: 1px solid var(--border-mid); color: var(--text); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: #00aa55; }

/* CARDS */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card-sm { padding: 16px; border-radius: var(--radius-sm); }

/* TAGS / BADGES */
.tag { display: inline-block; font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 20px; }
.tag-purple { background: var(--purple-light); color: var(--purple); }
.tag-green { background: var(--green-light); color: #007a3d; }
.tag-gray { background: #f1eff8; color: var(--text-muted); }

/* FOOTER */
.gg-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 40px; text-align: center; }
.footer-brand { margin-bottom: 12px; }
.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.footer-sub { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-top: 16px; }
.footer-links a {
  font-family: var(--font-display);
  font-size: 13px; color: var(--text-muted); text-decoration: none;
}
.footer-links a:hover { color: var(--purple); }

/* DIVIDER */
hr.fancy { border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--border-mid), transparent); margin: 48px 0; }

/* PROSE */
.prose p { margin-bottom: 1.2em; color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.prose h2 { font-size: 22px; margin: 2em 0 0.6em; color: var(--text); }
.prose h3 { font-size: 17px; margin: 1.6em 0 0.5em; color: var(--text); }
.prose ul { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose ul li { color: var(--text-muted); margin-bottom: 0.4em; line-height: 1.7; }

@media (max-width: 768px) {
  .gg-site-bar { padding: 8px 20px; }
  .gg-nav { padding: 0 20px; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
}
