/* ============================
   CSS VARIABLES
   ============================ */
:root {
  --bg:            hsl(220, 8%, 10%);
  --bg-card:       hsl(220, 8%, 13%);
  --fg:            hsl(45, 15%, 88%);
  --fg-muted:      hsl(45, 10%, 55%);
  --fg-secondary:  hsl(45, 15%, 75%);
  --primary:       hsl(72, 35%, 38%);
  --primary-hover: hsl(72, 35%, 32%);
  --primary-fg:    hsl(45, 15%, 95%);
  --accent:        hsl(42, 45%, 58%);
  --secondary:     hsl(220, 8%, 18%);
  --border:        hsl(220, 8%, 20%);
  --radius:        0.75rem;
  --radius-lg:     1rem;
  --radius-xl:     1.25rem;
  --radius-full:   9999px;
  --font-sans:     -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-heading:  -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container:     1200px;
  --header-h:      64px;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

/* ============================
   LAYOUT
   ============================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 767px) {
  .container { padding: 0 1.25rem; }
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border: 2px solid transparent;
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border);
}
.btn-outline:hover { background: var(--secondary); border-color: var(--border); }

.btn-pill { border-radius: var(--radius-full); }

.btn-lg {
  height: 3.5rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--accent); }

.w-full { width: 100%; }

/* ============================
   HEADER
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  background: hsla(220, 8%, 10%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-block { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  transition: color 0.2s;
}
.logo-name:hover { color: var(--primary); }
.logo-desc {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--fg); }

.desktop-cta { }

.hamburger {
  display: none;
  color: var(--fg);
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.hamburger:hover { background: var(--secondary); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 99;
  background: hsla(220, 8%, 10%, 0.97);
  backdrop-filter: blur(8px);
  padding: 2rem 1.25rem;
}
.mobile-menu.is-open { display: block; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--fg); }
.mobile-cta { margin-top: 0.5rem; }

@media (max-width: 991px) {
  .main-nav, .desktop-cta { display: none; }
  .hamburger { display: flex; }
}

/* ============================
   SECTIONS
   ============================ */
.section {
  padding: 6rem 0;
}
.section-card {
  background: var(--bg-card);
}
.border-y {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.border-t { border-top: 1px solid var(--border); }

.section-center { text-align: center; }
.section-left   { text-align: left; }

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.section-text {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 56rem;
}
.section-center .section-text { margin: 0 auto; }

.text-center { text-align: center; }
.mb-16 { margin-bottom: 4rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-8  { margin-top: 2rem; }
.max-w-3xl { max-width: 48rem; }

/* ============================
   HERO
   ============================ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
@media (min-width: 1024px) {
  .hero-section { padding: 8rem 0 7rem; }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, hsla(72, 35%, 38%, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 4rem;
  }
}

/* Hero Text */
.hero-text { display: flex; flex-direction: column; gap: 2rem; }

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 1px solid hsla(72, 35%, 38%, 0.35);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.trust-icon { color: var(--primary); flex-shrink: 0; }

/* Hero Collage */
.hero-collage {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-collage {
    grid-template-columns: minmax(0, 1fr) 10rem;
    grid-template-rows: 1fr 1fr;
    max-width: 42rem;
    min-height: 420px;
  }
}
@media (min-width: 1024px) {
  .hero-collage {
    max-width: none;
    min-height: 520px;
    margin: 0;
    grid-template-columns: minmax(0, 1fr) 11.5rem;
    gap: 1.25rem;
  }
}

.hero-main-img,
.hero-side-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid hsla(220, 8%, 20%, 0.75);
  background: var(--bg-card);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

.hero-main-img {
  min-height: 330px;
}
@media (min-width: 640px) {
  .hero-main-img {
    grid-row: 1 / span 2;
    min-height: 420px;
  }
}
@media (min-width: 1024px) {
  .hero-main-img { min-height: 520px; }
}
.hero-main-img img,
.hero-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-main-img img {
  object-position: center center;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, hsla(220,8%,10%,0.45) 0%, transparent 42%),
    linear-gradient(to right, hsla(220,8%,10%,0.12), transparent 45%);
  pointer-events: none;
}

.hero-side-card {
  min-height: 170px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
}
.hero-product-card img {
  object-position: 82% center;
}
.hero-detail-card img {
  object-position: 58% center;
}
@media (max-width: 639px) {
  .hero-collage {
    gap: 0.875rem;
  }
  .hero-main-img { min-height: 310px; }
  .hero-side-card { min-height: 150px; }
  .hero-product-card { display: none; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-product-card img { object-position: 86% center; }
}

/* ============================
   CARDS GRIDS
   ============================ */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}
.cards-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cards-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Feature Cards */
.feature-card {
  background: var(--bg);
  border: 1px solid hsla(220, 8%, 20%, 0.7);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px -5px hsla(72, 35%, 38%, 0.15);
  border-color: hsla(72, 35%, 38%, 0.3);
}
.feature-card:hover .feature-icon { background: hsla(72, 35%, 38%, 0.2); color: var(--primary); }
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--fg);
  transition: background 0.2s, color 0.2s;
}
.feature-title { font-size: 1.125rem; margin-bottom: 0.75rem; }
.feature-text  { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

/* Topic Cards */
.topic-grid { gap: 1rem; }
.topic-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsla(220, 8%, 20%, 0.6);
  background: hsla(220, 8%, 13%, 0.5);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.topic-card:hover { background: var(--bg-card); border-color: hsla(72, 35%, 38%, 0.35); }
.topic-card:hover .topic-title { color: var(--primary); }
.topic-card:hover .topic-arrow { opacity: 1; transform: translateX(0); }
.topic-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.topic-title {
  font-size: 1.0625rem;
  font-weight: 700;
  transition: color 0.2s;
}
.topic-arrow {
  color: var(--fg-muted);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.topic-desc { font-size: 0.875rem; color: var(--fg-muted); }

/* Image Cards */
.img-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid hsla(220, 8%, 20%, 0.7);
  transition: box-shadow 0.3s;
}
.img-card:hover { box-shadow: 0 20px 50px -10px hsla(72, 35%, 38%, 0.08); }
.img-card-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.img-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.img-card:hover .img-card-photo img { transform: scale(1.04); }
.img-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.img-card-title { font-size: 1.375rem; margin-bottom: 1rem; }
.img-card-text  { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7; }

/* ============================
   EDITORIAL + TIMELINE
   ============================ */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .two-col-section { grid-template-columns: 1fr 1fr; }
}

.editorial-text {}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(220, 8%, 18%, 0.6);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}
.pill svg { color: var(--primary); flex-shrink: 0; }

.timeline-box {
  background: var(--bg-card);
  border: 1px solid hsla(220, 8%, 20%, 0.6);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
@media (min-width: 1024px) {
  .timeline-box { padding: 3rem; }
}
.timeline-heading {
  font-size: 1.375rem;
  margin-bottom: 2rem;
}

.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: hsla(220, 8%, 20%, 0.6);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -1.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-dot span { font-size: 0.75rem; font-weight: 700; color: var(--primary); }
.timeline-content {
  background: var(--bg);
  border: 1px solid hsla(220, 8%, 20%, 0.6);
  border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  flex: 1;
}

/* ============================
   BLOG ARTICLES
   ============================ */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.article-card:hover { border-color: hsla(72, 35%, 38%, 0.5); }
.article-card:hover .article-title { color: var(--primary); }
.article-card:hover .article-link svg { transform: translateX(3px); }

.article-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
  flex: 1;
}
.article-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}
.article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.2s;
  margin-top: auto;
}
.article-link:hover { color: var(--primary); }
.article-link svg { transition: transform 0.2s; }

/* ============================
   WIDE CTA
   ============================ */
.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute;
  inset: 0;
  background: hsla(220, 8%, 10%, 0.88);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}
.cta-heading {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.cta-text {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner .hero-buttons { justify-content: center; }

/* ============================
   FAQ ACCORDION
   ============================ */
.faq-container { max-width: 48rem; }

.accordion { width: 100%; }
.accordion-item { border-bottom: 1px solid var(--border); }

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fg);
  text-align: left;
  transition: color 0.2s;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger span { flex: 1; }

.accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.accordion-item.is-open .accordion-chevron { transform: rotate(180deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.25s;
}
.accordion-item.is-open .accordion-content {
  max-height: 500px;
}
.accordion-content p {
  padding-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 2fr; }
}

.footer-brand .logo-name { display: block; margin-bottom: 1rem; font-size: 1.5rem; }
.footer-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 20rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

.footer-col-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links li + li { margin-top: 0.75rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid hsla(220, 8%, 20%, 0.6);
  padding: 1.5rem 0;
}
.footer-bottom p { font-size: 0.875rem; color: var(--fg-muted); }

/* ============================
   ANIMATIONS
   ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
}
.fade-in.animate {
  animation: fadeInUp 0.7s ease forwards;
}
.fade-in-delay { animation-delay: 0.2s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   UTILITIES
   ============================ */
.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: inline-flex; } }

.mobile-only { display: block; }
@media (min-width: 768px) { .mobile-only { display: none; } }

/* ============================
   RESPONSIVE OVERRIDES
   ============================ */
@media (max-width: 767px) {
  .section { padding: 4rem 0; }
  .hero-section { padding: 4rem 0 3.5rem; }
  .hero-headline { font-size: 2.25rem; }
  .section-heading { font-size: 1.75rem; }
  .cards-grid.cols-4 { grid-template-columns: 1fr; }
  .cards-grid.cols-3 { grid-template-columns: 1fr; }
  .hero-collage { max-width: 24rem; }
  .cta-section { padding: 5rem 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Dynamic engine materials block */
.engine-home-materials .article-meta{display:flex;justify-content:space-between;gap:.75rem;color:var(--fg-muted);font-size:.78rem;margin-bottom:.85rem}
.engine-home-materials .article-meta span:first-child{color:var(--primary);font-weight:700}
.engine-home-materials .article-card{text-decoration:none;color:inherit}
.engine-home-materials .article-card .article-link{margin-top:auto}
.mt-8{margin-top:2rem}
.mobile-only{display:none}
@media(max-width:768px){.desktop-only{display:none!important}.mobile-only{display:block}}

/* ============================
   DYNAMIC HOMEPAGE INTERNAL LINKS + PARTNER BLOCK
   ============================ */
.home-hubs-section {
  background: radial-gradient(circle at 10% 0%, hsla(72, 34%, 55%, 0.08), transparent 30%), var(--bg);
}
.home-hubs-grid .home-hub-card,
.dynamic-home-card {
  text-decoration: none;
}
.dynamic-home-card .article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.dynamic-home-card .article-meta span:first-child {
  color: var(--primary);
  font-weight: 800;
}
.partner-section {
  background:
    radial-gradient(circle at 85% 10%, hsla(43, 42%, 70%, 0.10), transparent 32%),
    linear-gradient(180deg, var(--bg-card), var(--bg));
}
.partner-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid hsla(72, 34%, 55%, 0.24);
  background: linear-gradient(135deg, hsla(72, 34%, 55%, 0.13), hsla(43, 42%, 70%, 0.07));
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}
.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.05), transparent 30%),
    radial-gradient(circle at 100% 100%, hsla(72, 34%, 55%, 0.16), transparent 34%);
  pointer-events: none;
}
.partner-badge,
.partner-content,
.partner-actions { position: relative; z-index: 1; }
.partner-badge {
  grid-column: 1 / -1;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: hsla(72, 34%, 55%, 0.15);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.partner-content .section-heading {
  margin-bottom: 1rem;
}
.partner-content strong {
  color: var(--fg);
}
.partner-note {
  margin-top: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 54rem;
}
.partner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 13rem;
}
@media (max-width: 900px) {
  .partner-card { grid-template-columns: 1fr; align-items: start; }
  .partner-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 560px) {
  .partner-actions .btn { width: 100%; }
  .dynamic-home-card .article-meta { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
