:root {
  /* "Ink & Signal" — the TrueGlen Media company palette. Deliberately
     distinct from every channel's own brand color (see DESIGN_DOC.md §3.2)
     so this page reads as the parent company, not a 7th channel. */
  --ink: #15171C;
  --paper: #FAF9F6;
  --paper-raised: #FFFFFF;
  --slate: #5B616E;
  --slate-line: #E4E2DC;
  --signal: #3B4FD6;
  --signal-deep: #2938A6;
  --signal-tint: #EEF0FC;

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --nav-height: 64px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 12px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(32px, 5.5vw, 52px); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.15; }
h3 { font-size: 19px; margin-bottom: 6px; }

p { margin: 0 0 16px; color: var(--slate); }

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow { max-width: 720px; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--signal);
  margin: 0 0 10px;
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--slate-line);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-word-light { font-weight: 500; color: var(--slate); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--signal); }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--signal-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--signal);
  color: #fff !important;
  box-shadow: 0 8px 20px -6px rgba(59, 79, 214, 0.45);
}
.btn-primary:hover { background: var(--signal-deep); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--slate-line);
}
.btn-secondary:hover { border-color: var(--signal); color: var(--signal) !important; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 72px;
}
.hero .wrap { max-width: 760px; }
.hero-sub {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 32px;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-tint { background: var(--paper-raised); border-top: 1px solid var(--slate-line); border-bottom: 1px solid var(--slate-line); }
.section-lede { font-size: 17px; max-width: 620px; margin-bottom: 40px; }

/* ---------- Category cards ---------- */

/* Cards stack full-width, one after another (not a multi-up grid) — each
   card's own Topics/Audience/Goal run horizontally as 3 columns instead. */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--slate-line);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: #cfd4e8;
  box-shadow: 0 16px 32px -20px rgba(21, 23, 28, 0.25);
  transform: translateY(-2px);
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--signal-tint);
  flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }

.card-head-text h3 { margin-bottom: 4px; }

.card-tag {
  font-size: 14.5px;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 0;
}

/* 3 columns (Topics / Audience / Goal) side by side, one per column. */
.card-cols {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--slate-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-col dt {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 4px;
}
.card-col dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.5;
}

/* ---------- Platforms ---------- */

.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--slate-line);
  padding: 10px 22px 10px 18px;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.platform-chip:hover {
  border-color: var(--signal);
  color: var(--signal-deep);
  transform: translateY(-1px);
}

.platform-icon {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

.platform-icon-x {
  width: 15.625px;
  height: 15.625px;
}

/* ---------- Contact ---------- */

.contact-line { font-size: 17px; margin-bottom: 6px; }
.contact-email { font-size: 19px; font-weight: 600; font-family: var(--font-display); }
.contact-location { color: var(--slate); font-size: 14.5px; }

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

.site-footer {
  background: var(--ink);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-brand-word { color: var(--paper); }
.footer-brand .brand-word-light { color: #8B90A0; }
.footer-fine { color: #9498A6; font-size: 13.5px; margin: 0; max-width: 520px; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--paper-raised);
    border-bottom: 1px solid var(--slate-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--slate-line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    text-align: center;
    margin-top: 12px;
  }

  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }

  .card { padding: 22px 20px 20px; }
  .card-cols { grid-template-columns: 1fr; gap: 14px; }
}
