/*
 * brand.css, canonical shared stylesheet for the Jetblip family of pages
 * served from https://jetblip.com/brand.css
 *
 * Family members (sibling pages that link this file):
 *   jetblip.com (canonical, umbrella)
 *   jeremytrindade.com
 *   trindadelabs.com
 *   trindadeai.com
 *
 * Theme key (localStorage): jet_theme. The legacy key aijetlabs_theme is
 * read once and migrated to jet_theme by the shared theme shim (one-time
 * compatibility for visitors who saw the previous AI Jet Labs era).
 *
 * No tracking. No cookies beyond jet_theme.
 * Version: v2026.05.15 (CalVer)
 */

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

:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --card: #23273a;
  --border: #2e3347;
  --accent: #f59e0b;
  --accent2: #fbbf24;
  --green: #43a047;
  --yellow: #ffc107;
  --text: #e8eaf6;
  --muted: #8c92a4;
  --code-bg: #0a0c12;
  --font: 'Segoe UI', system-ui, sans-serif;
  --header-grad: linear-gradient(135deg, #451a03 0%, #0f1117 50%, #1c1917 100%);
}

[data-theme="light"] {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --card: #ffffff;
  --border: #e6dfd0;
  --accent: #b45309;
  --accent2: #c2410c;
  --green: #15824f;
  --yellow: #b78103;
  --text: #1c1917;
  --muted: #57534e;
  --code-bg: #f4ede0;
  --header-grad: linear-gradient(135deg, #fef3c7 0%, #fbf8f1 55%, #fde68a 100%);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ---------- Theme toggle ---------- */

.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  z-index: 100;
  font-family: var(--font);
}
.theme-toggle:hover { background: var(--surface); }

/* ---------- Header / typography ---------- */

header {
  background: var(--header-grad);
  border-bottom: 1px solid var(--border);
  padding: 70px 24px 56px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.13);
  border: 1px solid rgba(245, 158, 11, 0.32);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 22px;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
}

.meta {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.meta span { display: inline-flex; align-items: center; gap: 6px; }

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(62, 207, 142, 0); }
}

/* ---------- Layout ---------- */

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  flex: 1;
  width: 100%;
}

section { margin-bottom: 56px; }

h2 {
  font-size: 12px;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.6rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Card grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.14);
}
.card .icon { font-size: 1.5rem; line-height: 1; margin-bottom: 4px; }
.card h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
.card p { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
.card .url {
  font-size: 11.5px;
  color: var(--accent);
  font-family: 'Consolas','Monaco',monospace;
  margin-top: 4px;
  word-break: break-all;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  background: var(--surface);
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.ver { font-family: 'Consolas','Monaco',monospace; }

footer .privacy {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
}
