/**

 * File: style.css

 * Description: Clean, flat design stylesheet defining Bento grid layouts, crisp borders,

 *              solid surfaces, responsive layout, unified Lucide vector icons, fail-safe

 *              content visibility, and a sleek blackish dark mode architecture for ImageMed.

 * Author: ImageMed Engineering

 * Date: Sep-2026

 */



/* -------------------------------------------------------------------------- */

/* 1. DESIGN SYSTEM CONSTANTS (LIGHT THEME DEFAULT)                           */

/* -------------------------------------------------------------------------- */

:root {

  /* Color Palette: Ocean Blue & Dark Navy */

  --color-primary: #258AD7;

  --color-primary-hover: #1E75B8;

  --color-primary-subtle: #EBF4FC;

  --color-primary-dark: #1B49A5;

  --color-navy-deep: #1B49A5;

  --color-navy-darker: #14377D;

  --color-accent-cyan: #258AD7;

  --color-accent-light: #52A6E4;

  --color-accent-subtle: #EBF4FC;



  /* Neutrals & Surfaces */

  --color-bg-base: #FFFFFF;

  --color-bg-subtle: #F8FAFC;

  --color-bg-card: #FFFFFF;

  --color-text-main: #0F172A;

  --color-text-muted: #475569;

  --color-text-subtle: #64748B;

  --color-border-light: #E2E8F0;

  --color-border-medium: #CBD5E1;

  --color-border-focus: #258AD7;



  /* Functional Status */

  --color-error: #EF4444;

  --color-error-bg: #FEF2F2;

  --color-error-border: #FCA5A5;

  --color-success: #10B981;

  --color-success-bg: #ECFDF5;

  --color-success-border: #A7F3D0;

  --color-success-text: #065F46;



  /* Typography */

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --font-mono: 'JetBrains Mono', monospace;



  /* Spacing & Dimensions */

  --nav-height: 72px;

  --container-max-width: 1200px;

  --section-padding-y: 96px;

  --section-padding-mobile-y: 64px;



  /* Border Radii */

  --radius-sm: 6px;

  --radius-md: 12px;

  --radius-lg: 18px;

  --radius-xl: 24px;

  --radius-full: 9999px;



  /* Flat Design System */

  --shadow-sm: none;

  --shadow-md: none;

  --shadow-lg: none;

  --shadow-xl: none;

  --shadow-card-hover: none;



  /* Transitions */

  --transition-fast: 0.15s ease;

  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

}



/* ========================================================================== */

/* 2. UNIFIED THEME ARCHITECTURE: SLEEK BLACKISH DARK MODE                    */

/* ========================================================================== */



/* Pitch-black & charcoal tokens for [data-theme="dark"] */

[data-theme="dark"] {

  /* Electric Cyan / Sky Accents on Deep Black */

  --color-primary: #258AD7;

  --color-primary-hover: #52A6E4;

  --color-primary-subtle: rgba(37, 138, 215, 0.12);

  --color-primary-dark: #1B49A5;

  --color-navy-deep: #FFFFFF;

  --color-navy-darker: #F5F5F5;

  --color-accent-cyan: #258AD7;

  --color-accent-light: #52A6E4;

  --color-accent-subtle: rgba(37, 138, 215, 0.1);



  /* Sleek Blackish Surfaces (No Dark Blue) */

  --color-bg-base: #000000;

  --color-bg-subtle: #0A0A0A;

  --color-bg-card: #121212;

  --color-text-main: #F5F5F5;

  --color-text-muted: #A3A3A3;

  --color-text-subtle: #737373;

  --color-border-light: #222222;

  --color-border-medium: #333333;

  --color-border-focus: #258AD7;



  /* Status Colors */

  --color-error: #F87171;

  --color-error-bg: rgba(239, 68, 68, 0.12);

  --color-error-border: rgba(239, 68, 68, 0.3);

  --color-success: #34D399;

  --color-success-bg: rgba(16, 185, 129, 0.12);

  --color-success-border: rgba(16, 185, 129, 0.3);

  --color-success-text: #6EE7B7;

}



/* Automatic System Dark Mode Fallback */

@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) {

    --color-primary: #258AD7;

    --color-primary-hover: #52A6E4;

    --color-primary-subtle: rgba(37, 138, 215, 0.12);

    --color-primary-dark: #1B49A5;

    --color-navy-deep: #FFFFFF;

    --color-navy-darker: #F5F5F5;

    --color-accent-cyan: #258AD7;

    --color-accent-light: #52A6E4;

    --color-accent-subtle: rgba(37, 138, 215, 0.1);



    --color-bg-base: #000000;

    --color-bg-subtle: #0A0A0A;

    --color-bg-card: #121212;

    --color-text-main: #F5F5F5;

    --color-text-muted: #A3A3A3;

    --color-text-subtle: #737373;

    --color-border-light: #222222;

    --color-border-medium: #333333;

    --color-border-focus: #258AD7;



    --color-error: #F87171;

    --color-error-bg: rgba(239, 68, 68, 0.12);

    --color-error-border: rgba(239, 68, 68, 0.3);

    --color-success: #34D399;

    --color-success-bg: rgba(16, 185, 129, 0.12);

    --color-success-border: rgba(16, 185, 129, 0.3);

    --color-success-text: #6EE7B7;

  }

}



/* --- THEME TOGGLE BUTTON COMPONENT --- */

.theme-toggle-btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 38px;

  height: 38px;

  border-radius: var(--radius-full);

  background-color: var(--color-bg-card);

  border: 1.5px solid var(--color-border-medium);

  color: var(--color-text-main);

  cursor: pointer;

  position: relative;

  flex-shrink: 0;

  transition: background-color var(--transition-fast),

              border-color var(--transition-fast),

              color var(--transition-fast),

              transform var(--transition-fast);

}



.theme-toggle-btn:hover {

  background-color: var(--color-primary-subtle);

  border-color: var(--color-primary);

  color: var(--color-primary);

  transform: scale(1.05);

}



.theme-toggle-btn:active {

  transform: scale(0.95);

}



.theme-toggle-btn:focus-visible {

  outline: 2px solid var(--color-primary);

  outline-offset: 2px;

}



.theme-toggle-btn svg,

.theme-toggle-btn i {

  width: 18px;

  height: 18px;

  stroke: currentColor;

  stroke-width: 2;

  stroke-linecap: round;

  stroke-linejoin: round;

  fill: none;

  pointer-events: none;

  transition: transform var(--transition-normal), opacity var(--transition-normal);

}



/* Toggle Icon Visibility */

.theme-icon-sun {

  display: none !important;

}

.theme-icon-moon {

  display: block !important;

}



[data-theme="dark"] .theme-icon-sun {

  display: block !important;

}

[data-theme="dark"] .theme-icon-moon {

  display: none !important;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .theme-icon-sun {

    display: block !important;

  }

  html:not([data-theme="light"]) .theme-icon-moon {

    display: none !important;

  }

}



/* --- LOGO ADAPTIVE SWITCHING --- */

.logo-dark {

  display: none !important;

}

.logo-light {

  display: block !important;

}



[data-theme="dark"] .logo-dark {

  display: block !important;

}

[data-theme="dark"] .logo-light {

  display: none !important;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .logo-dark {

    display: block !important;

  }

  html:not([data-theme="light"]) .logo-light {

    display: none !important;

  }

}



/* --- BLACKISH DARK MODE COMPONENT OVERRIDES --- */

[data-theme="dark"] .site-header {

  background-color: #000000;

    border-bottom-color: #222222;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .site-header {

    background-color: #000000;

    border-bottom-color: #222222;

  }

}



[data-theme="dark"] .site-header.scrolled {

  background-color: rgba(0, 0, 0, 0.92);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border-bottom-color: #222222;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .site-header.scrolled {

    background-color: rgba(0, 0, 0, 0.92);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    border-bottom-color: #222222;

  }

}



[data-theme="dark"] .hero-acoustic-grid {

  background-image: 

      linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),

      linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .hero-acoustic-grid {

    background-image: 

      linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),

      linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);

  }

}



[data-theme="dark"] .btn-primary {

  background-color: #258AD7;

    border-color: #258AD7;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .btn-primary:hover {

    background-color: #1E75B8;

    border-color: #1E75B8;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .btn-primary {

    background-color: #258AD7;

    border-color: #258AD7;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .btn-primary:hover {

    background-color: #1E75B8;

    border-color: #1E75B8;

  }

}



[data-theme="dark"] .btn-secondary {

  background-color: #171717;

    border-color: #333333;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .btn-secondary:hover {

    background-color: #222222;

    border-color: #258AD7;

    color: #258AD7;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .btn-secondary {

    background-color: #171717;

    border-color: #333333;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .btn-secondary:hover {

    background-color: #222222;

    border-color: #258AD7;

    color: #258AD7;

  }

}



[data-theme="dark"] .bento-card,

[data-theme="dark"] .stat-card,

[data-theme="dark"] .founder-card,

[data-theme="dark"] .contact-card-wrapper,

[data-theme="dark"] .cta-card,

[data-theme="dark"] .contact-info-card {

  background-color: #121212;

    border-color: #262626;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .bento-card,

  html:not([data-theme="light"]) .stat-card,

  html:not([data-theme="light"]) .founder-card,

  html:not([data-theme="light"]) .contact-card-wrapper,

  html:not([data-theme="light"]) .cta-card,

  html:not([data-theme="light"]) .contact-info-card {

    background-color: #121212;

    border-color: #262626;

  }

}



[data-theme="dark"] .bento-flow-visual {

  background-color: #0A0A0A;

    border-color: #262626;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .bento-flow-visual {

    background-color: #0A0A0A;

    border-color: #262626;

  }

}



[data-theme="dark"] .flow-icon-container {

  background-color: #171717;

    border-color: #2E2E2E;

    color: #FFFFFF;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .flow-icon-container {

    background-color: #171717;

    border-color: #2E2E2E;

    color: #FFFFFF;

  }

}



[data-theme="dark"] .flow-step.flow-active .flow-icon-container {

  background-color: #1B49A5;

    border-color: #258AD7;

    color: #FFFFFF;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .flow-step.flow-active .flow-icon-container {

    background-color: #1B49A5;

    border-color: #258AD7;

    color: #FFFFFF;

  }

}



[data-theme="dark"] .flow-name {

  color: #FFFFFF;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .flow-name {

    color: #FFFFFF;

  }

}



[data-theme="dark"] .acoustic-wave-bars {

  background-color: #0A0A0A;

    border-color: #262626;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .acoustic-wave-bars {

    background-color: #0A0A0A;

    border-color: #262626;

  }

}



[data-theme="dark"] .wave-track {

  background-color: #222222;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .wave-track {

    background-color: #222222;

  }

}



[data-theme="dark"] .security-chip-box {

  background-color: #0A0A0A;

    border-color: #2E2E2E;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .security-chip-box {

    background-color: #0A0A0A;

    border-color: #2E2E2E;

  }

}



[data-theme="dark"] .chip-shield {

  color: var(--color-primary);

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .chip-shield {

    color: var(--color-primary);

  }

}



[data-theme="dark"] .chip-text {

  color: #F5F5F5;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .chip-text {

    color: #F5F5F5;

  }

}



[data-theme="dark"] .safety-indicator {

  background-color: rgba(16, 185, 129, 0.1);

    border-color: rgba(16, 185, 129, 0.25);

    color: #34D399;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .safety-indicator {

    background-color: rgba(16, 185, 129, 0.1);

    border-color: rgba(16, 185, 129, 0.25);

    color: #34D399;

  }

}



[data-theme="dark"] .safety-label {

  color: #34D399;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .safety-label {

    color: #34D399;

  }

}



[data-theme="dark"] .standard-tag {

  background-color: #171717;

    color: #258AD7;

    border-color: #2E2E2E;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .standard-tag {

    background-color: #171717;

    color: #258AD7;

    border-color: #2E2E2E;

  }

}



[data-theme="dark"] .form-select,

[data-theme="dark"] .form-input,

[data-theme="dark"] .form-textarea {

  background-color: #0A0A0A;

    border-color: #2E2E2E;

    color: #FFFFFF;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .form-select,

  html:not([data-theme="light"]) .form-input,

  html:not([data-theme="light"]) .form-textarea {

    background-color: #0A0A0A;

    border-color: #2E2E2E;

    color: #FFFFFF;

  }

}



[data-theme="dark"] .form-select option {

  background-color: #121212;

    color: #FFFFFF;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .form-select option {

    background-color: #121212;

    color: #FFFFFF;

  }

}



[data-theme="dark"] .select-wrapper::after {

  border-right-color: #A3A3A3;

    border-bottom-color: #A3A3A3;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .select-wrapper::after {

    border-right-color: #A3A3A3;

    border-bottom-color: #A3A3A3;

  }

}



  html:not([data-theme="light"]) .sticky-cta-btn:hover {

    background-color: #222222;

    border-color: #258AD7;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) 

  html:not([data-theme="light"]) .sticky-cta-btn:hover {

    background-color: #222222;

    border-color: #258AD7;

  }

}



[data-theme="dark"] .hamburger-bar {

  background-color: #FFFFFF;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .hamburger-bar {

    background-color: #FFFFFF;

  }

}



/* -------------------------------------------------------------------------- */

/* 3. RESET & BASE TYPOGRAPHY                                                 */

/* -------------------------------------------------------------------------- */

*, *::before, *::after {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

  -webkit-user-select: none;

  -moz-user-select: none;

  -ms-user-select: none;

  user-select: none;

}



html {

  font-size: 16px;

  scroll-behavior: smooth;

  scrollbar-gutter: stable;

  overflow-y: scroll;

  text-rendering: optimizeLegibility;

  -webkit-user-select: none;

  -moz-user-select: none;

  -ms-user-select: none;

  user-select: none;

}



body {

  font-family: var(--font-sans);

  background-color: var(--color-bg-base);

  color: var(--color-text-main);

  line-height: 1.6;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

  -webkit-user-select: none;

  -moz-user-select: none;

  -ms-user-select: none;

  user-select: none;

  min-height: 100vh;

  min-height: 100dvh;

  display: flex;

  flex-direction: column;

}



main,
.contact-page-main,
.team-page-main,
.announcements-page-main {

  flex: 1 0 auto;

}



a {

  color: inherit;

  text-decoration: none;

  -webkit-user-drag: none;

  user-drag: none;

}



img, svg {

  display: block;

  max-width: 100%;

  -webkit-user-drag: none;

  user-drag: none;

}



button, input, select, textarea {

  font: inherit;

  color: inherit;

}



/* Form inputs & editable controls must remain selectable for user input */

input,

textarea,

[contenteditable="true"] {

  -webkit-user-select: text;

  -moz-user-select: text;

  -ms-user-select: text;

  user-select: text;

}



button {

  background: none;

  border: none;

  cursor: pointer;

}



/* Skip link for Accessibility */

.skip-to-content {

  position: absolute;

  top: -100px;

  left: 20px;

  background: var(--color-primary-dark);

  color: #FFFFFF;

  padding: 12px 20px;

  border-radius: var(--radius-sm);

  z-index: 10000;

  font-weight: 600;

  transition: top var(--transition-fast);

}

.skip-to-content:focus {

  top: 20px;

}



:focus-visible {

  outline: 2px solid var(--color-primary);

  outline-offset: 3px;

}



.container {

  width: 100%;

  max-width: var(--container-max-width);

  margin-left: auto;

  margin-right: auto;

  padding-left: 24px;

  padding-right: 24px;

}



.section {

  position: relative;

  padding-top: var(--section-padding-y);

  padding-bottom: var(--section-padding-y);

}



.section-kicker {

  display: inline-block;

  font-family: var(--font-mono);

  font-size: 0.8125rem;

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  color: var(--color-primary);

  margin-bottom: 12px;

}



.section-title {

  font-family: var(--font-heading);

  font-size: clamp(2rem, 3.5vw, 2.75rem);

  font-weight: 700;

  line-height: 1.15;

  letter-spacing: -0.03em;

  color: var(--color-navy-deep);

}



.section-subtitle {

  font-size: 1.125rem;

  color: var(--color-text-muted);

  max-width: 680px;

  margin-top: 14px;

}



.section-header-centered {

  text-align: center;

  margin-bottom: 56px;

  display: flex;

  flex-direction: column;

  align-items: center;

}



/* -------------------------------------------------------------------------- */

/* 4. BUTTONS & INTERACTION UI (FLAT)                                         */

/* -------------------------------------------------------------------------- */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  padding: 12px 26px;

  border-radius: var(--radius-full);

  font-family: var(--font-heading);

  font-size: 0.9375rem;

  font-weight: 600;

  letter-spacing: -0.01em;

  white-space: nowrap;

}



.btn-primary {

  background-color: var(--color-primary);

  color: #FFFFFF;

  border: 1px solid var(--color-primary);

}



.btn-secondary {

  background-color: var(--color-bg-card);

  color: var(--color-navy-deep);

  border: 1px solid var(--color-border-medium);

}



.btn-secondary:hover {

  background-color: var(--color-bg-subtle);

  border-color: var(--color-primary);

  color: var(--color-primary);

}



.icon-inline {

  width: 16px;

  height: 16px;

  flex-shrink: 0;

}



/* Lucide Vector Icons Standard System */

.lucide {

  display: inline-block;

  vertical-align: middle;

  stroke: currentColor;

  stroke-width: 2;

  stroke-linecap: round;

  stroke-linejoin: round;

  fill: none;

  flex-shrink: 0;

}



/* -------------------------------------------------------------------------- */

/* 5. FIXED TOP NAVIGATION BAR (FLAT)                                         */

/* -------------------------------------------------------------------------- */

.site-header {

  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: var(--nav-height);

  background-color: var(--color-bg-base);

  border-bottom: 1px solid var(--color-border-light);

  z-index: 1000;

  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-normal), border-bottom-color var(--transition-normal), box-shadow var(--transition-normal);

  will-change: transform;

}



.site-header.scrolled {

  background-color: var(--color-bg-base);

  border-bottom-color: var(--color-border-light);

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

}



[data-theme="dark"] .site-header.scrolled,

html:not([data-theme="light"]) .site-header.scrolled {

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);

}



.site-header.nav-hidden {

  transform: translateY(-100%);

}



.nav-container {

  display: flex;

  align-items: center;

  justify-content: space-between;

  height: 100%;

  max-width: var(--container-max-width);

  margin-left: auto;

  margin-right: auto;

  padding-left: 24px;

  padding-right: 24px;

}



/* Brand Wordmark & Official Logo */

.brand-wordmark {

  display: inline-flex;

  align-items: center;

  text-decoration: none;

  line-height: 1;

}



.nav-logo-img {

  height: 28px;

  width: auto;

  display: block;

  object-fit: contain;

}



.nav-menu {

  display: flex;

  align-items: center;

}



.nav-list {

  display: flex;

  align-items: center;

  list-style: none;

  gap: 32px;

}



.nav-link {

  font-family: var(--font-sans);

  font-size: 0.9375rem;

  font-weight: 500;

  color: var(--color-text-muted);

  padding: 6px 0;

}



.nav-link:hover {

  color: var(--color-primary);

}



.nav-link.active {

  color: var(--color-primary);

  font-weight: 500;

}



.header-actions {

  display: flex;

  align-items: center;

  gap: 16px;

}



.nav-cta {

  padding: 8px 18px;

  font-size: 0.875rem;

}



.mobile-menu-toggle {

  display: none;

  flex-direction: column;

  justify-content: space-between;

  width: 24px;

  height: 20px;

  padding: 0;

  z-index: 1100;

}



.hamburger-bar {

  display: block;

  width: 100%;

  height: 2px;

  background-color: var(--color-navy-deep);

  border-radius: 2px;

  transition: all var(--transition-normal);

}



.mobile-menu-toggle.is-open .hamburger-bar:nth-child(1) {

  transform: translateY(9px) rotate(45deg);

}

.mobile-menu-toggle.is-open .hamburger-bar:nth-child(2) {

  opacity: 0;

}

.mobile-menu-toggle.is-open .hamburger-bar:nth-child(3) {

  transform: translateY(-9px) rotate(-45deg);

}



/* -------------------------------------------------------------------------- */

/* 6. HERO SECTION (FULL SCREEN, FLAT)                                        */

/* -------------------------------------------------------------------------- */

.hero-section {

  min-height: 100vh;

  min-height: 100dvh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding-top: var(--nav-height);

  padding-bottom: var(--nav-height);

  background-color: var(--color-bg-base);

  overflow: hidden;

  position: relative;

}



.hero-background-layer {

  position: absolute;

  inset: 0;

  pointer-events: none;

  overflow: hidden;

}



.hero-acoustic-grid {

  position: absolute;

  inset: 0;

  background-size: 40px 40px;

  background-image: 

    linear-gradient(to right, rgba(37, 138, 215, 0.06) 1px, transparent 1px),

    linear-gradient(to bottom, rgba(37, 138, 215, 0.06) 1px, transparent 1px);

}



.hero-radial-glow {

  display: none;

}



.hero-container {

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  position: relative;

  z-index: 1;

  padding-top: 24px;

  padding-bottom: 24px;

}



/* Hero Wordmark & Official Logo */

.hero-title-group {

  max-width: 920px;

  margin-bottom: 44px;

}



.hero-wordmark {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 24px;

}



.hero-logo-img {

  height: clamp(60px, 12vw, 110px);

  width: auto;

  max-width: 90vw;

  display: block;

  object-fit: contain;

}



.hero-tagline {

  font-family: var(--font-sans);

  font-size: clamp(1.25rem, 2.8vw, 1.875rem);

  font-weight: 400;

  color: var(--color-text-muted);

  line-height: 1.4;

  letter-spacing: -0.02em;

  max-width: 760px;

  margin-left: auto;

  margin-right: auto;

}



.hero-cta-group {

  display: flex;

  gap: 16px;

  flex-wrap: wrap;

  justify-content: center;

}





/* -------------------------------------------------------------------------- */

/* 7. MISSION STATEMENT SECTION (FLAT)                                        */

/* -------------------------------------------------------------------------- */

.mission-section {

  background-color: var(--color-bg-base);

  padding-top: 40px;

  padding-bottom: 100px;

}



.section-divider-top {

  width: 100%;

  height: 1px;

  background-color: var(--color-border-light);

  margin-bottom: 80px;

}



.mission-wrapper {

  max-width: 860px;

  margin: 0 auto;

  text-align: center;

}



.mission-statement {

  font-family: var(--font-heading);

  font-size: clamp(1.875rem, 4vw, 3rem);

  font-weight: 700;

  line-height: 1.3;

  letter-spacing: -0.03em;

  color: var(--color-navy-deep);

  margin-top: 12px;

  margin-bottom: 24px;

}



.mission-caption {

  font-size: 1.0625rem;

  color: var(--color-text-muted);

  line-height: 1.6;

  max-width: 640px;

  margin: 0 auto;

}



/* -------------------------------------------------------------------------- */

/* 8. BENTO GRID ARCHITECTURE SECTION (FLAT SURFACES)                         */

/* -------------------------------------------------------------------------- */

.architecture-section {

  background-color: var(--color-bg-subtle);

  border-top: 1px solid var(--color-border-light);

  border-bottom: 1px solid var(--color-border-light);

  padding-top: clamp(18px, 2.2vh, 28px);

  padding-bottom: clamp(18px, 2.2vh, 28px);

}



@media (min-width: 1025px) {

  .architecture-section {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    box-sizing: border-box;

    padding-top: clamp(12px, 1.5vh, 22px);

    padding-bottom: clamp(12px, 1.5vh, 22px);

  }

}



.architecture-section .section-header-centered {

  margin-bottom: clamp(10px, 1.5vh, 16px);

}



.architecture-section .section-kicker {

  margin-bottom: 4px;

  font-size: 0.8125rem;

}



.architecture-section .section-title {

  font-size: clamp(1.55rem, 2.25vw, 2.15rem);

  line-height: 1.15;

}



.architecture-section .section-subtitle {

  margin-top: 4px;

  font-size: 0.98rem;

  max-width: 660px;

}



.bento-grid {

  display: grid;

  grid-template-columns: repeat(12, 1fr);

  gap: clamp(12px, 1.4vw, 18px);

}



.bento-card {

  background-color: var(--color-bg-card);

  border-radius: var(--radius-lg);

  border: 1.5px solid var(--color-border-medium);

  padding: clamp(18px, 2vh, 24px) clamp(20px, 2vw, 26px);

  display: flex;

  flex-direction: column;

  position: relative;

  overflow: hidden;

}



.bento-span-12 {

  grid-column: span 12;

}



.bento-span-8 {

  grid-column: span 8;

}



.bento-span-4 {

  grid-column: span 4;

}



.bento-badge {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 4.5px 11px;

  background-color: var(--color-primary-subtle);

  color: var(--color-primary);

  font-family: var(--font-mono);

  font-size: 0.75rem;

  font-weight: 600;

  border-radius: var(--radius-full);

  width: fit-content;

  margin-bottom: clamp(8px, 1vh, 12px);

}



.bento-badge .badge-icon {

  width: 13.5px;

  height: 13.5px;

}



.bento-card-title {

  font-family: var(--font-heading);

  font-size: clamp(1.18rem, 1.35vw, 1.32rem);

  font-weight: 700;

  color: var(--color-navy-deep);

  letter-spacing: -0.02em;

  margin-bottom: 4px;

}



.bento-card-description {

  font-size: clamp(0.875rem, 0.95vw, 0.92rem);

  color: var(--color-text-muted);

  line-height: 1.5;

  margin-bottom: clamp(10px, 1.3vh, 15px);

}



/* Card 1: Data Flow Visual (Flat) */

.bento-flow-visual {

  margin-top: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  background-color: var(--color-bg-subtle);

  border: 1.5px solid var(--color-border-medium);

  border-radius: var(--radius-md);

  padding: clamp(12px, 1.5vh, 16px) clamp(16px, 1.8vw, 24px);

}



.flow-step {

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  flex: 1;

}



.flow-icon-container {

  width: clamp(40px, 4.4vh, 46px);

  height: clamp(40px, 4.4vh, 46px);

  background-color: var(--color-bg-card);

  border: 1.5px solid var(--color-border-medium);

  border-radius: var(--radius-md);

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--color-navy-deep);

  margin-bottom: 5px;

}



.flow-svg-icon {

  width: 22px;

  height: 22px;

}



.flow-step.flow-active .flow-icon-container {

  background-color: var(--color-primary);

  border-color: var(--color-primary-hover);

  color: #FFFFFF;

}



.flow-name {

  font-family: var(--font-heading);

  font-size: 0.875rem;

  font-weight: 600;

  color: var(--color-navy-deep);

}



.flow-sub {

  font-size: 0.75rem;

  color: var(--color-text-subtle);

  margin-top: 1px;

}



.flow-arrow {

  color: var(--color-text-subtle);

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 0 6px;

}



.flow-arrow-icon {

  width: 20px;

  height: 20px;

}



/* Card 2: Acoustic Wave Bars (Flat) */

.acoustic-wave-bars {

  margin-top: auto;

  display: flex;

  flex-direction: column;

  gap: 8px;

  background: var(--color-bg-subtle);

  border: 1.5px solid var(--color-border-medium);

  border-radius: var(--radius-sm);

  padding: clamp(10px, 1.3vh, 14px) clamp(14px, 1.6vw, 18px);

}



.wave-track {

  height: 7px;

  background-color: var(--color-border-light);

  border-radius: var(--radius-full);

  overflow: hidden;

  position: relative;

}



.wave-fill {

  display: block;

  height: 100%;

  border-radius: var(--radius-full);

  background: var(--color-primary);

  animation: sweepWave 2.8s ease-in-out infinite alternate;

}



.wave-fill-1 { width: 75%; animation-delay: 0s; }

.wave-fill-2 { width: 90%; animation-delay: 0.4s; }

.wave-fill-3 { width: 60%; animation-delay: 0.8s; }



@keyframes sweepWave {

  0% { transform: scaleX(0.85); opacity: 0.8; }

  100% { transform: scaleX(1.0); opacity: 1; }

}



/* Card 3: Security Chip Visual (Flat) */

.security-chip-box {

  margin-top: auto;

  background: var(--color-bg-subtle);

  border: 1.5px dashed var(--color-border-medium);

  border-radius: var(--radius-sm);

  padding: clamp(10px, 1.3vh, 14px) clamp(14px, 1.6vw, 18px);

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

}



.chip-shield {

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--color-primary);

}



.chip-shield svg {

  width: 20px;

  height: 20px;

}



.chip-text {

  font-family: var(--font-mono);

  font-size: 0.8125rem;

  font-weight: 600;

  color: var(--color-navy-deep);

}



/* Card 4: Safety Indicator (Flat) */

.safety-indicator {

  margin-top: auto;

  display: flex;

  align-items: center;

  gap: 8px;

  padding: 10px 14px;

  background: var(--color-success-bg);

  border: 1px solid var(--color-success-border);

  border-radius: var(--radius-sm);

  color: var(--color-success-text);

}



.safety-indicator svg {

  width: 17px;

  height: 17px;

  flex-shrink: 0;

}



.safety-label {

  font-family: var(--font-heading);

  font-size: 0.84rem;

  font-weight: 600;

  color: var(--color-success-text);

}



/* Card 5: Standards Tags (Flat) */

.standards-tag-group {

  margin-top: auto;

  display: flex;

  flex-wrap: wrap;

  gap: 7px;

}



.standard-tag {

  font-family: var(--font-mono);

  font-size: 0.75rem;

  font-weight: 600;

  padding: 5px 10px;

  background: var(--color-primary-subtle);

  color: var(--color-primary);

  border-radius: var(--radius-sm);

  border: 1px solid rgba(37, 138, 215, 0.25);

}





/* -------------------------------------------------------------------------- */

/* 9. MISSION METRICS & TEAM RESEARCH SECTION (FLAT)                          */

/* -------------------------------------------------------------------------- */

.mission-stats-grid {

  margin-top: 56px;

}



.stats-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

}



.stat-card {

  background: var(--color-bg-card);

  border: 2px solid var(--color-border-medium);

  border-radius: var(--radius-lg);

  padding: 36px 28px;

  text-align: center;

  transition: border-color var(--transition-normal);

}



.stat-card:hover {

  border-color: var(--color-primary);

}



.stat-figure {

  font-family: var(--font-heading);

  font-size: clamp(2.25rem, 4vw, 3.25rem);

  font-weight: 800;

  color: var(--color-primary);

  line-height: 1.1;

  letter-spacing: -0.04em;

  margin-bottom: 12px;

}



.stat-label {

  font-family: var(--font-heading);

  font-size: 1.0625rem;

  font-weight: 700;

  color: var(--color-navy-deep);

  margin-bottom: 8px;

}



.stat-subtext {

  font-size: 0.875rem;

  color: var(--color-text-subtle);

  line-height: 1.5;

}



/* Founders & Leadership Section */

.team-section {

  background-color: var(--color-bg-base);

  border-top: 1px solid var(--color-border-light);

}



.team-grid,

.founders-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 28px;

  max-width: 1160px;

  margin: 0 auto;

}



.founders-grid.is-single,

.advisors-grid.is-single {

  display: flex;

  justify-content: center;

}



.founders-grid.is-single .founder-card,

.advisors-grid.is-single .founder-card {

  width: 100%;

  max-width: 380px;

}



@media (max-width: 1024px) {

  .founders-grid {

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;

  }

}



@media (max-width: 768px) {

  .founders-grid {

    grid-template-columns: 1fr;

    gap: 20px;

  }

}



.team-card,

.founder-card {

  background-color: var(--color-bg-card);

  border: 2px solid var(--color-border-medium);

  border-radius: var(--radius-xl);

  padding: 36px 30px;

  display: flex;

  flex-direction: column;

  position: relative;

  transition: border-color var(--transition-normal);

}



.team-card:hover,

.founder-card:hover {

  border-color: var(--color-primary);

}



.founder-card-top {

  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 20px;

}



.founder-avatar-box {

  flex-shrink: 0;

}



.founder-avatar-placeholder {

  width: 60px;

  height: 60px;

  border-radius: var(--radius-full);

  background-color: var(--color-primary-subtle);

  border: 2px solid var(--color-primary);

  color: var(--color-primary);

  display: flex;

  align-items: center;

  justify-content: center;

}



.founder-avatar-placeholder svg,

.founder-avatar-placeholder i {

  width: 26px;

  height: 26px;

}



.founder-photo-img {

  width: 60px;

  height: 60px;

  border-radius: var(--radius-full);

  object-fit: cover;

  display: block;

  border: 2px solid var(--color-primary);

}



.founder-meta {

  display: flex;

  flex-direction: column;

  gap: 4px;

}



.founder-name {

  font-family: var(--font-heading);

  font-size: 1.25rem;

  font-weight: 700;

  color: var(--color-navy-deep);

  letter-spacing: -0.02em;

  line-height: 1.25;

}



.founder-role {

  font-family: var(--font-heading);

  font-size: 0.8125rem;

  font-weight: 600;

  color: var(--color-primary);

}



.founder-bio {

  font-size: 0.875rem;

  color: var(--color-text-muted);

  line-height: 1.6;

  margin-bottom: 24px;

  flex-grow: 1;

}



.founder-card-footer {

  margin-top: auto;

  padding-top: 16px;

  border-top: 1px solid var(--color-border-light);

  display: flex;

  align-items: center;

}



.founder-linkedin-link {

  display: inline-flex;

  align-items: center;

  gap: 7px;

  padding: 6px 14px;

  border-radius: var(--radius-md);

  border: 1.5px solid var(--color-border-medium);

  background-color: var(--color-bg-subtle);

  color: var(--color-text-muted);

  font-family: var(--font-heading);

  font-size: 0.8125rem;

  font-weight: 500;

  text-decoration: none;

  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);

}



.founder-linkedin-link .social-icon {

  width: 14px;

  height: 14px;

}



.founder-linkedin-link:hover {

  border-color: var(--color-primary);

  color: var(--color-primary);

  background-color: var(--color-primary-subtle);

  transform: translateY(-1px);

}



[data-theme="dark"] .founder-card-footer {

  border-top-color: #222222;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .founder-card-footer {

    border-top-color: #222222;

  }

}



[data-theme="dark"] .founder-linkedin-link {

  background-color: #141414;

  border-color: #262626;

  color: #A3A3A3;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .founder-linkedin-link {

    background-color: #141414;

    border-color: #262626;

    color: #A3A3A3;

  }

}



[data-theme="dark"] .founder-linkedin-link:hover {

  border-color: #258AD7;

  color: #FFFFFF;

  background-color: rgba(37, 138, 215, 0.15);

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .founder-linkedin-link:hover {

    border-color: #258AD7;

    color: #FFFFFF;

    background-color: rgba(37, 138, 215, 0.15);

  }

}



/* -------------------------------------------------------------------------- */

/* 11. SHARED FORM FEEDBACK & CONTROLS                                        */

/* -------------------------------------------------------------------------- */

.submit-btn {

  min-width: 160px;

  position: relative;

}



.btn-spinner {

  display: none;

  width: 18px;

  height: 18px;

  border: 2px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;

  border-top-color: #FFFFFF;

  animation: spin 0.8s linear infinite;

  position: absolute;

}



.submit-btn.is-loading .btn-text {

  opacity: 0;

}



.submit-btn.is-loading .btn-spinner {

  display: block;

}



@keyframes spin {

  to { transform: rotate(360deg); }

}



/* Form Feedback Area (Flat) */

.form-feedback-area {

  margin-top: 24px;

}



.form-feedback-area.hidden {

  display: none;

}



.feedback-banner {

  display: flex;

  align-items: flex-start;

  gap: 14px;

  padding: 16px 20px;

  background-color: var(--color-success-bg);

  border: 1px solid var(--color-success-border);

  border-radius: var(--radius-md);

}



.feedback-icon {

  color: var(--color-success);

  margin-top: 2px;

  flex-shrink: 0;

}



.feedback-headline {

  font-family: var(--font-heading);

  font-size: 1.0625rem;

  font-weight: 700;

  color: var(--color-success-text);

  margin-bottom: 4px;

}



.feedback-routing {

  font-family: var(--font-mono);

  font-size: 0.8125rem;

  color: #047857;

}



.feedback-banner.is-error {

  background-color: var(--color-error-bg);

  border-color: var(--color-error-border);

}



.feedback-banner.is-error .feedback-icon {

  color: var(--color-error);

}



.feedback-banner.is-error .feedback-headline {

  color: var(--color-error);

}



.feedback-banner.is-error .feedback-routing {

  color: var(--color-text-muted);

}



/* -------------------------------------------------------------------------- */

/* 13. MINIMAL INLINE FOOTER                                                  */

/* -------------------------------------------------------------------------- */

.site-footer {

  margin-top: auto;

  background-color: var(--color-bg-subtle);

  color: var(--color-text-muted);

  padding: 24px 0;

  border-top: 1px solid var(--color-border-light);

  transition: background-color var(--transition-normal), border-color var(--transition-normal);

}



.footer-container {

  max-width: 1320px;

  margin-left: auto;

  margin-right: auto;

  padding-left: 24px;

  padding-right: 24px;

}



.footer-bar {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  flex-wrap: nowrap;

  width: 100%;

}



.footer-brand-wordmark {

  display: inline-flex;

  align-items: center;

  line-height: 1;

  flex-shrink: 0;

}



.footer-logo-img {

  height: 24px;

  width: auto;

  display: block;

  object-fit: contain;

}



.footer-nav {

  display: flex;

  align-items: center;

  justify-content: center;

  flex-grow: 1;

  min-width: 0;

}



.footer-inline-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}



.footer-link {

  font-size: 0.8125rem;

  font-weight: 500;

  color: var(--color-text-muted);

  text-decoration: none;

  white-space: nowrap;

  transition: color var(--transition-fast);

}



.footer-link:hover {

  color: var(--color-primary);

}



.footer-social-links {

  display: flex;

  align-items: center;

  gap: 8px;

  flex-shrink: 0;

  white-space: nowrap;

}



.footer-social-btn {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 5px 12px;

  border-radius: var(--radius-md);

  border: 1.5px solid var(--color-border-medium);

  background-color: var(--color-bg-card);

  color: var(--color-text-muted);

  font-family: var(--font-heading);

  font-size: 0.78125rem;

  font-weight: 500;

  text-decoration: none;

  white-space: nowrap;

  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);

}



.footer-social-btn .social-icon {

  width: 14px;

  height: 14px;

  flex-shrink: 0;

}



.footer-social-btn:hover {

  border-color: var(--color-primary);

  color: var(--color-primary);

  background-color: var(--color-primary-subtle);

  transform: translateY(-1px);

}



[data-theme="dark"] .footer-social-btn {

  background-color: #111111;

  border-color: #242424;

  color: #A3A3A3;

}



html:not([data-theme="light"]) .footer-social-btn:hover {

  border-color: #258AD7;

  color: #FFFFFF;

  background-color: rgba(37, 138, 215, 0.15);

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .footer-social-btn {

    background-color: #111111;

    border-color: #242424;

    color: #A3A3A3;

  }

  html:not([data-theme="light"]) .footer-social-btn:hover {

    border-color: #258AD7;

    color: #FFFFFF;

    background-color: rgba(37, 138, 215, 0.15);

  }

}

/* Responsive Footer Adaptations for Tablet & Mobile (Prevent Out-of-Bounds Links) */
@media (max-width: 1024px) {
  .footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-nav {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }

  .footer-inline-links {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
  }

  .footer-link {
    white-space: nowrap;
    display: inline-block;
  }

  .footer-social-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 24px 0 32px;
  }

  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bar {
    gap: 18px;
  }

  .footer-nav {
    width: 100%;
    max-width: 100%;
  }

  .footer-inline-links {
    gap: 10px 14px;
  }

  .footer-link {
    font-size: 0.8125rem;
  }

  .footer-social-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}



/* -------------------------------------------------------------------------- */

/* 14. FAIL-SAFE SCROLL REVEAL ANIMATIONS                                     */

/* -------------------------------------------------------------------------- */

.fade-in-element {

  opacity: 0;

  transform: translateY(20px);

  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  will-change: opacity, transform;

}



/* Revealed elements */

.fade-in-element.is-revealed {

  opacity: 1 !important;

  transform: translateY(0) !important;

}



/* Fail-safe: Hero content and dedicated subpages are always immediately visible */

.hero-section .fade-in-element,

.hero-container .fade-in-element,

.announcements-page-main .fade-in-element,

.team-page-main .fade-in-element,

.contact-page-main .fade-in-element {

  opacity: 1;

  transform: translateY(0);

}



/* -------------------------------------------------------------------------- */

/* 15. RESPONSIVE BREAKPOINTS (FLAT)                                          */

/* -------------------------------------------------------------------------- */

@media (max-width: 1024px) {

  .contact-page-container {

    grid-template-columns: 1fr;

    gap: 48px;

  }



  .bento-span-12,

  .bento-span-8,

  .bento-span-4 {

    grid-column: span 12;

  }



  .stats-grid {

    grid-template-columns: repeat(2, 1fr);

  }





}



@media (max-width: 768px) {

  :root {

    --nav-height: 64px;

    --section-padding-y: var(--section-padding-mobile-y);

  }



  .nav-menu {

    position: absolute;

    top: var(--nav-height);

    left: 0;

    width: 100%;

    background-color: var(--color-bg-base);

    border-bottom: 1px solid var(--color-border-light);

    padding: 24px;

    transform: translateY(-120%);

    transition: transform var(--transition-normal);

    visibility: hidden;

  }



[data-theme="dark"] .nav-menu {

  background-color: #000000;

      border-bottom-color: #222222;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .nav-menu {

      background-color: #000000;

      border-bottom-color: #222222;

    }

}



  .nav-menu.is-open {

    transform: translateY(0);

    visibility: visible;

  }



  .nav-list {

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

    width: 100%;

  }



  .nav-link {

    font-size: 1.0625rem;

    width: 100%;

    padding: 8px 0;

  }



  .mobile-menu-toggle {

    display: flex;

  }



  .nav-cta {

    display: none;

  }



  .hero-section {

    min-height: 100vh;

    min-height: 100dvh;

    padding-top: var(--nav-height);

    padding-bottom: var(--nav-height);

  }



  .team-grid,

.founders-grid {

    grid-template-columns: 1fr;

    gap: 24px;

  }



  .bento-flow-visual {

    flex-direction: column;

    gap: 16px;

  }



  .flow-arrow {

    transform: rotate(90deg);

  }



  



  



  .footer-bar {

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 20px;

  }



  .footer-inline-links {

    justify-content: center;

    gap: 20px;

  }

}



@media (max-width: 480px) {

  .stats-grid {

    grid-template-columns: 1fr;

  }



  .hero-cta-group {

    flex-direction: column;

    width: 100%;

  }



  .hero-cta-group .btn {

    width: 100%;

  }



  

}



[data-theme="dark"] .topic-chip {

  background-color: #161616;

    border-color: #333333;

    color: #A3A3A3;

  }

  html:not([data-theme="light"]) .topic-chip:hover {

    border-color: #258AD7;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .topic-chip.is-selected {

    background-color: rgba(37, 138, 215, 0.15);

    border-color: #258AD7;

    color: #258AD7;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .topic-chip {

    background-color: #161616;

    border-color: #333333;

    color: #A3A3A3;

  }

  html:not([data-theme="light"]) .topic-chip:hover {

    border-color: #258AD7;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .topic-chip.is-selected {

    background-color: rgba(37, 138, 215, 0.15);

    border-color: #258AD7;

    color: #258AD7;

  }

}



/* -------------------------------------------------------------------------- */

/* 11. CLOSING CTA BANNER (INDEX) & CONTACT PAGE LAYOUT                       */

/* -------------------------------------------------------------------------- */

.cta-section {

  background-color: var(--color-bg-base);

  border-top: none;

  padding: 32px 0 88px;

}



.cta-card {

  background-color: var(--color-bg-card);

  border: 2px solid var(--color-border-medium);

  border-radius: var(--radius-xl);

  padding: 64px 48px;

  text-align: center;

  max-width: 860px;

  margin: 0 auto;

}



.cta-title {

  font-family: var(--font-heading);

  font-size: clamp(1.75rem, 3.5vw, 2.5rem);

  font-weight: 800;

  line-height: 1.25;

  color: var(--color-navy-deep);

  letter-spacing: -0.02em;

  margin-top: 12px;

  margin-bottom: 16px;

}



.cta-description {

  font-size: 1.0625rem;

  color: var(--color-text-muted);

  max-width: 620px;

  margin: 0 auto 36px;

  line-height: 1.6;

}



.cta-actions {

  display: flex;

  justify-content: center;

  gap: 16px;

}



/* Contact Page Dedicated Layout (Medivis-Inspired Compact & Sleek) */

.contact-page-main {

  flex: 1 0 auto;

  padding-top: calc(var(--nav-height) + 28px);

  padding-bottom: 64px;

  background-color: var(--color-bg-base);

}



.contact-container {

  max-width: 1160px;

  margin-left: auto;

  margin-right: auto;

  padding-left: 24px;

  padding-right: 24px;

}



/* Team Page Dedicated Layout */

.team-page-main {

  flex: 1 0 auto;

  padding-top: calc(var(--nav-height) + 40px);

  padding-bottom: 80px;

  background-color: var(--color-bg-base);

}



.team-container {

  max-width: 1160px;

  margin-left: auto;

  margin-right: auto;

  padding-left: 24px;

  padding-right: 24px;

}



/* Supporting Organizations / Institutional Backing (Index Page) */

.supporters-section,

.team-supporters-section {

  background-color: var(--color-bg-base);

  padding-top: 80px;

  padding-bottom: 24px;

}



.supporters-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 28px;

  width: 100%;

  max-width: 920px;

  margin: 0 auto;

}



.supporter-card {

  background: #FFFFFF;

  border: 1px solid var(--color-border-subtle);

  border-radius: 16px;

  padding: 24px 36px;

  min-height: 150px;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);

}



.supporter-logo-img {

  max-width: 100%;

  height: auto;

  object-fit: contain;

  display: block;

  user-select: none;

}



/* Individual proportional sizing for crisp legibility */

.supporter-logo-fmeae {

  max-height: 124px;

  max-width: 190px;

}



.supporter-logo-eu {

  max-height: 98px;

  max-width: 150px;

}



.supporter-logo-exist {

  max-height: 60px;

  max-width: 320px;

}



.supporter-logo-gacc {

  max-height: 68px;

  max-width: 290px;

}



/* Dark Mode Overrides for Supporter Cards */

[data-theme="dark"] .supporter-card,

html:not([data-theme="light"]) .supporter-card {

  background-color: #FFFFFF;

  border-color: rgba(255, 255, 255, 0.15);

  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.4);

}



@media (max-width: 680px) {

  .supporters-grid {

    grid-template-columns: 1fr;

    max-width: 440px;

    gap: 16px;

  }

  

  .supporter-card {

    min-height: 125px;

    padding: 18px 24px;

  }



  .supporter-logo-fmeae {

    max-height: 104px;

  }



  .supporter-logo-eu {

    max-height: 84px;

  }



  .supporter-logo-exist {

    max-height: 50px;

    max-width: 260px;

  }



  .supporter-logo-gacc {

    max-height: 56px;

    max-width: 240px;

  }

}



/* 1. Page Header Block: Clean, snug top hero */

.contact-header-block {

  margin-bottom: 28px;

  max-width: 880px;

}



.contact-hero-heading {

  font-family: var(--font-heading);

  font-size: clamp(2rem, 3.6vw, 2.75rem);

  font-weight: 800;

  line-height: 1.16;

  color: var(--color-navy-deep);

  letter-spacing: -0.025em;

  margin-bottom: 10px;

}



.contact-heading-sub {

  color: var(--color-primary);

  display: block;

}



.contact-hero-lead {

  font-size: 1rem;

  line-height: 1.6;

  color: var(--color-text-muted);

  max-width: 720px;

}



/* 2. Main Two-Column Layout: Left = Form (~60%), Right = Info Cards (~40%) */

.contact-grid-layout {

  display: grid;

  grid-template-columns: 1.35fr 1fr;

  gap: 32px;

  align-items: start;

}



/* Left Column: Form Card */

.contact-form-column {

  width: 100%;

}



.contact-form-card {

  background-color: var(--color-bg-card);

  border: 1.5px solid var(--color-border-medium);

  border-radius: var(--radius-xl);

  padding: 28px 32px 32px;

  box-shadow: var(--shadow-sm);

  transition: border-color var(--transition-fast), background-color var(--transition-fast);

}



.form-header-area {

  margin-bottom: 18px;

  border-bottom: 1px solid var(--color-border-light);

  padding-bottom: 12px;

}



.form-section-title {

  font-family: var(--font-heading);

  font-size: 1.375rem;

  font-weight: 800;

  color: var(--color-navy-deep);

  letter-spacing: -0.02em;

  margin-bottom: 4px;

}



.form-section-subtitle {

  font-size: 0.875rem;

  color: var(--color-text-muted);

  line-height: 1.45;

}



/* Form Fields & Rows */

.contact-form-inner {

  display: flex;

  flex-direction: column;

}



.form-row-two-col {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;

  margin-bottom: 0;

}



.form-group {

  display: flex;

  flex-direction: column;

  margin-bottom: 14px;

}



.field-label {

  font-family: var(--font-heading);

  font-size: 0.8125rem;

  font-weight: 600;

  color: var(--color-navy-deep);

  margin-bottom: 5px;

  display: flex;

  align-items: center;

}



.field-sublabel {

  font-size: 0.75rem;

  font-weight: 400;

  color: var(--color-text-subtle);

  margin-left: 6px;

}



.req-star {

  color: var(--color-error);

  margin-left: 2px;

}



.field-input,

.field-textarea {

  width: 100%;

  padding: 9px 13px;

  background-color: var(--color-bg-base);

  border: 1.5px solid var(--color-border-medium);

  border-radius: var(--radius-md);

  font-size: 0.875rem;

  color: var(--color-text-main);

  font-family: var(--font-sans);

  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);

}



.field-input::placeholder,

.field-textarea::placeholder {

  color: var(--color-text-subtle);

}



.field-input:focus,

.field-textarea:focus {

  border-color: var(--color-primary);

  outline: none;

  box-shadow: 0 0 0 3px rgba(37, 138, 215, 0.15);

}



.field-input.has-error,

.field-textarea.has-error {

  border-color: var(--color-error);

  background-color: var(--color-error-bg);

}



/* Field error: ONLY renders when not empty, eliminating dead white space */

.field-err {

  font-size: 0.75rem;

  color: var(--color-error);

  margin-top: 4px;

  line-height: 1.3;

  display: none;

}



.field-err:not(:empty) {

  display: block;

}



.field-textarea {

  resize: vertical;

  min-height: 84px;

  line-height: 1.5;

}



/* Topic Pills Multi-Select: Snug & neat */

.topic-select-group {

  margin-bottom: 14px;

}



.topic-pills-row,

.topic-chips-group {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 6px;

}



.topic-pill,

.topic-chip {

  font-family: var(--font-heading);

  font-size: 0.8125rem;

  font-weight: 500;

  padding: 6px 14px;

  border-radius: var(--radius-full);

  border: 1.5px solid var(--color-border-medium);

  background-color: var(--color-bg-subtle);

  color: var(--color-text-muted);

  cursor: pointer;

  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);

  user-select: none;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  line-height: 1.2;

}



.topic-pill:hover,

.topic-chip:hover {

  border-color: var(--color-primary);

  color: var(--color-text-main);

  background-color: var(--color-bg-card);

}



.topic-pill.is-selected,

.topic-chip.is-selected {

  background-color: rgba(37, 138, 215, 0.12);

  border-color: var(--color-primary);

  color: var(--color-primary);

  font-weight: 500;

}



/* Consent Checkbox */

.consent-group {

  margin-top: 2px;

  margin-bottom: 18px;

}



.consent-check-label,

.consent-checkbox-wrapper {

  display: flex;

  align-items: flex-start;

  gap: 10px;

  cursor: pointer;

}



.consent-input,

.consent-checkbox {

  margin-top: 2px;

  width: 16px;

  height: 16px;

  accent-color: var(--color-primary);

  cursor: pointer;

  flex-shrink: 0;

}



.consent-desc,

.consent-text {

  font-size: 0.8125rem;

  color: var(--color-text-muted);

  line-height: 1.45;

}



/* Submit Row: Left Aligned, Clean Button Width */

.form-submit-row {

  display: flex;

  align-items: center;

  gap: 16px;

  flex-wrap: wrap;

  padding-top: 0;

  margin-bottom: 0;

}



.btn-submit-action {

  min-width: 156px;

  padding: 11px 22px;

  font-size: 0.875rem;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  cursor: pointer;

}



.btn-arrow-icon {

  width: 15px;

  height: 15px;

  transition: transform var(--transition-fast);

}



.btn-submit-action:hover .btn-arrow-icon {

  transform: translateX(3px);

}



.privacy-caption {

  font-size: 0.8125rem;

  color: var(--color-text-subtle);

}



/* Inline Confirmation Feedback Area: Generous top buffer, NEVER touches button */

.form-feedback-wrapper,

.form-feedback-area {

  margin-top: 24px;

  width: 100%;

  clear: both;

  transition: all var(--transition-normal);

}



.form-feedback-wrapper.hidden,

.form-feedback-area.hidden {

  display: none !important;

}



/* Right Column: Sidebar Info Cards (Medivis Exact Architecture) */

.contact-sidebar-column {

  display: flex;

  flex-direction: column;

  gap: 14px;

}



.sidebar-info-card,

.contact-info-card {

  background-color: var(--color-bg-card);

  border: 1.5px solid var(--color-border-medium);

  border-radius: var(--radius-lg);

  padding: 20px 22px;

  display: flex;

  flex-direction: column;

  box-shadow: var(--shadow-sm);

  transition: border-color var(--transition-normal);

}



.sidebar-info-card:hover,

.contact-info-card:hover {

  border-color: var(--color-primary);

}



.sidebar-card-badge,

.contact-info-icon {

  width: 34px;

  height: 34px;

  border-radius: var(--radius-md);

  background-color: var(--color-primary-subtle);

  color: var(--color-primary);

  display: flex;

  align-items: center;

  justify-content: center;

  margin-bottom: 10px;

  flex-shrink: 0;

}



.sidebar-card-badge svg,

.sidebar-card-badge i,

.contact-info-icon svg,

.contact-info-icon i {

  width: 18px;

  height: 18px;

}



.sidebar-card-title,

.contact-info-card-title {

  font-family: var(--font-heading);

  font-size: 0.9375rem;

  font-weight: 700;

  color: var(--color-navy-deep);

  margin-bottom: 4px;

  letter-spacing: -0.01em;

}



.sidebar-card-body,

.contact-info-card-desc {

  font-size: 0.8125rem;

  color: var(--color-text-muted);

  line-height: 1.52;

}



.sidebar-link,

.contact-email-link {

  color: var(--color-primary);

  font-weight: 600;

  text-decoration: underline;

  text-underline-offset: 3px;

  transition: color var(--transition-fast);

}



.sidebar-link:hover,

.contact-email-link:hover {

  color: var(--color-navy-deep);

}



/* Nav Link Active Sync Across Pages (Zero layout shift / invariant font-weight) */

.nav-link.active,

.nav-link.is-active {

  color: var(--color-primary) !important;

  font-weight: 500 !important;

}



/* Dark Mode Overrides for Contact Elements */

[data-theme="dark"] .contact-page-main,

[data-theme="dark"] .team-page-main,
[data-theme="dark"] .announcements-page-main {

  background-color: #000000;

  }

  html:not([data-theme="light"]) .contact-hero-heading {

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .contact-form-card {

    background-color: #0D0D0D;

    border-color: #222222;

  }

  html:not([data-theme="light"]) .form-header-area {

    border-bottom-color: #222222;

  }

  html:not([data-theme="light"]) .form-section-title {

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .field-label {

    color: #E2E8F0;

  }

  html:not([data-theme="light"]) .field-input,

  html:not([data-theme="light"]) .field-textarea {

    background-color: #141414;

    border-color: #2B2B2B;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .field-input:focus,

  html:not([data-theme="light"]) .field-textarea:focus {

    border-color: #258AD7;

    background-color: #161616;

  }

  html:not([data-theme="light"]) .topic-pill,

  html:not([data-theme="light"]) .topic-chip {

    background-color: #161616;

    border-color: #2E2E2E;

    color: #A3A3A3;

  }

  html:not([data-theme="light"]) .topic-pill:hover,

  html:not([data-theme="light"]) .topic-chip:hover {

    border-color: #258AD7;

    color: #FFFFFF;

    background-color: #1E1E1E;

  }

  html:not([data-theme="light"]) .topic-pill.is-selected,

  html:not([data-theme="light"]) .topic-chip.is-selected {

    background-color: rgba(37, 138, 215, 0.18);

    border-color: #258AD7;

    color: #258AD7;

    font-weight: 500;

  }

  html:not([data-theme="light"]) .sidebar-info-card,

  html:not([data-theme="light"]) .contact-info-card {

    background-color: #0D0D0D;

    border-color: #222222;

  }

  html:not([data-theme="light"]) .sidebar-card-title,

  html:not([data-theme="light"]) .contact-info-card-title {

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .sidebar-card-badge,

  html:not([data-theme="light"]) .contact-info-icon {

    background-color: rgba(37, 138, 215, 0.15);

    color: #258AD7;

  }

  html:not([data-theme="light"]) .feedback-routing {

    color: #A7F3D0;

}



@media (prefers-color-scheme: dark) {

  html:not([data-theme="light"]) .contact-page-main,

  html:not([data-theme="light"]) .team-page-main,
  html:not([data-theme="light"]) .announcements-page-main {

    background-color: #000000;

  }

  html:not([data-theme="light"]) .contact-hero-heading {

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .contact-form-card {

    background-color: #0D0D0D;

    border-color: #222222;

  }

  html:not([data-theme="light"]) .form-header-area {

    border-bottom-color: #222222;

  }

  html:not([data-theme="light"]) .form-section-title {

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .field-label {

    color: #E2E8F0;

  }

  html:not([data-theme="light"]) .field-input,

  html:not([data-theme="light"]) .field-textarea {

    background-color: #141414;

    border-color: #2B2B2B;

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .field-input:focus,

  html:not([data-theme="light"]) .field-textarea:focus {

    border-color: #258AD7;

    background-color: #161616;

  }

  html:not([data-theme="light"]) .topic-pill,

  html:not([data-theme="light"]) .topic-chip {

    background-color: #161616;

    border-color: #2E2E2E;

    color: #A3A3A3;

  }

  html:not([data-theme="light"]) .topic-pill:hover,

  html:not([data-theme="light"]) .topic-chip:hover {

    border-color: #258AD7;

    color: #FFFFFF;

    background-color: #1E1E1E;

  }

  html:not([data-theme="light"]) .topic-pill.is-selected,

  html:not([data-theme="light"]) .topic-chip.is-selected {

    background-color: rgba(37, 138, 215, 0.18);

    border-color: #258AD7;

    color: #258AD7;

    font-weight: 500;

  }

  html:not([data-theme="light"]) .sidebar-info-card,

  html:not([data-theme="light"]) .contact-info-card {

    background-color: #0D0D0D;

    border-color: #222222;

  }

  html:not([data-theme="light"]) .sidebar-card-title,

  html:not([data-theme="light"]) .contact-info-card-title {

    color: #FFFFFF;

  }

  html:not([data-theme="light"]) .sidebar-card-badge,

  html:not([data-theme="light"]) .contact-info-icon {

    background-color: rgba(37, 138, 215, 0.15);

    color: #258AD7;

  }

  html:not([data-theme="light"]) .feedback-routing {

    color: #A7F3D0;

  }

}



/* Responsive Rules for Contact Grid */

@media (max-width: 992px) {

  .contact-grid-layout {

    grid-template-columns: 1fr;

    gap: 28px;

  }



  .contact-form-card {

    padding: 24px 20px 28px;

  }

}



@media (max-width: 600px) {

  .form-row-two-col {

    grid-template-columns: 1fr;

    gap: 0;

  }



  .contact-hero-heading {

    font-size: 1.875rem;

  }



  .form-submit-row {

    flex-direction: column;

    align-items: stretch;

  }



  .btn-submit-action {

    width: 100%;

    justify-content: center;

  }



  .privacy-caption {

    text-align: center;

  }

}


/* -------------------------------------------------------------------------- */
/* Announcements Page Layout & 3-Column LinkedIn Cards Grid                  */
/* -------------------------------------------------------------------------- */
.announcements-page-main {
  flex: 1 0 auto;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 96px;
  background-color: var(--color-bg-base);
}

.announcements-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.announcements-follow-bar {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.linkedin-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background-color: #0A66C2;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.25);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.linkedin-follow-btn:hover {
  background-color: #004182;
  transform: translateY(-1px);
}

/* -------------------------------------------------------------------------- */
/* Featured Pitch Night Announcement Callout Banner                           */
/* -------------------------------------------------------------------------- */
.announcement-pitch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 18px 26px;
  background: linear-gradient(135deg, rgba(37, 138, 215, 0.08) 0%, rgba(37, 138, 215, 0.02) 100%);
  border: 1px solid rgba(37, 138, 215, 0.28);
  border-radius: 16px;
  box-shadow: 0 4px 20px -2px rgba(37, 138, 215, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

[data-theme="dark"] .announcement-pitch-banner,
html:not([data-theme="light"]) .announcement-pitch-banner {
  background: linear-gradient(135deg, rgba(37, 138, 215, 0.16) 0%, rgba(14, 18, 23, 0.9) 100%);
  border-color: rgba(37, 138, 215, 0.35);
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.6);
}

.pitch-banner-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.45;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

[data-theme="dark"] .pitch-banner-text,
html:not([data-theme="light"]) .pitch-banner-text {
  color: #FFFFFF;
}

.pitch-banner-action {
  flex-shrink: 0;
}

.pitch-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 138, 215, 0.35);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pitch-banner-btn:hover {
  background-color: #1E75B8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 138, 215, 0.45);
}

/* In-Card Event Callout */
.card-event-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background-color: rgba(37, 138, 215, 0.08);
  border: 1px solid rgba(37, 138, 215, 0.22);
  border-radius: 10px;
  flex-shrink: 0;
}

[data-theme="dark"] .card-event-callout,
html:not([data-theme="light"]) .card-event-callout {
  background-color: rgba(37, 138, 215, 0.14);
  border-color: rgba(37, 138, 215, 0.32);
}

.card-event-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
  min-width: 0;
}

[data-theme="dark"] .card-event-info,
html:not([data-theme="light"]) .card-event-info {
  color: #79B8FF;
}

.card-event-info .icon-inline {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.card-event-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.card-event-btn:hover {
  background-color: #1E75B8;
  transform: translateY(-1px);
}

/* In-Card Footer Actions */
.li-card-footer.has-actions {
  justify-content: space-between;
}

.li-signup-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background-color: rgba(37, 138, 215, 0.1);
  color: var(--color-primary) !important;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

[data-theme="dark"] .li-signup-action,
html:not([data-theme="light"]) .li-signup-action {
  background-color: rgba(37, 138, 215, 0.2);
  color: #79B8FF !important;
}

.li-signup-action:hover {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

/* 3-Column Grid for LinkedIn Embedded Posts */
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  margin-top: 48px;
  align-items: stretch;
}

/* Announcement Card (LinkedIn Embedded Post Container - Fixed Height Architecture) */
.announcement-card {
  height: 640px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .announcement-card,
html:not([data-theme="light"]) .announcement-card {
  background-color: #0E1217;
  border-color: #222936;
  box-shadow: 0 8px 24px -2px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .announcements-page-main,
html:not([data-theme="light"]) .announcements-page-main {
  background-color: #000000;
}

/* LinkedIn Post Card Elements */
.li-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--color-border-subtle);
  flex-shrink: 0;
}

[data-theme="dark"] .li-card-header,
html:not([data-theme="light"]) .li-card-header {
  border-bottom-color: #1E2532;
}

.li-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.li-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.li-author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.li-author-info {
  display: flex;
  flex-direction: column;
}

.li-author-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.25;
}

.li-post-meta {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  line-height: 1.4;
  margin-top: 2px;
}

.li-icon-badge {
  color: #0A66C2;
  flex-shrink: 0;
}

.li-icon-badge svg,
.li-icon-badge i {
  width: 22px;
  height: 22px;
}

.li-card-body {
  padding: 18px 20px 16px;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.li-post-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 14px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-medium) transparent;
}

.li-post-text::-webkit-scrollbar {
  width: 5px;
}

.li-post-text::-webkit-scrollbar-track {
  background: transparent;
}

.li-post-text::-webkit-scrollbar-thumb {
  background: var(--color-border-medium);
  border-radius: 4px;
}

.li-post-text::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-subtle);
}

[data-theme="dark"] .li-post-text::-webkit-scrollbar-thumb,
html:not([data-theme="light"]) .li-post-text::-webkit-scrollbar-thumb {
  background: #2D3748;
}

[data-theme="dark"] .li-post-text::-webkit-scrollbar-thumb:hover,
html:not([data-theme="light"]) .li-post-text::-webkit-scrollbar-thumb:hover {
  background: #4A5568;
}

.li-post-text p {
  margin-bottom: 10px;
}

.li-post-text p:last-child {
  margin-bottom: 0;
}

.li-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.li-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: #0A66C2;
}

[data-theme="dark"] .li-tag,
html:not([data-theme="light"]) .li-tag {
  color: #70B5F9;
}

.li-media-preview {
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border-light);
  margin-bottom: 0;
  flex-shrink: 0;
}

[data-theme="dark"] .li-media-preview,
html:not([data-theme="light"]) .li-media-preview {
  border-color: #222936;
  background-color: #141A23;
}

.li-media-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.li-media-banner {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 138, 215, 0.08) 0%, rgba(37, 138, 215, 0.02) 100%);
  min-height: 150px;
}

.li-media-banner-icon {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.li-media-banner-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

.li-media-banner-sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.li-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--color-border-subtle);
  background-color: var(--color-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

[data-theme="dark"] .li-card-footer,
html:not([data-theme="light"]) .li-card-footer {
  border-top-color: #1E2532;
}

.li-view-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0A66C2;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.li-view-link:hover {
  color: #004182;
  text-decoration: underline;
}

[data-theme="dark"] .li-view-link,
html:not([data-theme="light"]) .li-view-link {
  color: #70B5F9;
}

[data-theme="dark"] .li-view-link:hover,
html:not([data-theme="light"]) .li-view-link:hover {
  color: #A8D4FF;
}

.li-embed-iframe {
  width: 100%;
  min-height: 540px;
  border: none;
  border-radius: 14px;
  background-color: #FFFFFF;
}

@media (max-width: 1024px) {
  .announcements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .announcements-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 40px auto 0;
    gap: 20px;
  }

  .announcement-card {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .announcement-pitch-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin-top: 28px;
  }
  .pitch-banner-text {
    width: 100%;
  }
  .pitch-banner-action {
    width: 100%;
  }
  .pitch-banner-btn {
    width: 100%;
    justify-content: center;
  }
}
