/* ===== OCTO Website Redesign — Design System ===== */

/* --- Font --- */
@font-face {
  font-family: 'TT Firs Neue';
  src: url('../fonts/TT Firs Neue Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Custom Properties --- */
:root {
  /* Colors */
  --navy:       #0a1e3d;
  --navy-deep:  #061529;
  --navy-light: #122b4d;
  --blue:       #0066b3;
  --blue-light: #0591ed;
  --cyan:       #7dd3d3;
  --cyan-light: #a8e6e6;
  --pink:       #f5b8d8;
  --pink-hover: #f0a0c8;
  --yellow:     #fdd835;
  --white:      #ffffff;
  --gray-50:    #f8f9fb;
  --gray-100:   #eef1f5;
  --gray-200:   #dde2ea;
  --gray-300:   #b8c1cf;
  --gray-400:   #8c98a9;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --text-dark:  #1e293b;
  --text-muted: #64748b;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font:      'TT Firs Neue', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.16);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-variation-settings: 'ital' 0, 'slnt' 0;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color var(--duration) var(--ease), opacity var(--duration) var(--ease); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }

.text-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--gray-500);
}

.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-muted { color: var(--text-muted); }

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

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .text-lead,
.section-dark .text-muted {
  color: var(--gray-300);
}

.section-light {
  background: var(--gray-50);
}

.section-gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}

/* Grids */
.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flexbox helpers */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }


/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #41b8d5;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-links > a,
.nav-dropdown > a {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  white-space: nowrap;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown > a:hover,
.nav-dropdown:hover > a {
  color: var(--white);
  background: rgba(255,255,255,0.18);
  opacity: 1;
}

.nav-links > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.22);
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}

.nav-dropdown-menu a:hover {
  background: var(--gray-50);
  opacity: 1;
}

/* Join button in nav */
.btn-join {
  background: var(--white) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-full) !important;
  margin-left: var(--space-sm);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease) !important;
}

.btn-join:hover {
  background: rgba(255,255,255,0.85) !important;
  transform: translateY(-1px);
  opacity: 1 !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--text-base);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-pink {
  background: var(--pink);
  color: var(--navy);
  border-color: var(--pink);
}

.btn-pink:hover {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245,184,216,0.45);
  opacity: 1;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  background: var(--gray-50);
  transform: translateY(-2px);
  opacity: 1;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,102,179,0.35);
  opacity: 1;
}

.btn-lg {
  font-size: var(--text-lg);
  padding: 1rem 2.25rem;
}

.btn-sm {
  font-size: var(--text-sm);
  padding: 0.5rem 1.25rem;
}

.btn-icon-right svg { margin-left: 4px; transition: transform var(--duration) var(--ease); }
.btn-icon-right:hover svg { transform: translateX(3px); }


/* ===== HERO ===== */
.hero {
  position: relative;
  padding: calc(72px + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(5,145,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(125,211,211,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-block;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--cyan);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: var(--space-lg);
}

.hero-sub {
  max-width: 600px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-proof-stat {
  text-align: center;
}

.hero-proof-stat strong {
  display: block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--cyan);
  line-height: 1.2;
}

.hero-proof-stat span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
}

.hero-proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Hero variant for internal pages */
.hero-sm {
  padding: calc(72px + clamp(2.5rem, 4vw, 4rem)) 0 clamp(2.5rem, 4vw, 4rem);
}

.hero-sm h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--space-md);
}


/* ===== CARDS ===== */

/* Standard card */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* Audience routing card */
.audience-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.audience-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.audience-card-icon svg {
  width: 28px;
  height: 28px;
}

.audience-card-icon.supplier { background: rgba(0,102,179,0.1); color: var(--blue); }
.audience-card-icon.supplier svg { fill: var(--blue); }
.audience-card-icon.tech { background: rgba(125,211,211,0.15); color: var(--cyan); }
.audience-card-icon.tech svg { fill: #0a9a9a; }
.audience-card-icon.partner { background: rgba(245,184,216,0.2); color: var(--pink); }
.audience-card-icon.partner svg { fill: var(--pink); }

.audience-card h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.audience-card p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  flex: 1;
  margin-bottom: var(--space-lg);
}

.audience-card .btn {
  align-self: flex-start;
}

/* Pricing card */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  border: 2px solid var(--gray-100);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.pricing-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--pink);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.pricing-card .price {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.pricing-card .price-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.pricing-card .feature-list {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.pricing-card .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-50);
}

.pricing-card .feature-list li:last-child {
  border-bottom: none;
}

.pricing-card .feature-list li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* Pricing card price & tiers */
.pricing-card-price {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.pricing-card-price span {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card-tiers {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.pricing-card-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-card-tier strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Update card (What's New) */
.update-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-100);
  transition: all var(--duration) var(--ease);
}

.update-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.update-card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.update-card-tag.capabilities { background: rgba(0,102,179,0.1); color: var(--blue); }
.update-card-tag.governance { background: rgba(125,211,211,0.15); color: #0a9a9a; }
.update-card-tag.community { background: rgba(245,184,216,0.2); color: var(--pink); }

.update-card h4 {
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.update-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.update-card-date {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

/* Member card */
.member-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: all var(--duration) var(--ease);
}

.member-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.member-card-logo {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.member-card-logo img {
  max-width: 100px;
  max-height: 64px;
  object-fit: contain;
}

.member-card-info h4 {
  color: var(--text-dark);
  margin-bottom: 2px;
}

.member-card-info p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.member-card-tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.tag-website {
  text-decoration: none;
  color: var(--gray-600);
}

.tag-website:hover {
  background: var(--gray-200);
  color: var(--text-dark);
}

/* Tags / Badges */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-600);
}

.tag-blue { background: rgba(0,102,179,0.1); color: var(--blue); }
.tag-cyan { background: rgba(125,211,211,0.15); color: #0a9a9a; }
.tag-pink { background: rgba(245,184,216,0.2); color: var(--pink); }
.tag-green { background: rgba(34,197,94,0.1); color: #16a34a; }
.tag-yellow { background: rgba(253,216,53,0.15); color: #b8860b; }


/* ===== ICON CIRCLES ===== */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle svg {
  width: 28px;
  height: 28px;
}

.icon-circle-blue { background: rgba(0,102,179,0.1); }
.icon-circle-blue svg { fill: var(--blue); }
.icon-circle-cyan { background: rgba(125,211,211,0.15); }
.icon-circle-cyan svg { fill: #0a9a9a; }
.icon-circle-pink { background: rgba(245,184,216,0.2); }
.icon-circle-pink svg { fill: var(--pink); }
.icon-circle-navy { background: var(--navy); }
.icon-circle-navy svg { fill: var(--white); }


/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.section-dark .section-header p {
  color: var(--gray-300);
}

.section-bridge {
  text-align: center;
  margin-top: var(--space-3xl);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.02em;
}


/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(125,211,211,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}


/* ===== FEATURE LIST (icon + text rows) ===== */
.feature-row {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-100);
}

.feature-row:last-child {
  border-bottom: none;
}

.section-dark .feature-row {
  border-bottom-color: rgba(255,255,255,0.08);
}

.feature-row-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(125,211,211,0.1);
}

.feature-row-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--cyan);
}

.section-dark .feature-row-icon {
  background: rgba(125,211,211,0.15);
}


/* ===== STEPS (numbered) ===== */
.step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-dark .step-number {
  background: rgba(255,255,255,0.1);
  color: var(--cyan);
}


/* ===== FAQ / ACCORDION ===== */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.section-dark .faq-item {
  border-bottom-color: rgba(255,255,255,0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--text-dark);
  cursor: pointer;
}

.section-dark .faq-question {
  color: var(--white);
}

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform var(--duration) var(--ease);
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .faq-answer p {
  color: var(--gray-300);
}


/* ===== TABS / FILTERS ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  color: var(--text-muted);
  transition: all var(--duration) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}


/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.comparison-table th {
  font-weight: 700;
  color: var(--text-dark);
  background: var(--gray-50);
}

.comparison-table td {
  color: var(--text-muted);
}

.comparison-table .check { color: var(--cyan); font-weight: 700; }
.comparison-table .dash  { color: var(--gray-300); }


/* ===== GOVERNANCE CARDS ===== */
.person-card {
  text-align: center;
  padding: var(--space-xl);
}

.person-card-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  overflow: hidden;
}

.person-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card h4 { margin-bottom: 2px; }
.person-card .person-role { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }
.person-card .person-company { font-size: 0.85rem; color: var(--text-muted); opacity: 0.7; margin-bottom: 0; }

.section-light .person-card-avatar {
  background: var(--navy);
  color: var(--white);
}

.section-light .person-card h4 { color: var(--navy-deep); }
.section-light .person-card .person-role { color: #2a3f5c; }
.section-light .person-card .person-company { color: #4a6080; }

/* Board avatar size bump */
.board-grid .person-card-avatar {
  width: 130px;
  height: 130px;
}

/* Leader featured card (horizontal) */
.leader-featured {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  text-align: left;
}

.leader-featured .person-card-avatar {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  margin: 0;
}

.leader-featured h4 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: 4px;
}

.leader-featured .person-role {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Grid-5 for MAB */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-xl); }

.directory-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: var(--blue);
  margin-right: 0.4rem;
  margin-bottom: 0.5rem;
}

.directory-card .tag.supplier {
  background: #2563eb;
}

.directory-card .tag.tech {
  background: #7c3aed;
}

.directory-card .tag.non-impl {
  background: #059669;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.implemented {
  background: #10b981;
}

.status-dot.in-progress {
  background: #f59e0b;
}

.status-dot.planning {
  background: #6b7280;
}

.directory-card .description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0;
  line-height: 1.5;
}

.btn-request-contact {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
}

/* ===== PARTICIPATION LIST ===== */
.participation-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.participation-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.participation-card .icon-wrap {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.participation-card h4 {
  margin-bottom: 0.5rem;
}

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

.section-dark .participation-card p {
  color: rgba(255, 255, 255, 0.75);
}

/* ===== CONTACT FORM ===== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.section-dark .form-group label {
  color: var(--white);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: var(--text-base);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text-dark);
  transition: border-color var(--duration) var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}


/* ===== FOOTER ===== */
.footer {
  background: #41b8d5;
  color: rgba(255,255,255,0.85);
  padding: clamp(3rem, 5vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  padding: var(--space-xs) 0;
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.footer-bottom a {
  color: rgba(255,255,255,0.75);
}

.footer-bottom a:hover {
  color: var(--cyan);
  opacity: 1;
}


/* ===== SCROLL ANIMATIONS ===== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* Stagger children */
.stagger > .animate-in:nth-child(1) { transition-delay: 0s; }
.stagger > .animate-in:nth-child(2) { transition-delay: 0.1s; }
.stagger > .animate-in:nth-child(3) { transition-delay: 0.2s; }
.stagger > .animate-in:nth-child(4) { transition-delay: 0.3s; }


/* ===== SCROLL-TO-TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration) var(--ease);
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--blue);
  transform: translateY(-2px);
}


/* ===== SPEC-PAGE STYLES ===== */
.spec-highlight {
  background: var(--gray-50);
  border-left: 4px solid var(--cyan);
  padding: var(--space-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-xl) 0;
}


/* ===== ARTICLE LAYOUT ===== */

.article {
  padding-top: calc(72px + var(--space-3xl));
  padding-bottom: var(--space-4xl);
}

.article-header {
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-lg);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--blue);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2xl);
  transition: color var(--duration) var(--ease);
}

.article-back:hover {
  color: var(--blue-light);
  opacity: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.article-meta .update-card-tag {
  margin-bottom: 0;
}

.article-date {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.article-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.article-lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: var(--gray-600);
  border-left: 3px solid var(--cyan);
  padding-left: 1.25rem;
  margin-top: 1.5rem;
}

/* Article body */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  font-size: clamp(1.05rem, 1.2vw, 1.125rem);
  line-height: 1.8;
  color: var(--text-dark);
}

.article-body p {
  margin-bottom: 1.5em;
}

.article-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-100);
}

.article-body h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* Article links */
.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color var(--duration) var(--ease), text-decoration-color var(--duration) var(--ease);
}

.article-body a:hover {
  color: var(--blue-light);
  text-decoration-color: var(--blue-light);
  opacity: 1;
}

.article-body a.btn {
  text-decoration: none;
}

/* Article lists */
.article-body ul,
.article-body ol {
  margin: 0 0 1.5em;
  padding: 0;
}

.article-body ul li,
.article-body ol li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.article-body ol {
  counter-reset: article-ol;
}

.article-body ol li::before {
  counter-increment: article-ol;
  content: counter(article-ol) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--blue);
}

/* Callout box */
.article-callout {
  background: var(--gray-50);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
  margin: 2.5rem 0;
}

.article-callout p {
  margin-bottom: 0.75em;
  color: var(--gray-700);
}

.article-callout p:last-child {
  margin-bottom: 0;
}

.article-callout strong {
  color: var(--navy);
}

/* Pull quote */
.article-pullquote {
  border-left: 4px solid var(--pink);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
  margin: 2.5rem 0;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--navy);
}

/* Article divider */
.article-body hr {
  border: none;
  border-top: 1px dashed var(--gray-300);
  margin: 3rem 0;
}

/* Impact cards — side-by-side feature boxes */
.article-impacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin: 2rem 0 2.5rem;
}

.article-impact {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: box-shadow var(--duration) var(--ease);
}

.article-impact:hover {
  box-shadow: var(--shadow-sm);
}

.article-impact-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.article-impact h4 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.article-impact p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Spec links box */
.article-links-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin: 2.5rem 0;
}

.article-links-box h3 {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.article-links-box a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--cyan-light);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-sm) 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--duration) var(--ease);
}

.article-links-box a:last-child {
  border-bottom: none;
}

.article-links-box a:hover {
  color: var(--white);
  opacity: 1;
}

.article-links-box a::after {
  content: '\2192';
  margin-left: auto;
  transition: transform var(--duration) var(--ease);
}

.article-links-box a:hover::after {
  transform: translateX(4px);
}

/* Article CTA block */
.article-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--gray-50) 0%, rgba(125,211,211,0.08) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  margin: 3rem 0 1rem;
}

.article-cta h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-size: 1.25rem;
}

.article-cta p {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .leader-featured { flex-direction: column; text-align: center; }
  .leader-featured .person-card-avatar { margin: 0 auto; }

  /* Mobile nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #41b8d5;
    flex-direction: column;
    align-items: stretch;
    padding: 80px var(--space-xl) var(--space-xl);
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links > a,
  .nav-dropdown > a {
    padding: 0.55rem 1rem;
    margin-bottom: 4px;
    font-size: var(--text-base);
  }

  .btn-join {
    margin-left: 0 !important;
    margin-top: var(--space-md);
    text-align: center;
  }

  /* Mobile dropdown */
  .nav-dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 var(--space-md);
    display: none;
  }

  .nav-dropdown-menu a {
    color: rgba(255,255,255,0.75);
    padding: 0.55rem 1rem;
    margin-bottom: 4px;
  }

  .nav-dropdown-menu a:hover {
    background: transparent;
    color: var(--white);
  }

  /* Sections */
  .section { padding: clamp(3rem, 6vw, 5rem) 0; }

  /* Hero */
  .hero { padding: calc(72px + 2rem) 0 2rem; }
  .hero-sm { padding: calc(72px + 2rem) 0 2rem; }
  .hero-proof { flex-wrap: wrap; gap: var(--space-md); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  /* Cards */
  .audience-card { padding: var(--space-xl); }
  .pricing-card { padding: var(--space-xl) var(--space-lg); }

  /* CTA banner */
  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  /* Article */
  .article { padding-top: calc(72px + var(--space-2xl)); }
  .article-header,
  .article-body { padding: 0 var(--space-md); }
  .article-pullquote { margin-left: 0; margin-right: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .filter-bar { justify-content: center; }
}
