/*
Theme Name: TalentRewards
Theme URI: https://talentrewards.app
Author: TalentRewards Team
Author URI: https://talentrewards.app
Description: TalentRewards - Performance management that actually works. A custom theme inspired by the cinematic journey concept with 15 sections.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: talentrewards
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* CSS Variables */
:root {
  /* Brand Colors */
  --primary-cyan: #00748F;
  --primary-coral: #e94560;

  /* Backgrounds */
  --bg-primary: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-hover: #f1f5f9;

  /* Borders */
  --border-color: #e2e8f0;

  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  /* Gradients */
  --gradient-hero: linear-gradient(
    135deg,
    #f8fafc 0%,
    #f1f5f9 50%,
    #f8fafc 100%
  );
  --gradient-accent: linear-gradient(90deg, #00748F 0%, #e94560 100%);
  --gradient-card: #ffffff;
  --gradient-cyan: linear-gradient(135deg, #00748F 0%, #005f73 100%);
  --gradient-coral: linear-gradient(135deg, #e94560 0%, #c73a52 100%);
  --gradient-text: linear-gradient(90deg, #00748F 0%, #e94560 100%);

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Outfit", sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

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

h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw + 0.75rem, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h3 {
  font-size: clamp(1.375rem, 2vw + 0.75rem, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h4 {
  font-size: 2rem;
  line-height: 1.25;
}
h5 {
  font-size: 1.5rem;
  line-height: 1.3;
}
h6 {
  font-size: 1.25rem;
  line-height: 1.35;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-coral);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-color);
  padding: var(--spacing-md) 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-logo a {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-cyan);
  letter-spacing: -0.02em;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
}

.main-navigation a {
  color: var(--text-secondary);
  font-weight: 500;
}

.main-navigation a:hover {
  color: var(--primary-cyan);
}

/* Header Navigation - Center Links */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.header-nav-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  margin: 0;
  padding: 0;
}

.header-nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.header-nav-link:hover {
  color: var(--primary-cyan);
}

.header-nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-cyan);
  transition: width 0.3s ease;
}

.header-nav-link:hover::after {
  width: 100%;
}

/* Hide WordPress default navigation - using custom header nav instead */
.main-navigation {
  display: none;
}

/* Mobile menu toggle - hidden on desktop by default */
.mobile-menu-toggle {
  display: none;
}

/* Mobile menu - hidden by default */
.mobile-menu {
  display: none;
}

.header-right-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

/* Header Right Section */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.desktop-language-selector {
  display: flex;
}

/* Language Selector base styling */
.language-selector {
  position: relative;
  display: flex;
}

.language-selector-toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-selector-toggle:hover {
  border-color: var(--primary-cyan);
  color: var(--text-primary);
}

.language-selector-toggle .globe-icon {
  flex-shrink: 0;
}

.language-selector-toggle .current-language {
  font-weight: 500;
}

.language-selector-toggle .chevron-icon {
  transition: transform 0.3s ease;
}

.language-selector.open .language-selector-toggle .chevron-icon,
.desktop-language-selector.open .language-selector-toggle .chevron-icon {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + var(--spacing-sm));
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--spacing-sm);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.language-selector.open .language-dropdown,
.desktop-language-selector.open .language-dropdown,
.mobile-language-selector.open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.language-option:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.language-option.active {
  color: var(--primary-cyan);
  background: rgba(0, 116, 143, 0.08);
}

.language-option .check-icon {
  flex-shrink: 0;
  stroke: var(--primary-cyan);
}

.header-cta {
  background: var(--gradient-coral);
  color: var(--text-primary);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s ease;
}

.header-cta:hover {
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
  transform: scale(1.02);
  color: var(--text-primary);
}

/* Header right section - Language + CTA */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-inner .language-selector {
  margin-left: auto;
}

.header-inner .header-cta {
  margin-left: 12px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  /* Apply background image via custom property with fallback */
  background-image: var(--hero-bg);
}

/* Hero background image fallback for when CSS var might not work */
@supports not (background-image: var(--hero-bg)) {
  .hero-section {
    background-color: var(--bg-primary);
  }
}

/* Responsive background images */
@media (max-width: 480px) {
  .hero-section {
    background-image: var(--hero-bg-small, var(--hero-bg)) !important;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .hero-section {
    background-image: var(--hero-bg-medium, var(--hero-bg)) !important;
  }
}

@media (min-width: 1025px) {
  .hero-section {
    background-image: var(--hero-bg-large, var(--hero-bg)) !important;
  }
}

.hero-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 23, 0.3) 0%,
    rgba(13, 17, 23, 0.5) 50%,
    rgba(13, 17, 23, 0.8) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.section-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  text-align: center;
  z-index: 3;
  max-width: 72ch;
  position: relative;
}

.hero-content h1 {
  margin-bottom: var(--spacing-lg);
  color: #f0f6fc;
}

.hero-content .subheadline {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.375rem);
  color: rgba(240, 246, 252, 0.85);
  margin-bottom: var(--spacing-xl);
  line-height: 1.55;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-2xl);
}

.btn-primary {
  background: var(--gradient-cyan);
  color: #ffffff;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 116, 143, 0.35);
  color: #ffffff;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 116, 143, 0.2);
}

.btn-secondary {
  background: var(--gradient-coral);
  color: var(--text-primary);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
  color: var(--text-primary);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--primary-coral);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.15);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(240, 246, 252, 0.6);
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 3;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}


@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* Sections */
.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-primary);
  position: relative;
  border-top: 1px solid var(--border-color);
}

.section-light {
  background-color: var(--bg-elevated);
  position: relative;
  border-top: 1px solid var(--border-color);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-coral);
  margin-bottom: var(--spacing-md);
}

.section-title {
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.65;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.features-grid--ai {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg) var(--spacing-xl);
}

.features-grid--ai .feature-card {
  border-top-color: var(--text-muted);
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-cyan);
  border-radius: 0 0 12px 12px;
  padding: var(--spacing-xl);
  transition: box-shadow 0.2s ease;
  position: relative;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

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

.feature-details {
  list-style: none;
  margin-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.feature-details li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.feature-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300748F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Feature Badge (Pro Addon pill) */
.feature-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-coral);
  color: #fff;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: var(--spacing-sm);
}

/* MBO variant feature card (coral top border) */
.feature-card--mbo {
  border-top-color: var(--primary-coral);
}

/* Four-column features grid (2x2 on desktop) */
.features-grid--four {
  grid-template-columns: repeat(2, 1fr);
}

/* MBO Pillars grid in section6-mbo */
.mbo-pillars-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card--mbo-pillar {
  border-top-color: var(--primary-coral);
}

/* MBO callout below pillars */
.mbo-callout {
  margin-top: var(--spacing-2xl);
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.mbo-callout-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.mbo-callout-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

.mbo-callout-link {
  color: var(--primary-coral);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 6px;
}

.mbo-callout-link:hover {
  opacity: 0.8;
}

/* Pricing Addons Section */
.pricing-addons {
  margin-top: var(--spacing-2xl);
}

.addon-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-coral);
  border-radius: 0 0 16px 16px;
  padding: var(--spacing-xl) var(--spacing-2xl);
}

.addon-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.addon-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.addon-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--primary-coral);
  color: #fff;
  padding: 3px 10px;
  border-radius: 100px;
}

.addon-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.addon-pricing-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg) var(--spacing-xl);
  background: var(--bg-primary);
  border-radius: 10px;
}

.addon-price-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.addon-plan-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.addon-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.addon-amount--included {
  color: var(--primary-cyan);
}

.addon-per {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.addon-annual {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.addon-price-divider {
  width: 1px;
  height: 48px;
  background: var(--border-color);
}

.addon-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xs) var(--spacing-xl);
}

.addon-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.addon-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e94560' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Pricing feature highlight (Enterprise MBO included) */
.pricing-feature-highlight {
  color: var(--primary-cyan) !important;
  font-weight: 600;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.pricing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: var(--primary-cyan);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(0, 116, 143, 0.12);
}

.pricing-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.pricing-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-coral);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-cyan);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-xl);
}

.pricing-features li {
  padding: var(--spacing-sm) 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  position: relative;
  text-align: left;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300748F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-cta {
  width: 100%;
}

/* Stats Section */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: var(--spacing-2xl) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  padding: var(--spacing-xl) var(--spacing-lg);
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-metric {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: var(--spacing-sm);
}

.stat-number {
  font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
  font-weight: 700;
  color: var(--primary-cyan);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.4;
}

.stat-context {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-3xl) var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.testimonial-card {
  background: transparent;
  border: none;
  padding: 0;
  padding-top: var(--spacing-xl);
  /*border-top: 1px solid var(--border-color);*/
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -0.1em;
  left: 0;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary-cyan);
  font-family: Georgia, serif;
  font-weight: 700;
}

.testimonial-quote {
  font-size: 1.0625rem;
  font-style: normal;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  padding-left: 1.75rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Contact Form */
.contact-section {
  background: var(--bg-primary);
  position: relative;
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-2xl);
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  padding: var(--spacing-xl);
  border-radius: 16px;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 116, 143, 0.12);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact Form 7 Styles */
.wpcf7 {
  margin-top: var(--spacing-lg);
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: var(--spacing-sm);
}

.wpcf7 label {
  display: block;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-number,
.wpcf7-tel,
.wpcf7-textarea,
.wpcf7-select {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: var(--spacing-xs);
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-number:focus,
.wpcf7-tel:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 116, 143, 0.12);
}

.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-textarea::placeholder {
  color: var(--text-muted);
}

.wpcf7-textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238B949E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.wpcf7-submit {
  background-color: var(--primary-cyan);
  color: #ffffff;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  align-self: flex-start;
}

.wpcf7-submit:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
  background-color: var(--primary-cyan);
  color: var(--bg-primary);
}

.wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wpcf7-response-output {
  margin: var(--spacing-lg) 0 0 0;
  padding: var(--spacing-md);
  border-radius: 8px;
  font-size: 14px;
}

.wpcf7-mail-sent-ok {
  background: rgba(0, 116, 143, 0.08);
  border: 1px solid var(--primary-cyan);
  color: var(--primary-cyan);
}

.wpcf7-mail-sent-ng {
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid var(--primary-coral);
  color: var(--primary-coral);
}

.wpcf7-validation-errors {
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid var(--primary-coral);
  color: var(--primary-coral);
}

.wpcf7-not-valid-tip {
  color: var(--primary-coral);
  font-size: 12px;
  margin-top: var(--spacing-xs);
  display: block;
}

.wpcf7-form-control.wpcf7-checkbox,
.wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xs);
}

.wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
  width: auto;
  accent-color: var(--primary-cyan);
}

.wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.wpcf7-acceptance input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  accent-color: var(--primary-cyan);
}

.wpcf7-acceptance .wpcf7-list-item-label {
  color: var(--text-muted);
  font-size: 14px;
}

.wpcf7-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: var(--spacing-sm);
  vertical-align: middle;
}

.wpcf7-spinner::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.wpcf7-checkbox-focused,
.wpcf7-radio-focused {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 116, 143, 0.12);
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: var(--spacing-md);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-bottom {
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: var(--spacing-sm);
}

.language-switcher a {
  color: var(--text-muted);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.language-switcher a.active,
.language-switcher a:hover {
  color: var(--text-primary);
  background: var(--gradient-coral);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.blog-card {
  background: var(--bg-elevated);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-cyan);
}

.blog-card-image {
  height: 260px;
  background-color: var(--bg-hover);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-card-content {
  padding: var(--spacing-lg);
}

.blog-card-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-cyan);
  margin-bottom: var(--spacing-sm);
}

.blog-card h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin-bottom: var(--spacing-sm);
}

.blog-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--primary-cyan);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.blog-card-meta {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .desktop-language-selector {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle:hover {
    border-color: var(--primary-cyan);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: block;
  }

  .mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
  }

  .mobile-nav-link {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 18px;
    padding: var(--spacing-md) 0;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
  }

  .mobile-nav-link:hover {
    color: var(--primary-cyan);
    padding-left: var(--spacing-sm);
  }

  .mobile-language-selector {
    display: flex;
    flex-direction: column;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
  }

  .mobile-language-selector .language-selector-toggle {
    width: 100%;
    justify-content: center;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-md);
    font-size: 16px;
  }

  .mobile-language-selector .language-selector-toggle:hover {
    border-color: var(--primary-cyan);
    background: var(--bg-elevated);
  }

  .mobile-language-selector .language-dropdown {
    position: relative;
    top: 0;
    margin-top: var(--spacing-sm);
    transform: none;
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .mobile-language-selector .language-option {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 0;
    font-size: 15px;
    transition: all 0.2s ease;
  }

  .mobile-language-selector .language-option:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .mobile-language-selector .language-option:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .mobile-language-selector .language-option:hover {
    background: var(--bg-hover);
    transform: translateX(0);
  }

  .mobile-language-selector .language-option.active {
    color: var(--primary-cyan);
    background: rgba(0, 116, 143, 0.08);
  }

  .mobile-language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* Hide elements that should only show on desktop */
@media (min-width: 1025px) {
  .mobile-menu-toggle,
  .mobile-menu,
  .mobile-language-selector {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
  }

  .site-logo img {
    height: 40px;
  }

  .site-name {
    font-size: 18px;
  }

  .header-cta {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
    margin-left: 8px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stats-row .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-lg) 0;
  }

  .stats-row .stat-item:last-child {
    border-bottom: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  /* Section mobile styles */
  .section-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-visual {
    order: -1;
  }

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

  /* Center the list block itself, keep items left-aligned so
     multi-line text never jumps back under the icon */
  .problem-list,
  .value-props {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .problem-list li,
  .value-props li {
    justify-content: flex-start;
    text-align: left;
  }

  /* Span inside problem-list must stretch to fill remaining row width */
  .problem-list li span {
    flex: 1;
    min-width: 0;
  }

  .goal-card:nth-child(1),
  .goal-card:nth-child(2),
  .goal-card:nth-child(3) {
    transform: none;
  }

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

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

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

  .challenges-grid .challenge-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .features-grid--ai {
    grid-template-columns: 1fr;
  }

  .features-grid--four {
    grid-template-columns: 1fr;
  }

  .mbo-pillars-grid {
    grid-template-columns: 1fr;
  }

  .addon-pricing-row {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .addon-price-divider {
    width: 100%;
    height: 1px;
  }

  .addon-features {
    grid-template-columns: 1fr;
  }

  .addon-card {
    padding: var(--spacing-lg);
  }

  .team-features {
    flex-direction: column;
  }

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

  .hero-content .subheadline {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .trust-signals {
    flex-direction: column;
    gap: 12px;
  }

  .video-play-button {
    width: 60px;
    height: 60px;
  }

  .video-play-button svg {
    width: 24px;
    height: 24px;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animation Utility Classes */
.animate-on-load {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

/* Scroll-Triggered Animations */
.section-animate .animate-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.section-animate .animate-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-animate .animate-item.delay-1 {
  transition-delay: 0.1s;
}

.section-animate .animate-item.delay-2 {
  transition-delay: 0.2s;
}

.section-animate .animate-item.delay-3 {
  transition-delay: 0.3s;
}

.section-animate .animate-item.delay-4 {
  transition-delay: 0.4s;
}

.section-animate .animate-image {
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.section-animate .animate-image.visible {
  opacity: 1;
  transform: scale(1);
}

/* Fallback: ensure images are visible for no-js users */
.no-js .section-animate .animate-image {
  opacity: 1;
  transform: scale(1);
}

/* Hero Specific Animations */
.hero-content h1,
.hero-content .subheadline,
.hero-content .hero-buttons {
  opacity: 0;
  transform: translateY(30px);
}

.hero-content h1.animate-on-load {
  animation: fadeInUp 1s ease-out forwards;
}

.hero-content .subheadline.animate-on-load {
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-content .hero-buttons.animate-on-load {
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

.scroll-indicator {
  animation: bounce 2.5s ease-in-out infinite;
}

/* Fog Section */
.section-fog {
  position: relative;
  overflow: hidden;
  padding: 144px 0;
}

.fog-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% + 72px);
  opacity: 0.5;
}

.section-fog .section-content {
  position: relative;
  z-index: 10;
}

/* ============================================
   Section 3 — self-contained layout (no .section-content grid)
   ============================================ */

.section3-layout {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 10;
}

.section3-text {
  flex: 0 0 38%;
  max-width: 38%;
}

.section3-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 10px 0 14px;
}

.section3-title em {
  font-style: normal;
  color: var(--primary-coral);
}

.section3-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
  opacity: 0.8;
}

.section3-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 3 goal cards in one forced row */
.section3-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.section3-cards .goal-card {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  transform: none;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.93);
  border: 1.5px dashed rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section3-cards .goal-card:nth-child(1) { transform: rotate(-1.5deg); }
.section3-cards .goal-card:nth-child(2) { transform: rotate(0.8deg); }
.section3-cards .goal-card:nth-child(3) { transform: rotate(-1deg); }

/* Fog insight — compact row */
.section3-right .fog-insight {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 0;
  padding: 16px 22px;
  border-left: 4px solid var(--primary-coral);
  background: rgba(233, 69, 96, 0.06);
  border-radius: 0 8px 8px 0;
}

.section3-right .fog-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 900;
  color: var(--primary-coral);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.section3-right .fog-insight-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.55;
  margin: 0;
  font-weight: 500;
  font-style: normal;
}

@media (max-width: 900px) {
  .section3-layout {
    flex-direction: column;
    gap: 32px;
  }

  .section3-text {
    flex: none;
    max-width: 100%;
  }

  .section3-cards {
    flex-wrap: wrap;
  }

  .section3-cards .goal-card:nth-child(1),
  .section3-cards .goal-card:nth-child(2),
  .section3-cards .goal-card:nth-child(3) {
    transform: none;
  }
}

/* Goal Cards */
.goal-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.goal-card {
  width: 220px;
  padding: 20px 22px;
  background: var(--bg-elevated);
  border: 1.5px dashed var(--border-color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.goal-card:nth-child(1) { transform: rotate(-2deg); }
.goal-card:nth-child(2) { transform: rotate(1deg); }
.goal-card:nth-child(3) { transform: rotate(-1deg); }

.goal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.goal-chip {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3px 7px;
}

.goal-warning-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-coral);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.18);
}

.goal-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 14px;
}

.goal-progress-bar {
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.goal-progress-fill {
  height: 100%;
  background: var(--primary-coral);
  border-radius: 2px;
  opacity: 0.7;
}

.goal-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.goal-meta-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.goal-status {
  font-size: 12px;
  color: var(--primary-coral);
  font-weight: 600;
}

/* Fog Insight — Big stat */
.fog-insight {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 32px;
  border-left: 4px solid var(--primary-coral);
  background: rgba(233, 69, 96, 0.05);
  border-radius: 0 10px 10px 0;
  text-align: left;
}

.fog-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 900;
  color: var(--primary-coral);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.fog-insight-text {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* Section Content Layout */
.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 968px) {
  .section-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.section-text .section-label {
  display: block;
  margin-bottom: 16px;
}

.section-text .section-title {
  margin-bottom: 24px;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 58ch;
}

/* Image Cards */
.image-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

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

/* Problem List */
.problem-list,
.value-props {
  list-style: none;
}

.problem-list li,
.value-props li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 16px;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary-coral);
  margin-top: 2px;
}

/* ============================================
   Unboxed image (section 4 — no card frame)
   ============================================ */

.image-card-unboxed {
  border-radius: 20px;
  overflow: hidden;
}

.image-card-unboxed img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* ============================================
   Section 4 — Bolder overrides
   ============================================ */

#solution .section-content {
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
}

.section4-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  max-width: 16ch;
  color: var(--text-primary);
}

/* Bolder value props with separators */
.value-props-bold li {
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 500;
}

.value-props-bold li:first-child {
  border-top: 1px solid var(--border-color);
}

.value-props-bold li::before {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0;
  background: rgba(0, 116, 143, 0.09);
  border-radius: 6px;
  padding: 4px;
  box-sizing: content-box;
}

#solution .section-text .btn-primary {
  margin-top: var(--spacing-xl);
  display: inline-flex;
}

@media (max-width: 968px) {
  #solution .section-content {
    grid-template-columns: 1fr;
  }

  .section4-title {
    max-width: none;
  }
}

/* ============================================
   Section 2 — Bolder overrides
   ============================================ */

#problem .section-content {
  grid-template-columns: 45fr 55fr;
  gap: 56px;
  align-items: center;
}

#problem .section-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 16ch;
}

/* Remove card boxing — let the illustration breathe */
#problem .image-card {
  border: none;
  box-shadow: none;
  background: transparent;
  border-radius: 20px;
}

/* Impactful bullet items with separators */
#problem .problem-list {
  margin-top: 8px;
}

#problem .problem-list li {
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 500;
}

#problem .problem-list li:first-child {
  border-top: 1px solid var(--border-color);
}

#problem .bullet-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: rgba(233, 69, 96, 0.09);
  border-radius: 6px;
  padding: 4px;
  box-sizing: content-box;
  margin-top: 0;
}

@media (max-width: 968px) {
  #problem .section-content {
    grid-template-columns: 1fr;
  }

  #problem .section-title {
    max-width: none;
  }
}

.value-props li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300748F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Section Header */
.section-header {
  max-width: 65ch;
  margin: 0 auto 64px;
}

.section-header .section-subtitle {
  margin-bottom: 0;
}

/* Platform Preview (original — kept for compatibility) */
.platform-preview {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 9;
}

.platform-preview img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* ============================================
   Section 5 — Dark product reveal
   ============================================ */

.section5-dark {
  background-color: #0D1B2E;
  border-top: none;
}

.section5-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: var(--spacing-md);
}

.section5-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 52ch;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.platform-preview-bold {
  border-radius: 20px;
  overflow: hidden;
  border: none;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.50);
  aspect-ratio: 16 / 9;
}

.platform-preview-bold img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.section5-cta {
  text-align: center;
  margin-top: 56px;
}

.section5-cta-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.40);
  letter-spacing: 0.01em;
}
}

/* Team Features */
.team-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 64px;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .team-features {
    flex-direction: column;
  }
}

.team-feature-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  border-radius: 0;
  text-align: left;
}

.team-icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-cyan);
  margin-top: 8px;
}

.team-feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.team-feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.team-visual {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 32px;
  background: var(--bg-elevated);
  aspect-ratio: 16 / 9;
}

.team-visual img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* Challenges Grid */
.challenges-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border-color);
}

.challenge-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.challenge-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  padding-top: 2px;
}

.challenge-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Peak Section */
.peak-visual {
  margin-bottom: 48px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-elevated);
  aspect-ratio: 16 / 9;
}

.peak-visual img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* Video Container */
.video-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.video-container img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 116, 143, 0.3);
}

.video-play-button svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
  margin-left: 4px;
}

.video-container:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 15px 50px rgba(0, 116, 143, 0.4);
}

/* Trust Signals */
.trust-signals {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.trust-signals span,
.trust-signals .trust-check {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.trust-check::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300748F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* === Bold Pricing Layout (section11) === */
.pricing-intro {
  max-width: 600px;
  margin-bottom: var(--spacing-2xl);
}

.pricing-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  margin-bottom: 12px;
}

.pricing-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-grid-bold {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Featured Card */
.pricing-card-featured {
  background: #F8F6F2;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-badge-bold {
  display: inline-flex;
  align-items: center;
  background: var(--primary-cyan);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}

.pricing-card-featured .pricing-plan-name {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 4px;
}

.pricing-plan-desc {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 16px;
}

.pricing-tier-subheader {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 12px;
}

.pricing-ai-box {
  background: rgba(0, 116, 143, 0.07);
  border: 1px solid rgba(0, 116, 143, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.pricing-ai-box-sm {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 14px;
  margin-bottom: 14px;
}

.pricing-ai-header {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-cyan);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card-featured .pricing-ai-header {
  color: #00748F;
}

.pricing-ai-list {
  list-style: none;
  padding-left: 21px;
}

.pricing-ai-list li {
  font-size: 0.8125rem;
  color: #4B5563;
  line-height: 1.8;
}

.pricing-card-secondary .pricing-ai-list li {
  color: var(--text-secondary);
}

.pricing-amount-block {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A1628;
  margin-top: 10px;
}

.pricing-big-number {
  font-size: clamp(3.5rem, 5.5vw, 5rem);
  font-weight: 900;
  color: #0A1628;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-per {
  font-size: 0.875rem;
  color: #6B7280;
  align-self: flex-end;
  margin-bottom: 8px;
  margin-left: 4px;
}

.pricing-yearly-note {
  font-size: 0.8125rem;
  color: #6B7280;
  margin-bottom: 28px;
}

.pricing-features-bold {
  list-style: none;
  margin: 0 0 var(--spacing-xl);
  flex: 1;
}

.pricing-features-bold li {
  padding: 9px 0;
  color: #2E3A50;
  font-size: 0.9375rem;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-features-bold li:last-child {
  border-bottom: none;
}

.pricing-features-bold li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300748F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-cta-featured {
  display: block;
  background: #0A1628;
  color: #fff;
  text-align: center;
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  margin-top: auto;
}

.pricing-cta-featured:hover {
  background: var(--primary-cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* Sidebar secondary cards */
.pricing-sidebar-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card-secondary {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-secondary-header {
  margin-bottom: var(--spacing-md);
}

.pricing-plan-name-sm {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.pricing-plan-desc-sm {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.pricing-amount-sm {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.pricing-currency-sm {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-price-sm {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.pricing-per-sm {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.pricing-yearly-sm {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.65;
  margin-bottom: 10px;
}

.pricing-tier-subheader-sm {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pricing-default-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
  text-align: center;
  margin-top: 10px;
}

.pricing-features-sm {
  list-style: none;
  margin: 0 0 var(--spacing-lg);
  flex: 1;
}

.pricing-features-sm li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-features-sm li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300748F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-cta-secondary {
  display: block;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.pricing-cta-secondary:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

@media (max-width: 900px) {
  .pricing-grid-bold {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    padding: 36px;
  }
}

@media (max-width: 480px) {
  .pricing-sidebar-cards {
    flex-direction: column;
  }
}

/* Pricing Period */
.pricing-period {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-yearly {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 16px;
}

/* Section Labels */
.section-label.text-cyan {
  color: var(--primary-cyan);
}

.section-label.text-coral {
  color: var(--primary-coral);
}

/* Section Visual */
.section-visual {
  display: flex;
  justify-content: center;
}

/* Stats: suffix sizing */
.stat-suffix {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: 600;
  color: var(--primary-cyan);
  letter-spacing: -0.02em;
}

/* Contact Details */
.contact-details {
  margin-top: 32px;
}

.contact-details h4 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center {
  text-align: center;
}
.text-cyan {
  color: var(--primary-cyan);
}
.text-coral {
  color: var(--primary-coral);
}
.mt-1 {
  margin-top: var(--spacing-xs);
}
.mt-2 {
  margin-top: var(--spacing-sm);
}
.mt-3 {
  margin-top: var(--spacing-md);
}
.mt-4 {
  margin-top: var(--spacing-lg);
}
.mt-5 {
  margin-top: var(--spacing-xl);
}
.mb-1 {
  margin-bottom: var(--spacing-xs);
}
.mb-2 {
  margin-bottom: var(--spacing-sm);
}
.mb-3 {
  margin-bottom: var(--spacing-md);
}
.mb-4 {
  margin-bottom: var(--spacing-lg);
}
.mb-5 {
  margin-bottom: var(--spacing-xl);
}

/* ========================================
   SINGLE POST — HERO
   ======================================== */

.post-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding-top: 80px; /* header offset */
  overflow: hidden;
  background: var(--bg-primary);
}

.post-hero--has-image {
  min-height: 680px;
  background: var(--bg-primary);
}

.post-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 17, 23, 0.3) 0%,
    rgba(13, 17, 23, 0.55) 40%,
    rgba(13, 17, 23, 0.92) 80%,
    rgba(13, 17, 23, 1) 100%
  );
}

.post-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.post-hero__content {
  max-width: 860px;
  padding: var(--spacing-4xl) 0 var(--spacing-3xl);
}

.post-hero__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #00d9ff;
  background: rgba(0, 217, 255, 0.12);
  border: 1px solid rgba(0, 217, 255, 0.35);
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: var(--spacing-lg);
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-hero__category:hover {
  background: rgba(0, 217, 255, 0.22);
  color: #00d9ff;
}

.post-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw + 0.5rem, 4.75rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.03em;
}

.post-hero__excerpt {
  font-size: clamp(1rem, 1vw + 0.75rem, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 62ch;
  margin-bottom: var(--spacing-xl);
}

.post-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  color: var(--text-muted);
  font-size: 14px;
}

.post-meta-author,
.post-meta-date,
.post-meta-read {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-meta-author svg,
.post-meta-date svg,
.post-meta-read svg {
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.post-meta-sep {
  color: var(--bg-hover);
  font-size: 18px;
}

/* ========================================
   SINGLE POST — LAYOUT (content + sidebar)
   ======================================== */

.post-layout {
  background: var(--bg-elevated);
  padding: var(--spacing-3xl) 0 var(--spacing-4xl);
  border-top: 3px solid var(--primary-cyan);
}

.post-layout__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--spacing-3xl);
  align-items: start;
}

@media (max-width: 768px) {
  .post-layout__inner {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-xl);
  }
}

/* ========================================
   SINGLE POST — ENTRY CONTENT (body)
   ======================================== */

.post-entry {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 70ch;
}

/* Paragraph spacing */
.post-entry p {
  margin-bottom: 1.5em;
  color: var(--text-secondary);
}

/* Headings */
.post-entry h1,
.post-entry h2,
.post-entry h3,
.post-entry h4,
.post-entry h5,
.post-entry h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 2em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}

.post-entry h2 {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  padding-left: 16px;
  border-left: 4px solid var(--primary-cyan);
}

.post-entry h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.post-entry h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}

/* First element in content — no top margin */
.post-entry > *:first-child {
  margin-top: 0;
}

/* Links */
.post-entry a {
  color: var(--primary-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.post-entry a:hover {
  color: var(--primary-coral);
}

/* CTA button inside content */
.post-entry .btn-primary-inline {
  display: inline-block;
  background: var(--gradient-coral);
  color: var(--text-primary) !important;
  text-decoration: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: var(--spacing-sm);
}

.post-entry .btn-primary-inline:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
  color: var(--text-primary) !important;
}

/* Lists */
.post-entry ul,
.post-entry ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
  color: var(--text-secondary);
}

.post-entry ul {
  list-style: none;
  padding-left: 0;
}

.post-entry ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

.post-entry ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.post-entry ol li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.post-entry ol {
  counter-reset: post-ol;
  list-style: none;
  padding-left: 0;
}

.post-entry ol li {
  position: relative;
  padding-left: 2.2em;
  counter-increment: post-ol;
  margin-bottom: 0.6em;
}

.post-entry ol li::before {
  content: counter(post-ol);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.5em;
  height: 1.5em;
  background: rgba(0, 116, 143, 0.10);
  border: 1px solid rgba(0, 116, 143, 0.25);
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}

/* Bold within content */
.post-entry strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Blockquote */
.post-entry blockquote {
  margin: 2.5em 0;
  padding: var(--spacing-xl) var(--spacing-2xl);
  border-left: 5px solid var(--primary-cyan);
  background: rgba(0, 116, 143, 0.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.post-entry blockquote p {
  margin: 0;
}

/* Code */
.post-entry code {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875em;
  color: var(--primary-cyan);
  font-family: "Courier New", monospace;
}

.post-entry pre {
  background: var(--bg-primary);
  padding: var(--spacing-lg);
  border-radius: 12px;
  overflow-x: auto;
  margin-bottom: 1.5em;
  border: 1px solid var(--border-color);
}

.post-entry pre code {
  background: transparent;
  padding: 0;
  color: var(--text-secondary);
}

/* Horizontal rule */
.post-entry hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 3em 0;
}

/* ========================================
   SINGLE POST — IN-CONTENT IMAGES
   ======================================== */

.post-entry figure {
  margin: 2.5em 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.post-entry figure img,
.post-entry .post-body-image,
.post-entry img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  max-height: 480px;
  object-fit: cover;
}

.post-entry figcaption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-top: 1px solid var(--border-color);
  font-style: italic;
}

/* ========================================
   SINGLE POST — FOOTER
   ======================================== */

.post-footer {
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.post-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.post-tag:hover {
  color: var(--primary-cyan);
  border-color: var(--primary-cyan);
  background: rgba(0, 116, 143, 0.06);
}

/* Share */
.post-share {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.post-share__label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-share__links {
  display: flex;
  gap: var(--spacing-sm);
}

.post-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}

.post-share__link:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(0, 116, 143, 0.06);
}

/* ========================================
   SINGLE POST — CTA BLOCK
   ======================================== */

.post-cta-block {
  margin-top: var(--spacing-3xl);
  background: rgba(0, 116, 143, 0.07);
  border: 1px solid rgba(0, 116, 143, 0.22);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.post-cta-block::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient-cyan);
}

.post-cta-block__inner {
  padding: var(--spacing-2xl);
  text-align: center;
}

.post-cta-block__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.post-cta-block__text {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--spacing-xl);
}

.post-cta-block__actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  background: rgba(0, 116, 143, 0.05);
}

/* ========================================
   SINGLE POST — NAVIGATION
   ======================================== */

.post-navigation {
  margin-top: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--spacing-lg);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-nav-link--next {
  text-align: right;
  align-items: flex-end;
}

.post-nav-link:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

.post-nav-link__label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.post-nav-link--next .post-nav-link__label {
  flex-direction: row-reverse;
}

.post-nav-link__title {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-heading);
  line-height: 1.35;
}

/* ========================================
   SINGLE POST — SIDEBAR
   ======================================== */

.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.sidebar-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: var(--spacing-xl);
}

.sidebar-card__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
}

.sidebar-card__title svg {
  color: var(--primary-cyan);
  flex-shrink: 0;
}

/* Author card */
.author-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-card__img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  border: 2px solid var(--primary-cyan);
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
}

.author-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.author-card__bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* TOC */
.toc-nav {
  margin-top: var(--spacing-sm);
}

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

.toc-item {
  margin-bottom: 4px;
}

.toc-item--h3 {
  padding-left: var(--spacing-md);
}

.toc-link {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  line-height: 1.4;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.toc-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.toc-link--active {
  color: var(--primary-cyan);
  border-left-color: var(--primary-cyan);
  background: rgba(0, 116, 143, 0.06);
}

/* Related posts */
.related-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.related-post__link {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
  padding: var(--spacing-sm);
  border-radius: 8px;
  transition: all 0.2s;
}

.related-post__link:hover {
  background: var(--bg-hover);
}

.related-post__thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.related-post__title {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 500;
  transition: color 0.2s;
}

.related-post__link:hover .related-post__title {
  color: var(--primary-cyan);
}

/* Sidebar CTA */
.sidebar-cta {
  background: rgba(0, 116, 143, 0.08);
  border-color: rgba(0, 116, 143, 0.28);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient-cyan);
}

.sidebar-cta__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
  line-height: 1.3;
}

.sidebar-cta__text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.sidebar-cta__btn {
  width: 100%;
  text-align: center;
  font-size: 15px;
  display: block;
  padding: var(--spacing-md);
  text-decoration: none;
}

/* ========================================
   SINGLE POST — RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .post-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }
  .sidebar-card {
    flex: 1 1 260px;
  }
}

@media (max-width: 768px) {
  .post-hero--has-image {
    min-height: 480px;
  }

  .post-hero__content {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  }

  .post-hero__title {
    font-size: 32px;
    letter-spacing: -0.025em;
  }

  .post-hero__excerpt {
    font-size: 16px;
  }

  .post-hero__meta {
    font-size: 13px;
  }

  .post-entry {
    font-size: 1rem;
  }

  .post-entry h2 {
    font-size: 1.375rem;
  }

  .post-entry h3 {
    font-size: 1.125rem;
  }

  .post-entry figure img,
  .post-entry .post-body-image,
  .post-entry img {
    max-height: 280px;
  }

  .post-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-cta-block__title {
    font-size: 20px;
  }

  .post-sidebar {
    flex-direction: column;
  }

  .sidebar-card {
    flex: 1 1 100%;
  }
}

/* Blog Archive Content */
.blog-archive-content {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  background-color: var(--bg-primary);
}

/* ========================================
   HERO OVERRIDES — photo overlay sections
   remain dark regardless of theme
   ======================================== */

/* Marketing homepage scroll indicator — dark photo overlay */
.scroll-indicator {
  color: rgba(240, 246, 252, 0.6);
}

.scroll-indicator:hover {
  color: rgba(240, 246, 252, 0.9);
}

/* Post hero text — dark photo overlay */
.post-hero__title {
  color: #f0f6fc;
}

.post-hero__excerpt {
  color: #c9d1d9;
}

.post-hero__meta,
.post-hero .post-meta-sep {
  color: #8b949e;
}

.post-hero .post-meta-author svg,
.post-hero .post-meta-date svg,
.post-hero .post-meta-read svg {
  color: var(--primary-cyan);
}

/* Post hero background stays dark for overlay to work */
.post-hero,
.post-hero--has-image {
  background: #0d1117;
}

/* =========================================
   Mobile UI Fixes — audit 2026-04-07
   ========================================= */

/* Testimonials: author name and role on separate lines */
.testimonial-role {
  display: block;
  margin-top: 3px;
}

/* Pricing: stronger border on secondary CTA button so it's visible */
.pricing-cta-secondary {
  border: 1.5px solid var(--text-secondary);
}

@media (max-width: 768px) {
  /* --- General: reduce section vertical padding on mobile --- */
  .section {
    padding: 60px 0;
  }

  /* --- Problem list & value-props: pin SVG icon to first line --- */
  .bullet-icon {
    align-self: flex-start;
    flex-shrink: 0;
  }

  /* --- Hero: darker overlay + compressed spacing to keep CTAs in viewport --- */
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 17, 23, 0.45) 0%,
      rgba(13, 17, 23, 0.68) 50%,
      rgba(13, 17, 23, 0.93) 100%
    );
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: var(--spacing-md);
  }

  .hero-content .subheadline {
    margin-bottom: var(--spacing-lg);
  }

  .hero-buttons {
    margin-top: var(--spacing-lg);
  }

  /* --- Fog section: wrap goal cards so nothing overflows --- */
  .section-fog {
    padding: 80px 0;
  }

  .section3-cards {
    flex-wrap: wrap;
    gap: 10px;
  }

  .section3-cards .goal-card {
    flex: 1 1 calc(50% - 5px);
    min-width: 130px;
  }

  .section3-right .fog-stat-number {
    font-size: 40px;
  }

  .section3-right .fog-insight {
    padding: 12px 16px;
    gap: 14px;
  }

  /* --- Features: reduce section-header bottom margin --- */
  .section-header {
    margin-bottom: var(--spacing-2xl);
  }

  /* --- FAQ: visually separate question from answer --- */
  .challenges-grid .challenge-item {
    padding: 20px 0;
    gap: 4px;
  }

  .challenges-grid .challenge-answer {
    padding-top: 6px;
    padding-left: 12px;
    border-left: 3px solid var(--primary-cyan);
  }

  /* --- Team: make the cyan dot slightly larger and vertically centred --- */
  .team-icon {
    width: 12px;
    height: 12px;
    margin-top: 0;
    align-self: center;
  }

  /* --- Blog: smaller image height so card text is reachable without scrolling --- */
  .blog-card-image {
    height: 180px;
  }

  /* --- Blog section: prevent heading clipping under sticky header on anchor scroll --- */
  #blog {
    scroll-margin-top: 70px;
  }

  /* --- CTA peak section: brighten dark landscape image on small screens --- */
  .peak-visual img {
    filter: brightness(1.2);
  }

  /* --- Footer: left-align link columns, keep brand centred --- */
  .footer-menu {
    text-align: left;
  }

  .footer-brand {
    text-align: center;
    margin: 0 auto;
  }

  /* --- Footer social links: proper gap between LinkedIn and Twitter --- */
  .social-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
  }
}

/* ==========================================================================
   Static Pages (page.php)
   ========================================================================== */

/* Full-width single column layout for pages (no sidebar) */
.post-layout--page .post-layout__inner--full {
  display: block;
  max-width: 860px;
  margin: 0 auto;
}

/* Lighter hero for pages (no hero image) */
.post-hero__content--page {
  max-width: 860px;
}

/* Privacy policy / legal page prose */
.post-content--page .post-entry h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-sm);
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--primary-cyan);
  color: var(--text-primary);
}

.post-content--page .post-entry table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-lg) 0;
  font-size: .93rem;
}

.post-content--page .post-entry th,
.post-content--page .post-entry td {
  text-align: left;
  padding: .6rem .8rem;
  border: 1px solid var(--border-color, #e2e8f0);
}

.post-content--page .post-entry th {
  background: var(--bg-secondary, #f8fafc);
  font-weight: 600;
  color: var(--text-primary);
}

.post-content--page .post-entry tr:nth-child(even) td {
  background: var(--bg-tertiary, #f1f5f9);
}

.post-content--page .post-entry ul,
.post-content--page .post-entry ol {
  padding-left: 1.5rem;
  margin: var(--spacing-md) 0;
}

.post-content--page .post-entry li {
  margin-bottom: .4rem;
  line-height: 1.7;
}

.post-content--page .post-entry a {
  color: var(--primary-cyan);
  text-decoration: underline;
}

.post-content--page .post-entry a:hover {
  opacity: .8;
}

/* ==========================================================================
   Legal Page — Editorial Document Design
   ========================================================================== */

/* ── Hero ──────────────────────────────────────────────────────────────── */

.legal-page-hero {
  background-color: #fff;
  background-image: radial-gradient(circle, rgba(0, 116, 143, .13) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border-color);
}

.legal-page-hero__inner {
  display: flex;
  flex-direction: column;
}

.legal-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  font-family: var(--font-body);
  margin-bottom: 22px;
}

.legal-page-hero__eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-cyan);
  flex-shrink: 0;
}

.legal-page-hero__title {
  font-size: clamp(2.75rem, 7vw + .5rem, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text-primary);
  margin: 0;
  padding-top: 42px;
}

.legal-page-hero__accent {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-coral) 100%);
  border-radius: 2px;
  margin-top: 28px;
  margin-bottom: 22px;
}

.legal-page-hero__meta {
  font-size: .875rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: .01em;
}

/* ── Layout Grid ───────────────────────────────────────────────────────── */

.legal-page-layout {
  padding: 64px 0 120px;
}

.legal-page-layout__body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: start;
}

/* ── TOC Sidebar ───────────────────────────────────────────────────────── */

.legal-page-toc {
  position: sticky;
  top: 96px;
  order: -1; /* always first in DOM for accessibility */
}

.legal-toc__inner {
  border-right: 2px solid var(--border-color);
  padding-right: 32px;
}

.legal-toc__label {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-bottom: 14px;
}

.legal-toc__nav {
  display: flex;
  flex-direction: column;
}

.legal-toc__nav .toc-link {
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 0;
  transition: color .15s ease;
  position: relative;
}

.legal-toc__nav .toc-link::after {
  content: '';
  position: absolute;
  right: -34px;
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
  width: 3px;
  height: 16px;
  background: var(--primary-cyan);
  border-radius: 2px 0 0 2px;
  transition: transform .2s ease;
}

.legal-toc__nav .toc-link:hover {
  color: var(--text-secondary);
}

.legal-toc__nav .toc-link.active {
  color: var(--primary-cyan);
  font-weight: 500;
}

.legal-toc__nav .toc-link.active::after {
  transform: translateY(-50%) scaleX(1);
}

/* ── Main Content ──────────────────────────────────────────────────────── */

.legal-page-content {
  min-width: 0;
}

/* ── Legal Entry Prose ─────────────────────────────────────────────────── */

.legal-entry {
  counter-reset: legal-section;
}

.legal-entry p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Section headings */
.legal-entry h2 {
  counter-increment: legal-section;
  position: relative;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 10px 80px 10px 20px; /* room for decorative number on right */
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--primary-cyan);
  border-bottom: none; /* override legacy rule */
  overflow: visible;
  scroll-margin-top: 100px;
}

/* Decorative oversized counter — atmospheric, not readable */
.legal-entry h2::before {
  content: counter(legal-section, decimal-leading-zero);
  position: absolute;
  right: 0;
  top: -.3em;
  font-size: 4.75rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 116, 143, .065);
  pointer-events: none;
  font-family: var(--font-heading);
  letter-spacing: -0.05em;
  user-select: none;
}

/* Scroll-reveal state */
.legal-entry h2.will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1);
}

.legal-entry h2.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Tables ────────────────────────────────────────────────────────────── */

.legal-entry table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.75rem 0;
  font-size: .9rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border-color), 0 2px 8px rgba(0,0,0,.05);
}

.legal-entry th {
  background: var(--text-primary);
  color: #fff;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .03em;
  padding: 13px 16px;
  text-align: left;
  border: none;
}

.legal-entry th:first-child { border-radius: 0; }

.legal-entry td {
  padding: 11px 16px;
  border: none;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.6;
}

.legal-entry tr:nth-child(even) td {
  background: var(--bg-primary);
}

/* ── Lists ─────────────────────────────────────────────────────────────── */

.legal-entry ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.25rem;
}

.legal-entry ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: .6rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-entry ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 10px;
  height: 2px;
  background: var(--primary-cyan);
  border-radius: 1px;
}

/* Nested lists */
.legal-entry ul ul {
  margin-top: .4rem;
  margin-bottom: 0;
}

/* ── Links & Emphasis ──────────────────────────────────────────────────── */

.legal-entry a {
  color: var(--primary-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal-entry a:hover {
  opacity: .75;
}

.legal-entry strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-entry em {
  color: var(--text-muted);
  font-style: italic;
}

/* ── First paragraph intro ─────────────────────────────────────────────── */
.legal-entry > p:first-of-type {
  font-size: .9375rem;
  color: var(--text-muted);
  border-left: 3px solid var(--border-color);
  padding-left: 16px;
  margin-bottom: 1.5rem;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .legal-page-layout__body {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-page-toc {
    position: static;
    order: 0;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
  }

  .legal-toc__inner {
    border-right: none;
    padding-right: 0;
  }

  .legal-toc__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .legal-toc__nav .toc-link {
    padding: 4px 12px 4px 0;
    font-size: .8rem;
    border-bottom: 2px solid transparent;
  }

  .legal-toc__nav .toc-link::after {
    display: none;
  }

  .legal-toc__nav .toc-link.active {
    color: var(--primary-cyan);
    border-bottom-color: var(--primary-cyan);
  }

  .legal-entry h2 {
    padding-right: 52px; /* less room on mobile */
  }

  .legal-entry h2::before {
    font-size: 3.5rem;
  }
}

@media (max-width: 600px) {
  .legal-page-hero {
    padding: 56px 0 48px;
  }

  .legal-page-layout {
    padding: 40px 0 80px;
  }

  .legal-entry h2 {
    margin-top: 2.75rem;
    padding-right: 40px;
    font-size: 1.0625rem;
  }

  .legal-entry h2::before {
    font-size: 2.75rem;
  }

  .legal-entry table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
