/* ═══════════════════════════════════════════════════════════════════════════════
   MCSL - Design System  |  Calming · Beautiful · Attractive · Addictive
   ═══════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── Variables ──────────────────────────────────────────────────────────────── */
:root {
  --navy:        #071A35;
  --navy-mid:    #0D2B55;
  --navy-light:  #1A4080;
  --teal:        #00C2CB;
  --teal-deep:   #009FAA;
  --teal-pale:   #CCFAFB;
  --gold:        #FFB703;
  --gold-deep:   #E09800;
  --gold-pale:   #FFF4CC;
  --indigo:      #4F46E5;
  --emerald:     #10B981;
  --rose:        #F43F5E;
  --white:       #FFFFFF;
  --off-white:   #F8FAFD;
  --slate:       #F1F5FF;
  --text:        #0F172A;
  --text-mid:    #334155;
  --text-soft:   #64748B;
  --border:      #E2E8F0;

  --grad-hero:   linear-gradient(135deg, #071A35 0%, #0D2B55 55%, #1A4080 100%);
  --grad-teal:   linear-gradient(135deg, #009FAA, #00C2CB, #4DDDE3);
  --grad-gold:   linear-gradient(135deg, #E09800, #FFB703, #FCD34D);
  --grad-cta:    linear-gradient(135deg, #009FAA 0%, #00C2CB 60%, #4DDDE3 100%);
  --grad-text:   linear-gradient(135deg, #00C2CB, #4DDDE3);

  --shadow-sm:   0 2px 8px rgba(7,26,53,0.07);
  --shadow-md:   0 8px 32px rgba(7,26,53,0.11);
  --shadow-lg:   0 24px 64px rgba(7,26,53,0.16);
  --shadow-teal: 0 8px 40px rgba(0,194,203,0.28);
  --shadow-gold: 0 8px 40px rgba(255,183,3,0.28);
  --glow-teal:   0 0 80px rgba(0,194,203,0.18);

  --py: clamp(4rem, 8vw, 7rem);
  --r-sm: 0.875rem;
  --r-md: 1.5rem;
  --r-lg: 2.5rem;
  --r-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.32s var(--ease);
  --t-slow: 0.55s var(--ease);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: transparent;
  transform: rotate(45deg);
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-gold::before { border-color: currentColor; }
.eyebrow-white { color: rgba(255,255,255,0.7); }
.eyebrow-white::before { border-color: currentColor; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
}
.section-header-light h2 { color: var(--white); }
.section-header-light p  { color: rgba(255,255,255,0.65); }

/* ─── Scroll Reveal Animations ───────────────────────────────────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.scroll-reveal.d1 { transition-delay: 0.1s; }
.scroll-reveal.d2 { transition-delay: 0.2s; }
.scroll-reveal.d3 { transition-delay: 0.3s; }
.scroll-reveal.d4 { transition-delay: 0.4s; }
.scroll-reveal.d5 { transition-delay: 0.5s; }
.scroll-reveal.d6 { transition-delay: 0.6s; }
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.fade-left  { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }
.fade-left.active, .fade-right.active { transform: translateX(0); }

/* ─── Header ─────────────────────────────────────────────────────────────────── */
/* Mobile-first: base styles target all screen sizes; enhancements added at       */
/* 480 px, 768 px, and 992 px breakpoints below.                                  */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(7, 26, 53, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  background: rgba(7, 26, 53, 0.96);
  box-shadow: 0 4px 36px rgba(7, 26, 53, 0.35);
}

/* Inner flex row */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 0.75rem;
}

/* ── Logo lockup ── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0,194,203,0.35);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  flex-shrink: 0;
}
.header-logo:hover .logo-mark {
  border-color: var(--teal);
  box-shadow: 0 0 22px rgba(0,194,203,0.4);
  transform: rotate(6deg) scale(1.06);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
  padding: 2px;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-abbr {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-full {
  display: none; /* shown at 480 px+ */
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ── Desktop nav (hidden until 768 px / md) ── */
.header-nav {
  display: none;
  flex: 1;
  min-width: 0;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0; padding: 0;
  justify-content: center;
}
/* Secondary links stay in the mobile menu until very wide desktop layouts. */
.nav-item-lg { display: none; }
.nav-item-compliance { display: none; }
.nav-item-priority { display: none; }
.nav-list .nav-link {
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-sm);
  transition: color var(--t);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
/* Animated underline indicator */
.nav-list .nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-teal);
  border-radius: 2px;
  transition: width var(--t), left var(--t);
}
.nav-list .nav-link:hover,
.nav-list .nav-link.active {
  color: var(--teal);
}
.nav-list .nav-link:hover::after,
.nav-list .nav-link.active::after {
  width: calc(100% - 1.4rem);
  left: 0.7rem;
}

/* ── Right-side actions ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Explore button (hidden on mobile, shown at 768 px) */
.btn-explore {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--grad-teal);
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-full);
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: box-shadow var(--t), transform var(--t);
  text-decoration: none;
}
.btn-explore:hover {
  box-shadow: var(--shadow-teal);
  transform: translateY(-1px);
  color: var(--navy);
}
.btn-explore i { font-size: 0.72rem; }

/* ── Hamburger button ── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--t), background var(--t);
  flex-shrink: 0;
}
.hamburger:hover {
  border-color: var(--teal);
  background: rgba(0,194,203,0.08);
}
.ham-line {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.2s ease, width 0.28s ease;
}
/* Open state - morphs to × */
.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav panel ── */
.mobile-nav {
  overflow: hidden;
  max-height: 0;
  background: rgba(5, 20, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open {
  max-height: 620px;
}
.mobile-nav-list {
  list-style: none;
  margin: 0; padding: 0.5rem 0;
}
.mobile-nav-link {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 0.82rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: color var(--t), padding-left var(--t), background var(--t);
  letter-spacing: 0.01em;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--teal);
  padding-left: 2rem;
  background: rgba(0,194,203,0.06);
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 1.5rem 1.25rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--grad-teal);
  border-radius: var(--r-full);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: box-shadow var(--t), transform var(--t);
}
.mobile-nav-cta:hover {
  box-shadow: var(--shadow-teal);
  transform: translateY(-1px);
  color: var(--navy);
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--grad-hero);
  padding-top: 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, #00C2CB, transparent 70%);
  top: -200px; left: -150px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle at center, #4F46E5, transparent 70%);
  bottom: -150px; right: -100px;
  animation-delay: 4s;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle at center, #FFB703, transparent 70%);
  top: 40%; left: 55%;
  animation-delay: 7s;
  opacity: 0.1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -50px) scale(1.05); }
  66%       { transform: translate(-30px, 30px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
}
.hero-content .eyebrow { margin-bottom: 1.5rem; }

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.btn-hero-primary {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--grad-teal);
  padding: 0.9rem 2.25rem;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t);
  letter-spacing: 0.01em;
}
.btn-hero-primary:hover {
  box-shadow: var(--shadow-teal);
  transform: translateY(-3px);
}

.btn-hero-ghost {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  padding: 0.9rem 2.25rem;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform var(--t);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-3px);
  color: var(--white);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll i { font-size: 1rem; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── Section Base ───────────────────────────────────────────────────────────── */
.section { padding: var(--py) 0; }
.section-white { background: var(--white); }
.section-slate { background: var(--slate); }
.section-dark  { background: var(--nav-mid); background: var(--grad-hero); }

/* ─── Features (Why Partner) ─────────────────────────────────────────────────── */
.features-section { background: var(--slate); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}
.feature-icon.teal   { background: rgba(0,194,203,0.12);  color: var(--teal); }
.feature-icon.indigo { background: rgba(79,70,229,0.12);  color: var(--indigo); }
.feature-icon.gold   { background: rgba(255,183,3,0.12);  color: var(--gold-deep); }
.feature-icon.rose   { background: rgba(244,63,94,0.12);  color: var(--rose); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ─── About ──────────────────────────────────────────────────────────────────── */
.about-section { background: var(--white); }

.about-story {
  max-width: 820px;
  margin: 0 auto 4rem;
  text-align: center;
}
.about-story p {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.founder-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(0,194,203,0.35);
  border-radius: 3px;
  background: transparent;
  transform: rotate(45deg);
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.founder-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 8px 32px rgba(0,194,203,0.2);
  margin: 0 auto 1.5rem;
}
.founder-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.founder-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.founder-card p {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.75;
  font-style: italic;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.mvv-card {
  background: var(--navy);
  border-radius: var(--r-md);
  padding: 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.mvv-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: rgba(0,194,203,0.08);
  border-radius: 50%;
  transform: translate(30%, 30%);
}
.mvv-icon {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 1rem;
}
.mvv-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.mvv-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  font-style: italic;
}

/* ─── Solutions ──────────────────────────────────────────────────────────────── */
.solutions-section { background: var(--slate); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.solution-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,194,203,0.4);
}

.solution-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.solution-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}
.solution-card > p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.3rem 0;
  border-top: 1px solid var(--border);
}
.solution-features li i { color: var(--emerald); margin-top: 3px; flex-shrink: 0; }

/* ─── Consultation Packages ──────────────────────────────────────────────────── */
.packages-section { background: var(--white); }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  align-items: start;
}

.package-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.package-card.featured {
  background: var(--white);
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.package-card.featured:hover {
  box-shadow: 0 20px 60px rgba(0,194,203,0.35);
}
.package-badge {
  position: absolute;
  top: 1.25rem; right: -1rem;
  background: var(--grad-teal);
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1.75rem 0.3rem 0.75rem;
  border-radius: var(--r-full) 0 0 var(--r-full);
}
.package-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.package-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.package-duration {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}
.package-features {
  width: 100%;
  margin-bottom: 2rem;
  text-align: left;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.package-features li:last-child { border-bottom: none; }
.package-features li i { color: var(--emerald); margin-top: 3px; flex-shrink: 0; }

.btn-book {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--grad-teal);
  border: none;
  border-radius: var(--r-full);
  padding: 0.75rem 2rem;
  width: 100%;
  max-width: 200px;
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t);
}
.btn-book:hover {
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}

/* ─── Impact ──────────────────────────────────────────────────────────────────── */
.impact-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.project-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t), background var(--t), box-shadow var(--t);
}
.project-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.09);
  box-shadow: var(--glow-teal);
  border-color: rgba(0,194,203,0.3);
}
.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.project-card:hover .project-img { transform: scale(1.04); }
.project-body { padding: 1.5rem; }
.project-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.project-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

/* ─── CTA Section ─────────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--grad-cta);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-orb {
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -200px; right: -100px;
  filter: blur(60px);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}
.cta-content p {
  font-size: 1.1rem;
  color: rgba(7,26,53,0.72);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.btn-cta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal);
  background: var(--navy);
  border: none;
  border-radius: var(--r-full);
  padding: 1rem 2.75rem;
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t);
  letter-spacing: 0.01em;
}
.btn-cta:hover {
  box-shadow: 0 12px 48px rgba(7,26,53,0.35);
  transform: translateY(-3px);
}

/* ─── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  padding: 3px;
  border-radius: 50%;
  background: var(--white);
  margin-bottom: 1rem;
  opacity: 1;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}
.footer-contact-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.5rem;
}
.footer-contact-list li i { color: var(--teal); font-size: 0.85rem; }
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-socials a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.footer-socials a:hover {
  background: rgba(0,194,203,0.15);
  color: var(--teal);
  border-color: rgba(0,194,203,0.35);
}
.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-footer-link {
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--t);
}
.btn-footer-link:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ─── Modals ──────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,26,53,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  padding: 1.5rem;
  overflow-y: auto;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem 2.5rem;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: transform var(--t);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--slate);
  color: var(--text-soft);
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: background var(--t), color var(--t);
  line-height: 1;
}
.modal-close:hover {
  background: var(--border);
  color: var(--text);
}
.modal-header { margin-bottom: 2rem; }
.modal-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.modal-header p {
  font-size: 0.95rem;
  color: var(--text-soft);
}
.modal-pkg-badge {
  display: inline-block;
  background: rgba(0,194,203,0.1);
  color: var(--teal-deep);
  border: 1px solid rgba(0,194,203,0.25);
  border-radius: var(--r-sm);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.modal-text-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}
.modal-text-content p, .modal-text-content li {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
.modal-text-content ol { padding-left: 1.5rem; }
.modal-text-content ul { list-style: disc; padding-left: 1.5rem; }

/* ─── Form Styles ─────────────────────────────────────────────────────────────── */
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,194,203,0.12);
  background: var(--white);
}
.form-field input.is-valid   { border-color: var(--emerald); }
.form-field input.is-invalid { border-color: var(--rose); }
.form-field textarea.is-valid   { border-color: var(--emerald); }
.form-field textarea.is-invalid { border-color: var(--rose); }

.validation-message {
  display: none;
  font-size: 0.78rem;
  margin-top: 0.3rem;
  font-weight: 500;
}
.validation-message.error   { color: var(--rose); display: block; }
.validation-message.success { color: var(--emerald); display: block; }

.btn-submit {
  width: 100%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--grad-teal);
  border: none;
  border-radius: var(--r-sm);
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: box-shadow var(--t), transform var(--t), opacity var(--t);
  letter-spacing: 0.01em;
}
.btn-submit:hover:not(:disabled) {
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.form-success { color: var(--emerald); font-size: 0.95rem; font-weight: 600; margin-top: 1rem; text-align: center; }
.form-error   { color: var(--rose);    font-size: 0.95rem; font-weight: 600; margin-top: 1rem; text-align: center; }

/* ─── Careers Page ────────────────────────────────────────────────────────────── */
.careers-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(0,194,203,0.22), transparent 21rem),
    radial-gradient(circle at 94% 96%, rgba(79,70,229,0.22), transparent 24rem),
    var(--grad-hero);
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.careers-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.careers-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: clamp(-10rem, -4vw, -3rem);
  width: clamp(18rem, 32vw, 32rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 43% 57% 64% 36% / 49% 38% 62% 51%;
  box-shadow:
    0 0 0 clamp(2rem, 5vw, 4.5rem) rgba(255,255,255,0.025),
    0 0 0 clamp(5rem, 10vw, 9rem) rgba(255,255,255,0.015);
  transform: translateY(-50%) rotate(-14deg);
  pointer-events: none;
}
.careers-hero-content {
  position: relative;
  z-index: 1;
}
.careers-hero h1 {
  max-width: 830px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.careers-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  max-width: 580px;
  margin: 0;
  line-height: 1.75;
}

.why-join-section {
  background: var(--white);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
}
.why-join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.why-join-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}
.why-join-text p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.8;
}
.why-join-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.benefit-card {
  background: var(--slate);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color var(--t), box-shadow var(--t);
}
.benefit-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,194,203,0.12);
}
.benefit-card i {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
  display: block;
}
.benefit-card span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.careers-listings {
  background: var(--slate);
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.listings-container { max-width: 860px; margin: 0 auto; }

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: rgba(0,194,203,0.3); }

.job-summary {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  background: var(--white);
  transition: background var(--t);
}
.job-card[open] .job-summary { background: #F0FDFB; border-bottom: 1px solid rgba(0,194,203,0.15); }
.job-summary-left { display: flex; align-items: center; gap: 1rem; }
.job-dept-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.job-summary h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.job-deadline {
  background: rgba(244,63,94,0.1);
  color: var(--rose);
  border: 1px solid rgba(244,63,94,0.2);
  border-radius: var(--r-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  animation: pulseBadge 2.5s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}
.job-chevron {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-soft);
  transition: background var(--t), color var(--t), transform var(--t);
  flex-shrink: 0;
}
.job-card[open] .job-chevron {
  background: rgba(0,194,203,0.12);
  color: var(--teal);
  transform: rotate(180deg);
}

.job-details { padding: 2rem; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}
.job-meta-item i { color: var(--teal); }

.program-info {
  background: linear-gradient(135deg, rgba(0,194,203,0.06), rgba(0,194,203,0.02));
  border: 1px solid rgba(0,194,203,0.18);
  border-radius: var(--r-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.program-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}
.program-info p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1rem; }
.program-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}
.info-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.info-item strong { display: block; font-size: 0.72rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem; }
.info-item i { color: var(--teal); margin-right: 0.35rem; }

.job-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.75rem;
}
.job-details > p { font-size: 0.93rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1rem; }
.job-details ul { padding-left: 0; }
.job-details ul li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  line-height: 1.65;
}
.job-details ul li::before { content: '▸'; position: absolute; left: 0; color: var(--teal); }

.requirements-box {
  background: var(--slate);
  border: 1px solid rgba(0,194,203,0.22);
  border-radius: 1.5rem 0.45rem 1.5rem 0.45rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}
.requirements-box::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid rgba(0,159,170,0.35);
  border-radius: 2px;
  transform: rotate(45deg);
}
.requirements-box h4 { color: var(--teal-deep); margin-top: 0; }
.req-group { margin-bottom: 1.25rem; }
.req-group:last-child { margin-bottom: 0; }
.req-group h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.req-group h5 i { color: var(--emerald); }

.note-box {
  background: var(--gold-pale);
  border: 1px solid rgba(255,183,3,0.3);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: #8B6500;
  margin-top: 0.75rem;
}
.note-box i { color: var(--gold-deep); margin-right: 0.35rem; }
.note-box a { color: var(--teal-deep); font-weight: 600; }

.benefits-box {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.24);
  border-radius: 0.45rem 1.5rem 0.45rem 1.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}
.benefits-box::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(16,185,129,0.35);
  border-radius: 50%;
}
.benefits-box h4 { color: var(--emerald); margin-top: 0; }

.apply-box {
  background: rgba(0,194,203,0.06);
  border: 1.5px solid rgba(0,194,203,0.22);
  border-radius: var(--r-sm);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.apply-box h4 { color: var(--teal-deep); margin-top: 0; }
.apply-box p, .apply-box li { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.apply-box a { color: var(--teal-deep); font-weight: 600; }
.apply-box ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0 1rem; }

.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--grad-teal);
  border-radius: var(--r-full);
  padding: 0.7rem 1.75rem;
  margin-top: 1rem;
  transition: box-shadow var(--t), transform var(--t);
  text-decoration: none;
}
.btn-apply:hover {
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
  color: var(--navy);
}

/* ─── Responsive - comprehensive breakpoint system ────────────────────────────
   Tiers (mobile-first min-width unless noted):
   SMALL  < 320px   - tiny / legacy phones        (max-width: 319px)
   XS     320–479px - small phones                (min-width: 320px)
   SM     480–639px - large phones                (min-width: 480px)
   MD     640–767px - phablets / small tablets    (min-width: 640px)
   LG     768–991px - tablets / small laptops     (min-width: 768px)
   XL     992–1199px - desktops                   (min-width: 992px)
   2XL    1200–1399px - wide desktops             (min-width: 1200px)
   3XL    1400–1919px - large monitors / 1080p    (min-width: 1400px)
   4XL    1920–2559px - 1440p / 2K monitors       (min-width: 1920px)
   5XL    2560–3439px - 4K / ultrawide            (min-width: 2560px)
   6XL    3440–3839px - ultrawide 21:9            (min-width: 3440px)
   7XL    3840–7679px - 4K TV / 8K panels         (min-width: 3840px)
   8XL    7680px+     - 8K and beyond             (min-width: 7680px)
   ──────────────────────────────────────────────────────────────────────────── */

/* SMALL - < 320px ──────────────────────────────────────────────────────────── */
@media (max-width: 319px) {
  .container { padding-left: .75rem; padding-right: .75rem; }
  .header-inner { padding-left: .75rem; padding-right: .75rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; max-width: 260px; justify-content: center; }
  .hero-stats { flex-direction: column; gap: .75rem; }
  .stat-divider { width: 50px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .why-join-benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .founders-grid, .solutions-grid, .packages-grid, .impact-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 1.5rem 1rem; }
}

@media (max-width: 639px) {
  .fade-left,
  .fade-right {
    transform: translateY(24px);
  }

  .fade-left.active,
  .fade-right.active {
    transform: translateY(0);
  }
}

/* XS - 320px ───────────────────────────────────────────────────────────────── */
@media (min-width: 320px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .hero-title { font-size: 2.1rem; }
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .why-join-benefits { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .founders-grid, .solutions-grid, .packages-grid, .impact-grid { grid-template-columns: 1fr; }
}

/* SM - 480px ───────────────────────────────────────────────────────────────── */
@media (min-width: 480px) {
  .logo-full { display: block; }
  .logo-mark { width: 48px; height: 48px; }
  .logo-abbr { font-size: 1.2rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: row; }
  .btn-hero-primary, .btn-hero-ghost { width: auto; }
  .hero-stats { flex-direction: row; }
  .stat-divider { width: auto; height: 32px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-join-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

/* MD - 640px ───────────────────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-title { font-size: 2.8rem; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .packages-grid  { grid-template-columns: 1fr 1fr; }
  .founders-grid  { grid-template-columns: 1fr 1fr; }
  .impact-grid    { grid-template-columns: 1fr 1fr; }
  .why-join-grid  { grid-template-columns: 1fr; }
  .job-summary { padding: 1.25rem 1.5rem; }
  .job-details { padding: 1.5rem; }
  .modal-box { padding: 2rem 1.5rem; }
}

/* LG - 768px  (md breakpoint - desktop nav appears) ────────────────────────── */
@media (min-width: 768px) {
  .header-inner { height: 74px; }
  .btn-explore  { display: flex; }
  .header-nav   { display: flex; }
  .hamburger    { display: none; }
  .mobile-nav   { display: none; }
  /* Compact nav sizing - 7 items fit comfortably at this width */
  .nav-list .nav-link { font-size: 0.75rem; padding: 0.3rem 0.48rem; }
  .hero-title   { font-size: 3.2rem; }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .packages-grid  { grid-template-columns: repeat(3, 1fr); }
  .founders-grid  { grid-template-columns: repeat(2, 1fr); }
  .impact-grid    { grid-template-columns: repeat(3, 1fr); }
  .why-join-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid    { grid-template-columns: 1.4fr 1fr 1.2fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .modal-box  { padding: 2.5rem 2rem; }
  .modal-header h3 { font-size: 1.5rem; }
}

/* XL - 992px ───────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .header-inner { height: 80px; }
  .logo-mark    { width: 56px; height: 56px; }
  .logo-abbr    { font-size: 1.28rem; }
  .container    { max-width: 980px; }
  .hero-title   { font-size: 3.6rem; }
  /* Restore standard nav sizing */
  .nav-list .nav-link { font-size: 0.8rem; padding: 0.33rem 0.6rem; }
}

/* 2XL - 1200px ─────────────────────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .nav-item-compliance { display: list-item; }
  .nav-list .nav-link { font-size: 0.85rem; padding: 0.36rem 0.8rem; }
  .nav-list { gap: 0.05rem; }
  .container { max-width: 1160px; }
  .hero-title { font-size: 4rem; }
}

/* 3XL - 1400px  (Bootstrap xxl) ────────────────────────────────────────────── */
@media (min-width: 1400px) {
  .nav-item-priority { display: list-item; }
  .container { max-width: 1340px; }
  .nav-list .nav-link { font-size: 0.875rem; padding: 0.38rem 0.9rem; }
  .nav-list { gap: 0.1rem; }
  .header-inner { height: 84px; }
  .hero-title { font-size: 4.25rem; }
  :root { --py: 6rem; }
}

/* 3.5XL - 1600px ────────────────────────────────────────────────────────────── */
@media (min-width: 1600px) {
  .container { max-width: 1520px; }
  .nav-list .nav-link { font-size: 0.9rem; padding: 0.4rem 1rem; }
  .nav-list { gap: 0.15rem; }
  .header-inner { height: 86px; }
}

/* 4XL - 1920px (1440p / 2K) ────────────────────────────────────────────────── */
@media (min-width: 1920px) {
  .nav-item-lg { display: list-item; }
  html { font-size: 1.0625rem; }
  :root {
    --py: 7rem;
    --r-sm: .5rem;
    --r-md: 1rem;
    --r-lg: 1.5rem;
  }
  .container { max-width: 1720px; }
  .header-inner { height: 88px; }
  .logo-mark  { width: 62px; height: 62px; }
  .hero-title { font-size: 4.75rem; }
  .features-grid { grid-template-columns: repeat(6, 1fr); }
  .dashboard-container { grid-template-columns: 290px 1fr; }
  .dashboard-sidebar   { padding: 2rem 1.5rem; }
  .dashboard-main      { padding: 2.5rem 3rem; }
}

/* 5XL - 2560px (4K / ultrawide) ────────────────────────────────────────────── */
@media (min-width: 2560px) {
  html { font-size: 1.125rem; }
  :root {
    --py: 8rem;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
    --shadow-md: 0 8px 30px rgba(0,0,0,.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.16);
  }
  .container { max-width: 2200px; }
  .header-inner { height: 96px; }
  .logo-mark  { width: 68px; height: 68px; }
  .hero-title { font-size: 5.5rem; }
  .orb-1, .orb-2 { width: 640px; height: 640px; }
  .features-grid { grid-template-columns: repeat(6, 1fr); }
  .section-header { max-width: 1100px; }
  .dashboard-container { grid-template-columns: 320px 1fr; }
  .dashboard-main      { padding: 3rem 4rem; }
}

/* 6XL - 3440px (ultrawide 21:9) ────────────────────────────────────────────── */
@media (min-width: 3440px) {
  html { font-size: 1.25rem; }
  :root { --py: 9rem; }
  .container { max-width: 3000px; }
  .header-inner { height: 108px; }
  .logo-mark  { width: 76px; height: 76px; }
  .hero-title { font-size: 6.25rem; }
  .orb-1, .orb-2 { width: 800px; height: 800px; }
  .features-grid { grid-template-columns: repeat(8, 1fr); }
  .section-header { max-width: 1400px; }
  .dashboard-container { grid-template-columns: 380px 1fr; }
  .dashboard-main      { padding: 3.5rem 5rem; }
}

/* 7XL - 3840px (4K TV / 8K panels half) ────────────────────────────────────── */
@media (min-width: 3840px) {
  html { font-size: 1.5rem; }
  :root { --py: 10rem; }
  .container { max-width: 3400px; }
  .header-inner { height: 124px; }
  .logo-mark  { width: 88px; height: 88px; }
  .hero-title { font-size: 7rem; }
  .orb-1, .orb-2 { width: 960px; height: 960px; }
  .hero-grid-bg { background-size: 72px 72px; }
  .section-header { max-width: 1800px; }
  .dashboard-container { grid-template-columns: 460px 1fr; }
  .dashboard-main      { padding: 4rem 6rem; }
  .users-table th, .users-table td { padding: 1.125rem 1.5rem; }
}

/* 8XL - 7680px (8K) ────────────────────────────────────────────────────────── */
@media (min-width: 7680px) {
  html { font-size: 2rem; }
  :root { --py: 14rem; }
  .container { max-width: 6800px; }
  .header-inner { height: 180px; }
  .logo-mark  { width: 120px; height: 120px; }
  .hero-title { font-size: 9rem; }
  .orb-1, .orb-2 { width: 1400px; height: 1400px; }
  .hero-grid-bg { background-size: 120px 120px; }
  .section-header { max-width: 3000px; }
  .dashboard-container { grid-template-columns: 640px 1fr; }
  .dashboard-main      { padding: 6rem 10rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AUTH - Login & Dashboard
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Login page ────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: var(--slate);
}

.auth-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 440px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.75rem;
}
.auth-logo img  {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}
.auth-logo span { font-weight: 700; font-size: 1rem; color: var(--navy); }

.auth-title    { font-size: 1.75rem; font-weight: 800; color: var(--text); margin-bottom: .25rem; }
.auth-subtitle { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.75rem; }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 2.75rem; }

.btn-toggle-pw {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
  padding: .25rem;
  font-size: .95rem;
  transition: color var(--t);
}
.btn-toggle-pw:hover { color: var(--navy); }

.auth-feedback {
  margin-top: .875rem;
  font-size: .9rem;
  font-weight: 600;
  min-height: 1.25rem;
  display: block;
}
.auth-feedback.success { color: var(--emerald); }
.auth-feedback.error   { color: var(--rose); }

.auth-note { margin-top: 1.5rem; font-size: .85rem; color: var(--text-soft); text-align: center; }

/* ── Login nav link pill ───────────────────────────────────────────────────── */
.nav-link-login {
  background: var(--teal) !important;
  color: var(--navy) !important;
  border-radius: var(--r-full);
  padding: .35rem 1.1rem !important;
  font-weight: 700;
  transition: background var(--t), transform var(--t);
}
.nav-link-login:hover {
  background: var(--teal-deep) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ── Dashboard layout ─────────────────────────────────────────────────────── */
.dashboard-page {
  min-height: 100vh;
  padding-top: 68px;
  background: var(--slate);
}

@media (min-width: 768px) {
  .dashboard-page { padding-top: 74px; }
}

@media (min-width: 992px) {
  .dashboard-page { padding-top: 80px; }
}

@media (min-width: 1400px) {
  .dashboard-page { padding-top: 84px; }
}

.dashboard-container {
  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
  background: var(--grad-hero);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.125rem;
  gap: 1rem;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sidebar-logo img  {
  width: 36px;
  height: 36px;
  object-fit: contain;
  padding: 2px;
  border-radius: 50%;
  background: var(--white);
}
.sidebar-logo span { font-weight: 700; font-size: .9rem; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
  margin-top: .5rem;
}

.sidebar-link {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  text-align: left;
  padding: .625rem .875rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t), color var(--t);
  display: flex;
  align-items: center;
  gap: .625rem;
}
.sidebar-link:hover { background: rgba(255,255,255,.1); color: var(--white); }
.sidebar-link.active {
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
}

.sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sidebar-whoami {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
  word-break: break-all;
}

.btn-logout {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: .875rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background var(--t);
}
.btn-logout:hover { background: rgba(255,255,255,.18); }

.dashboard-main { padding: 2rem 2.25rem; overflow-y: auto; }

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.dashboard-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.btn-refresh {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .4rem .7rem;
  cursor: pointer;
  color: var(--text-soft);
  transition: border-color var(--t), color var(--t);
}
.btn-refresh:hover { border-color: var(--teal); color: var(--navy); }

/* ── Users table ──────────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.users-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.users-table th {
  background: var(--off-white);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.users-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: var(--text);
}
.users-table tr:last-child td { border-bottom: none; }
.users-table tr.row-inactive td { opacity: .5; }
.users-table tr:hover td { background: var(--slate); }

.role-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: .02em;
}
.role-super_admin { background: var(--gold-pale); color: #92400e; }
.role-admin       { background: #dbeafe;           color: #1e40af; }
.role-user        { background: var(--slate);       color: var(--text-mid); }

.status-badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
}
.status-badge.active   { background: #dcfce7; color: #166534; }
.status-badge.inactive { background: #fee2e2; color: #991b1b; }

.table-actions { display: flex; gap: .375rem; flex-wrap: wrap; }

.btn-deactivate,
.btn-activate {
  background: none;
  padding: .3rem .7rem;
  border-radius: .4rem;
  font-size: .8rem;
  cursor: pointer;
  transition: background var(--t);
  white-space: nowrap;
  font-weight: 600;
}
.btn-deactivate { border: 1px solid #fca5a5; color: #dc2626; }
.btn-deactivate:hover { background: #fee2e2; }
.btn-activate   { border: 1px solid #6ee7b7; color: #065f46; }
.btn-activate:hover   { background: #dcfce7; }

.table-loading,
.table-empty,
.table-error { padding: 2.5rem; text-align: center; color: var(--text-soft); }
.table-error { color: var(--rose); }

/* ── Register card inside dashboard ──────────────────────────────────────── */
.register-card { max-width: 500px; }

/* ── Change-password tab ──────────────────────────────────────────────────── */
.change-pw-card { max-width: 440px; }

/* ── Responsive dashboard - narrow screens ────────────────────────────────── */
@media (max-width: 899px) {
  .dashboard-container { grid-template-columns: 200px 1fr; }
}
@media (max-width: 639px) {
  .dashboard-container { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .dashboard-sidebar { flex-direction: row; flex-wrap: wrap; padding: .875rem 1rem; gap: .5rem; }
  .sidebar-nav { flex-direction: row; margin-top: 0; }
  .sidebar-footer { border-top: none; padding-top: 0; display: flex; align-items: center; gap: .75rem; margin-left: auto; }
  .sidebar-whoami { margin-bottom: 0; }
  .dashboard-main { padding: 1.25rem 1rem; }
}

/* ============================================================================
   STAFF PORTAL
   ============================================================================ */

.portal-page {
  background: #eef3f8;
}

.portal-container {
  grid-template-columns: 272px minmax(0, 1fr);
}

.portal-sidebar {
  background: #071a35;
}

.portal-linkedin-company {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  color: #dff8f9;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: .5rem .75rem;
  font-size: .84rem;
  font-weight: 700;
  margin-bottom: .625rem;
}
.portal-linkedin-company:hover {
  color: var(--white);
  background: rgba(0,194,203,.14);
}

.portal-main {
  padding: 2rem clamp(1rem, 2.6vw, 3rem);
}

.portal-topbar,
.portal-section-head,
.portal-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portal-topbar {
  margin-bottom: 1rem;
}
.portal-topbar h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0;
}
.portal-eyebrow {
  margin: 0 0 .25rem;
  color: var(--teal-deep);
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
}
.portal-refresh {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portal-feedback {
  min-height: 1.5rem;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.portal-feedback.success { color: #047857; }
.portal-feedback.error { color: #be123c; }
.portal-feedback.muted { color: var(--text-soft); }

.portal-tab {
  max-width: 1320px;
}

.portal-section-head {
  margin-bottom: 1rem;
}
.portal-section-head h2,
.portal-panel-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text);
}
.portal-section-head p {
  margin: .2rem 0 0;
  color: var(--text-soft);
  font-size: .92rem;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .875rem;
  margin-bottom: 1.25rem;
}
.portal-stat {
  min-height: 112px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.portal-stat span {
  display: block;
  color: var(--text-soft);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.portal-stat strong {
  display: block;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  color: var(--text);
  line-height: 1;
}
.portal-stat i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dff8f9;
  color: var(--teal-deep);
}
.portal-stat:nth-child(2) i { background: #dbeafe; color: #1d4ed8; }
.portal-stat:nth-child(3) i { background: #fef3c7; color: #b45309; }
.portal-stat:nth-child(4) i { background: #dcfce7; color: #047857; }

.portal-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: 1.25rem;
}
.portal-panel {
  min-width: 0;
}
.portal-panel-head {
  margin-bottom: .875rem;
}

.btn-mini,
.btn-secondary,
.btn-icon-text,
.btn-linkedin,
.linkedin-action {
  border-radius: 8px;
  font-weight: 800;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}

.btn-mini {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  padding: .45rem .7rem;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-mini:hover {
  border-color: var(--teal);
  color: var(--navy);
  transform: translateY(-1px);
}

.portal-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}
.portal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem;
}
.portal-form .form-field {
  margin-bottom: 0;
}
.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .68rem .78rem;
  color: var(--text);
  background: var(--white);
  font: inherit;
}
.portal-form textarea {
  resize: vertical;
}
.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,194,203,.13);
}
.portal-span-2 {
  grid-column: span 2;
}
.portal-form-actions {
  display: flex;
  gap: .65rem;
  align-items: center;
  margin-top: 1rem;
}
.btn-secondary {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  padding: .68rem 1rem;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--navy-light);
  color: var(--navy);
}

.portal-notice {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 8px;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.portal-table-wrap {
  border-radius: 8px;
  border: 1px solid var(--border);
}
.portal-table td span {
  color: var(--text-soft);
  font-size: .8rem;
}
.portal-table td {
  max-width: 340px;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: .16rem .62rem;
  font-size: .73rem;
  font-weight: 800;
  text-transform: capitalize;
  white-space: nowrap;
  background: #e2e8f0;
  color: #334155;
}
.status-active,
.status-done,
.status-completed,
.status-staff,
.status-super_admin {
  background: #dcfce7;
  color: #166534;
}
.status-lead,
.status-planned,
.status-todo,
.status-client {
  background: #dbeafe;
  color: #1e40af;
}
.status-paused,
.status-on_hold,
.status-in_progress,
.status-admin {
  background: #fef3c7;
  color: #92400e;
}
.status-blocked,
.status-cancelled,
.status-archived {
  background: #fee2e2;
  color: #991b1b;
}
.priority-low { background: #e0f2fe; color: #075985; }
.priority-medium { background: #e2e8f0; color: #334155; }
.priority-high { background: #ffedd5; color: #9a3412; }
.priority-critical { background: #ffe4e6; color: #be123c; }

.task-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: .875rem;
  align-items: start;
}
.task-column {
  min-width: 0;
}
.task-column h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 .65rem;
  color: var(--text-mid);
  font-size: .92rem;
}
.task-column h3 span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}
.task-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: .85rem;
  margin-bottom: .75rem;
}
.task-card-head,
.task-card-foot,
.task-meta,
.portal-row-actions,
.linkedin-cell {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.task-card-head {
  justify-content: space-between;
}
.task-card p {
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.55;
  margin: .55rem 0;
}
.task-meta {
  color: var(--text-mid);
  font-size: .78rem;
  margin-bottom: .7rem;
}
.task-card-foot {
  justify-content: space-between;
}
.task-empty {
  color: var(--text-soft);
  font-size: .86rem;
  padding: .8rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,.55);
}

.btn-icon-text,
.btn-linkedin {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  padding: .32rem .55rem;
  font-size: .78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.btn-icon-text:hover,
.btn-linkedin:hover {
  border-color: var(--teal);
  color: var(--navy);
}
.btn-icon-text.danger {
  border-color: #fecdd3;
  color: #be123c;
}
.btn-icon-text.danger:hover {
  background: #fff1f2;
}
.btn-linkedin {
  color: #0a66c2;
}
.btn-linkedin.secondary {
  color: var(--text-mid);
}
.btn-linkedin.disabled {
  opacity: .5;
  cursor: not-allowed;
}

.linkedin-actions {
  display: grid;
  gap: .75rem;
}
.linkedin-action {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 1rem;
  text-align: left;
  cursor: pointer;
}
.linkedin-action i {
  color: #0a66c2;
}
.linkedin-action:hover {
  border-color: #0a66c2;
  transform: translateY(-1px);
}

.portal-empty {
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-soft);
}
.portal-empty i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: .6rem;
}
.portal-empty p {
  margin: 0;
  font-weight: 700;
}

.portal-password-card {
  border-radius: 8px;
  max-width: 480px;
}

@media (max-width: 1180px) {
  .portal-stats,
  .task-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .portal-container {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    position: relative;
  }
  .portal-main {
    padding: 1rem;
  }
  .portal-topbar,
  .portal-section-head {
    align-items: flex-start;
  }
  .portal-stats,
  .task-board,
  .portal-form-grid {
    grid-template-columns: 1fr;
  }
  .portal-span-2 {
    grid-column: auto;
  }
  .portal-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .portal-form-actions .btn-submit,
  .portal-form-actions .btn-secondary {
    width: 100%;
  }
  .sidebar-nav {
    overflow-x: auto;
    padding-bottom: .25rem;
  }
  .sidebar-link {
    white-space: nowrap;
  }
}

/* ============================================================================
   PUBLIC AUTHENTICATION - customer registration and TOTP
   ============================================================================ */

.auth-page [hidden],
.nav-link[hidden],
.mobile-nav-link[hidden] {
  display: none !important;
}

.auth-page-split {
  min-height: 100vh;
  padding: calc(68px + clamp(1.5rem, 5vw, 4rem)) 1rem clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 194, 203, .12), transparent 28rem),
    radial-gradient(circle at 90% 80%, rgba(79, 70, 229, .1), transparent 30rem),
    var(--slate);
}

.auth-shell {
  width: min(1120px, 100%);
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 53, .08);
  border-radius: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: 0 32px 90px rgba(7, 26, 53, .17);
  background: var(--white);
}

.auth-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(0, 194, 203, .13), transparent 48%),
    var(--grad-hero);
}

.auth-intro::before,
.auth-intro::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .09);
}

.auth-intro::before {
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -130px;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025);
}

.auth-intro::after {
  width: 180px;
  height: 180px;
  left: -90px;
  top: 32%;
  box-shadow: 0 0 0 38px rgba(0, 194, 203, .04);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: clamp(3rem, 9vw, 6.5rem);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}

.auth-brand:hover {
  color: var(--teal);
}

.auth-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  padding: 2px;
  background: var(--white);
  border-radius: 50%;
  border: 2px solid rgba(0, 194, 203, .55);
}

.auth-intro h1 {
  max-width: 520px;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.auth-intro > p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, .72);
  font-size: 1.02rem;
}

.auth-benefits {
  display: grid;
  gap: .85rem;
  margin-top: 2.25rem;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 255, 255, .88);
  font-weight: 600;
}

.auth-benefits i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(0, 194, 203, .12);
  border: 1px solid rgba(0, 194, 203, .25);
}

.auth-card-elevated {
  align-self: center;
  max-width: none;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 0;
  box-shadow: none;
}

.auth-kicker,
.news-section-kicker {
  margin: 0 0 .45rem;
  color: var(--teal-deep);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.auth-card-elevated .auth-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -.025em;
}

.auth-card-elevated .auth-subtitle {
  margin: .6rem 0 2rem;
}

.auth-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.auth-note a,
.registration-actions a {
  color: var(--teal-deep);
  font-weight: 800;
}

.auth-note a:hover,
.registration-actions a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.75rem;
  padding: 0;
  border: 0;
  color: var(--text-soft);
  background: transparent;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-back:hover {
  color: var(--teal-deep);
}

.totp-setup {
  display: grid;
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--off-white);
}

.totp-qr {
  width: 204px;
  min-height: 204px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: var(--white);
}

.totp-qr img,
.totp-qr canvas {
  width: 184px !important;
  height: 184px !important;
}

.totp-qr-fallback {
  margin: 0;
  color: var(--text-soft);
  text-align: center;
  font-size: .82rem;
}

.totp-manual {
  min-width: 0;
}

.totp-manual > span {
  display: block;
  margin-bottom: .65rem;
  color: var(--text-soft);
  font-size: .8rem;
  line-height: 1.45;
}

.totp-manual code {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: .65rem;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.btn-copy-secret {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .65rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  color: var(--text-mid);
  background: var(--white);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-copy-secret:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.form-field .totp-input {
  min-height: 58px;
  padding-left: 1.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .55em;
}

.password-hint {
  display: block;
  margin-top: .35rem;
  color: var(--text-soft);
  font-size: .75rem;
  line-height: 1.45;
}

.registration-page {
  min-height: 100vh;
  align-items: flex-start;
  padding: calc(68px + clamp(2rem, 6vw, 5rem)) 1rem clamp(3rem, 7vw, 6rem);
  background:
    linear-gradient(180deg, rgba(7, 26, 53, .035), transparent 22rem),
    var(--slate);
}

.registration-shell {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin: 0 auto;
  align-items: start;
}

.registration-heading {
  position: sticky;
  top: 112px;
}

.auth-brand-dark {
  margin-bottom: 2.75rem;
  color: var(--navy);
}

.registration-heading h1 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  letter-spacing: -.04em;
}

.registration-heading > p:last-child {
  color: var(--text-soft);
}

.registration-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.registration-card fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.registration-card fieldset + fieldset {
  margin-top: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.registration-card legend {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
}

.registration-card legend span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--teal-pale);
  font-size: .8rem;
}

.registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
}

.registration-span-2 {
  grid-column: span 2;
}

.registration-card .form-field label span {
  color: var(--text-soft);
  font-weight: 500;
}

.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: .75rem;
  color: var(--text-mid);
  background: var(--off-white);
  font-size: .82rem;
  line-height: 1.5;
  cursor: pointer;
}

.auth-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: .12rem;
  accent-color: var(--teal-deep);
}

.registration-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.registration-actions .btn-submit {
  width: auto;
  min-width: 255px;
}

.registration-actions > a {
  flex: 1;
  text-align: center;
  font-size: .84rem;
}

.nav-link-register {
  color: var(--teal) !important;
}

/* ============================================================================
   NEWS & EVENTS - public content feed
   ============================================================================ */

.news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(9rem, 15vw, 12rem) 0 clamp(6.5rem, 11vw, 9rem);
  background:
    linear-gradient(118deg, rgba(0, 194, 203, .12), transparent 50%),
    var(--grad-hero);
}

.news-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.news-hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.news-hero-orb-one {
  width: 420px;
  height: 420px;
  top: -180px;
  right: 8%;
  border: 1px solid rgba(0, 194, 203, .25);
  box-shadow: 0 0 0 70px rgba(0, 194, 203, .04);
}

.news-hero-orb-two {
  width: 190px;
  height: 190px;
  left: 7%;
  bottom: -90px;
  background: rgba(79, 70, 229, .14);
}

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

.news-hero h1 {
  max-width: 900px;
  margin-bottom: 1.3rem;
  color: var(--white);
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.news-hero h1 span {
  color: var(--teal);
}

.news-hero-inner > p:last-child {
  max-width: 690px;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.news-social-section {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}

.news-social-wrap {
  display: grid;
  grid-template-columns: minmax(190px, .6fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(7, 26, 53, .08);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.news-social-wrap h2,
.news-feed-head h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.news-platforms {
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  gap: .65rem;
}

.news-platform {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem .35rem;
  border: 1px solid var(--border);
  border-radius: .8rem;
  color: var(--text-mid);
  background: var(--off-white);
  font-size: .72rem;
  font-weight: 700;
  transition: transform var(--t), border-color var(--t), background var(--t);
}

.news-platform i {
  color: var(--navy);
  font-size: 1.25rem;
}

.news-platform:not(.unavailable):hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  color: var(--navy);
  background: var(--teal-pale);
}

.news-platform-facebook i { color: #1877f2; }
.news-platform-linkedin i { color: #0a66c2; }
.news-platform-x i { color: #111827; }
.news-platform-instagram i { color: #c13584; }
.news-platform-tiktok i { color: #111827; }
.news-platform-youtube i { color: #ff0000; }

.news-platform.unavailable {
  opacity: .52;
  cursor: not-allowed;
}

.news-feed-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: var(--off-white);
}

.news-feed-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.news-filters {
  display: inline-flex;
  padding: .3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.news-filter {
  padding: .55rem 1rem;
  border: 0;
  border-radius: var(--r-full);
  color: var(--text-soft);
  background: transparent;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.news-filter:hover,
.news-filter.active {
  color: var(--navy);
  background: var(--teal-pale);
}

.news-feedback {
  color: var(--rose);
  font-size: .86rem;
  font-weight: 700;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 194, 203, .38);
  box-shadow: var(--shadow-md);
}

.news-card-image,
.news-card-motif {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--grad-hero);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.news-card:hover .news-card-image img {
  transform: scale(1.035);
}

.news-card-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 72% 28%, rgba(0, 194, 203, .26), transparent 32%),
    linear-gradient(145deg, #071a35, #16427b);
}

.news-card-event .news-card-motif {
  background:
    radial-gradient(circle at 25% 70%, rgba(255, 183, 3, .24), transparent 30%),
    linear-gradient(145deg, #071a35, #3a2c73);
}

.news-card-motif i {
  color: rgba(255, 255, 255, .9);
  font-size: 2.3rem;
}

.news-card-body {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 1.35rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .9rem;
}

.news-card-meta time {
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 600;
}

.news-type {
  display: inline-flex;
  padding: .28rem .65rem;
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-type-news {
  color: #075985;
  background: #e0f2fe;
}

.news-type-event {
  color: #92400e;
  background: var(--gold-pale);
}

.news-card h3 {
  margin-bottom: .7rem;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.35;
}

.news-card-body > p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 1.25rem;
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: auto;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
}

.news-card-footer > span {
  overflow: hidden;
  color: var(--text-soft);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-card-footer > a {
  flex: 0 0 auto;
  color: var(--teal-deep);
  font-size: .78rem;
  font-weight: 800;
}

.news-card-footer > a:hover {
  color: var(--navy);
}

.news-empty {
  grid-column: 1 / -1;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--r-md);
  color: var(--text-soft);
  background: var(--white);
  text-align: center;
}

.news-empty > i {
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 2rem;
}

.news-empty h3 {
  margin-bottom: .45rem;
  color: var(--navy);
}

.news-empty p {
  margin: 0 auto;
  max-width: 520px;
}

.btn-news-retry {
  margin-top: 1rem;
  padding: .65rem 1.1rem;
  border: 0;
  border-radius: var(--r-full);
  color: var(--navy);
  background: var(--teal);
  font-weight: 800;
  cursor: pointer;
}

.news-card-loading {
  pointer-events: none;
}

.news-card-loading .news-card-image,
.news-card-loading .news-card-body span,
.news-card-loading .news-card-body strong,
.news-card-loading .news-card-body p {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: .4rem;
  background: #e8edf5;
}

.news-card-loading .news-card-body span { width: 35%; height: 20px; }
.news-card-loading .news-card-body strong { width: 85%; height: 24px; margin: 1rem 0; }
.news-card-loading .news-card-body p { width: 100%; height: 13px; margin-bottom: .6rem; }

.news-card-loading .news-card-image::after,
.news-card-loading .news-card-body span::after,
.news-card-loading .news-card-body strong::after,
.news-card-loading .news-card-body p::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  animation: news-shimmer 1.5s infinite;
}

@keyframes news-shimmer {
  100% { transform: translateX(100%); }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .btn-explore {
    display: none;
  }
}

@media (max-width: 920px) {
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .auth-intro {
    padding: 2.25rem;
  }

  .auth-brand {
    margin-bottom: 2.5rem;
  }

  .auth-intro h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .auth-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-benefits li {
    align-items: flex-start;
    font-size: .78rem;
  }

  .registration-shell {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .registration-heading {
    position: static;
  }

  .auth-brand-dark {
    margin-bottom: 2rem;
  }

  .news-social-wrap {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .auth-page-split,
  .registration-page {
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .auth-shell {
    border-radius: 1rem;
  }

  .auth-intro {
    padding: 1.6rem;
  }

  .auth-intro > p:not(.eyebrow),
  .auth-benefits {
    display: none;
  }

  .auth-brand {
    margin-bottom: 2rem;
  }

  .auth-card-elevated {
    padding: 1.6rem;
  }

  .totp-setup {
    grid-template-columns: 1fr;
  }

  .totp-qr {
    margin: 0 auto;
  }

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

  .registration-span-2 {
    grid-column: auto;
  }

  .registration-card {
    padding: 1.25rem;
  }

  .registration-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .registration-actions .btn-submit {
    width: 100%;
    min-width: 0;
  }

  .news-hero {
    padding-bottom: 6rem;
  }

  .news-social-section {
    margin-top: -2.5rem;
  }

  .news-social-wrap {
    width: calc(100% - 1.5rem);
    gap: 1.25rem;
    margin-inline: auto;
  }

  .news-platforms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-feed-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .news-filters {
    width: 100%;
  }

  .news-filter {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card-loading .news-card-image::after,
  .news-card-loading .news-card-body span::after,
  .news-card-loading .news-card-body strong::after,
  .news-card-loading .news-card-body p::after {
    animation: none;
  }
}

/* ─── Developer content console and customer business profile ─────────────── */
.business-summary {
  margin-top: 1.25rem;
}

.business-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.business-summary-grid p {
  display: grid;
  gap: .3rem;
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--off-white);
}

.business-summary-grid strong {
  color: var(--navy);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.content-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.news-card-social-links {
  margin-left: auto;
}

.social-mini-link {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(22, 75, 145, .2);
  border-radius: 50%;
  color: var(--navy-light);
  background: #fff;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.social-mini-link:hover,
.social-mini-link:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  background: var(--navy-light);
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.media-library-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.media-library-card > img,
.media-file-icon {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: var(--off-white);
}

.media-file-icon {
  display: grid;
  place-items: center;
  color: var(--navy-light);
  font-size: 2.5rem;
}

.media-library-card > div:not(.media-file-icon) {
  display: grid;
  gap: .25rem;
  padding: .9rem;
}

.media-library-card > div span {
  color: var(--text-soft);
  font-size: .8rem;
}

.media-library-card > button {
  margin: 0 .9rem .9rem;
}

.portal-notice.success {
  color: #116149;
  border-color: rgba(17, 97, 73, .25);
  background: #ecfdf5;
}

.portal-table code {
  color: var(--navy);
  font-size: .82rem;
}

.portal-role-control {
  display: grid;
  gap: .4rem;
  min-width: 130px;
}

.portal-role-control select {
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: .25rem .4rem;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.portal-role-control .btn-icon-text {
  justify-content: center;
}

@media (max-width: 900px) {
  .media-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .business-summary-grid,
  .media-library-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   COMPLIANCE STATUS
   ============================================================================ */
.compliance-page {
  background: var(--off-white);
  color: var(--text);
}

.compliance-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(8.5rem, 14vw, 11rem) 0 clamp(4.5rem, 8vw, 7rem);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 194, 203, .2), transparent 28rem),
    radial-gradient(circle at 10% 100%, rgba(79, 70, 229, .16), transparent 24rem),
    var(--grad-hero);
}

.compliance-hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 52px 52px;
  content: '';
  pointer-events: none;
}

.compliance-hero-inner,
.compliance-section-inner,
.compliance-contact-inner {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.compliance-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
}

.compliance-hero-content {
  max-width: 760px;
}

.compliance-eyebrow,
.compliance-kicker {
  color: var(--teal);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.compliance-eyebrow {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 1rem;
}

.compliance-hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  letter-spacing: -.055em;
}

.compliance-hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.compliance-review-date {
  display: inline-flex;
  gap: .35rem;
  margin-top: 1.75rem;
  padding: .7rem 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.compliance-hero-mark {
  position: relative;
  display: grid;
  width: clamp(150px, 18vw, 220px);
  aspect-ratio: 1;
  place-items: center;
  padding: .75rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 38% 62% 44% 56% / 53% 38% 62% 47%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25), 0 0 0 12px rgba(255, 255, 255, .04);
  transform: rotate(-5deg);
}

.compliance-hero-mark::after {
  position: absolute;
  right: -1.1rem;
  bottom: 1.4rem;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(48, 200, 214, .75);
  border-radius: 3px;
  content: '';
  transform: rotate(50deg);
}

.compliance-hero-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  transform: rotate(5deg);
}

.compliance-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.compliance-overview,
.compliance-disclosures {
  background: var(--white);
}

.compliance-section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.compliance-section-heading h2,
.compliance-attention-panel h2,
.compliance-planned-panel h2,
.compliance-contact h2 {
  margin: .5rem 0 1rem;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -.035em;
}

.compliance-section-heading > p:last-child,
.compliance-attention-panel > p:last-child,
.compliance-contact p {
  max-width: 720px;
  color: var(--text-soft);
}

.compliance-status-grid,
.compliance-disclosure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.compliance-status-card,
.compliance-disclosure-card,
.compliance-attention-panel,
.compliance-planned-panel {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.compliance-status-card,
.compliance-disclosure-card {
  padding: 1.5rem;
}

.compliance-status-card {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  border-color: rgba(16, 185, 129, .2);
  border-radius: 1.6rem .45rem 1.6rem .45rem;
  background:
    radial-gradient(circle at 100% 0, rgba(16, 185, 129, .08), transparent 9rem),
    var(--white);
}

.compliance-card-index {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border: 1px solid rgba(8, 118, 83, .22);
  border-radius: 50% 50% 50% .45rem;
  color: rgba(8, 118, 83, .62);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .68rem;
  font-weight: 800;
}

.compliance-status-card-caution {
  border-color: rgba(255, 183, 3, .34);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 183, 3, .13), transparent 9rem),
    var(--white);
}

.compliance-status-card-caution .compliance-card-index {
  border-color: rgba(133, 89, 0, .22);
  color: rgba(133, 89, 0, .7);
}

.compliance-status-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: .35rem .7rem;
  border-radius: var(--r-full);
  background: rgba(16, 185, 129, .1);
  color: #087653;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.compliance-status-card-caution .compliance-status-label,
.compliance-status-label-review {
  background: var(--gold-pale);
  color: #855900;
}

.compliance-status-card h3,
.compliance-disclosure-card h3 {
  margin-bottom: .65rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.compliance-status-card p,
.compliance-disclosure-card p,
.compliance-planned-list {
  color: var(--text-soft);
  font-size: .94rem;
}

.compliance-attention {
  background: var(--slate);
}

.compliance-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
}

.compliance-attention-panel,
.compliance-planned-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 2rem .55rem 2rem .55rem;
}

.compliance-attention-panel {
  border-color: rgba(255, 183, 3, .32);
  background:
    radial-gradient(circle at 8% 100%, rgba(255, 183, 3, .09), transparent 13rem),
    #fffdf7;
}

.compliance-attention-panel::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 2.75rem 2.75rem 0;
  border-color: transparent rgba(255, 183, 3, .18) transparent transparent;
  content: '';
}

.compliance-planned-panel {
  border-radius: .55rem 2rem .55rem 2rem;
  background:
    radial-gradient(circle at 100% 100%, rgba(0, 194, 203, .09), transparent 15rem),
    var(--white);
}

.compliance-planned-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.25rem;
}

.compliance-planned-list li {
  position: relative;
  padding-left: 1.6rem;
}

.compliance-planned-list li::before {
  position: absolute;
  top: .5rem;
  left: 0;
  width: .55rem;
  height: .55rem;
  border: 2px solid var(--teal-deep);
  border-radius: 50%;
  content: '';
}

.compliance-disclosure-card {
  position: relative;
  overflow: hidden;
  border-radius: .65rem 1.7rem .65rem 1.7rem;
}

.compliance-disclosure-index {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 159, 170, .28);
  border-radius: 50% 50% 50% .45rem;
  background: rgba(0, 194, 203, .07);
  color: var(--teal-deep);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem;
  font-weight: 800;
}

.compliance-facts {
  display: grid;
  gap: .6rem;
  margin: 1rem 0 1.25rem;
}

.compliance-fact-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: .75rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

.compliance-fact-row dt {
  color: var(--text-soft);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.compliance-fact-row dd {
  color: var(--navy);
  font-weight: 700;
}

.compliance-contact {
  background: var(--navy);
  color: var(--white);
}

.compliance-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.compliance-contact h2 {
  color: var(--white);
}

.compliance-contact p {
  color: rgba(255, 255, 255, .64);
}

.compliance-contact-address {
  display: grid;
  flex: 0 0 auto;
  gap: .45rem;
  font-style: normal;
  text-align: right;
}

.compliance-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.35rem;
  border-radius: var(--r-full);
  background: var(--teal);
  color: var(--navy);
  font-weight: 800;
  transition: transform var(--t), box-shadow var(--t);
}

.compliance-contact-link:hover,
.compliance-contact-link:focus-visible {
  color: var(--navy);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}

.compliance-contact-email {
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
}

@media (max-width: 900px) {
  .compliance-status-grid,
  .compliance-disclosure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compliance-disclosure-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .compliance-hero-inner,
  .compliance-split,
  .compliance-status-grid,
  .compliance-disclosure-grid {
    grid-template-columns: 1fr;
  }

  .compliance-hero-mark {
    width: 128px;
    grid-row: 1;
  }

  .compliance-disclosure-card:first-child {
    grid-column: auto;
  }

  .compliance-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .compliance-contact-address {
    width: 100%;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compliance-contact-link {
    transition: none;
  }

  .compliance-contact-link:hover,
  .compliance-contact-link:focus-visible {
    transform: none;
  }
}

/* ============================================================================
   SOPAIC PUBLIC INFORMATION
   ============================================================================ */
.sopsd-page {
  --sopsd-cyan: #30c8d6;
  --sopsd-green: #31d58b;
  --sopsd-yellow: #ffc857;
  --sopsd-orange: #ff8a4c;
  --sopsd-ink: #071a35;
  --sopsd-stage: #09162b;
  --sopsd-panel: #10233f;
  background: #f5f7fa;
  color: var(--text);
}

.sopsd-container {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
}

.sopsd-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(9rem, 15vw, 12rem) 0 clamp(5rem, 10vw, 8rem);
  background:
    radial-gradient(circle at 82% 24%, rgba(48, 200, 214, .22), transparent 27rem),
    radial-gradient(circle at 18% 100%, rgba(79, 70, 229, .2), transparent 24rem),
    linear-gradient(135deg, #071a35 0%, #102955 58%, #123c5e 100%);
  color: var(--white);
}

.sopsd-hero::before,
.sopsd-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.sopsd-hero::before {
  top: -12rem;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, .018), 0 0 0 10rem rgba(255, 255, 255, .012);
}

.sopsd-hero::after {
  right: -.03em;
  bottom: -.12em;
  left: auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: transparent;
  content: 'SOPAIC';
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(7rem, 20vw, 19rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .72;
  opacity: .5;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .13);
}

.sopsd-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.sopsd-eyebrow {
  margin-bottom: 1rem;
  color: var(--sopsd-cyan);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sopsd-title {
  max-width: 950px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.sopsd-intro {
  max-width: 710px;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.sopsd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.sopsd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
}

.sopsd-button-primary {
  background: var(--sopsd-cyan);
  color: #04252b;
  box-shadow: 0 10px 30px rgba(48, 200, 214, .22);
}

.sopsd-button-primary:hover,
.sopsd-button-primary:focus-visible {
  background: #5edce5;
  color: #04252b;
  box-shadow: 0 16px 38px rgba(48, 200, 214, .32);
  transform: translateY(-2px);
}

.sopsd-button-secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
}

.sopsd-button-secondary:hover,
.sopsd-button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  transform: translateY(-2px);
}

.sopsd-main {
  position: relative;
}

.sopsd-status {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
}

.sopsd-status-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid rgba(255, 183, 3, .36);
  border-radius: 2rem .55rem 2rem .55rem;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 200, 87, .15), transparent 16rem),
    #fffaf0;
  box-shadow: var(--shadow-lg);
}

.sopsd-status-marker {
  width: 13px;
  height: 13px;
  margin-top: .38rem;
  border: 2px solid #b77900;
  border-radius: 3px;
  background: #fffaf0;
  box-shadow: 0 0 0 4px rgba(183, 121, 0, .1);
  transform: rotate(45deg);
}

.sopsd-status-label {
  margin-bottom: .45rem;
  color: #855900;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sopsd-status-title {
  margin-bottom: .55rem;
  color: var(--sopsd-ink);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.sopsd-status-text {
  max-width: 820px;
  color: var(--text-mid);
}

.sopsd-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: .85rem;
}

.sopsd-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #087b85;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(8, 123, 133, .35);
  text-underline-offset: .24rem;
}

.sopsd-text-link:hover,
.sopsd-text-link:focus-visible {
  color: var(--sopsd-ink);
  text-decoration-color: currentColor;
}

.sopsd-section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.sopsd-section-grid,
.sopsd-opportunities-grid,
.sopsd-faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.sopsd-section-heading {
  max-width: 520px;
}

.sopsd-heading {
  color: var(--sopsd-ink);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -.04em;
}

.sopsd-section-copy {
  display: grid;
  gap: 1.1rem;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.sopsd-section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.sopsd-section-summary {
  margin-top: 1rem;
  color: var(--text-soft);
}

.sopsd-overview {
  padding-top: clamp(5.5rem, 10vw, 8rem);
  background: #f5f7fa;
}

.sopsd-capabilities {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(49, 213, 139, .12), transparent 24rem),
    var(--sopsd-stage);
  color: var(--white);
}

.sopsd-capabilities .sopsd-heading {
  color: var(--white);
}

.sopsd-capabilities .sopsd-section-summary {
  color: rgba(255, 255, 255, .62);
}

.sopsd-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.sopsd-feature-card {
  position: relative;
  grid-column: span 4;
  min-height: 230px;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1.7rem .45rem 1.7rem .45rem;
  background:
    radial-gradient(circle at 100% 0, rgba(48, 200, 214, .09), transparent 10rem),
    rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
  transition: transform var(--t), border-color var(--t), background var(--t);
}

.sopsd-feature-card:nth-child(1),
.sopsd-feature-card:nth-child(4),
.sopsd-feature-card:nth-child(5) {
  grid-column: span 5;
}

.sopsd-feature-card:nth-child(2),
.sopsd-feature-card:nth-child(3),
.sopsd-feature-card:nth-child(6) {
  grid-column: span 7;
}

.sopsd-feature-card:nth-child(even) {
  border-radius: .45rem 1.7rem .45rem 1.7rem;
  background:
    radial-gradient(circle at 0 100%, rgba(49, 213, 139, .08), transparent 11rem),
    rgba(255, 255, 255, .055);
}

.sopsd-feature-card:hover {
  border-color: rgba(48, 200, 214, .38);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-4px);
}

.sopsd-feature-number {
  display: block;
  margin-bottom: 2rem;
  color: var(--sopsd-cyan);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.sopsd-feature-title {
  margin-bottom: .65rem;
  color: var(--white);
  font-size: 1.12rem;
}

.sopsd-feature-text {
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
}

.sopsd-process {
  background: var(--white);
}

.sopsd-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.sopsd-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.45rem .4rem 1.45rem .4rem;
  background:
    radial-gradient(circle at 100% 100%, rgba(48, 200, 214, .08), transparent 9rem),
    var(--off-white);
}

.sopsd-step:nth-child(even) {
  border-radius: .4rem 1.45rem .4rem 1.45rem;
}

.sopsd-step-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(4, 37, 43, .18);
  border-radius: 50% 50% 50% .45rem;
  background: rgba(48, 200, 214, .18);
  color: #04252b;
  font-weight: 800;
}

.sopsd-step-title {
  margin: .3rem 0 .55rem;
  color: var(--sopsd-ink);
  font-size: 1.02rem;
}

.sopsd-step-text {
  color: var(--text-soft);
  font-size: .91rem;
}

.sopsd-process > .sopsd-container > .sopsd-button-secondary,
.sopsd-process .sopsd-button-primary {
  border-color: transparent;
}

.sopsd-opportunities {
  background: linear-gradient(135deg, #eafcfd 0%, #f7fbff 52%, #fff8e7 100%);
}

.sopsd-opportunities .sopsd-section-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(48, 200, 214, .25);
  border-radius: 2rem .55rem 2rem .55rem;
  background:
    radial-gradient(circle at 100% 0, rgba(48, 200, 214, .12), transparent 14rem),
    rgba(255, 255, 255, .9);
  box-shadow: 10px 10px 0 rgba(7, 26, 53, .06);
}

.sopsd-opportunities .sopsd-section-copy::after {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(8, 123, 133, .24);
  border-radius: 50%;
  content: '';
}

.sopsd-faq {
  background: var(--white);
}

.sopsd-faq-list {
  display: grid;
  gap: .75rem;
}

.sopsd-faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.sopsd-faq-question {
  position: relative;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  color: var(--sopsd-ink);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  list-style: none;
}

.sopsd-faq-question::-webkit-details-marker {
  display: none;
}

.sopsd-faq-question::after {
  position: absolute;
  top: 50%;
  right: 1.2rem;
  color: #087b85;
  content: '+';
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-50%);
}

.sopsd-faq-item[open] .sopsd-faq-question::after {
  content: '\2212';
}

.sopsd-faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-soft);
}

.sopsd-cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 200, 87, .16), transparent 20rem),
    linear-gradient(135deg, #071a35, #132d55);
  color: var(--white);
}

.sopsd-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.sopsd-cta-copy {
  max-width: 660px;
}

.sopsd-cta .sopsd-heading {
  color: var(--white);
}

.sopsd-cta-copy > p:last-child {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .62);
}

.sopsd-cta .sopsd-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 900px) {
  .sopsd-feature-grid,
  .sopsd-step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sopsd-feature-card:nth-child(n) {
    grid-column: auto;
  }

  .sopsd-step:last-child {
    grid-column: 1 / -1;
  }

  .sopsd-cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .sopsd-cta .sopsd-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .sopsd-section-grid,
  .sopsd-opportunities-grid,
  .sopsd-faq-layout,
  .sopsd-feature-grid,
  .sopsd-step-list {
    grid-template-columns: 1fr;
  }

  .sopsd-step:last-child {
    grid-column: auto;
  }

  .sopsd-actions,
  .sopsd-cta .sopsd-actions {
    width: 100%;
  }

  .sopsd-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sopsd-container {
    width: min(100% - 2rem, 1140px);
  }

  .sopsd-status-panel {
    grid-template-columns: 1fr;
  }

  .sopsd-status-marker {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sopsd-button,
  .sopsd-feature-card {
    transition: none;
  }

  .sopsd-button:hover,
  .sopsd-button:focus-visible,
  .sopsd-feature-card:hover {
    transform: none;
  }
}

/* ============================================================================
   ACCOUNT RECOVERY AND SHARED SIGN-IN
   ============================================================================ */
.auth-page-centered {
  min-height: 100vh;
  padding: calc(68px + clamp(1.5rem, 5vw, 4rem)) 1rem clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 194, 203, .12), transparent 28rem),
    var(--slate);
}

.auth-card-narrow {
  max-width: 480px;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(7, 26, 53, .08);
  box-shadow: 0 24px 64px rgba(7, 26, 53, .14);
}

.auth-card-narrow .auth-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -.02em;
}

.auth-card-narrow .auth-subtitle {
  margin: .6rem 0 1.75rem;
}

.auth-card-narrow .auth-note {
  text-align: left;
}

.auth-status {
  max-width: 520px;
  text-align: center;
}

.auth-status .auth-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin: 1.25rem auto 0;
  border-radius: 50%;
  border: 3px solid var(--teal-pale);
  border-top-color: var(--teal-deep);
  animation: auth-spin 1s linear infinite;
}

.auth-status .auth-note {
  text-align: center;
}

.auth-links {
  margin-top: 1.5rem;
  display: grid;
  gap: .35rem;
}

.auth-links .auth-note {
  margin-top: 0;
}

.password-hint {
  display: block;
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--text-soft);
}

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

@media (prefers-reduced-motion: reduce) {
  .auth-status .auth-title::after { animation: none; }
}

/* ─── Former organisation names, shown muted beside the current name ───────── */
.former-name {
  color: var(--text-soft);
  font-size: .9em;
  font-weight: 400;
}

.sopsd-former-name {
  margin: -.25rem 0 1.25rem;
  color: rgba(255, 255, 255, .62);
  font-size: .95rem;
  font-weight: 500;
}
