  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --brand: #2563eb;
    --brand-light: #38bdf8;
    --purple-pill: #ede9fe;
    --purple-deep: #6366f1;
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --border: rgba(15, 23, 42, 0.08);
    --white: #ffffff;
    --bg-soft: #f8fafc;
    --orange: #ea580c;
    --orange-soft: #fff7ed;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.08);
    --gradient-btn: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
    --gradient-text: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
    --gradient-cta: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
    --footer-bg: #0f172a;
    --brand-mid: #bfdbfe;
    --ink2: #1e293b;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.5;
  }
  body.nav-open { overflow: hidden; }

  /* --- NAV --- */
  nav {
    position: fixed; top: 0; left: 0; right: 0;     z-index: 103;
    display: flex; align-items: center; justify-content: flex-start;
    padding: max(0.85rem, env(safe-area-inset-top)) max(5%, env(safe-area-inset-right)) 0.85rem max(5%, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.25rem; font-weight: 800; color: var(--brand);
    text-decoration: none;
    flex-shrink: 0;
    z-index: 2;
  }
  .logo-mark {
    width: 40px; height: 40px; border-radius: 12px;
    background: var(--brand);
    display: flex; align-items: center; justify-content: center;
    color: white;
  }
  .logo-mark svg { width: 22px; height: 22px; }
  .logo-mark--round { border-radius: 50%; }

  .nav-links {
    position: absolute; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 0.2rem;
    list-style: none; margin: 0; padding: 0;
  }
  .nav-links a {
    font-size: 0.875rem; font-weight: 500; color: var(--ink-soft);
    text-decoration: none;
    padding: 0.45rem 0.85rem; border-radius: 10px;
    transition: color 0.15s, background 0.15s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a.nav-active,
  .nav-links a.active {
    background: #dbeafe;
    color: var(--brand-dark);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #93c5fd;
  }
  .nav-links a.nav-active--text {
    background: transparent;
    color: var(--brand);
    font-weight: 600;
  }
  .nav-links a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

  .nav-actions {
    margin-left: auto;
    display: flex; align-items: center; gap: 0.75rem;
    z-index: 2;
  }
  .nav-signin {
    font-size: 0.875rem; font-weight: 500; color: var(--muted);
    text-decoration: none; padding: 0.45rem 0.5rem;
  }
  .nav-signin:hover { color: var(--ink); }
  .nav-cta {
    background: var(--gradient-btn);
    color: white;
    padding: 0.55rem 1.25rem; border-radius: 100px;
    font-size: 0.875rem; font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    border: none;
    flex-shrink: 0;
  }
  .nav-cta:hover { filter: brightness(1.05); }
  .nav-cta:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

  .nav-toggle {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; margin: 0 0 0 auto;
    border: none; border-radius: 10px; background: transparent;
    cursor: pointer; z-index: 2;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .nav-toggle-bar {
    display: block; width: 22px; height: 2px; margin: 0 auto;
    border-radius: 1px; background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile {
    display: none;
    position: fixed; top: 0; right: 0;
    height: 100vh; height: 100dvh;
    width: min(20rem, 92vw);
    padding: max(5.25rem, calc(env(safe-area-inset-top) + 4rem)) 1.5rem 2rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    background: var(--white);
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.08);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 102;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex-direction: column; gap: 1rem;
  }
  body.nav-open .nav-mobile { transform: translateX(0); }
  .nav-mobile .nav-links {
    display: flex;
    position: static; transform: none;
    flex-direction: column; align-items: stretch; gap: 0; width: 100%;
  }
  .nav-mobile .nav-links li { width: 100%; }
  .nav-mobile .nav-links a {
    display: block; padding: 0.9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-mobile .nav-links a.nav-active { background: transparent; }
  .nav-mobile .nav-actions {
    margin-left: 0; flex-direction: column; width: 100%; gap: 0.75rem;
    padding-top: 0.5rem;
  }
  .nav-mobile .nav-signin { text-align: center; padding: 0.75rem; }
  .nav-mobile .nav-cta { text-align: center; padding: 0.75rem 1.25rem; min-height: 48px; display: flex; align-items: center; justify-content: center; }

  .nav-backdrop {
    display: none; position: fixed; inset: 0; z-index: 98;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0; transition: opacity 0.25s ease;
  }
  body.nav-open .nav-backdrop { display: block; opacity: 1; }

  /* --- HERO --- */
  .hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 3rem;
    padding: 7.5rem 5% 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #eff6ff 0%, #ffffff 45%, #f8fafc 100%);
  }
  .hero::before {
    content: ''; position: absolute; top: -20%; right: -15%;
    width: 60%; max-width: 520px; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-text { position: relative; z-index: 2; max-width: 36rem; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--purple-pill);
    color: var(--ink-soft);
    padding: 8px 14px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
  }
  .hero-badge svg { flex-shrink: 0; opacity: 0.85; }
  .hero h1 {
    font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 1.25rem;
  }
  .hero h1 .line-gradient {
    display: block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-lede {
    font-size: 1.0625rem; line-height: 1.7; color: var(--muted);
    font-weight: 400;
    margin-bottom: 2rem; max-width: 28rem;
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
  .btn-gradient {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gradient-btn);
    color: white;
    padding: 0.85rem 1.5rem; border-radius: 100px;
    font-size: 0.9375rem; font-weight: 600;
    text-decoration: none;
    min-height: 48px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    -webkit-tap-highlight-color: transparent;
  }
  .btn-gradient:hover { filter: brightness(1.06); }
  .btn-gradient:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 1.5rem; border-radius: 100px;
    font-size: 0.9375rem; font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--border);
    background: var(--white);
    min-height: 48px;
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
  }
  .btn-outline:hover { border-color: rgba(37, 99, 235, 0.35); color: var(--brand); }
  .btn-outline:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

  .hero-visual-wrap {
    position: relative; z-index: 2;
    display: flex; justify-content: center; align-items: center;
  }
  .hero-photo {
    width: 100%; max-width: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/5;
    object-fit: cover;
  }
  .hero-stat-card {
    position: absolute;
    bottom: 12%; left: 4%;
    background: var(--white);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 12px;
    max-width: 220px;
  }
  .hero-stat-card .stat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--purple-pill);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
  }
  .hero-stat-card strong { display: block; font-size: 1.125rem; font-weight: 800; color: var(--ink); }
  .hero-stat-card span { font-size: 0.8125rem; color: var(--muted); }

  /* --- SECTIONS --- */
  section { padding: 5rem 5%; }
  .section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
  .section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800; color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
  }
  .section-head p { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }

  /* What is SERA ? intro icons */
  .what-icons {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 900px; margin: 0 auto;
  }
  .what-icon-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .what-icon-card .ic {
    width: 52px; height: 52px; margin: 0 auto 1rem;
    border-radius: 14px;
    background: var(--purple-pill);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem;
  }

  /* Feature grid */
  .features { background: var(--bg-soft); }
  .feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; max-width: 1120px; margin: 0 auto;
  }
  .feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ink); }
  .feature-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; font-weight: 400; }
  .feature-card .fc-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--purple-pill);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; font-size: 1.2rem;
  }

  /* How it works */
  .how-wrap { max-width: 1000px; margin: 0 auto; }
  .how-steps {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch; gap: 0.75rem;
  }
  .how-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
  }
  .how-num {
    font-size: 3rem; font-weight: 800;
    color: rgba(99, 102, 241, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  .how-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
  .how-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
  .how-arrow {
    display: flex; align-items: center; justify-content: center;
    color: #c4b5fd; font-size: 1.5rem; font-weight: 300;
    user-select: none;
  }

  /* Webinars */
  .webinars { background: var(--white); }
  .webinar-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 1100px; margin: 0 auto;
  }
  .web-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 1rem;
  }
  .web-card .wc-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--orange-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
  }
  .web-card h3 { font-size: 1.05rem; font-weight: 700; }
  .web-meta { font-size: 0.8125rem; color: var(--muted); }
  .web-card dl { font-size: 0.8125rem; color: var(--muted); display: grid; gap: 0.35rem; }
  .web-card dt { display: inline; font-weight: 600; color: var(--ink-soft); }
  .web-card dd { display: inline; margin: 0; }
  .btn-orange {
    margin-top: auto;
    display: block; text-align: center;
    background: var(--orange);
    color: white; font-weight: 600; font-size: 0.875rem;
    padding: 0.65rem 1rem; border-radius: 12px;
    text-decoration: none;
  }
  .btn-orange:hover { filter: brightness(1.05); }

  /* Stories */
  .stories { background: var(--bg-soft); }
  .story-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 1100px; margin: 0 auto;
  }
  .story-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  .stars { color: #f97316; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
  .story-card blockquote { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.25rem; }
  .story-user { display: flex; align-items: center; gap: 12px; }
  .story-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gradient-btn);
    color: white; font-weight: 700; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .story-user strong { display: block; font-size: 0.9rem; }
  .story-user span { font-size: 0.8125rem; color: var(--muted); }

  /* CTA banner */
  .cta-banner {
    padding: 4.5rem 5%;
    background: var(--gradient-cta);
    text-align: center;
    color: white;
  }
  .cta-banner h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; margin-bottom: 0.75rem; }
  .cta-banner p { opacity: 0.95; max-width: 36rem; margin: 0 auto 1.75rem; font-size: 1.05rem; }
  .cta-banner .cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
  .cta-banner .btn-white {
    background: white; color: var(--purple-deep);
    padding: 0.85rem 1.5rem; border-radius: 100px;
    font-weight: 700; text-decoration: none; min-height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .cta-banner .btn-ghost {
    border: 2px solid rgba(255,255,255,0.85);
    color: white;
    padding: 0.85rem 1.5rem; border-radius: 100px;
    font-weight: 600; text-decoration: none; min-height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
  }

  /* Dashboard teaser */
  .dash-teaser {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border);
  }
  .dash-inner {
    max-width: 720px; margin: 0 auto; text-align: center;
    padding: 3rem 1rem;
  }
  .dash-inner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
  .dash-inner p { color: var(--muted); margin-bottom: 1.25rem; }

  /* Footer */
  footer {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 3.5rem 5% 2rem;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem; max-width: 1100px; margin: 0 auto 2.5rem;
  }
  .footer-brand .nav-logo { color: white; margin-bottom: 0.75rem; }
  .footer-brand .logo-mark { background: var(--brand); }
  .footer-brand p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); line-height: 1.65; max-width: 280px; }
  .footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
  .footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.08); color: #fff;
    transition: background 0.18s, transform 0.18s;
  }
  .footer-social a:hover { background: var(--brand); transform: translateY(-2px); }
  .footer-social a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .footer-col h4 {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-col a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.9rem; }
  .footer-col a:hover { color: var(--brand-light); }
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 1100px; margin: 0 auto;
  }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
  .hero-text > * { animation: fadeUp 0.65s ease both; }
  .hero-badge { animation-delay: 0.05s; }
  .hero h1 { animation-delay: 0.1s; }
  .hero-lede { animation-delay: 0.15s; }
  .hero-actions { animation-delay: 0.2s; }

  @media (max-width: 900px) {
    /* Only hide the bar row inside <nav>, not the duplicate list in .nav-mobile */
    nav > .nav-links,
    nav > .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .nav-mobile { display: flex; }

    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
      min-height: 100svh;
      padding-top: max(5.5rem, calc(env(safe-area-inset-top) + 4rem));
      gap: 2rem;
    }
    .hero-visual-wrap { max-width: 400px; margin: 0 auto; }
    .hero-stat-card { left: 50%; transform: translateX(-50%); bottom: 8%; width: calc(100% - 2rem); max-width: 260px; }
    .hero-photo { aspect-ratio: 16/11; max-height: 320px; }

    .what-icons { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .how-steps {
      grid-template-columns: 1fr;
    }
    .how-arrow { display: none; }
    .webinar-grid, .story-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  }

  @media (max-width: 640px) {
    section { padding: 3.25rem 5%; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-gradient, .hero-actions .btn-outline { width: 100%; justify-content: center; }
    .cta-banner .cta-row { flex-direction: column; align-items: stretch; }
    .cta-banner .btn-white, .cta-banner .btn-ghost { width: 100%; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-text > * { animation: none; }
    .nav-mobile, .nav-backdrop { transition-duration: 0.01ms; }
    .nav-toggle-bar { transition-duration: 0.01ms; }
  }

  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* --- Subpages: layout --- */
  .page-main { padding-top: 5.25rem; min-height: 60vh; }
  .hub-eyebrow {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    padding: 0.5rem 5% 0;
    max-width: 72rem;
    margin: 0 auto;
  }

  /* Opportunities Hub */
  .hub-hero {
    padding: 2rem 5% 1rem;
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
  }
  .hub-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
  }
  .hub-hero p { color: var(--muted); font-size: 1rem; line-height: 1.65; }

  .hub-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
    justify-content: center;
    max-width: 52rem;
    margin: 0 auto 1.25rem;
  }
  .hub-search {
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.55rem 1rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  .hub-search svg { flex-shrink: 0; color: var(--muted); }
  .hub-search input {
    border: none;
    flex: 1;
    min-width: 0;
    outline: none;
    font: inherit;
    font-size: 0.9375rem;
  }
  .hub-search input::placeholder { color: #94a3b8; }
  .btn-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.55rem 1.1rem;
    background: var(--white);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }
  .btn-filter:hover { border-color: rgba(37, 99, 235, 0.35); }
  .btn-search-solid {
    border: none;
    border-radius: 100px;
    padding: 0.55rem 1.5rem;
    background: var(--brand);
    color: white;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
  }
  .btn-search-solid:hover { filter: brightness(1.05); }

  .filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    max-width: 52rem;
    margin: 0 auto 2rem;
  }
  .filter-tags button {
    border: none;
    border-radius: 100px;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .filter-tags button.is-active {
    background: var(--brand);
    color: white;
  }
  .filter-tags button:not(.is-active) {
    background: #ecfeff;
    color: #0f766e;
  }

  .opp-grid-lg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 5% 3rem;
  }
  .opp-card-lg {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .opp-card-lg:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .opp-card-lg.is-hidden { display: none; }
  .occ-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
  }
  .occ-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .occ-fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
  }
  .occ-fav:hover { transform: scale(1.05); }
  .occ-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--brand);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .occ-body { padding: 1.15rem 1.25rem 1.35rem; }
  .occ-field {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.45rem;
  }
  .occ-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.35rem;
    color: var(--ink);
  }
  .occ-org { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.85rem; }
  .occ-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: var(--muted);
    margin-bottom: 1rem;
  }
  .occ-meta span { display: flex; align-items: flex-start; gap: 0.35rem; }
  .btn-view {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--brand);
    color: white;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
  }
  .btn-view:hover { filter: brightness(1.05); }

  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    padding: 0 5% 4rem;
  }
  .pagination a,
  .pagination button,
  .pagination span {
    min-width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--muted);
  }
  .pagination a:hover,
  .pagination button:hover { color: var(--brand); }
  .pagination .is-current {
    border: 1px solid var(--border);
    color: var(--ink);
    font-weight: 700;
  }
  .pagination .page-link {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .opportunities-page > nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 103;
  }
  .opportunities-page .page-main {
    padding-top: 5.75rem;
  }
  .opportunities-page .pagination {
    margin-top: 1.75rem;
    padding-top: 0;
  }

  /* Webinar detail */
  .webinar-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 5% 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
  .web-live-badge {
    display: inline-block;
    background: var(--brand);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 1rem;
  }
  .webinar-detail h1 {
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }
  .webinar-detail h1 em {
    color: var(--brand);
    font-style: normal;
    display: block;
    font-size: 1.15em;
    margin-top: 0.15em;
  }
  .webinar-detail .lead {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  .info-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .info-mini {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    background: var(--white);
  }
  .info-mini .lbl {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.35rem;
  }
  .info-mini .val { font-size: 1rem; font-weight: 700; }
  .info-mini svg { color: var(--brand); margin-bottom: 0.35rem; }

  .reg-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    background: var(--white);
  }
  .reg-head {
    background: var(--brand);
    color: white;
    padding: 1.25rem 1.5rem;
  }
  .reg-head h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.25rem; }
  .reg-head p { font-size: 0.8125rem; opacity: 0.95; }
  .reg-body { padding: 1.5rem; }
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .form-group { margin-bottom: 0.85rem; }
  .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.35rem;
  }
  .form-group input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font: inherit;
    font-size: 0.9375rem;
  }
  .form-group input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  }
  .btn-reg {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: var(--brand);
    color: white;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.85rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .btn-reg:hover { filter: brightness(1.05); }

  .webinar-extras {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5% 3rem;
  }
  .dual-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .dual-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--white);
  }
  .dual-card .dc-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
  }
  .dual-card .dc-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.25rem;
  }
  .dual-card .dc-title { font-size: 1rem; font-weight: 700; }

  .learn-list {
    margin-bottom: 2.5rem;
  }
  .learn-list h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }
  .learn-list ul { list-style: none; }
  .learn-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--ink-soft);
  }
  .learn-list .check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    font-weight: 700;
  }

  .past-web-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .past-web-head h2 { font-size: 1.35rem; font-weight: 800; }
  .past-web-head a { font-size: 0.875rem; font-weight: 600; color: var(--brand); text-decoration: none; }
  .past-web-head a:hover { text-decoration: underline; }

  .past-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .past-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
  }
  .past-card .thumb {
    position: relative;
    aspect-ratio: 16 / 10;
  }
  .past-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .past-card .rec {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 6px;
  }
  .past-card .pc-body { padding: 1rem 1.1rem 1.25rem; }
  .past-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
  .past-card .pc-meta { font-size: 0.8125rem; color: var(--muted); }

  /* Dashboard page */
  .dashboard-page { background: #f8fafc; }
  .dashboard-page .page-main { padding-top: 5.5rem; }
  .dash-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.75rem 5% 4rem;
  }
  .dash-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .dash-title {
    font-size: clamp(1.85rem, 2.8vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  .dash-sub { margin-top: 0.4rem; color: var(--muted); }
  .dash-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
  }
  .dash-search-btn {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--ink-soft);
    border-radius: 100px;
    height: 40px;
    padding: 0 1rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
  }
  .dash-search-btn svg { color: var(--muted); }
  .dash-primary-btn {
    border: none;
    border-radius: 100px;
    background: var(--brand);
    color: white;
    height: 40px;
    padding: 0 1rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
  }

  .stat-grid {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
  }
  .stat-box {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem 1.05rem;
    box-shadow: var(--shadow-sm);
  }
  .stat-box--lav { background: #eef2ff; }
  .stat-box--mint { background: #f0fdfa; }
  .stat-box--sage { background: #ecfdf5; }
  .stat-box--sand { background: #fffbeb; }
  .stat-box .t { color: #475569; font-size: 0.83rem; font-weight: 500; }
  .stat-box .k { font-size: 2rem; font-weight: 800; line-height: 1; margin: 0.45rem 0 0.3rem; }
  .stat-box .k--green { color: #16a34a; }
  .stat-box .s { color: var(--muted); font-size: 0.86rem; }

  .dash-split {
    margin-top: 1.15rem;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
    gap: 1rem;
    align-items: start;
  }
  .dash-tabs {
    display: inline-flex;
    margin-bottom: 0.85rem;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.18rem;
    gap: 0.2rem;
  }
  .dash-tabs button {
    border: none;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    height: 30px;
    padding: 0 1rem;
    border-radius: 9px;
    cursor: pointer;
  }
  .dash-tabs .is-active {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(15,23,42,0.08);
  }

  .panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }
  .panel h3 {
    font-size: 1.15rem;
    font-weight: 800;
    padding: 1.05rem 1rem 0.75rem;
  }
  .app-row {
    margin: 0 1rem 0.9rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
    background: var(--white);
  }
  .app-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
  }
  .app-row strong { font-size: 1rem; display: block; }
  .app-row .meta { color: #64748b; font-size: 0.88rem; margin-top: 0.2rem; }
  .app-date { text-align: right; font-size: 0.92rem; font-weight: 600; color: #0f172a; }
  .app-date small { display: block; font-size: 0.76rem; color: #94a3b8; font-weight: 500; margin-top: 0.12rem; }
  .chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.72rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 0.6rem;
  }
  .chip-blue { background: #dbeafe; color: #1d4ed8; }
  .chip-amber { background: #fef3c7; color: #92400e; }
  .chip-green { background: #ccfbf1; color: #0f766e; }
  .chip-gray { background: #f1f5f9; color: #475569; }

  .right-stack { display: grid; gap: 1rem; }
  .event-panel { padding-bottom: 0.7rem; }
  .event-list { list-style: none; padding: 0.2rem 1rem 0.6rem; }
  .event-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    padding: 0.58rem 0;
  }
  .event-dot {
    color: #2563eb;
    margin-top: 0.12rem;
    font-size: 0.85rem;
  }
  .event-list strong { font-size: 0.92rem; }
  .event-list small { display: block; color: var(--muted); margin-top: 0.12rem; }
  .event-link {
    display: inline-block;
    margin: 0.4rem 1rem 0.2rem;
    color: var(--brand);
    font-size: 0.86rem;
    text-decoration: none;
    font-weight: 600;
  }

  .profile-boost {
    background: var(--gradient-btn);
    color: white;
    border-radius: 18px;
    padding: 1.05rem 1rem;
  }
  .profile-boost h4 { font-size: 1.05rem; font-weight: 700; }
  .profile-boost .pct { font-size: 2.25rem; font-weight: 800; line-height: 1; margin: 0.6rem 0 0.4rem; }
  .boost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    opacity: 0.92;
    margin-bottom: 0.45rem;
  }
  .boost-bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,0.35); overflow: hidden; }
  .boost-bar > span { display: block; height: 100%; width: 85%; background: white; border-radius: 100px; }
  .boost-list { list-style: none; padding: 0.7rem 0 0.65rem; }
  .boost-list li { font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.35rem; }
  .boost-list li::before { content: '?'; }
  .boost-list .done::before { content: '?'; }
  .boost-action {
    border: none;
    width: 100%;
    border-radius: 100px;
    background: #bfdbfe;
    color: #0f172a;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.52rem 0.9rem;
    cursor: pointer;
  }

  @media (max-width: 900px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-split { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .stat-grid { grid-template-columns: 1fr; }
    .dash-actions { width: 100%; }
    .dash-search-btn, .dash-primary-btn { flex: 1 1 auto; justify-content: center; }
    .app-row { grid-template-columns: 1fr; }
    .app-date { text-align: left; }
    .chip { margin-left: 0; width: fit-content; }
  }

  /* Profile page */
  .profile-page { background: var(--bg-soft); padding-bottom: 4rem; }
  .profile-head {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 5% 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .profile-head h1 { font-size: 1.75rem; font-weight: 800; }
  .profile-head p { color: var(--muted); font-size: 0.9375rem; margin-top: 0.35rem; }
  .btn-edit {
    border: none;
    border-radius: 100px;
    padding: 0.55rem 1.25rem;
    background: var(--purple-deep);
    color: white;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
  }
  .btn-edit:hover { filter: brightness(1.08); }

  .profile-hero-card {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    padding: 0 5%;
  }
  .ph-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: visible;
  }
  .ph-banner {
    height: 140px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, #6366f1 0%, #2563eb 50%, #38bdf8 100%);
  }
  .ph-inner {
    padding: 0 1.5rem 1.5rem;
    position: relative;
    margin-top: -56px;
  }
  .ph-avatar {
    width: 112px;
    height: 112px;
    border-radius: 16px;
    background: var(--gradient-btn);
    color: white;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
  }
  .ph-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
    justify-content: space-between;
  }
  .ph-info h2 { font-size: 1.35rem; font-weight: 800; margin-top: 0; }
  .ph-info .role { color: var(--muted); font-size: 0.9375rem; margin-top: 0.25rem; }
  .ph-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted);
  }
  .ph-contact span { display: flex; align-items: center; gap: 0.35rem; }
  .ph-social {
    display: flex;
    gap: 0.5rem;
  }
  .ph-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
  }

  .ph-progress {
    margin-top: 1.5rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: #f1f5f9;
    border: 1px solid var(--border);
  }
  .ph-progress .row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  .ph-progress .row span:last-child { color: var(--purple-deep); }
  .ph-bar {
    height: 10px;
    border-radius: 100px;
    background: #e2e8f0;
    overflow: hidden;
  }
  .ph-bar > span {
    display: block;
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, #6366f1, #38bdf8);
  }
  .ph-progress .hint {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.5rem;
  }

  .profile-sections {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .pro-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  .pro-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }
  .pro-card h3 .hi {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .hi-purple { background: var(--purple-pill); color: #5b21b6; }
  .hi-blue { background: #dbeafe; color: #1d4ed8; }
  .hi-orange { background: #ffedd5; color: #c2410c; }
  .hi-green { background: #dcfce7; color: #166534; }

  .edu-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  .edu-row .edu-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--purple-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #5b21b6;
  }
  .edu-row strong { display: block; font-size: 1rem; }
  .edu-row .org { font-size: 0.9rem; color: var(--ink); }
  .edu-row .meta { font-size: 0.8125rem; color: var(--muted); margin-top: 0.35rem; }
  .exp-desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.55; }

  .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .skill-tags span {
    background: #f1f5f9;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-soft);
  }
  /* ── Editable profile sections ── */
  .pro-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
  }
  .pro-card-header h3 { margin-bottom: 0; }

  .btn-add {
    border: none;
    background: var(--brand);
    color: white;
    border-radius: 8px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
  }
  .btn-add:hover { filter: brightness(1.1); }
  .btn-add:disabled { opacity: 0.5; cursor: default; }

  .pro-empty {
    color: var(--muted);
    font-size: 0.875rem;
    padding: 0.25rem 0 0.5rem;
  }

  .pro-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
  }
  .pro-item:last-child { border-bottom: none; }
  .pro-item-info { flex: 1; min-width: 0; }
  .pro-item-title { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
  .pro-item-sub { font-size: 0.8125rem; color: var(--muted); margin-top: 0.15rem; }
  .pro-item-desc { font-size: 0.8125rem; color: var(--ink-soft); margin-top: 0.3rem; line-height: 1.5; }

  .btn-delete {
    border: none;
    background: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    margin-left: 0.5rem;
    flex-shrink: 0;
  }
  .btn-delete:hover { background: #fef2f2; color: #dc2626; }

  .pro-form {
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1rem;
  }
  .pro-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .pro-form-full { grid-column: 1 / -1; }
  .pro-form-field { display: flex; flex-direction: column; gap: 0.3rem; }
  .pro-form-field label {
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .pro-form-field input,
  .pro-form-field textarea {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font: inherit;
    font-size: 0.875rem;
    color: var(--ink);
    background: white;
    transition: border-color 0.15s;
  }
  .pro-form-field input:focus,
  .pro-form-field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  }
  .pro-form-field textarea { resize: vertical; min-height: 72px; }
  .pro-form-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

  .btn-save {
    border: none;
    background: var(--brand);
    color: white;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
  }
  .btn-save:hover { filter: brightness(1.08); }

  .btn-cancel {
    border: 1px solid var(--border);
    background: white;
    color: var(--ink-soft);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
  }
  .btn-cancel:hover { background: var(--bg-soft); }

  /* Skills inline add */
  .skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  .skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.3rem 0.65rem 0.3rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
  }
  .skill-tag button {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1;
    padding: 0;
  }
  .skill-tag button:hover { color: #dc2626; }
  .pro-skill-add {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  .pro-skill-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font: inherit;
    font-size: 0.875rem;
    color: var(--ink);
    background: white;
    transition: border-color 0.15s;
  }
  .pro-skill-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  }

  @media (max-width: 900px) {
    .opp-grid-lg { grid-template-columns: repeat(2, 1fr); }
    .webinar-detail { grid-template-columns: 1fr; }
    .info-dual { grid-template-columns: 1fr; }
    .dual-cards { grid-template-columns: 1fr; }
    .past-grid { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .hub-search-row { flex-direction: column; align-items: stretch; }
    .btn-search-solid, .btn-filter { width: 100%; justify-content: center; }
  }

  @media (max-width: 640px) {
    .opp-grid-lg { grid-template-columns: 1fr; }
  }

  /* ── NAV AUTH STATES ── */
  #nav-guest { display: flex; align-items: center; gap: 0.75rem; }
  .nav-user-menu { position: relative; display: flex; align-items: center; }
  #nav-user { display: none; }

  .nav-avatar-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); border: 2px solid transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; color: white;
    font-family: inherit; position: relative; overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s; flex-shrink: 0;
  }
  .nav-avatar-btn:hover { box-shadow: 0 0 0 3px rgba(37,99,235,0.2); }
  .nav-avatar-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.35); }
  #nav-avatar-photo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }

  .nav-user-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    min-width: 215px; background: white;
    border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15,23,42,0.12);
    padding: 0.5rem; z-index: 200;
  }
  .nav-dd-info {
    padding: 0.5rem 0.75rem 0.75rem;
    border-bottom: 1px solid var(--border); margin-bottom: 0.35rem;
  }
  .nav-dd-name  { display: block; font-weight: 600; font-size: 0.875rem; color: var(--ink); }
  .nav-dd-email {
    display: block; font-size: 0.75rem; color: var(--muted); margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px;
  }
  .nav-dd-item {
    display: flex; align-items: center; gap: 8px;
    padding: 0.55rem 0.75rem; border-radius: 8px;
    font-size: 0.875rem; font-weight: 500; color: var(--ink-soft);
    text-decoration: none; border: none; background: none;
    width: 100%; cursor: pointer; font-family: inherit;
    transition: background 0.15s, color 0.15s; text-align: left;
  }
  .nav-dd-item:hover { background: var(--bg-soft); color: var(--ink); }
  .nav-dd-signout { color: #dc2626; margin-top: 0.2rem; }
  .nav-dd-signout:hover { background: #fef2f2; color: #b91c1c; }

  /* Mobile nav auth zones */
  .nav-mobile-name {
    display: block; font-weight: 600; font-size: 0.9375rem;
    padding: 0.75rem 0; color: var(--ink);
    border-bottom: 1px solid var(--border); margin-bottom: 0.5rem;
  }
  #nav-mobile-guest,
  #nav-mobile-user { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
  #nav-mobile-user { display: none; }
  #nav-mobile-user .nav-dd-item {
    font-size: 1rem; padding: 0.75rem 0; border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
