:root {
  --bg: #121212;
  --bg-soft: #1f1f1f;
  --text: #121212;
  --text-muted: #5c6672;
  --surface: #ffffff;
  --border: #dbe1e8;
  --brand: #e98600;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Mulish", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

img, video {
  max-width: 100%;
  height: auto;
}

a {
  color: #0d5ea8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: #111827;
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(360px, 48vw);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.93rem;
}

.nav-label-short {
  display: none;
}

@media (max-width: 700px) {
  .nav-row {
    min-height: 56px;
    gap: 0.6rem;
  }

  .brand {
    max-width: 140px;
  }

  .site-nav {
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .portal-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.86rem;
  }

  .nav-label-full {
    display: none;
  }

  .nav-label-short {
    display: inline;
  }
}

.portal-btn {
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #1f2937;
  padding: 0.55rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.announce-banner {
  background: var(--brand);
  border-top: 1px solid #cf7a00;
  border-bottom: 1px solid #cf7a00;
}

.announce-banner-link {
  display: block;
  padding: 0.58rem 0;
  font-weight: 900;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.15;
  color: #111827;
  text-align: center;
  letter-spacing: 0.01em;
}

.hero {
  background: linear-gradient(155deg, #171717, #2c2c2c);
  color: #fff;
  padding: 3rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-copy {
  margin: 1rem 0 1.5rem;
  color: #e5e7eb;
  max-width: 64ch;
}

.hero-form {
  display: flex;
  gap: 0.5rem;
  max-width: 640px;
}

.hero-members-form {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto;
  align-items: center;
  max-width: 700px;
}

.hero-form input[type="email"] {
  flex: 1;
  min-width: 190px;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 0.9rem;
}

.hero-form button {
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #111827;
  font-weight: 900;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.hero-cta {
  display: inline-block;
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #111827;
  font-weight: 900;
  font: inherit;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.82rem 0.95rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.btn-secondary:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.resources-hero {
  background: linear-gradient(155deg, #171717, #2c2c2c);
  color: #fff;
  padding: 2.6rem 0 2.2rem;
}

.resources-hero-inner h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.resources-kicker {
  margin: 0.85rem 0 0.9rem;
  color: #e5e7eb;
  max-width: 72ch;
}

.resources-signedin {
  margin: 0.25rem 0 0.9rem;
  color: #d1d5db;
}

.resources-small {
  margin: 0.85rem 0 0;
  color: #d1d5db;
  font-size: 0.95rem;
}

.resources-small code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 0.08rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.resources-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.resources-body {
  padding: 2rem 0 3.25rem;
}

.resources-featured {
  margin-top: 1.25rem;
}

.resources-featured-head h2 {
  margin: 0;
  line-height: 1.2;
}

.resources-featured-kicker,
.resources-library-kicker {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  max-width: 78ch;
}

.resources-featured-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.resources-feature-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.resources-feature-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.resources-feature-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.resources-feature-card-body {
  padding: 1.05rem 1.05rem 1.1rem;
}

.resources-feature-card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.resources-feature-card-body p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
}

.resources-feature-card-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.resources-feature-card-actions .hero-cta,
.resources-item-links .hero-cta {
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
}

.resources-feature-card:first-child {
  grid-column: span 2;
  flex-direction: row;
}

.resources-feature-card:first-child .resources-feature-card-media {
  width: 240px;
  min-height: 220px;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--border);
}

.resources-feature-card:first-child .resources-feature-card-media img {
  object-fit: cover;
}

.resources-library {
  margin-top: 1.6rem;
}

.resources-library-head h2 {
  margin: 0;
  line-height: 1.2;
}

.resources-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}

.resources-jump span {
  color: var(--text-muted);
  font-weight: 800;
}

.resources-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
}

.resources-jump a:hover {
  text-decoration: none;
  opacity: 0.95;
}

.resources-tools {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
}

.resources-search {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  font-size: 1rem;
}

.resources-search-meta {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.resources-search-empty {
  color: #991b1b;
  font-weight: 800;
}

.page-resources .resources-content > h1:first-child {
  display: none;
}

.resources-hub {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.resources-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  scroll-margin-top: 96px;
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 200ms cubic-bezier(0.25, 1, 0.5, 1),
    border-color 200ms cubic-bezier(0.25, 1, 0.5, 1);
}

.resources-item:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.resources-item:target {
  border-color: rgba(233, 134, 0, 0.75);
  box-shadow: 0 0 0 4px rgba(233, 134, 0, 0.18),
    0 18px 36px rgba(15, 23, 42, 0.08);
}

.resources-item.is-hidden {
  display: none;
}

.resources-item summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.05rem;
  cursor: pointer;
  list-style: none;
}

.resources-item summary::-webkit-details-marker {
  display: none;
}

.resources-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 180ms cubic-bezier(0.25, 1, 0.5, 1);
  flex: 0 0 auto;
}

.resources-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.resources-item[open] summary::after {
  transform: rotate(-135deg);
}

.resources-item-title {
  flex: 1;
  min-width: 0;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.25;
}

.resources-item-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: rgba(13, 94, 168, 0.10);
  color: #0d5ea8;
  border: 1px solid rgba(13, 94, 168, 0.22);
}

.resources-item-body {
  padding: 1rem 1.05rem 1.05rem;
  background: #ffffff;
}

.resources-item-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 84ch;
}

.resources-item-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: #0f172a;
}

.resources-item-list li {
  margin: 0.35rem 0;
}

.resources-item-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.resources-steps {
  margin: 0.75rem 0 1rem;
  padding-left: 1.1rem;
  color: #374151;
}

.resources-steps li {
  margin: 0.35rem 0;
}

.resources-locked {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.resources-locked-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.resources-locked-card h2 {
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.resources-locked-card .btn-secondary {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #111827;
}

.resources-locked-card .btn-secondary:hover {
  background: #eef2f7;
}

.resources-locked-card .resources-small {
  color: var(--text-muted);
}

.resources-preview {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
  padding: 1.2rem;
}

.resources-preview h3 {
  margin: 0 0 0.6rem;
}

.resources-preview ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #374151;
}

.resources-preview li {
  margin: 0.35rem 0;
}

@media (max-width: 980px) {
  .resources-featured-grid {
    grid-template-columns: 1fr;
  }

  .resources-feature-card:first-child {
    grid-column: auto;
    flex-direction: column;
  }

  .resources-feature-card:first-child .resources-feature-card-media {
    width: 100%;
    min-height: auto;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

.taskforce-intro {
  margin-bottom: 1rem;
}

.taskforce-note {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.taskforce-note code {
  background: #f1f5f9;
  border: 1px solid #dbe1e8;
  border-radius: 6px;
  padding: 0.08rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.taskforce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 1000px) {
  .taskforce-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.taskforce-post-card .taskforce-media {
  position: relative;
}

.taskforce-media-fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(233, 134, 0, 0.16), rgba(13, 94, 168, 0.10));
}

.taskforce-post-card .taskforce-media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  pointer-events: none;
}

.taskforce-post-card .taskforce-media-badges-left,
.taskforce-post-card .taskforce-media-badges-right {
  display: inline-flex;
  gap: 0.5rem;
}

.taskforce-post-card .taskforce-badge,
.taskforce-post-card .taskforce-access {
  /* Improve contrast on top of feature images. */
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.10);
}

.taskforce-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
  transition: transform 200ms cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 200ms cubic-bezier(0.25, 1, 0.5, 1),
    border-color 200ms cubic-bezier(0.25, 1, 0.5, 1);
}

.taskforce-card:hover {
  transform: translateY(-1px);
  border-color: #cbd5e1;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.taskforce-card-link {
  display: block;
  color: inherit;
  padding: 1rem 1.05rem 1.05rem;
  text-decoration: none;
}

.taskforce-card-link:hover {
  text-decoration: none;
}

.taskforce-card-top {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.taskforce-card-body {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.taskforce-thumb {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #f8fafc;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.taskforce-thumb-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #ffffff;
  padding: 12px;
}

.taskforce-thumb-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(233, 134, 0, 0.16), rgba(13, 94, 168, 0.10));
}

.taskforce-card-text {
  min-width: 0;
}

.taskforce-badge,
.taskforce-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.taskforce-badge.is-paid {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.taskforce-badge.is-members {
  background: rgba(13, 94, 168, 0.12);
  color: #0d5ea8;
  border: 1px solid rgba(13, 94, 168, 0.28);
}

.taskforce-badge.is-public {
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.taskforce-access.is-open {
  background: #111827;
  color: #fff;
}

.taskforce-access.is-locked {
  background: #f1f5f9;
  border: 1px solid #dbe1e8;
  color: #0f172a;
}

.taskforce-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.taskforce-excerpt {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
}

.hero-member-box {
  margin-top: 0.25rem;
}

.hero-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-member-note {
  margin: 0 0 0.65rem;
  color: #e5e7eb;
  font-size: 0.98rem;
}

.hero-members-form .consent,
.hero-form-success,
.hero-form-error {
  grid-column: 1 / -1;
}

.consent {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  color: #d1d5db;
  font-size: 0.92rem;
}

.consent a {
  color: #fff;
  text-decoration: underline;
}

.hero-links {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.hero-form-success,
.hero-form-error {
  display: none;
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
}

.hero-form-success {
  color: #d1fae5;
}

.hero-form-error {
  color: #fecaca;
}

.hero-members-form.success .hero-form-success {
  display: block;
}

.hero-members-form.error .hero-form-error {
  display: block;
}

.tgg-signup-modal[hidden] {
  display: none;
}

.tgg-signup-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.tgg-signup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.7);
}

.tgg-signup-modal-card {
  position: relative;
  width: min(560px, calc(100% - 2rem));
  margin: min(14vh, 6rem) auto 0;
  background: #ffffff;
  color: #111827;
  border-radius: 14px;
  border: 1px solid #dbe1e8;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.35);
  padding: 1.2rem 1.25rem 1.15rem;
}

.tgg-signup-modal-card h2 {
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.tgg-signup-modal-card p {
  margin: 0.25rem 0 0.65rem;
}

.tgg-signup-modal-close {
  margin-top: 0.25rem;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #111827;
  font-weight: 800;
  padding: 0.64rem 0.95rem;
  cursor: pointer;
}

body.tgg-signup-modal-lock {
  overflow: hidden;
}

.hero-links a,
.hero-links .linklike {
  color: #fff;
}

.linklike {
  border: 0;
  background: transparent;
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.hero .linklike {
  color: #fff;
}

.hero-member-actions .linklike {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.78rem 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.hero-member-actions .linklike:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-image-wrap {
  text-align: center;
}

.hero-image {
  max-height: 460px;
  width: auto;
}

.featured-on,
.testimonials,
.recent-posts {
  padding: 3.5rem 0;
}

.featured-on h2,
.testimonials h2,
.recent-posts h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 2.8vw, 2.15rem);
  text-align: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.logo-grid img {
  max-height: 76px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
}

.testimonial-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-grid img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.listing-head {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 0;
}

.listing-head h1 {
  margin: 0;
  line-height: 1.2;
}

.listing-head p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

.listing-body {
  padding: 2rem 0 3rem;
}

.listing-root h1 {
  margin: 0 0 1rem;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.post-card-link {
  display: block;
  color: inherit;
  padding: 0;
}

.post-card-media {
  position: relative;
}

.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.post-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}

.post-card-badge-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.14);
  margin: 0.9rem 0.9rem 0.2rem;
  width: fit-content;
}

.post-card h2 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0.9rem 0.9rem 0.45rem;
}

.post-card p {
  margin: 0 0.9rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  background: #111827;
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.center {
  text-align: center;
}

.pagination-wrap {
  margin-top: 1.5rem;
}

.article {
  max-width: 980px;
  padding: 2rem 0 3rem;
}

.article.has-feature-hero {
  /* Let the feature hero sit tighter under the sticky header. */
  padding-top: 0;
}

.article-head h1 {
  margin: 0;
  line-height: 1.15;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}

.meta {
  color: var(--text-muted);
  margin: 0.65rem 0 1rem;
}

.article-kicker-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.article-kicker-row .kicker {
  margin-bottom: 0;
}

.taskforce-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.taskforce-head-thumb {
  width: 220px;
  height: 220px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
  object-fit: contain;
  padding: 16px;
}

.taskforce-head-text {
  min-width: 0;
}

.taskforce-head .meta {
  margin: 0.5rem 0 0;
}

.feature-image {
  border-radius: 14px;
  border: 1px solid var(--border);
}

.feature-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 1.05rem;
  padding: clamp(12px, 2.2vw, 22px) 0;
  position: relative;
  background:
    radial-gradient(900px 320px at 18% 0%, rgba(255, 255, 255, 0.06), rgba(17, 24, 39, 0) 62%),
    linear-gradient(135deg, #0b1220 0%, #111827 48%, #0b1220 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
}

.feature-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.10) 0px,
      rgba(255, 255, 255, 0.10) 1px,
      rgba(255, 255, 255, 0) 1px,
      rgba(255, 255, 255, 0) 10px
    );
  opacity: 0.07;
  pointer-events: none;
}

.feature-hero-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-hero-frame {
  width: min(860px, 100%);
  margin: 0 auto;
  border-radius: 22px;
  padding: clamp(8px, 1.15vw, 14px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.feature-hero-image {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(15, 23, 42, 0.55);
}

.gh-content {
  font-size: 1.08rem;
}

.gh-content h2,
.gh-content h3,
.gh-content h4 {
  line-height: 1.25;
  margin-top: 1.7em;
}

.gh-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 0.9rem;
  border-radius: 10px;
  overflow-x: auto;
}

.gh-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.gh-content figure {
  margin: 1.2rem 0;
}


/* welcome-taskforce-logo */
body.page-welcome-taskforce .gh-content .kg-image-card {
  text-align: center;
}

body.page-welcome-taskforce .gh-content .kg-image-card .kg-image {
  width: min(160px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.gh-content img.tgg-zoomable {
  cursor: zoom-in;
}

.gh-content figcaption {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.4rem;
}

.gh-content .kg-width-wide {
  width: min(1200px, calc(100vw - 2rem));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.gh-content .kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.tgg-resource-cta {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  margin: 1.6rem 0;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.tgg-resource-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  align-items: center;
}

.tgg-resource-cta__main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.tgg-resource-cta__media {
  width: clamp(150px, 24vw, 220px);
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #0b1220;
  display: block;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.tgg-resource-cta__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.tgg-resource-cta__media--fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120px 90px at 15% 20%, rgba(56, 189, 248, 0.32), transparent 60%),
    radial-gradient(110px 80px at 90% 80%, rgba(34, 197, 94, 0.22), transparent 60%),
    linear-gradient(135deg, #0f172a, #111827);
}

.tgg-resource-cta__media-fallback {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.92);
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
}

.tgg-resource-cta__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--text-muted);
}

.tgg-resource-cta__title {
  margin: 0.2rem 0 0.35rem;
  line-height: 1.2;
  font-size: 1.15rem;
}

.tgg-resource-cta__text {
  min-width: 0;
}

.tgg-resource-cta__desc {
  margin: 0.1rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 72ch;
}

.tgg-resource-cta__actions {
  display: grid;
  gap: 0.65rem;
  align-items: center;
  justify-items: stretch;
}

.tgg-resource-cta__actions > * {
  width: 100%;
  text-align: center;
}

.tgg-resource-cta__actions .hero-cta {
  font-size: 1rem;
  padding: 0.95rem 1rem;
}

.tgg-resource-cta__textlink {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: #0d5ea8;
  font-weight: 900;
  text-decoration: none;
  opacity: 0.92;
}

.tgg-resource-cta__textlink:hover {
  text-decoration: underline;
  opacity: 1;
}

.tgg-resource-cta a.hero-cta:hover {
  text-decoration: none;
}

.tgg-resource-cta .btn-secondary {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #111827;
}

.tgg-resource-cta .btn-secondary:hover {
  background: #eef2f7;
}

@media (max-width: 700px) {
  .tgg-resource-cta__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tgg-resource-cta__actions {
    justify-items: start;
  }

  .tgg-resource-cta__actions > * {
    width: auto;
    text-align: left;
  }

  .tgg-resource-cta__actions .hero-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .tgg-resource-cta__main {
    flex-direction: column;
    align-items: flex-start;
  }

  .tgg-resource-cta__media {
    width: 100%;
    max-width: 520px;
  }
}

.tgg-image-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.tgg-image-zoom-overlay.is-open {
  display: flex;
}

.tgg-image-zoom-overlay img {
  max-width: min(96vw, 1920px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.48);
}

.tgg-image-zoom-caption {
  color: #e5e7eb;
  font-size: 0.92rem;
  margin-top: 0.7rem;
  text-align: center;
}

.tgg-image-zoom-wrap {
  max-width: 100%;
  max-height: 100%;
}

body.tgg-zoom-lock {
  overflow: hidden;
}

.lead-signup {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin: 1.3rem 0;
  background: #f8fafc;
}

.lead-signup h3 {
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.lead-signup-subcopy {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.lead-signup-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.lead-signup-form input[type="email"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  font-size: 0.98rem;
}

.lead-signup-form button {
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #111827;
  font-weight: 800;
  padding: 0.72rem 0.9rem;
  cursor: pointer;
}

.lead-signup-consent {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #334155;
}

.lead-signup-consent a {
  text-decoration: underline;
}

.lead-signup-success,
.lead-signup-error {
  display: none;
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.lead-signup-success {
  color: #166534;
}

.lead-signup-error {
  color: #991b1b;
}

.lead-signup-form.success .lead-signup-success {
  display: block;
}

.lead-signup-form.error .lead-signup-error {
  display: block;
}

.lead-signup-direct {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer-title {
  color: #fff;
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.footer-text {
  margin: 0;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #fff;
}

.footer-notes {
  margin-top: 1.4rem;
  border-top: 1px solid #374151;
  padding-top: 1.1rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.error-page {
  padding: 4rem 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .logo-grid,
  .testimonial-grid,
  .post-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 700px) {
  .nav-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .hero-grid,
  .logo-grid,
  .testimonial-grid,
  .post-grid,
  .footer-grid,
  .hero-form {
    grid-template-columns: 1fr;
  }

  .hero-form {
    display: grid;
  }

  .hero-members-form,
  .lead-signup-form {
    grid-template-columns: 1fr;
  }

  .resources-hub {
    grid-template-columns: 1fr;
  }

  .resources-locked {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 2.2rem 0;
  }

  .hero-grid {
    gap: 0.85rem;
  }

  /* On mobile, show the portrait as a small badge above the title (not a huge block). */
  .hero-image-wrap {
    grid-row: 1;
    justify-self: start;
    text-align: left;
    margin-bottom: 0.1rem;
  }

  .hero-grid > div:first-child {
    grid-row: 2;
  }

  .hero-image {
    max-height: 64px;
  }

  .taskforce-head {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 0.85rem;
  }

  .taskforce-head-thumb {
    width: 160px;
    height: 160px;
    border-radius: 26px;
    padding: 14px;
  }

  .featured-on,
  .testimonials,
  .recent-posts {
    padding: 2.5rem 0;
  }
}

/* taskforce-conversion */
.taskforce-valueprop {
  margin-top: 1.05rem;
  max-width: 72ch;
}

.taskforce-price {
  margin: 0;
  color: #e5e7eb;
  font-weight: 900;
}

.taskforce-bullets {
  margin: 0.55rem 0 0;
  color: #d1d5db;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.taskforce-bullets span::before {
  content: "•";
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.taskforce-mid-cta {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: linear-gradient(155deg, #0b1220, #111827);
  color: #fff;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
  padding: 1.1rem 1.2rem;
}

.taskforce-mid-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.taskforce-mid-cta-copy h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.taskforce-mid-cta-copy p {
  margin: 0.35rem 0 0;
  color: #d1d5db;
  max-width: 70ch;
}

.taskforce-mid-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

@media (max-width: 720px) {
  .taskforce-mid-cta {
    padding: 1rem;
  }

  .taskforce-mid-cta-actions {
    width: 100%;
  }

  .taskforce-mid-cta-actions .hero-cta,
  .taskforce-mid-cta-actions .btn-secondary {
    width: 100%;
  }
}
/* /taskforce-conversion */
