:root{--bg-primary:#fff;--bg-secondary:#f4f4f5;--text-primary:#000;--text-secondary:#52525b;--text-tertiary:#a1a1aa;--border-color:#e4e4e7;--accent:#171717;--accent-hover:#3f3f46;--gradient-primary:linear-gradient(135deg,#000 0%,#a1a1aa 100%);--font-sans:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-serif:'Playfair Display',Georgia,"Times New Roman",serif;--container-max:1280px;--container-padding:2rem}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:var(--font-sans);background:var(--bg-primary);color:var(--text-primary);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
.container{max-width:var(--container-max);margin:0 auto;padding:0 var(--container-padding)}
h1,h2,h3,h4,h5,h6{line-height:1.2;letter-spacing:-0.03em}
.btn{display:inline-block;padding:0.75rem 1.5rem;font-size:0.875rem;font-weight:500;border-radius:9999px;cursor:pointer;transition:all 0.2s ease;border:none;font-family:inherit}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-hover);transform:translateY(-1px)}
.btn-outline{background:transparent;color:var(--text-primary);border:1px solid var(--border-color)}
.btn-outline:hover{border-color:var(--text-primary)}
.reveal{opacity:0;transform:translateY(28px);transition:opacity 0.9s cubic-bezier(0.2,0.8,0.2,1),transform 0.9s cubic-bezier(0.2,0.8,0.2,1)}
.reveal.visible{opacity:1;transform:translateY(0)}

.mega-dropdown{position:static}
.mega-menu{display:none;position:fixed;top:4.5rem;left:0;width:100%;background:#fff;border-bottom:1px solid var(--border-color);box-shadow:0 8px 32px rgba(0,0,0,0.08);z-index:99;padding:0.8rem 0 2rem;margin-top:-1px;margin-top:-1px}
.mega-dropdown:hover .mega-menu,.mega-menu:hover{display:block}
.mega-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:0;max-width:var(--container-max);margin:0 auto;padding:0 5%}
.mega-col{padding:0 1.25rem;border-right:1px solid var(--border-color);cursor:pointer;transition:background 0.15s}
.mega-col:first-child{padding-left:0}.mega-col:last-child{border-right:none}
.mega-col a{display:block;text-decoration:none;color:inherit}
.mega-col:hover{background:var(--bg-secondary);border-radius:8px}
.mega-col-icon{width:36px;height:36px;margin-bottom:0.75rem;display:flex;align-items:center;justify-content:center;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color)}
.mega-col-icon svg{width:18px;height:18px}
.mega-col h4{font-size:0.8125rem;font-weight:600;color:var(--text-primary);margin-bottom:0.3rem;letter-spacing:-0.01em}
.mega-col p{font-size:0.75rem;color:var(--text-secondary);line-height:1.5}
.mega-col ul{list-style:none;margin-top:0.5rem}
.mega-col ul li{font-size:0.72rem;color:var(--text-tertiary);line-height:1.8}
.mega-col ul li::before{content:'·';margin-right:0.35rem}
.navbar{position:fixed;top:0;width:100%;z-index:100;background:rgba(255,255,255,0.85);backdrop-filter:blur(12px);border-bottom:1px solid rgba(228,228,231,0.5)}
.nav-container{display:flex;justify-content:space-between;align-items:center;padding:0 5%;height:4.5rem;max-width:var(--container-max);margin:0 auto}
.header-logo{height:32px;width:auto;display:block;max-width:140px}
.nav-links{display:flex;align-items:center;gap:1.75rem}
.nav-links a{font-size:0.875rem;color:var(--text-secondary);font-weight:500;transition:color 0.2s;text-decoration:none}
.nav-links a:hover,.nav-links a.active{color:var(--text-primary)}
.nav-dropbtn{display:flex;align-items:center;gap:0.3rem;cursor:pointer;font-size:0.875rem;color:var(--text-secondary);font-weight:500;padding-bottom:0.3rem;margin-bottom:-0.3rem;border:none;background:none;font-family:inherit}
.chevron{font-size:0.65rem;transition:transform 0.2s;display:inline-block}
.dropdown:hover .chevron{transform:rotate(180deg)}
.dropdown{position:relative}
.dropdown-content{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);background:var(--bg-primary);min-width:220px;box-shadow:0 10px 25px rgba(0,0,0,0.1);border-radius:0.5rem;padding:0.5rem 0;z-index:200;border:1px solid var(--border-color)}
.dropdown:hover .dropdown-content{display:block;animation:fadeDrop 0.2s ease}
@keyframes fadeDrop{from{opacity:0;transform:translateX(-50%) translateY(8px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}
.dropdown-content a{display:block;padding:0.75rem 1.5rem;font-size:0.875rem;color:var(--text-secondary);font-weight:400;text-decoration:none}
.dropdown-content a:hover{background:var(--bg-secondary);color:var(--text-primary)}
.nav-cta-btn{padding:0.45rem 1.1rem!important;border:1.5px solid var(--border-color)!important;border-radius:6px!important;color:var(--text-primary)!important}
.nav-cta-btn:hover{border-color:var(--text-primary)!important}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:0.5rem}
.burger span{display:block;width:22px;height:2px;background:var(--text-primary);border-radius:2px}
@media(max-width:768px){.nav-links{display:none;position:fixed;top:4.5rem;left:0;width:100%;background:var(--bg-primary);flex-direction:column;gap:0;border-bottom:1px solid var(--border-color);padding:1rem 0;z-index:98}.nav-links.open{display:flex}.nav-links a{padding:0.875rem 5%;width:100%}.nav-dropbtn{padding:0.875rem 5%;width:100%;margin-bottom:0}.mega-menu{position:static;box-shadow:none;border:none;padding:0.5rem 0}.mega-grid{grid-template-columns:1fr 1fr;padding:0 5%;gap:0.5rem}.mega-col{border:1px solid var(--border-color);border-radius:8px;margin-bottom:0.25rem}.dropdown-content{position:static;transform:none;box-shadow:none;border:none;padding-left:1.5rem;background:var(--bg-secondary)}.burger{display:flex}}

.site-footer{background:var(--bg-primary);border-top:1px solid var(--border-color);padding:5rem 0 2.5rem}
.footer-grid{max-width:var(--container-max);margin:0 auto;padding:0 var(--container-padding);display:grid;grid-template-columns:1fr max-content max-content;gap:5rem;margin-bottom:3.5rem}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;gap:2.5rem}.footer-brand-col{grid-column:1/-1}}
@media(max-width:500px){.footer-grid{grid-template-columns:1fr;gap:2.5rem}}
.footer-logo{font-size:1.25rem;font-weight:700;letter-spacing:-0.04em;margin-bottom:0.75rem}

.footer-col h4{font-size:0.85rem;font-weight:600;color:var(--text-primary);margin-bottom:1.2rem}
.footer-links-list{display:flex;flex-direction:column;gap:0.75rem}
.footer-links-list a{font-size:0.85rem;color:var(--text-secondary);transition:color 0.2s}
.footer-links-list a:hover{color:var(--text-primary)}
.footer-bottom{max-width:var(--container-max);margin:0 auto;padding:2rem var(--container-padding) 0;border-top:none;text-align:center;font-size:0.78rem;color:var(--text-tertiary)}

.page-hero{padding:10rem 0 6rem;background:var(--bg-secondary);border-bottom:1px solid var(--border-color);text-align:center;position:relative;overflow:hidden}
.page-hero-bg{position:absolute;inset:0;opacity:0.5;pointer-events:none}
.page-hero-inner{position:relative;z-index:1}
.page-eyebrow{font-size:0.7rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--text-tertiary);margin-bottom:1.25rem;display:block}
.page-hero h1{font-size:clamp(2.5rem,5vw,4rem);font-weight:700;letter-spacing:-0.04em;margin-bottom:1.5rem;background:var(--gradient-primary);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.page-hero p{font-size:1.1rem;color:var(--text-secondary);max-width:600px;margin:0 auto;line-height:1.7}

.featured-section{padding:6rem 0;background:var(--bg-primary)}
.featured-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:900px){.featured-grid{grid-template-columns:2fr 1fr}}
.featured-main{background:var(--bg-secondary);border-radius:1.5rem;border:1px solid var(--border-color);overflow:hidden;cursor:pointer;transition:transform 0.3s,box-shadow 0.3s;display:flex;flex-direction:column;text-decoration:none;color:inherit}
.featured-main:hover{transform:translateY(-4px);box-shadow:0 20px 40px -10px rgba(0,0,0,0.1)}
.featured-img{aspect-ratio:16/7;display:flex;align-items:center;justify-content:center;font-size:3.5rem;background:linear-gradient(135deg,#ede9fe,#dbeafe)}
.featured-body{padding:2rem}
.feat-meta{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--text-tertiary);margin-bottom:0.75rem}
.featured-body h2{font-size:clamp(1.4rem,2.5vw,2rem);font-weight:600;letter-spacing:-0.03em;margin-bottom:1rem}
.featured-body p{font-size:0.95rem;color:var(--text-secondary);line-height:1.7;margin-bottom:1.5rem}
.read-link{font-size:0.85rem;font-weight:600;color:var(--text-primary)}
.featured-sidebar{display:flex;flex-direction:column;gap:1.25rem}
.side-card{background:var(--bg-secondary);border-radius:1rem;border:1px solid var(--border-color);padding:1.5rem;cursor:pointer;transition:transform 0.25s,box-shadow 0.25s}
.side-card:hover{transform:translateY(-3px);box-shadow:0 10px 20px -8px rgba(0,0,0,0.08)}
.side-accent{height:3px;border-radius:2px;margin-bottom:1rem}
.side-meta{font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:var(--text-tertiary);margin-bottom:0.5rem}
.side-card h4{font-size:0.95rem;font-weight:600;letter-spacing:-0.02em;margin-bottom:0.5rem}
.side-card p{font-size:0.82rem;color:var(--text-secondary);line-height:1.6}
.filter-section{padding:0 0 6rem}
.filter-bar{display:flex;gap:0.5rem;flex-wrap:wrap;margin-bottom:3rem}
.filter-btn{padding:0.5rem 1.25rem;border-radius:99px;font-size:0.825rem;font-weight:500;border:1.5px solid var(--border-color);background:transparent;color:var(--text-secondary);cursor:pointer;transition:all 0.2s;font-family:inherit}
.filter-btn:hover{border-color:var(--text-secondary);color:var(--text-primary)}
.filter-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.cards-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:640px){.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.cards-grid{grid-template-columns:repeat(3,1fr)}}
.article-card{background:var(--bg-secondary);border-radius:1rem;overflow:hidden;border:1px solid var(--border-color);transition:transform 0.3s,box-shadow 0.3s;cursor:pointer;display:flex;flex-direction:column;text-decoration:none;color:inherit}
.article-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px -8px rgba(0,0,0,0.1)}
.article-img{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;font-size:2rem}
.c1{background:linear-gradient(135deg,#ede9fe,#c4b5fd)}.c2{background:linear-gradient(135deg,#dbeafe,#93c5fd)}.c3{background:linear-gradient(135deg,#dcfce7,#86efac)}.c4{background:linear-gradient(135deg,#fef9c3,#fde68a)}.c5{background:linear-gradient(135deg,#fce7f3,#f9a8d4)}.c6{background:linear-gradient(135deg,#e0f2fe,#7dd3fc)}
.article-body{padding:1.5rem;flex:1;display:flex;flex-direction:column}
.article-meta{font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:var(--text-tertiary);margin-bottom:0.75rem}
.article-card h4{font-size:1.05rem;font-weight:600;letter-spacing:-0.02em;margin-bottom:0.5rem}
.article-card p{font-size:0.875rem;color:var(--text-secondary);line-height:1.6;flex:1}
.read-more{display:inline-block;font-size:0.8rem;font-weight:600;margin-top:1.25rem;color:var(--text-primary)}
.newsletter-section{padding:7rem 0;background:#0b0e13}
.newsletter-inner{max-width:600px;margin:0 auto;text-align:center}
.newsletter-inner h2{font-size:clamp(1.75rem,3vw,2.5rem);color:#f4f4f5;font-weight:700;letter-spacing:-0.04em;margin-bottom:1rem}
.newsletter-inner p{font-size:1rem;color:#a1a1aa;margin-bottom:2.5rem}
.nl-form{display:flex;gap:0.75rem;max-width:420px;margin:0 auto;flex-wrap:wrap}
.nl-input{flex:1;min-width:200px;padding:0.85rem 1.25rem;border-radius:99px;border:1px solid #27272a;background:#1c1c1e;color:#f4f4f5;font-size:0.9rem;font-family:inherit}
.nl-input::placeholder{color:#52525b}
.nl-input:focus{outline:none;border-color:#52525b}
.btn-white{background:#fff;color:#000;padding:0.85rem 1.75rem;border-radius:99px;font-size:0.9rem;font-weight:600;cursor:pointer;border:none;font-family:inherit;transition:all 0.2s}
.btn-white:hover{background:#f4f4f5;transform:translateY(-1px)}


/* ── v20 additions ── */

/* Products mega overview bar */
.mega-overview-bar{max-width:var(--container-max);margin:0 auto;padding:0;border-bottom:1px solid var(--border-color);margin-bottom:1rem}
.mega-overview-link{display:flex;width:100%;box-sizing:border-box;padding:0.6rem 5% 1rem;align-items:center;gap:0.5rem;font-size:0.875rem;font-weight:600;color:var(--text-primary);text-decoration:none;transition:gap 0.2s}
.mega-overview-link:hover{gap:0.85rem}
.mega-ov-arrow{font-size:1.05rem;color:var(--text-secondary)}

/* Active nav link */
.nav-links a.active{color:var(--text-primary)!important;font-weight:700}
.nav-dropbtn.active{color:var(--text-primary)!important;font-weight:700}

/* Mobile burger — mega menu toggle */
@media(max-width:768px){
  .mega-menu{display:none!important}
  .mega-menu.m-open{display:block!important}
  .nav-dropbtn{display:flex;width:100%;padding:0.875rem 5%;justify-content:space-between;box-sizing:border-box;background:none;border:none;font-family:inherit;font-size:0.875rem;color:var(--text-secondary);font-weight:500;cursor:pointer}
  .nav-dropbtn.active{color:var(--text-primary);font-weight:700}
  .nav-dropbtn .chevron{transition:transform 0.22s}
  .nav-dropbtn.m-open .chevron{transform:rotate(180deg)}
}

/* Footer social icons */
.footer-socials{display:flex;gap:0.6rem;margin-top:1.2rem}
.footer-social-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-color);border-radius:8px;color:var(--text-secondary);text-decoration:none;transition:border-color 0.2s,color 0.2s}
.footer-social-icon:hover{border-color:var(--text-primary);color:var(--text-primary)}
.footer-social-icon svg{width:15px;height:15px}

/* Footer right-aligned nav cols */
.footer-col-nav{text-align:right}
.footer-col-nav h4{text-align:right}
.footer-col-nav .footer-links-list{align-items:flex-end}

/* About: Q&A keyword highlight */
.qa-highlight{background:rgba(129,216,208,0.13);padding:0.05em 0.28em;border-radius:4px;border-bottom:1.5px solid rgba(129,216,208,0.55);font-style:normal;color:var(--text-primary)}
.identity-kw{background:linear-gradient(to right,rgba(129,216,208,0.18),rgba(129,216,208,0.06));padding:0.1em 0.35em;border-radius:6px;border-bottom:2px solid rgba(129,216,208,0.5);font-style:normal;font-weight:700;color:var(--text-primary)}

/* About: Journey NOW pulse */
.tstage.now .tstage-dot{background:#81d8d0!important;border-color:#81d8d0!important;animation:nowGlow 2s ease-in-out infinite}
@keyframes nowGlow{
  0%,100%{box-shadow:0 0 0 3px rgba(129,216,208,0.28),0 0 10px rgba(129,216,208,0.55)}
  50%{box-shadow:0 0 0 8px rgba(129,216,208,0.12),0 0 24px rgba(129,216,208,0.80),0 0 42px rgba(129,216,208,0.28)}
}
.tstage.now .tstage-tag{background:rgba(129,216,208,0.12)!important;color:#1a9e96!important;border-color:rgba(129,216,208,0.6)!important}
.tstage.now .tstage-content h4{color:#1a9e96!important}
.tstage.now .tstage-pulse{color:#1a9e96}

/* Team diagram enlarged */
.hub-wrap{max-width:820px!important}


/* ── v20 patch ── */

/* Burger button — works regardless of class name used in original CSS */
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;padding:0.4rem;z-index:110;flex-shrink:0}
.burger span{display:block;width:22px;height:2px;background:var(--text-primary);border-radius:2px;transition:transform 0.3s,opacity 0.3s}
@media(max-width:768px){
  .burger{display:flex!important}
  /* Products button left-align (button default is center) */
  .nav-dropbtn{text-align:left!important;justify-content:space-between!important}
  /* Mobile nav item vertical spacing */
  .nav-links a{padding:0.9rem 5%!important;display:block;width:100%;box-sizing:border-box}
  .nav-dropbtn{padding:0.9rem 5%!important;width:100%!important;box-sizing:border-box!important}
  /* Consistent left indent for all items */
  .nav-links .dropdown{width:100%}
}

/* Footer: match header horizontal padding */
.footer-grid{padding:0 5%!important;max-width:var(--container-max)!important;box-sizing:border-box}
.footer-bottom{padding-left:5%!important;padding-right:5%!important;max-width:var(--container-max)!important;box-sizing:border-box;margin:0 auto!important}


/* ── v20 patch2 ── */

/* Nav container: consistent max-width across all pages */
.nav-container{max-width:var(--container-max,1200px)!important;margin-left:auto!important;margin-right:auto!important}

/* Products button desktop reset — must not look like a button */
@media(min-width:769px){
  .nav-dropbtn{background:none!important;border:none!important;font-family:inherit!important;font-size:inherit!important;color:var(--text-secondary)!important;cursor:pointer!important;padding:0!important;margin:0!important;font-weight:inherit!important}
  .nav-dropbtn:hover,.nav-dropbtn:focus{color:var(--text-primary)!important;background:none!important;outline:none!important}
  .nav-dropbtn.active{color:var(--text-primary)!important;font-weight:700!important}
}

/* Footer links: always vertical */
.footer-links-list{display:flex!important;flex-direction:column!important;gap:0.6rem!important}
.footer-links-list a{display:block!important}

/* Mobile burger: mega-menu shows as simple vertical list */
@media(max-width:768px){
  .mega-overview-bar{display:none!important}
  .mega-grid{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important}
  .mega-item{display:flex!important;align-items:center!important;padding:0.7rem 5%!important;border-bottom:1px solid var(--border-color,rgba(255,255,255,0.08))!important;background:transparent!important;text-decoration:none!important;gap:0.6rem!important;border-radius:0!important;box-shadow:none!important}
  .mega-item:last-child{border-bottom:none!important}
  .mega-icon{width:24px!important;height:24px!important;min-width:24px!important;flex-shrink:0!important}
  .mega-label{font-size:0.9rem!important;font-weight:500!important;color:var(--text-primary,#f4f4f5)!important}
  .mega-desc{display:none!important}
}


/* ── v20 patch3 ── */

/* Mega-menu JS hover class */
.mega-dropdown.hov .mega-menu{display:block!important}

/* Mobile: nav-links panel is scrollable, body is locked by JS */
@media(max-width:768px){
  .nav-links{overflow-y:auto;-webkit-overflow-scrolling:touch}
  .nav-links.open{max-height:calc(100vh - 4.5rem)}

  /* Mega-overview-bar visible on mobile as Overview link */
  .mega-overview-bar{display:block!important;padding:0!important;border-bottom:none!important;margin:0!important}
  .mega-overview-link{
    display:flex!important;align-items:center!important;
    padding:0.75rem 5%!important;
    font-size:0.9rem!important;font-weight:600!important;
    color:var(--accent-teal,#81d8d0)!important;
    border-bottom:1px solid var(--border-color,rgba(255,255,255,0.08))!important;
    text-decoration:none!important;gap:0.4rem!important;
  }
  .mega-ov-arrow{display:none!important}

  /* Mega-grid: title-only list on mobile */
  .mega-grid{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important}
  .mega-col{border:none!important;border-radius:0!important;margin:0!important;padding:0!important;background:transparent!important}
  .mega-col>a{
    display:flex!important;align-items:center!important;
    padding:0.7rem 5% 0.7rem 7%!important;
    border-bottom:1px solid var(--border-color,rgba(255,255,255,0.08))!important;
    text-decoration:none!important;gap:0.5rem!important;
  }
  .mega-col>a:last-child{border-bottom:none!important}
  /* Hide icon, description, sub-list on mobile — show title only */
  .mega-col-icon{display:none!important}
  .mega-col h4{font-size:0.88rem!important;font-weight:500!important;color:var(--text-primary,#f4f4f5)!important;margin:0!important}
  .mega-col p,.mega-col ul{display:none!important}
}


/* ── v20 patch4 ── */
/* Nav dropbtn: unify font with nav links across all pages */
.nav-dropbtn{
  font-family:var(--font-sans,inherit)!important;
  font-size:0.875rem!important;
  font-weight:500!important;
  letter-spacing:inherit!important;
  line-height:inherit!important;
}


/* ── v20 patch5 ── */

/* Chat: user bubble clearly differentiated from background */
.chat-bubble.user .bubble-text{
  background:rgba(129,216,208,0.14)!important;
  border:1px solid rgba(129,216,208,0.28)!important;
  color:#d4eeec!important;
}

/* About: identity-kw — revert to original highlight style */
.identity-kw{
  font-family:inherit!important;
  font-style:normal!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
  background:linear-gradient(to right,rgba(129,216,208,0.18),rgba(129,216,208,0.06))!important;
  padding:0.1em 0.35em!important;
  border-radius:6px!important;
  border-bottom:2px solid rgba(129,216,208,0.5)!important;
}

/* Footer: pull right nav cols slightly inward */
@media(min-width:801px){
  .footer-col-nav:last-child{padding-right:2rem}
}


/* ── v20 patch6 ── */

/* Identity statement: surrounding text muted, key phrase pops via Playfair */
.identity-statement{color:var(--text-secondary)!important}
.identity-kw{
  font-family:var(--font-serif,"Playfair Display",Georgia,serif)!important;
  font-style:italic!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
  background:none!important;
  padding:0!important;
  border:none!important;
  border-radius:0!important;
}

/* Burger Overview link: same style as other submenu items */
@media(max-width:768px){
  .mega-overview-link{
    color:var(--text-primary,#f4f4f5)!important;
    font-size:0.88rem!important;
    font-weight:500!important;
  }
}


/* ── v20 patch7 ── */

/* 1. identity-kw: Playfair italic + qa-highlight background + underline */
.identity-kw{
  font-family:var(--font-serif,"Playfair Display",Georgia,serif)!important;
  font-style:italic!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
  background:rgba(129,216,208,0.13)!important;
  padding:0.05em 0.28em!important;
  border-radius:4px!important;
  border-bottom:1.5px solid rgba(129,216,208,0.55)!important;
}

/* 7. Header logo: slightly larger */
.header-logo{height:36px!important;max-width:160px!important}

/* 7. Footer logo: noticeably larger */
.footer-logo img{height:44px!important;width:auto!important;display:block!important;max-width:200px!important}

/* 4. Mobile burger: submenu items match primary item style */
@media(max-width:768px){
  /* Submenu links same size/weight/colour as primary nav links */
  .mega-col>a{color:var(--text-secondary,#a1a1aa)!important}
  .mega-col h4{
    font-size:0.875rem!important;
    font-weight:500!important;
    color:var(--text-secondary,#a1a1aa)!important;
  }
  .mega-overview-link{
    color:var(--text-secondary,#a1a1aa)!important;
    font-size:0.875rem!important;
    font-weight:500!important;
  }

  /* 5. Chevron vertically centred */
  .nav-dropbtn{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  .nav-dropbtn .chevron{
    display:inline-flex!important;
    align-items:center!important;
    line-height:1!important;
    margin-top:0!important;
  }

  /* 6. Hover/touch feedback on all mobile menu items */
  .nav-links a:hover,
  .nav-links a:active,
  .nav-dropbtn:hover,
  .nav-dropbtn:active{
    background:rgba(255,255,255,0.05)!important;
    color:var(--text-primary,#f4f4f5)!important;
  }
  .mega-col>a:hover,
  .mega-col>a:active{
    background:rgba(255,255,255,0.05)!important;
  }
  .mega-col h4:hover{color:var(--text-primary,#f4f4f5)!important}

  /* Ensure nav panel scrolls and body doesn't */
  .nav-links{
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
  }
  .nav-links.open{
    max-height:calc(100dvh - 4.5rem)!important;
  }
}


/* ── v20 patch8 ── */

/* Products page: mega-menu must be static (in-flow) on mobile for nav scroll */
@media(max-width:768px){
  .mega-menu{
    position:static!important;
    width:100%!important;
    box-shadow:none!important;
    border:none!important;
    padding:0!important;
    background:transparent!important;
  }
}


/* ── v20 patch9 ── */

/* 8. Header height reduction */
.navbar{height:4rem!important}
.nav-container{height:4rem!important}

/* 9. Mobile: logo shrinks with burger header */
@media(max-width:768px){
  .header-logo{height:28px!important;max-width:130px!important}
  /* Adjust mobile nav panel top to match new height */
  .nav-links{top:4rem!important}
  .mega-menu{top:4rem!important}
}

/* 6. Footer nav headings: smaller, uppercase — clearly hierarchy above links */
.footer-col-nav h4{
  font-size:0.68rem!important;
  font-weight:700!important;
  letter-spacing:0.10em!important;
  text-transform:uppercase!important;
  color:var(--text-secondary)!important;
  margin-bottom:1rem!important;
}

/* 7. Footer slogan: two lines, left-aligned, indented */


/* 3. Chat bubble border — neutral, non-distracting */
.chat-bubble.user .bubble-text{
  border:1px solid rgba(255,255,255,0.09)!important;
}








/* ── patch11: footer sub-links smaller than h4 ── */
.footer-col-nav .footer-links-list a{
  font-size:0.78rem!important;
  color:var(--text-secondary)!important;
}





/* ── patch12: footer tagline center-aligned with logo ── */
.footer-brand-col > .footer-logo,
.footer-brand-col > .footer-tagline {
  width: 130px; text-align: center; margin-top: 0.15rem !important;
  display: block;
}
.footer-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.footer-tagline {
  font-size: 0.76rem !important;
  color: rgba(0,0,0,0.52) !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
}


/* ── patch12: Resources hero (featured + hashtag sidebar) ── */
.res-hero {
  padding: 5rem 0 4rem;
  background: rgba(129,216,208,0.07);
  border-bottom: 1px solid rgba(129,216,208,0.18);
  position: relative;
  overflow: hidden;
}
.res-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(129,216,208,0.25) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.55;
}
.res-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}
@media(max-width:860px){
  .res-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Featured article card */
.res-featured {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.res-feat-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.res-feat-img {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(129,216,208,0.22) 0%, rgba(99,179,172,0.12) 100%);
  border: 1px solid rgba(129,216,208,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
}
.res-feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.res-feat-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(129,216,208,0.12);
  border: 1px solid rgba(129,216,208,0.28);
  border-radius: 99px;
  padding: 0.2em 0.75em;
  cursor: pointer;
  transition: background 0.18s;
  text-decoration: none;
}
.res-feat-tag:hover { background: rgba(129,216,208,0.22); }
.res-feat-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}
@media(max-width:600px){ .res-feat-title { font-size: 1.25rem; } }
.res-feat-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.res-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.18s;
}
.res-feat-link:hover { gap: 0.65rem; }

/* Hashtag sidebar */
.res-tag-sidebar {
  padding: 1.75rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(129,216,208,0.22);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  position: sticky;
  top: 5.5rem;
}
.res-tag-sidebar h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 1.1rem;
}
.res-tag-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.res-tag-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.85rem;
  border-radius: 99px;
  border: 1.5px solid var(--border-color);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
  text-align: left;
}
.res-tag-pill:hover,
.res-tag-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(129,216,208,0.09);
}
.res-tag-count {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-tertiary);
}
.res-tag-pill.active .res-tag-count { color: var(--accent); }

/* Updated filter section with hashtag bar */
.hashtag-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.htag-btn {
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
}
.htag-btn:hover,
.htag-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(129,216,208,0.09);
}

/* Article card hashtags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.85rem;
}
.card-tag {
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  padding: 0.15em 0.6em;
}


/* Featured article image link */
.res-feat-img-link{display:block;text-decoration:none;}
.res-feat-img-link:hover .res-feat-img{opacity:0.88;transition:opacity 0.2s;}


/* Copy link feedback */
#copyLinkBtn.copied { border-color: #22c55e !important; color: #22c55e !important; }
.copy-toast { position:fixed; bottom:1.5rem; left:50%; transform:translateX(-50%); background:#22c55e; color:#fff; font-size:0.8rem; font-weight:600; padding:0.5rem 1.25rem; border-radius:99px; z-index:9999; opacity:0; pointer-events:none; transition:opacity 0.2s; white-space:nowrap; }
.copy-toast.show { opacity:1; }

/* Featured eyebrow boost (patch26) */
.res-feat-eyebrow {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: var(--accent) !important;
  opacity: 1 !important;
  display: block;
  margin-bottom: 0.75rem;
}

/* patch27: mega-menu gap fix — align flush with 4rem navbar */
.mega-menu { top: 4rem !important; margin-top: 0 !important; }

/* ── Newsletter Formspree feedback ── */
.nl-msg{margin-top:.75rem;font-size:.875rem;text-align:center;min-height:1.25em;}
.nl-msg--ok{color:#4ade80;}
.nl-msg--err{color:#f87171;}

.nav-current{color: var(--text-primary) !important;font-weight: 600 !important;}
.nav-cta-btn{font-size: 0.875rem;color: var(--text-secondary);transition: color 0.2s;font-weight:500;}
.nav-cta-btn:hover{color: var(--text-primary);}
.mega-overview-bar{display:block;}
.mega-overview-bar .mega-overview-link{display:flex;width:100%;}



/* Mobile-only topic selector + compact article list */
.mobile-topic-section{
  display:none;
}
.mobile-topic-inner{
  background:#fff;
  border-top:1px solid rgba(129,216,208,0.18);
  border-bottom:1px solid rgba(129,216,208,0.18);
  padding:1rem 0 1.1rem;
}
.mobile-topic-label{
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--text-secondary);
  margin-bottom:0.65rem;
}
.mobile-topic-select-wrap{
  position:relative;
}
.mobile-topic-select{
  width:100%;
  appearance:none;
  -webkit-appearance:none;
  border:1px solid var(--border-color);
  border-radius:0.85rem;
  background:#fff;
  color:var(--text-primary);
  font:inherit;
  font-size:0.95rem;
  font-weight:500;
  padding:0.95rem 2.9rem 0.95rem 1rem;
  box-shadow:none;
}
.mobile-topic-select-wrap::after{
  content:'▾';
  position:absolute;
  right:1rem;
  top:50%;
  transform:translateY(-50%);
  color:var(--text-secondary);
  font-size:0.95rem;
  pointer-events:none;
}

@media(max-width:768px){
  .mobile-topic-section{
    display:block;
    position:sticky;
    top:4.5rem;
    z-index:70;
    background:#fff;
  }
  .res-tag-sidebar,
  .hashtag-filter-bar{
    display:none !important;
  }
  .filter-section{
    padding-top:1.35rem;
  }
  .cards-grid{
    gap:0.9rem;
  }
  .article-card{
    border-radius:0.9rem;
    display:block;
  }
  .article-card:hover{
    transform:none;
    box-shadow:none;
  }
  .article-img{
    display:none !important;
  }
  .article-body{
    padding:1rem 1rem 1.05rem;
  }
  .article-meta{
    margin-bottom:0.45rem;
    font-size:0.66rem;
  }
  .article-card h4{
    font-size:1rem;
    line-height:1.35;
    margin-bottom:0.35rem;
  }
  .article-card p{
    font-size:0.86rem;
    line-height:1.55;
    color:var(--text-secondary);
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .card-tags,
  .read-more{
    display:none !important;
  }
}



/* Mobile sticky topic bar refinements */
@media(max-width:768px){
  .mobile-topic-section{
    top:4.48rem;
    background:rgba(255,255,255,0.72);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(228,228,231,0.55);
  }
  .mobile-topic-inner{
    background:transparent;
    border-top:none;
    border-bottom:none;
    padding:0.72rem 0 0.78rem;
  }
  .mobile-topic-label{
    margin-bottom:0.45rem;
  }
  .filter-section{
    padding-top:0.95rem;
  }
}



/* Mobile sticky topic bar tighter spacing + smaller select */
@media(max-width:768px){
  .mobile-topic-section{
    top:4.42rem !important;
    margin-top:0 !important;
    padding-top:0 !important;
    border-top:none !important;
    box-shadow:none !important;
  }
  .mobile-topic-section .container{
    padding-top:0 !important;
  }
  .mobile-topic-inner{
    padding:0.34rem 0 0.48rem !important;
  }
  .mobile-topic-label{
    font-size:0.64rem !important;
    margin-bottom:0.28rem !important;
  }
  .mobile-topic-select{
    font-size:0.88rem !important;
    padding:0.78rem 2.55rem 0.78rem 0.92rem !important;
    border-radius:0.72rem !important;
  }
  .mobile-topic-select-wrap::after{
    font-size:0.82rem !important;
    right:0.9rem !important;
  }
  .filter-section{
    padding-top:0.58rem !important;
  }
}



/* Mobile topic bar final tightening */
@media(max-width:768px){
  .mobile-topic-section{
    top:4.5rem !important;
    margin-top:-1px !important;
    transform:translateY(-1px) !important;
    background:rgba(255,255,255,0.62) !important;
    backdrop-filter:blur(14px) !important;
    -webkit-backdrop-filter:blur(14px) !important;
    border-bottom:1px solid rgba(228,228,231,0.42) !important;
  }
  .mobile-topic-inner{
    padding:0.22rem 0 0.36rem !important;
  }
  .mobile-topic-label{
    font-size:0.6rem !important;
    margin-bottom:0.2rem !important;
    letter-spacing:0.11em !important;
  }
  .mobile-topic-select{
    font-size:0.82rem !important;
    line-height:1.2 !important;
    padding:0.68rem 2.4rem 0.68rem 0.88rem !important;
    min-height:auto !important;
    background:rgba(255,255,255,0.8) !important;
  }
  .mobile-topic-select option{
    font-size:0.82rem !important;
  }
  .mobile-topic-select-wrap::after{
    font-size:0.76rem !important;
  }
  .filter-section{
    padding-top:0.3rem !important;
  }
  .cards-grid{
    gap:0.75rem !important;
  }
}
