@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap');
/* ======================================================================
   SOCIAL UNIVERSE — GLOBAL TYPOGRAPHY + RESPONSIVE HARDENING
   Typography values are taken from the approved index typography scale.
   This file is loaded after page-specific CSS so the scale stays consistent.
   ====================================================================== */

:root{
  --su-type-body:14px;
  --su-type-kicker:.68rem;
  --su-type-nav:.76rem;
  --su-type-button:.76rem;
  --su-type-copy:.84rem;
  --su-type-card-title:.78rem;
  --su-type-card-copy:.70rem;
  --su-type-meta:.64rem;
  --su-type-hero:clamp(2.25rem,4.5vw,3.2rem);
  --su-type-section:clamp(1.65rem,2.8vw,2.2rem);
}


html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  font-family:"Inter",sans-serif !important;
  font-size:var(--su-type-body) !important;
  line-height:1.6 !important;
  max-width:100%;
  overflow-x:hidden;
}

button,input,select,textarea{font-family:inherit !important}
button,a,input,select,textarea{overflow-wrap:anywhere}
img,video,iframe,svg,canvas{max-width:100%;height:auto}
main,section,article,aside,header,footer,nav,div{min-width:0}

/* Navbar */
.nav-menu a,
.sign-in,
.get-started,
.search-submit{
  font-size:.76rem !important;
}

/* Kicker / eyebrow system */
.eyebrow,
.hero-kicker,
.feed-card-kicker,
.video-eyebrow,
.store-eyebrow,
.knowledge-eyebrow,
.connect-eyebrow,
.community-eyebrow,
.chat-eyebrow,
.profile-eyebrow,
.auth-kicker,
.community-card-label,
.detail-label,
.product-badge,
.coming-chip{
  font-size:.68rem !important;
  font-weight:800 !important;
  letter-spacing:.08em;
}

/* Hero / major page titles */
.hero h1,
.auth-visual h1,
.feed-page-head h1,
.explore-copy h1,
.community-hero h1,
.events-hero h1,
.connect-hero h1,
.chat-intro h1,
.shorts-left h1,
.shorts-mobile-head h1,
.video-hero-copy h1,
.creator-studio-hero h1,
.knowledge-hero h1,
.profile-identity h1,
.edit-intro h1,
.store-hero h1,
.cart-page-head h1,
.commerce-page-head h1,
.order-detail-head h1,
.product-detail-copy h1,
.detail-head h1,
.community-detail-title h1,
.event-detail-heading h1,
.playlist-list-head h1{
  font-size:var(--su-type-hero) !important;
  line-height:1 !important;
  letter-spacing:-.05em !important;
  font-weight:800 !important;
}

/* Hero / intro copy */
.hero-content>p,
.auth-visual-copy>p,
.feed-page-head p,
.explore-copy>p,
.community-hero p,
.events-hero p,
.connect-hero p,
.chat-intro>p,
.shorts-left>p,
.video-hero-copy>p,
.creator-studio-hero p,
.knowledge-hero>div>p,
.edit-intro>p,
.store-hero p,
.cart-page-head p,
.commerce-page-head p{
  font-size:.84rem !important;
  line-height:1.6 !important;
}

/* Main section titles */
.section-heading h2,
.showcase-copy h2,
.store-header h2,
.about-copy h2,
.feed-modal-head h2,
.community-section-head h2,
.connect-mode-head h2,
.connect-results-head h2,
.knowledge-toolbar h2,
.section-row-head h2,
.channel-section-head h2,
.comments-head h2,
.store-section-head h2,
.checkout-panel-head h2,
.order-detail-panel h2,
.profile-panel-head h2,
.edit-card-head h2,
.video-modal-card h2,
.auth-panel h2{
  font-size:var(--su-type-section) !important;
  line-height:1.1 !important;
  letter-spacing:-.04em !important;
  font-weight:800 !important;
}

/* Supporting copy */
.section-heading p,
.section-subtitle,
.showcase-copy>p,
.about-copy>p,
.store-header>p,
.feed-side-head p,
.community-section-head p,
.connect-mode-head p,
.connect-results-head p,
.knowledge-toolbar p,
.section-row-head p,
.store-section-head p{
  font-size:.84rem !important;
  line-height:1.6 !important;
}

/* Buttons */
.hero-btn,
.primary-btn,
.secondary-btn,
.text-arrow-btn,
.light-btn,
.footer-button,
.auth-submit,
.btn-brand,
.btn-outline-brand,
.btn-white,
.btn-ghost-white,
.feed-load-more,
.create-knowledge-btn,
.load-more-knowledge,
.event-action,
.connect-tab,
.connect-mode button,
.watch-action,
.subscribe-btn,
.product-actions button,
.checkout-preview-btn,
button[type="submit"]{
  font-size:.76rem !important;
  font-weight:700 !important;
}

/* Feed scale from approved index */
.post-author strong,
.post-head .meta strong,
.composer-author strong,
.suggestion-list strong{
  font-size:.78rem !important;
}
.post-author small,
.post-head .meta span,
.composer-author small,
.suggestion-list small{
  font-size:.66rem !important;
}
.post-copy,
.post-body>.post-copy{
  font-size:.78rem !important;
}
.post-actions button,
.post-action{
  font-size:.68rem !important;
}
.mini-btn{font-size:.66rem !important}

/* Discovery */
.explore-card h3,
.discover-tile span{font-size:.78rem !important}
.explore-card p,
.explore-card-stats,
.tag{font-size:.70rem !important}
.explore-card small,
.smart-search .ai-label{font-size:.64rem !important}
.explore-search input,
.smart-search input{font-size:.78rem !important}

/* Video / shorts */
.short-caption,
.short-info strong,
.video-card-copy h3,
.creator-card h3,
.playlist-card-copy h3,
.playlist-row-copy h3{
  font-size:.78rem !important;
}
.short-actions small,
.short-info span,
.video-card-copy p,
.video-meta,
.playlist-row-copy p,
.creator-card p{
  font-size:.64rem !important;
}

/* Interests */
.interest-chip,
.interest-option{
  font-size:.74rem !important;
}

/* Communities / events */
.community-card-body h3,
.community-body h3,
.event-card-body h3,
.person-card h6{
  font-size:.78rem !important;
}
.community-card-body p,
.community-body p,
.event-card-body p{
  font-size:.70rem !important;
}
.community-card-meta,
.community-card-stats,
.community-topline,
.event-card-info,
.event-copy p,
.event-action{
  font-size:.64rem !important;
}
.event-copy h5{font-size:.88rem !important}

/* Connect */
.connect-mode button,
.connect-tab{font-size:.66rem !important}
.connection-name-row h3{font-size:.78rem !important}
.connection-name-row small,
.connection-reason,
.connection-tags,
.connection-meta,
.person-location,
.person-bio,
.common-badge{font-size:.66rem !important}

/* Knowledge */
.knowledge-item h3,
.knowledge-card h5{font-size:.84rem !important}
.knowledge-item p,
.knowledge-card p{font-size:.70rem !important}
.knowledge-item-meta,
.knowledge-author,
.knowledge-type,
.sidebar-title,
.sidebar-card button{font-size:.64rem !important}
.knowledge-card.primary h5{font-size:1.1rem !important}

/* Chat */
.chat-list-head h6,
.chat-head strong,
.conversation-panel-head h2{font-size:.80rem !important}
.conversation strong,
.conversation-item strong,
.message,
.chat-input input,
.message-box input{font-size:.72rem !important}
.conversation span,
.conversation-item small,
.coming-chip{font-size:.62rem !important}

/* Store */
.store-product-copy h3,
.product-body h6,
.cart-item-copy h2,
.store-recommend-body h3,
.store-advanced-card h3{font-size:.78rem !important}
.product-meta,
.product-actions button,
.store-feature,
.store-product-copy p,
.cart-item-copy p{font-size:.64rem !important}
.product-badge{font-size:.58rem !important}
.product-price{font-weight:800 !important}

/* Footer */
.footer-links strong{font-size:.72rem !important}
.footer-links a,
.footer-brand p,
.footer-cta p{font-size:.68rem !important}
.footer-bottom{font-size:.64rem !important}

/* Forms */
input,select,textarea{
  font-size:.78rem !important;
}
label,.form-help,.field-error{
  font-size:.70rem !important;
}

/* ---------- Responsive hardening ---------- */
@media (max-width:1199.98px){
  .section-shell,
  .nav-shell,
  .footer-shell,
  .feed-shell,
  .explore-shell,
  .community-shell,
  .connect-shell,
  .chat-shell,
  .shorts-shell,
  .video-shell,
  .knowledge-shell,
  .profile-shell,
  .store-shell{
    max-width:calc(100% - 40px) !important;
  }
}

@media (max-width:1023.98px){
  .card-grid,
  .community-card-grid,
  .event-card-grid,
  .connect-grid,
  .video-grid,
  .creator-grid,
  .playlist-grid,
  .store-product-grid,
  .store-recommend-grid,
  .store-advanced-grid,
  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .feed-layout,
  .explore-layout,
  .community-layout,
  .connect-layout,
  .knowledge-layout,
  .watch-layout,
  .playlist-layout,
  .studio-layout,
  .cart-layout,
  .checkout-layout,
  .order-detail-layout,
  .knowledge-detail-layout{
    grid-template-columns:1fr !important;
  }

  .feed-left,
  .feed-right,
  .explore-aside,
  .knowledge-sidebar{
    width:100% !important;
    max-width:none !important;
    position:static !important;
  }
}

@media (max-width:767.98px){
  body{font-size:14px !important}

  .hero h1,
  .auth-visual h1,
  .feed-page-head h1,
  .explore-copy h1,
  .community-hero h1,
  .events-hero h1,
  .connect-hero h1,
  .chat-intro h1,
  .shorts-left h1,
  .shorts-mobile-head h1,
  .video-hero-copy h1,
  .creator-studio-hero h1,
  .knowledge-hero h1,
  .profile-identity h1,
  .edit-intro h1,
  .store-hero h1,
  .cart-page-head h1,
  .commerce-page-head h1,
  .order-detail-head h1,
  .product-detail-copy h1,
  .detail-head h1,
  .community-detail-title h1,
  .event-detail-heading h1,
  .playlist-list-head h1{
    font-size:clamp(2rem,9vw,2.7rem) !important;
  }

  .section-heading h2,
  .showcase-copy h2,
  .store-header h2,
  .about-copy h2,
  .feed-modal-head h2,
  .community-section-head h2,
  .connect-mode-head h2,
  .connect-results-head h2,
  .knowledge-toolbar h2,
  .section-row-head h2,
  .channel-section-head h2,
  .comments-head h2,
  .store-section-head h2,
  .checkout-panel-head h2,
  .order-detail-panel h2,
  .profile-panel-head h2,
  .edit-card-head h2,
  .video-modal-card h2,
  .auth-panel h2{
    font-size:clamp(1.55rem,6.8vw,1.95rem) !important;
  }

  .hero-content>p,
  .auth-visual-copy>p,
  .feed-page-head p,
  .explore-copy>p,
  .community-hero p,
  .events-hero p,
  .connect-hero p,
  .chat-intro>p,
  .shorts-left>p,
  .video-hero-copy>p,
  .creator-studio-hero p,
  .edit-intro>p,
  .store-hero p,
  .cart-page-head p,
  .commerce-page-head p,
  .section-heading p,
  .section-subtitle{
    font-size:.80rem !important;
  }

  .section-shell,
  .nav-shell,
  .footer-shell,
  .feed-shell,
  .explore-shell,
  .community-shell,
  .connect-shell,
  .chat-shell,
  .shorts-shell,
  .video-shell,
  .knowledge-shell,
  .profile-shell,
  .store-shell{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    margin-inline:auto !important;
  }

  .card-grid,
  .community-card-grid,
  .event-card-grid,
  .connect-grid,
  .video-grid,
  .creator-grid,
  .playlist-grid,
  .store-product-grid,
  .store-recommend-grid,
  .store-advanced-grid,
  .product-grid,
  .knowledge-grid,
  .proof-grid,
  .about-stats,
  .footer-main,
  .checkout-fields,
  .event-includes,
  .feature-checks{
    grid-template-columns:1fr !important;
  }

  .hero-actions,
  .feed-page-actions,
  .community-section-head,
  .connect-results-head,
  .knowledge-toolbar,
  .section-row-head,
  .store-section-head,
  .playlist-list-head,
  .detail-actions,
  .product-actions{
    flex-wrap:wrap !important;
  }

  .hero-actions>a,
  .detail-actions>*{
    max-width:100%;
  }

  .search-dialog,
  .feed-modal-dialog,
  .knowledge-modal-card,
  .video-modal-card,
  .call-modal-card{
    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    max-height:calc(100dvh - 24px) !important;
    overflow:auto !important;
  }

  .chat-workspace,
  .chat-window,
  .chat-shell{
    min-height:0 !important;
  }

  .table-wrap,
  .orders-table-wrap,
  .order-table-wrap{
    overflow-x:auto !important;
    -webkit-overflow-scrolling:touch;
  }
}

@media (max-width:425px){
  .section-shell,
  .nav-shell,
  .footer-shell,
  .feed-shell,
  .explore-shell,
  .community-shell,
  .connect-shell,
  .chat-shell,
  .shorts-shell,
  .video-shell,
  .knowledge-shell,
  .profile-shell,
  .store-shell{
    width:calc(100% - 20px) !important;
    max-width:calc(100% - 20px) !important;
  }

  .nav-actions,
  .hero-actions,
  .composer-actions,
  .connect-pills,
  .feature-chips,
  .store-features{
    gap:.5rem !important;
  }

  button,
  a[class*="btn"],
  a[class*="button"]{
    white-space:normal;
  }

  .post-actions{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .short-actions{
    right:8px !important;
  }
}

@media (max-width:320px){
  .section-shell,
  .nav-shell,
  .footer-shell,
  .feed-shell,
  .explore-shell,
  .community-shell,
  .connect-shell,
  .chat-shell,
  .shorts-shell,
  .video-shell,
  .knowledge-shell,
  .profile-shell,
  .store-shell{
    width:calc(100% - 16px) !important;
    max-width:calc(100% - 16px) !important;
  }

  .hero h1,
  .auth-visual h1,
  .feed-page-head h1,
  .explore-copy h1,
  .community-hero h1,
  .events-hero h1,
  .connect-hero h1,
  .chat-intro h1,
  .shorts-left h1,
  .shorts-mobile-head h1,
  .video-hero-copy h1,
  .creator-studio-hero h1,
  .knowledge-hero h1,
  .profile-identity h1,
  .edit-intro h1,
  .store-hero h1,
  .cart-page-head h1,
  .commerce-page-head h1,
  .order-detail-head h1,
  .product-detail-copy h1,
  .detail-head h1{
    font-size:2rem !important;
  }
}

/* Final mobile overflow hardening for the approved breakpoints. */
@media (max-width:425px){
  /* Decorative artwork must never widen the mobile canvas. */
  .planet,
  .orbit,
  .hero .dot,
  .about-orbit,
  .about-planet,
  .orbit-ring,
  .cover-orb{
    display:none !important;
  }

  .hero,
  .about-card,
  .community-cover,
  .product-art{
    overflow:hidden !important;
  }

  /* Mobile filters wrap instead of requiring page-level horizontal space. */
  .connect-modes{
    flex-wrap:wrap !important;
    overflow-x:visible !important;
    white-space:normal !important;
  }

  .knowledge-sidebar .sidebar-card:first-child{
    display:flex !important;
    flex-wrap:wrap !important;
    white-space:normal !important;
    overflow-x:visible !important;
  }

  /* Full-screen/bottom-sheet content stays inside the viewport. */
  .story-viewer,
  .short-upload-dialog{
    width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important;
  }

  .short-upload-modal,
  .story-modal{
    padding-inline:12px !important;
  }
}

/* ======================================================================
   OMNIZGO — UNIFIED BRAND FONT SYSTEM
   Keep this file AFTER all platform/page CSS.
   Playfair Display: major editorial/page headings.
   Inter: all navigation, interface, forms and supporting text.
   ====================================================================== */

:root {
  --omnizgo-font-heading: 'Playfair Display', Georgia, serif;
  --omnizgo-font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html, body { font-family: var(--omnizgo-font-ui) !important; }

/* Use the same editorial heading family on every platform. */
h1, .page-title, .hero-title, .platform-title,
.hero h1, .auth-visual h1, .feed-page-head h1, .explore-copy h1,
.community-hero h1, .events-hero h1, .connect-hero h1,
.chat-intro h1, .shorts-left h1, .shorts-mobile-head h1,
.video-hero-copy h1, .creator-studio-hero h1, .knowledge-hero h1,
.profile-identity h1, .edit-intro h1, .store-hero h1,
.cart-page-head h1, .commerce-page-head h1, .order-detail-head h1,
.product-detail-copy h1, .detail-head h1, .community-detail-title h1,
.event-detail-heading h1, .playlist-list-head h1,
.section-heading h2, .showcase-copy h2, .store-header h2, .about-copy h2,
.feed-modal-head h2, .community-section-head h2, .connect-mode-head h2,
.connect-results-head h2, .knowledge-toolbar h2, .section-row-head h2,
.channel-section-head h2, .comments-head h2, .store-section-head h2,
.checkout-panel-head h2, .order-detail-panel h2, .profile-panel-head h2,
.edit-card-head h2, .video-modal-card h2, .auth-panel h2 {
  font-family: var(--omnizgo-font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
}

/* All compact/UI headings remain in the same readable UI font. */
h3, h4, h5, h6,
button, input, select, textarea, label,
nav, .navbar, .topbar, .nav-menu,
.tabs, .badge, .eyebrow, .hero-kicker,
.card-title, .footer-links, .footer-brand {
  font-family: var(--omnizgo-font-ui) !important;
}
