/* BandLift Guides — shared stylesheet
   Palette matched to fabularestudio.com: bg #15192A, accent #5C9184, Poppins headings. */

:root {
  --bg: #15192a;
  --bg-raised: #1c2136;
  --border: #2a3050;
  --text: #c7cfe0;
  --text-strong: #ffffff;
  --text-muted: #8b95ad;
  --accent: #5c9184;
  --accent-hover: #6ea99a;
  --accent-text: #f4f9f9;
  --radius: 11px;
  --maxw: 720px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.font-display {
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-strong);
  line-height: 1.25;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  margin: 2.4em 0 0.7em;
}

h3 {
  font-size: 1.12rem;
  margin: 2em 0 0.5em;
}

p {
  margin: 0 0 1.25em;
}

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

a:hover {
  text-decoration: underline;
}

strong {
  color: var(--text-strong);
  font-weight: 600;
}

ul,
ol {
  padding-left: 1.3em;
  margin: 0 0 1.4em;
}

li {
  margin-bottom: 0.6em;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 1.02rem;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent-hover);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
}

main {
  padding: 46px 0 20px;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 14px;
}

.lede {
  font-size: 1.12rem;
  color: var(--text-strong);
  margin-bottom: 1.6em;
}

/* ---------- Guide index cards ---------- */

.card-grid {
  display: grid;
  gap: 16px;
  margin: 34px 0 10px;
}

.card {
  display: block;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- CTA block ---------- */

.cta {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  margin: 2.6em 0;
}

.cta h2 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius);
  margin-top: 8px;
}

.btn:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

/* ---------- Tables ---------- */

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.6em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 460px;
  font-size: 0.94rem;
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--text-strong);
  font-family: Poppins, sans-serif;
  font-weight: 600;
  background: var(--bg-raised);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Worked example ---------- */

.example {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 1.6em;
}

.example p:last-child {
  margin-bottom: 0;
}

.example .label {
  font-family: Poppins, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.transcript {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- FAQ ---------- */

.faq h3 {
  color: var(--text-strong);
  margin-bottom: 0.35em;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 28px 0 48px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--accent-hover);
}

/* ---------- Misc ---------- */

.related {
  border-top: 1px solid var(--border);
  margin-top: 2.8em;
  padding-top: 1.6em;
}

.disclosure {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}
