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

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

    html,
    body {
      height: 100%;
      background: #000;
      overflow: hidden;
      /* prevents scrollbars from the video */
      font-family: 'Inter', sans-serif;
    }

    .bg-video {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      object-fit: cover;
      /* ensures the video fills the screen */
      z-index: 0;
    }

    .center-gradient {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      /* On smaller screens, cap width so we still see the video on the sides */
      max-width: 90vw;
      height: 100vh;
      background: #000;
      z-index: 1;
    }

    /* The gradient frame behind the solid black box */
    .center-gradient::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: -40px;
      right: -40px;
      background: rgba(0, 0, 0, 0.6);
      -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
      mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
      z-index: -1;
    }

    /* Small Tablet */
    @media (max-width: 1024px) {
      .center-gradient {
        max-width: 85vw;
      }

      .center-gradient::before {
        left: -25px;
        right: -25px;
      }

      .hero-content {
        width: 55%;
      }

      .hero-content h1 {
        font-size: 38px;
      }

      .footer-links {
        flex-wrap: wrap;
        max-width: 90%;
      }
    }

    /* Mobile */
    @media (max-width: 600px) {
      body {
        overflow-y: auto;
      }
      
      .center-gradient {
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
        max-width: 92vw;
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow-y: visible;
      }

      .center-gradient::before {
        left: -15px;
        right: -15px;
      }

      .logo-container {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        order: 1;
        margin-top: 40px;
        margin-bottom: 60px; /* Space for absolute join btn */
      }

      .top-join-btn {
        bottom: -35px; /* keep it nicely tucked under logo */
      }

      .hero-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        order: 2;
        margin-bottom: 20px;
      }

      .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
      }
      
      .hero-content p {
        font-size: 14px;
      }

      .earth-image {
        position: relative;
        top: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        height: auto;
        order: 3;
        margin-bottom: 40px;
        object-fit: contain;
      }

      .bottom-footer {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        order: 4;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: end;
        margin-bottom: 30px;
      }

      .footer-links {
        grid-column: 1;
        flex-wrap: wrap;
        max-width: 100%;
        margin-bottom: 12px;
        justify-content: flex-start;
      }

      .footer-copy {
        grid-column: 1;
        text-align: left;
        line-height: 1.4;
      }

      .footer-socials {
        grid-column: 2;
        grid-row: 1 / span 2;
        flex-direction: column;
        gap: 16px;
        align-items: center;
      }
    }

    /* Foreground Earth Image */
    .earth-image {
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      height: 100%;
      object-fit: cover;
      /* The image's dark background will blend seamlessly into the #000 container */
    }

    /* Logo Container for perfect alignment */
    .logo-container {
      position: absolute;
      top: 60px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      z-index: 2;
    }

    /* Main Logo Overlay */
    .main-logo {
      width: 100%;
      height: auto;
      display: block;
      filter: invert(1);
      /* makes the logo white since the background is dark */
    }

    .top-join-btn {
      position: absolute;
      bottom: -40px;
      /* Tucked directly below the logo */
      right: 0;
      /* Pin exactly to the right edge of the logo */
      color: #fff;
      border: 1px solid #fff;
      padding: 6px 16px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-decoration: none;
      border-radius: 999px;
      transition: background 0.2s, color 0.2s;
    }

    .top-join-btn:hover {
      background: #fff;
      color: #000;
    }

    .hero-content {
      position: absolute;
      top: 55%;
      left: 5%;
      transform: translateY(-50%);
      width: 42%;
      color: #fff;
      z-index: 2;
    }

    .hero-content h1 {
      font-size: clamp(32px, 4vw, 48px);
      font-weight: 500;
      line-height: 1.15;
      margin-bottom: 24px;
      letter-spacing: 0px;
    }

    .hero-content h2 {
      font-size: 24px;
      font-weight: 700;
      color: #3b82f6;
      margin-bottom: 24px;
      text-transform: uppercase;
    }

    .hero-content p {
      font-size: 16px;
      font-weight: 500;
      line-height: 1.5;
      color: #fff;
      margin-bottom: 35px;
    }

    .waitlist-form {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .waitlist-form input {
      background: #000;
      border: 1px solid #fff;
      color: #fff;
      padding: 16px 20px;
      font-size: 15px;
      font-weight: 600;
      text-align: center;
      letter-spacing: 1px;
      font-family: inherit;
      border-radius: 12px;
      outline: none;
      transition: border-color 0.2s;
    }

    .waitlist-form input::placeholder {
      color: #fff;
    }

    .waitlist-form input:focus {
      border-color: #3b82f6;
    }

    .waitlist-form button {
      background: #3b82f6;
      color: #fff;
      border: none;
      padding: 16px 20px;
      font-size: 15px;
      font-weight: 600;
      text-align: center;
      letter-spacing: 1px;
      font-family: inherit;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.2s;
    }

    .waitlist-form button:hover {
      background: #2563eb;
    }

    .bottom-footer {
      position: absolute;
      bottom: 25px;
      left: 5%;
      width: 90%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 3;
    }

    .footer-links {
      display: flex;
      gap: 16px;
    }

    .footer-links a {
      color: #fff;
      text-decoration: none;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.5px;
      transition: opacity 0.2s;
    }

    .footer-links a:hover {
      color: #3b82f6; 
      opacity: 1;
    }

    .footer-copy {
      color: #666;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .footer-socials {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .footer-socials a.inline-svg-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
    }

    .footer-socials a.inline-svg-link svg {
      width: 100%;
      height: 100%;
    }

    .footer-socials a.inline-svg-link svg path.cls-1,
    .footer-socials a.inline-svg-link svg polygon.cls-1,
    .footer-socials a.inline-svg-link svg rect.cls-1 {
      fill: #fff !important;
      transition: fill 0.2s;
    }

    .footer-socials a.inline-svg-link:hover svg path.cls-1,
    .footer-socials a.inline-svg-link:hover svg polygon.cls-1,
    .footer-socials a.inline-svg-link:hover svg rect.cls-1 {
      fill: #3b82f6 !important;
    }

    /* Normalize visual weights of inconsistent SVGs */
    a.social-icon[aria-label="Substack"] svg {
      transform: scale(0.75);
    }
    
    a.social-icon[aria-label="YouTube"] svg {
      transform: scale(1.35);
    }
    
    a.social-icon[aria-label="TikTok"] svg {
      transform: scale(0.95);
    }
  
/* ABOUT PAGE STYLES */
    .about-header {
      position: absolute;
      top: 60px;
      left: 5%;
      display: flex;
      align-items: center;
      gap: 32px;
      z-index: 2;
    }

    .about-main-logo {
      height: 38px;
      width: auto;
      filter: invert(1);
    }

    .about-header-links {
      display: flex;
      gap: 20px;
    }

    .about-header-links a {
      color: #fff;
      text-decoration: none;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      transition: color 0.2s;
    }

    .about-header-links a.active,
    .about-header-links a:hover {
      color: #3b82f6; 
    }

    .about-content {
      position: absolute;
      top: 50%;
      left: 5%;
      transform: translateY(-50%);
      width: 75%;
      color: #fff;
      z-index: 2;
    }

    .about-content h1 {
      font-size: 52px;
      font-weight: 700;
      color: #3b82f6;
      margin-bottom: 28px;
      letter-spacing: 0px;
    }

    .about-content p {
      font-size: 17px;
      font-weight: 500;
      line-height: 1.55;
      color: #fff;
      margin-bottom: 22px;
    }

    .about-content h2 {
      font-size: 26px;
      font-weight: 700;
      color: #3b82f6;
      margin-top: 32px;
    }

    @media (max-width: 1024px) {
      .about-content {
        width: 85%;
      }
      .about-content h1 {
        font-size: 42px;
      }
      .about-main-logo {
        height: 28px;
      }
    }

    @media (max-width: 600px) {
      .about-header {
        position: relative;
        top: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 40px;
        margin-bottom: 30px;
      }
      
      .about-header-links {
        flex-wrap: wrap;
      }

      .about-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-bottom: 40px;
      }

      .about-content h1 {
        font-size: 36px;
        line-height: 1.2;
      }

      .about-content p {
        font-size: 15px;
      }
      .about-content br {
        display: none; /* Let text flow naturally on tiny screens */
      }
    }

/* JOURNEY PAGE STYLES */
    .about-header {
      position: absolute;
      top: 60px;
      left: 5%;
      display: flex;
      align-items: center;
      gap: 32px;
      z-index: 2;
    }

    .about-main-logo {
      height: 38px;
      width: auto;
      filter: invert(1);
    }

    .about-header-links {
      display: flex;
      gap: 20px;
    }

    .about-header-links a {
      color: #fff;
      text-decoration: none;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      transition: color 0.2s;
    }

    .about-header-links a.active,
    .about-header-links a:hover {
      color: #3b82f6; 
    }

    .journey-content {
      position: absolute;
      top: 55%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 75%;
      color: #fff;
      z-index: 2;
      display: flex;
      flex-direction: column;
      height: 70vh;
      overflow-y: auto;
      padding-right: 20px; /* space for scroll bar if needed */
    }

    .progress-section {
      width: 100%;
      margin-bottom: 50px;
    }

    .progress-section h1 {
      font-size: 38px;
      font-weight: 700;
      color: #3b82f6;
      margin-bottom: 8px;
      letter-spacing: 0px;
    }

    .progress-text {
      font-size: 14px;
      color: #ccc;
      margin-bottom: 8px;
      font-weight: 500;
      letter-spacing: 0.5px;
    }

    .progress-bar-container {
      width: 140px;
      height: 22px;
      background: transparent;
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 12px;
      overflow: hidden;
    }

    .progress-bar-fill {
      width: 15%;
      height: 100%;
      background: #3b82f6;
      border-radius: 12px;
    }

    .carousel-section {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 24px;
      margin-bottom: 80px;
      width: 100%;
    }

    .carousel-card {
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(0, 0, 0, 0.4);
    }

    .side-card {
      width: 160px;
      height: 160px;
    }

    .center-card {
      width: 200px;
      height: 200px;
      position: relative;
    }

    .circle-placeholder {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #aaa;
    }

    .center-card .circle-placeholder {
      width: 40px;
      height: 40px;
      background: #ccc;
    }

    .center-label-top {
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 1px;
    }

    .center-label-bottom {
      position: absolute;
      bottom: -30px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 12px;
      font-weight: 600;
      color: #999;
    }

    .updates-section {
      width: 100%;
      margin-bottom: 50px;
    }

    .updates-section h2 {
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 30px;
    }

    .update-list {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .update-item {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .update-icon {
      width: 48px; height: 48px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .update-icon svg {
      width: 100%;
      height: 100%;
    }

    .update-icon svg path.cls-1,
    .update-icon svg polygon.cls-1,
    .update-icon svg rect.cls-1 {
      fill: #fff !important;
      transition: fill 0.2s;
    }
    .update-icon:hover svg path.cls-1,
    .update-icon:hover svg polygon.cls-1,
    .update-icon:hover svg rect.cls-1 {
      fill: #3b82f6 !important;
    }

    .tiktok-scale svg { transform: scale(1.1); }
    .yt-scale svg { transform: scale(1.3); }
    .insta-scale svg { transform: scale(1.15); }
    .sub-scale svg { transform: scale(0.9); }
    .linked-scale svg { transform: scale(1.1); }

    .update-text {
      font-size: 15px;
      color: #ccc;
      line-height: 1.5;
      font-weight: 400;
    }

    /* hide scrollbars on content area */
    .journey-content::-webkit-scrollbar {
      display: none;
    }
    .journey-content {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    @media (max-width: 1024px) {
      .journey-content {
        width: 85%;
        height: 75vh;
      }
      .carousel-section {
        gap: 16px;
      }
      .side-card { width: 130px; height: 130px; }
      .center-card { width: 160px; height: 160px; }
    }

    @media (max-width: 600px) {
      .about-header {
        position: relative;
        top: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 40px;
        margin-bottom: 30px;
      }
      .about-header-links { flex-wrap: wrap; }
      
      .journey-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: auto;
        overflow-y: visible;
        padding-right: 0;
        margin-bottom: 40px;
      }
      .carousel-section {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 60px;
      }
      .center-label-top, .center-label-bottom {
        font-size: 12px;
      }
      .progress-section h1 {
        font-size: 32px;
      }
    }

/* TEAM PAGE STYLES */
    .about-header {
      position: absolute;
      top: 60px;
      left: 5%;
      display: flex;
      align-items: center;
      gap: 32px;
      z-index: 2;
    }

    .about-main-logo {
      height: 38px;
      width: auto;
      filter: invert(1);
    }

    .about-header-links {
      display: flex;
      gap: 20px;
    }

    .about-header-links a {
      color: #fff;
      text-decoration: none;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.5px;
      transition: color 0.2s;
    }

    .about-header-links a.active,
    .about-header-links a:hover {
      color: #3b82f6; 
    }

    .team-content {
      position: absolute;
      top: 55%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 80%;
      color: #fff;
      z-index: 2;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .team-content h1 {
      font-size: 52px;
      font-weight: 700;
      color: #3b82f6;
      margin-bottom: 12px;
      letter-spacing: 0px;
    }

    .team-content .subtitle {
      font-size: 18px;
      font-weight: 400;
      color: #ccc;
      margin-bottom: 40px;
    }

    .team-cards-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      width: 100%;
      margin-bottom: 50px;
    }

    .team-card {
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 12px;
      padding: 32px 16px;
      background: transparent;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      transition: border-color 0.3s;
    }

    .team-card:hover {
      border-color: #3b82f6;
    }

    .team-card h3 {
      font-size: 22px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 4px;
    }

    .team-card h4 {
      font-size: 17px;
      font-weight: 300;
      color: #bbb;
      margin-bottom: 24px;
    }

    .team-card p {
      font-size: 14px;
      line-height: 1.4;
      color: #999;
    }

    .team-content h2 {
      font-size: 22px;
      font-weight: 700;
      color: #fff;
    }

    @media (max-width: 1024px) {
      .team-content {
        width: 95%;
      }
      .team-content h1 {
        font-size: 42px;
      }
      .about-main-logo {
        height: 28px;
      }
      .team-cards-container {
        gap: 16px;
      }
      .team-card {
        padding: 24px 12px;
      }
    }

    @media (max-width: 600px) {
      .about-header {
        position: relative;
        top: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 40px;
        margin-bottom: 30px;
      }
      
      .about-header-links {
        flex-wrap: wrap;
      }

      .team-content {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-bottom: 40px;
      }

      .team-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
      }

      .team-content h1 {
        font-size: 36px;
      }

      .team-content h2 {
        font-size: 18px;
      }
    }


/* =======================================================
   MOBILE OVERRIDES & FIXES
   ======================================================= */
@media (max-width: 600px) {
  html {
    overflow-y: auto !important;
    height: auto !important;
  }
  body {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
  }
  .center-gradient {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    margin: 0 auto;
    width: 100%;
    max-width: 100vw !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: visible !important;
    padding-bottom: 120px;
  }
  
  /* Shared Header Fixes for subpages */
  .about-header {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 40px;
    margin-bottom: 30px;
    gap: 16px !important;
    width: 90% !important;
    margin-left: 5% !important;
  }

  /* Shared Content Container Fixes for subpages */
  .about-content, .journey-content, .team-content, .vision-content {
    position: relative !important;
    top: 0 !important;
    left: auto !important;
    transform: none !important;
    width: 90% !important;
    margin: 0 auto 40px auto !important;
    height: auto !important;
  }

  /* Index page absolute position resets */
  .logo-container {
    position: relative !important;
    top: 0 !important; left: auto !important; transform: none !important;
    margin: 40px auto 30px auto !important;
    order: 1;
    width: 90% !important;
  }
  .top-join-btn {
    position: relative !important; 
    bottom: auto !important; 
    top: 10px !important;
    display: inline-block;
  }
  .hero-content {
    position: relative !important;
    top: 0 !important; left: auto !important; transform: none !important;
    margin: 0 auto 30px auto !important;
    order: 2;
    width: 90% !important;
  }
  .earth-image {
    position: relative !important;
    top: 0 !important; left: auto !important; transform: none !important;
    margin: 0 auto 30px auto !important;
    order: 3;
    width: 90% !important;
    height: auto !important;
  }
  .bottom-footer {
    position: relative !important;
    bottom: auto !important; left: auto !important; transform: none !important;
    margin: 0 auto 20px auto !important;
    order: 4;
    width: 90% !important;
  }
}
