@charset "utf-8";
/* Shared Bobku site layout, tokens, typography, nav, footer, and small reusable UI pieces. */

:root {
  --bg: #000000;
  --fg: #f5f5f5;
  --accent: #ffeb3b;
  --muted: #bdbdbd;
  --border: #222;
  --card: #050505;
  --card-bg: var(--card);
  --row-alt: #050505;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nav-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  font-size: 0.9rem;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-intro {
  margin-bottom: 2.5rem;
}

.page-intro h1 {
  font-size: 2.25rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.page-intro p {
  max-width: 780px;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.section {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
}

.section:last-of-type {
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 1.8rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.section h3 {
  font-size: 1.25rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--fg);
}

.section p {
  max-width: 780px;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}

.section ul {
  max-width: 780px;
  line-height: 1.7;
  padding-left: 1.25rem;
  margin: 0.25rem 0 0.75rem;
}

.section li {
  margin-bottom: 0.35rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}

.footer-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* Reusable UI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid #444;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
  font-weight: 650;
}

.btn:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #333;
  color: var(--fg);
  font-size: 0.85rem;
  text-decoration: none;
}

.pill:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

/* Reusable split-section layout: text left, image right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  justify-self: center;
}

.split-media img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

  .split-media {
    order: -1;
  }

  .split-media img {
    max-width: 520px;
  }
}
