/* Marketing / secondary pages — cinematic bridge layout + components */

body.marketing-cinematic {
  background: var(--lc-surface, #121e21);
  color: var(--lc-on-surface, #e3e3df);
  font-family: var(--lc-font, "Plus Jakarta Sans", "Inter", system-ui, sans-serif);
  min-height: 100vh;
}

/* Footer uses .lc-reveal; homepage scroll-motion JS is not loaded here */
body.marketing-cinematic .lc-reveal {
  opacity: 1;
}

body.marketing-cinematic .lc-nav--marketing .lc-nav__minimap {
  display: none;
}

body.marketing-cinematic .lc-nav--marketing {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Keep the brand/logo flush-left; push links + CTA to the right */
body.marketing-cinematic .lc-nav--marketing .lc-nav__brand {
  margin-right: auto;
}

.mw-main {
  position: relative;
  z-index: 1;
}

.mw-shell {
  width: min(100%, var(--lc-shell-max, 72rem));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--lc-section-pad, 1.5rem) clamp(3rem, 6vw, 5rem);
}

.mw-page-hero {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 42rem;
}

.mw-page-hero .lc-eyebrow-pill {
  margin-bottom: 1rem;
}

.mw-page-hero .lc-title {
  font-family: var(--lc-font-display, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

.mw-page-hero .lc-subtitle {
  font-size: 1.05rem;
  color: var(--lc-muted, rgba(207, 197, 180, 0.78));
  line-height: 1.65;
  max-width: 38rem;
}

.mw-prose {
  max-width: 48rem;
  line-height: 1.7;
}

.mw-prose h2 {
  font-family: var(--lc-font-display, "Plus Jakarta Sans", sans-serif);
  font-size: 1.35rem;
  color: var(--lc-primary, #f4c45f);
  margin: 2rem 0 0.75rem;
}

.mw-prose h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--lc-on-surface, #e3e3df);
}

.mw-prose p,
.mw-prose li {
  color: var(--lc-muted);
  margin-bottom: 0.85rem;
}

.mw-prose ul,
.mw-prose ol {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.mw-prose a:not(.btn-growth-primary):not(.btn-growth-outline):not(.lc-btn) {
  color: var(--lc-primary);
}

a.btn-growth-primary,
.mw-prose a.btn-growth-primary {
  color: var(--lc-on-primary, #402d00);
  background: var(--lc-primary, #f4c45f);
}

a.btn-growth-outline,
.mw-prose a.btn-growth-outline {
  color: var(--lc-primary, #f4c45f);
  background: transparent;
}

.mw-glass-card,
.glass-card.mw-glass-card {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 45, 50, 0.72) 0%, rgba(20, 30, 35, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--lc-radius, 16px);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.mw-card-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .mw-card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .mw-card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mw-card-grid .mw-glass-card {
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Gold/teal accent strip along the top edge of grid cards */
.mw-card-grid .mw-glass-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lc-primary, #f4c45f), var(--lc-brand-teal, #25aba1));
  opacity: 0.65;
  transition: opacity 0.25s ease;
}

.mw-card-grid .mw-glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 171, 161, 0.45);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
}

.mw-card-grid .mw-glass-card:hover::before {
  opacity: 1;
}

.mw-card-grid .mw-glass-card .btn-growth-outline,
.mw-card-grid .mw-glass-card .btn-growth-primary {
  margin-top: auto;
  align-self: flex-start;
}

.mw-card-grid h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.mw-card-grid .mw-card-role {
  font-size: 0.88rem;
  color: var(--lc-brand-teal, #25aba1);
  font-weight: 600;
}

.mw-cta-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1.5rem;
  align-items: center;
}

.btn-growth-primary,
.mw-cta-row .lc-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--lc-primary, #f4c45f);
  color: var(--lc-on-primary, #402d00);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-growth-outline,
.mw-cta-row .lc-btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(244, 196, 95, 0.45);
  background: transparent;
  color: var(--lc-primary);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-growth-primary:hover,
.btn-growth-outline:hover {
  transform: translateY(-1px);
}

.mw-compare-table,
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.92rem;
  border-radius: var(--lc-radius, 16px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mw-compare-table th,
.mw-compare-table td,
.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mw-compare-table thead th,
.compare-table thead th {
  background: rgba(37, 171, 161, 0.15);
  color: var(--lc-primary);
  font-weight: 700;
}

.mw-compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.mw-compare-table td:first-child,
.compare-table td:first-child {
  color: var(--lc-on-surface);
  font-weight: 600;
}

.mw-faq,
.faq-block {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mw-faq h2,
.faq-block h2 {
  font-family: var(--lc-font-display);
  font-size: 1.5rem;
  color: var(--lc-primary);
  margin-bottom: 0.5rem;
}

.faq-item,
.mw-faq-item {
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.faq-item h3,
.mw-faq-item h3 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 0.5rem;
}

.faq-item p,
.mw-faq-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--lc-muted);
  line-height: 1.6;
}

.mw-related-links {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  color: var(--lc-muted);
}

.mw-related-links a {
  color: var(--lc-primary);
}

.mw-section {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  scroll-margin-top: 5rem;
}

.mw-section__title {
  font-family: var(--lc-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--lc-primary);
  margin-bottom: 1.25rem;
}

.mw-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .mw-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .mw-steps--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mw-step {
  padding: 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(37, 171, 161, 0.25);
  background: rgba(37, 171, 161, 0.08);
}

.mw-step strong {
  display: block;
  color: var(--lc-brand-teal);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.mw-feature-hero {
  margin: 1rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--lc-radius);
  border: 1px solid rgba(37, 171, 161, 0.3);
  background: rgba(37, 171, 161, 0.08);
}

.mw-feature-hero img {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 1.25rem auto 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mw-breadcrumb {
  font-size: 0.85rem;
  color: var(--lc-muted);
  margin-bottom: 1rem;
}

.mw-breadcrumb a {
  color: var(--lc-primary);
}

.mw-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  list-style: none;
  padding: 0;
}

.mw-pill-list li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: var(--lc-muted);
  margin: 0;
}

/* About page story chapters */
.mw-about-story {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.mw-story-chapter {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.mw-story-chapter__media {
  display: flex;
  flex-direction: column;
}

.mw-story-chapter__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .mw-story-chapter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem;
  }

  .mw-story-chapter--reverse .mw-story-chapter__media {
    order: 2;
  }

  .mw-story-chapter--reverse .mw-story-chapter__copy {
    order: 1;
  }
}

.mw-story-chapter img {
  width: 100%;
  flex: 1 1 auto;
  height: 100%;
  min-height: 240px;
  max-height: min(42vh, 360px);
  object-fit: cover;
  border-radius: var(--lc-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mw-story-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-brand-teal);
  margin-bottom: 0.35rem;
}

.mw-tool-chips {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.mw-tool-chip {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(244, 196, 95, 0.25);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.92rem;
  color: var(--lc-muted);
}

.mw-tool-chip strong {
  color: var(--lc-primary);
  display: block;
  margin-bottom: 0.2rem;
}

.mw-about-hero-img {
  margin-top: 1.5rem;
  border-radius: var(--lc-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 56rem;
}

.mw-page-hero--about {
  max-width: none;
}

.mw-page-hero--about .lc-subtitle {
  max-width: 42rem;
}

.mw-about-journey {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mw-about-hero-img img {
  display: block;
  width: 100%;
  height: auto;
}

.mw-lore-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0;
}

.mw-lore-links a {
  font-size: 0.88rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 196, 95, 0.35);
  color: var(--lc-primary);
  text-decoration: none;
}

.mw-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .mw-values-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.mw-values-list li {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.mw-vision-values {
  grid-column: 1 / -1;
}

.mw-values-list li strong {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
}

.mw-vision-values .mw-values-list {
  width: 100%;
}

.mw-vision-values h3 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 0.85rem;
}

.mw-story-chapter__copy ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--lc-muted);
}

.mw-story-chapter__copy li {
  margin-bottom: 0.35rem;
}

/* Community cards */
.mw-community-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(244, 196, 95, 0.22), rgba(37, 171, 161, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Study index */
.mw-study-grid a.mw-glass-card {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mw-study-grid a.mw-glass-card:hover {
  border-color: rgba(37, 171, 161, 0.45);
  transform: translateY(-2px);
}

.mw-study-grid h3 {
  color: var(--lc-primary);
}

/* Legacy growth alias */
.card-grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid a {
  display: block;
  padding: 1.25rem;
  border-radius: var(--lc-radius, 16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card-grid a:hover {
  border-color: rgba(37, 171, 161, 0.45);
  transform: translateY(-2px);
}

/* Marketing nav on secondary pages */
body.marketing-cinematic .lc-nav--marketing .lc-nav__links {
  display: none;
}

@media (min-width: 900px) {
  body.marketing-cinematic .lc-nav--marketing .lc-nav__links {
    display: flex;
  }
  body.marketing-cinematic .lc-nav--marketing .lc-nav__menu-btn {
    display: none;
  }
}

body.marketing-cinematic .lc-nav--marketing .lc-nav__menu-btn {
  display: inline-flex;
}

body.marketing-cinematic .lc-nav--marketing .lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

body.marketing-cinematic .lc-nav--marketing .lc-btn--primary {
  background: var(--lc-primary, #f4c45f);
  color: var(--lc-on-primary, #402d00);
}

body.marketing-cinematic .lc-nav--marketing .lc-btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Blog index */
.mw-blog-featured h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0.75rem 0;
  color: #fff;
}

.mw-blog-featured__meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--lc-muted);
}

.mw-blog-featured__deck {
  color: var(--lc-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
