@font-face {
  font-family: "Basier Circle";
  src: url("assets/fonts/BasierCircle-Regular.woff2") format("woff2");

  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Basier Circle";
  src: url("assets/fonts/BasierCircle-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Basier Circle";
  src: url("assets/fonts/BasierCircle-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 1. VARIABLES & RESET */
:root {
  --button-surface-primary: #09090a;
  --button-surface-alternative: #ffffff;
  --text-inverted: #ffffff;
  --text-primary: #09090a;
  --text-gray: #8a8a8d; /* improved contrast */
  --text-secondary: #c5c5c9; /* improved contrast on dark */
  --light-gray: #f5f5f5;
  --container-width: 1240px;
  --side-padding: 20px; /* Default padding for smaller screens */
  --font-main: "Basier Circle", sans-serif;
}

/* Screen-reader only class for accessible hiding */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

/* Ensure images preserve aspect ratio while filling assigned boxes */
img {
  object-fit: cover;
}

html {
  scroll-behavior: smooth;
}

body {
  font-weight: 400;
  font-family: var(--font-main);
  background-color: var(--button-surface-primary);
  color: var(--text-inverted);
  line-height: 1.6;
  padding-bottom: 88px; /* Account for fixed newsletter section */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400; /* or whatever weight you want for headings */
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  /* padding: 0 var(--side-padding); */
}
/* 2. GENERAL LAYOUT & TYPOGRAPHY */

.container {
  max-width: 2200px;
  padding: 0 64px;
}

section {
  padding: 120px 0;
  text-align: center;
}

h2 {
  font-size: 48px;
  line-height: 54px;
  letter-spacing: -0.03em;
}

h3 {
  font-family: var(--font-main);
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.04em;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 28px 15px;

  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--button-surface-primary);
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #5b5b5e;
}

.btn-light {
  background-color: var(--button-surface-alternative);
  color: var(--text-primary);
  height: 52px;
  width: 114px;
}
/* .btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
  } */

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);

  border-color: rgba(255, 255, 255, 0.3);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 3. HEADER */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

header.header-scrolled {
  position: fixed;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px); /* For Safari support */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.header-inverted .logo img {
  /* This filter assumes the original SVG is white. It inverts it to black. */
  filter: invert(1);
}

header.header-inverted .btn-light {
  background-color: var(--button-surface-primary);
  color: var(--text-inverted);
}

header.header-inverted .btn-light:hover {
  background-color: #222; /* Dark gray for hover */
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo img {
  width: 177px;
  height: 30px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 40px;
  font-weight: 400;
}

.nav-btn {
  display: inline-block;
  padding: 16px 28px;

  font-style: normal;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.header-inverted .nav-btn {
  color: var(--text-primary);
}

.nav-btn:hover,
.nav-btn:focus {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.schedule-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 14px 28px;
  gap: 8px;
  width: 189px;
  height: 52px;
  background: #ffffff;
  border-radius: 999px;
  width: 180px;
  white-space: nowrap;
  color: var(--text-primary);
  transition: background-color 0.3s ease;
}

.schedule-btn:hover {
  background-color: #c5c5c9;
}
.schedule-btn .plus-icon img {
  width: 16px;
  height: 16px;
  display: block;
  filter: none;
}
header.header-inverted .schedule-btn .plus-icon img {
  filter: invert(1);
}

header.header-inverted .schedule-btn:hover {
  background-color: #5b5b5e;
}

.nav-links a {
  text-decoration: none;
}

.cta-button {
  background-color: #ffffff;
  color: var(--text-primary);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #c5c5c9;
}

/* 4. SECTION-SPECIFIC STYLING (BASIC) */

.article-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}

.article-content {
  width: 1112px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}

.article-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 8px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-title {
  font-size: 72px;
  margin-bottom: 0;
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 78px;
  letter-spacing: -0.04em;
}

.article-info {
  font-family: var(--font-main);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  vertical-align: middle;
}

.article-date {
  font-family: var(--font-main);
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.018em;
  color: var(--text-secondary);
  vertical-align: middle;
}

.article-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-text p {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.012em;
  color: var(--text-inverted);
  margin: 0;
}

.connect-button {
  width: 224px;
  height: 64px;
  font-size: 20px;
  line-height: 24px;
}

/* Hero */
#hero {
  position: relative;
  height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: hidden;
  background-color: var(--button-surface-primary);
  padding-top: 240px;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 100%;
}

.hero-content h1 {
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  width: 1600px;
}

.hero-content p,
.vision-points p,
.adoption-points p,
.platform-points p,
.content-points p,
.wim-item p,
.sd-item p,
.modal-body p,
.form-group label {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;

  max-width: none;
  margin: 0;
}

#hero .hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* Sections with white background */
#adoption,
#integrations,
#investors {
  background-color: var(--light-gray);
  color: var(--text-primary);
}
#integrations .container,
#investors .container {
  flex-direction: column;
}

#vision h2,
#vision-and-technology h2,
#platform .platform-title h2,
#progress h2,
#integrations h2,
#image-gallery h2,
#investors h2,
#connect h2 {
  font-style: normal;
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;
}

#integrations p,
#image-gallery p {
  font-size: 28px;
  line-height: 34px;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  text-align: left;
}

#vision .container p {
  max-width: none;
}

.vision-content,
.adoption-content,
.platform-content {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  text-align: left;
}
.vision-content {
  flex: 1;
  gap: 202px;
}

.adoption-title,
.platform-title {
  flex: 1;
}

.vision-points,
.adoption-points,
.platform-points {
  display: flex;
  flex-direction: column;
}

.vision-points {
  width: 100%;
}

.vision-points p,
.adoption-points p {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.vision-points p:first-child,
.adoption-points p:first-child,
.platform-points p:first-child {
  padding-top: 0;
}

.vision-points p:last-child,
.adoption-points p:last-child,
.platform-points p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Darker Sections */
#vision,
#adoption {
  background-color: var(--button-surface-primary);
  height: 760px;
  padding: 120px 0;
  display: flex;
}
#vision {
  height: 792px;
  align-items: center;
}
#vision p,
#adoption p {
  width: 100%;
}

#adoption h2,
#vision h2 {
  width: 491px;
}

#adoption h2 span {
  color: var(--text-gray);
}

#vision h2 {
  width: 491px;
  margin-bottom: 48px;
}

/* Product Overview Section */
#vision-and-technology {
  background-color: var(--button-surface-primary);
  padding: 240px 0 120px;
  overflow: hidden;
}

#vision-and-technology h2 {
  margin-bottom: 0;
  text-align: left;
}

#vision-and-technology .container {
  flex-direction: column;
  gap: 240px;
}

#vision-and-technology .container > *:nth-child(2) {
  margin-top: -120px; /* Reduce the gap before the second child */
}

.vision-and-technology-content-component {
  display: flex;
  justify-content: space-between;
  gap: 203px;
}

.vision-and-technology-content-component .reverse {
  flex-direction: row-reverse;
}

.component-image img {
  width: 1004px;
  height: 568px;
  object-fit: cover;
}

.component-video video {
  width: 1004px;
  height: 568px;
  object-fit: cover;
}

.component-content {
  width: 100%;
  text-align: left;
}

.component-content h3 {
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.content-points {
  display: flex;
  flex-direction: column;
}

.content-points p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#image-gallery .gallery-wrapper {
  align-self: center;
  overflow: hidden;
}

#image-gallery {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-self: center;
}
#image-gallery .container {
  flex-direction: column;
  align-items: flex-start;
}

.image-gallery {
  width: 2192px;
  position: relative;
  align-self: center;
}

#image-gallery .gallery-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 80px;
}

/* Connect and Footer Wrapper */
.connect-footer-wrapper {
  position: relative;
  overflow: hidden;
  height: 581px;
}

.connect-footer-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    #09090a 0%,
    rgba(9, 9, 10, 0.9) 30%,
    rgba(9, 9, 10, 0.2) 100%
  );
  z-index: 3;
}

.connect-footer-wrapper > * {
  position: relative;
  z-index: 100;
  background-color: transparent;
}
#connect {
  z-index: 100;
  background: transparent !important;
}

.connect-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.image-gallery:active {
  cursor: grabbing;
}

.gallery-image {
  flex: 1;
  position: relative;
  transition: all 0.8s ease-in-out;
}

.gallery-image img {
  width: 500px;
  height: 350px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-cta-btn {
  width: 268px !important;
  height: 64px;
}

#why-it-matters,
#spacedock {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#why-it-matters {
  background-color: var(--button-surface-primary);
  height: 1090.75px;
}

#why-it-matters-heading {
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;
}

#spacedock {
  background-color: #ffffff; /* Unify color */
  color: var(--text-primary);
  height: 798px;
  padding-bottom: 64px; /* Adjust padding for seamless transition */
}

#spacedock h2 span {
  color: var(--text-gray);
}

#why-it-matters .container,
#spacedock .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 120px; /* Space between heading and items */
}

.wim-items-container,
.sd-items-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  /* gap: 32px; Space between items */
}
.wim-items-container {
  gap: 64px;
}
.wim-item,
.sd-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
}

.wim-item img {
  display: block;
  width: 100%;
  height: 564px;
  object-fit: cover;
  margin-bottom: 24px;
}

.wim-item:nth-child(3) img {
  background: rgba(255, 255, 255, 0.12);
}

/* Specific styles for #spacedock images */
#spacedock .sd-item img {
  height: 360px;
  width: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.wim-item p {
}

.sd-item p {
  color: var(--text-primary);
}

#merge-video {
  height: 798.33px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

#merge-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Who is it for section */
#platform {
  background: var(--button-surface-primary);
  padding: 240px 0 120px;
  height: 1092px;
}
#platform .platform-title h2 {
  text-align: left;
  margin-bottom: 80px;
}
#platform .platform-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
#platform .platform-points {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 129px;
  gap: 140px;
}
#platform .platform-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 730px;
  height: 774px;
  gap: 16px;
}

#platform .platform-item img {
  width: 100%;
  height: 358.5px;
  object-fit: cover;
  margin-bottom: 16px;
}

#platform .platform-item .platform-video {
  width: 100%;
  max-width: 506px;
  max-height: 506px;
  object-fit: cover;
  border-radius: 8px;
}
#platform .platform-text {
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  text-align: left;
}

#platform .platform-text h4 {
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

#platform .platform-text p {
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  margin: 0;
  margin-top: 16px;
}
#platform .platform-text strong {
  font-weight: 500;
}
#platform .platform-schedule-btn {
  text-align: left;
  align-self: flex-start;
}

/* Progress Section */
#progress {
  background-color: var(--button-surface-primary);
  padding: 120px 0;
}

#progress .container {
  flex-direction: column;
  align-items: center;
}

#progress .progress-header {
  margin-bottom: 80px;
  width: 100%;
  text-align: left;
}

#progress .progress-items {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 60px;
  gap: 140px;
}

#progress .progress-items + .progress-items {
  margin-top: 60px;
}

/* Progress item links */
.progress-item-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  transition: transform 0.2s ease;
}

.progress-item-link:hover {
  transform: translateY(-4px);
}

.progress-item-link:hover .progress-item {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Responsive behavior for extra large screens */

#progress .progress-items.progress-items-hidden {
  display: none !important;
}

.progress-items.progress-items-hidden {
  display: none !important;
}

.progress-items-hidden {
  display: none !important;
}

#progress .progress-items {
  transition: all 0.3s ease;
}

#progress .progress-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 24px;
}

#progress .progress-image {
  width: 100%;
  height: auto;
  aspect-ratio: 440 / 247.5;
  overflow: hidden;
  border-radius: 0;
  margin: 0;
}

/* Fixed dimensions for smaller screens */

#progress .progress-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Remove grayscale on hover */
#progress .progress-item-link:hover .progress-image img,
#progress .progress-item:hover .progress-image img {
  filter: grayscale(0%) !important;
}
#progress .progress-image:hover img {
  filter: grayscale(0%) !important;
}

#progress .progress-text {
  text-align: left;
}

#progress .progress-text h3 {
  font-family: var(--font-main);
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

#progress .progress-text p {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-inverted);
}

#progress .progress-load-more {
  text-align: center;
}

#progress .load-more-btn {
  padding: 16px 32px;
  font-size: 18px;
  line-height: 24px;
  border-radius: 8px;
  background-color: var(--button-surface-alternative);
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#progress .load-more-btn:hover,
#progress .load-more-btn:focus {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}

/* 5. FOOTER */
footer {
  background-color: var(--button-surface-primary);
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 40px;
  height: 58px;
  display: flex;
  align-items: center;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer-left {
  gap: 32px;
}

.footer-right {
  gap: 32px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-social a,
.footer-contact a {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.018em; /* -1.8% */

  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-social a:hover,
.footer-contact a:hover {
  opacity: 0.7;
}

.footer-link {
  font-style: normal;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: -0.018em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.7;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity - the backdrop */
  justify-content: center;
  align-items: center;
}

/* Team Member Modal Styles */
.team-member-modal {
  z-index: 2000; /* Higher than other modals */
  display: none; /* Hidden by default */
}

.team-member-modal.show {
  display: flex !important;
}

.team-member-modal .modal-content {
  background-color: #09090a;
  width: 800px;
  padding: 24px 40px 64px 40px;
  animation: modalSlideIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

.team-member-modal .modal-content .navigation-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 40px;
  gap: 16px;
  margin-bottom: 24px;
}

.team-member-modal .modal-content .navigation-controls .nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-member-modal .modal-content .navigation-controls .icon-button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.team-member-modal .modal-content .navigation-controls .icon-button:hover {
  background: rgba(255, 255, 255, 0.04);
}

.team-member-modal .modal-content .navigation-controls .icon-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.icon-button img {
  width: 20px;
  height: 20px;
}

.team-member-modal .modal-content .team-member-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  height: 122px;
  margin-bottom: 40px;
}

.team-member-modal .modal-content .team-member-image {
  flex-shrink: 0;
}

.team-member-modal .modal-content .team-member-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  filter: grayscale(100%);
}

.team-member-modal .modal-content .team-member-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.team-member-modal .modal-content .team-member-info h3 {
  font-family: "Basier Circle";
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.04em;
  color: var(--text-inverted);
  margin: 0;
}

.team-member-modal .modal-content .team-member-info p {
  font-size: 16px;
  line-height: 20px;
  color: var(--text-secondary);
  margin: 0;
}

.team-member-modal .modal-content .team-member-contact {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.team-member-modal .modal-content .team-member-contact img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.team-member-modal .modal-content .team-member-contact img:hover {
  opacity: 0.7;
}

.team-member-modal .modal-content .team-member-bio {
  width: 100%;
}

.team-member-modal .modal-content .team-member-bio p {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-secondary);
  margin: 0;
  text-align: left;
  max-width: 100%;
}

.team-member-modal .modal-content .team-member-bio p.empty-line {
  height: 20px;
  margin: 0;
  padding: 0;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* .modal-content-old {
  background-color: #fefefe;
  padding: 0;
  border: 1px solid #888;
  width: 684px;
  border-radius: 10px;
  position: relative;
  color: var(--text-primary);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 8px 20px;
  height: 58px;
}

.modal-header h4 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.03em;
  margin: 0;
}

.modal-body {
  padding: 16px 20px 20px;
}

.modal-body p {
  color: var(--text-primary);
  margin: 0;
}

.modal-body p a {
  color: #007aff;
  text-decoration: underline;
} */

/* Form Styles */
#contactForm {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: row; /* Label and input in a row */
  align-items: flex-start; /* Align items to the top */
  gap: 6px; /* Space between label and input */
}

.input-with-error {
  position: relative;
  width: 100%;
}

.form-group label {
  width: 100px; /* Give label a fixed width for alignment */
  flex-shrink: 0; /* Prevent label from shrinking */
  padding-top: 8px; /* Add padding to vertically align with input */
}

.form-group.message-group {
  align-items: flex-start; /* Keep label at the top for textarea */
}

.form-group.message-group label {
  padding-top: 12px; /* Align with first line of textarea */
}

.form-group input,
.form-group textarea {
  width: 528px;
  height: 48px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;

  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em; /* -2% */
  box-sizing: border-box; /* Important for padding and border */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Custom focus style to replace default outline */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e0e0e0;
  box-shadow: none;
}

/* Error state styles */
.error-container {
  /* position: absolute; <-- REMOVED */
  /* top: 100%; <-- REMOVED */
  /* left: 0; <-- REMOVED */
  display: none; /* Hidden by default */
  align-items: center;
  gap: 8px; /* Space between icon and text */
  margin-top: 6px;
}

.error-container .error-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.error-container .error-message {
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -0.02em; /* -2% */
  color: #cd3535;
}

.form-group input.error {
  border-color: #cd3535;
}

.form-group input.error:focus {
  border-color: #cd3535;
}

.form-footer {
  display: flex;
  justify-content: flex-end; /* Align button to the right */
  margin-top: 20px;
}

#submitButton:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Specific style for the message textarea */
.form-group textarea {
  min-height: 48px; /* Match the height of other inputs */
  height: auto;
  resize: none; /* Remove the browser's default resize handle */
  overflow: hidden; /* Prevent scrollbar from appearing */
}

.close-button {
  color: #aaa;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px; /* Adjusted for centering the 'x' for now */
  line-height: 1;
  font-weight: normal;
  border-radius: 999px; /* Optional: for slightly rounded corners */
  transition: background-color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  background-color: #f0f0f0; /* Light gray background on hover */
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.form-group.message-group label {
  height: auto; /* Remove fixed height */
  display: block; /* Change to block */
}

.error-container {
  padding-left: 0; /* Remove left padding on mobile */
  margin-top: 8px;
}

/* =================================== */
/*  RESPONSIVE MEDIA QUERIES           */
/* =================================== */

/* Performance: avoid rendering below-the-fold until scrolled near */
#platform,
#integrations,
#image-gallery,
#progress,
#connect {
  content-visibility: auto;
  contain-intrinsic-size: 1000px 800px;
}

#integrations,
#investors {
  background-color: #ffffff; /* Unify color */
  height: 510px;
  padding-top: 0; /* Adjust padding for seamless transition */
  padding-bottom: 64px; /* Adjust padding for seamless transition */
}

#integrations h3,
#investors h3 {
  margin-bottom: 40px;
  color: var(--text-primary);

  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.03em;
  text-align: left;
}

#build-with {
  background-color: #ffffff; /* Unify color */
  height: 390px;
  padding-top: 0; /* Adjust padding for seamless transition */
  padding-bottom: 120px; /* To balance the removed top padding */
}

#build-with h3 {
  margin-bottom: 40px;
  color: var(--text-primary);

  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.03em;
  text-align: left;
}

.logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

#build-with .logo-container {
  justify-content: flex-start;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-blend-bg {
  mix-blend-mode: multiply;
}

.logo-luminosity {
  mix-blend-mode: luminosity;
}

/* 9. Team Section */
#team {
  background-color: var(--button-surface-primary);

  padding-top: 240px;
  padding-bottom: 120px;
}

#team .container {
  flex-direction: column;
  gap: 120px; /* Increased gap */
}

#team h2 {
  font-style: normal;
  font-size: 72px;
  line-height: 78px;
  letter-spacing: -0.04em;

  text-align: left;
  max-width: unset;
}

.team-rows {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.team-row {
  display: flex;
  flex-direction: row;
  gap: 120px;
  margin-bottom: 0;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 240px;
}

.team-member img {
  width: 240px; /* Portrait image size */
  height: 240px;
  object-fit: cover;
  filter: grayscale(100%);
  border-radius: 16px;
}

.team-member-info {
  display: flex;
  flex-direction: column;
  width: 240px;
  text-align: left; /* Align text to the left */
  gap: 4px; /* Gap between name and title */
}

.team-member-info h4 {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.025em; /* -2.5% */
}

.team-member-info h3 {
  font-family: "Basier Circle";
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.025em;
  color: var(--text-inverted);
  margin: 0;
}

.team-member-info p {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.02em; /* -2% */
  color: #8a8a8d;
  margin: 0;
}

.team-member-info-social {
  display: flex;
  align-items: flex-start;
  padding: 6px 0px 0px;
  gap: 8px;
  width: 136px;
  height: 46px;
}

.team-member-info-social img {
  width: 20px;
  height: 20px;
}

.team-member-info-social .icon-button {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.team-member-info-social .icon-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.team-member-info-btn {
  position: relative;
  transition: all 0.2s ease;
}

.team-member-info-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.team-member-info-btn:active {
  transform: scale(0.95);
}

.title-gray {
  color: var(--text-gray);
}

/* Toast Notification Styles */
#toast-container {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.toast-notification {
  width: 358px;
  height: 48px;
  padding: 8px 8px 8px 12px;
  border-radius: 12px; /* Corrected to match spec */
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.success {
  background-color: #dff2e5;
  border-color: #00c74124; /* Corrected to match spec */
}

.toast-notification.error {
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.toast-notification .toast-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-notification .toast-icon img {
  width: 100%;
  height: 100%;
}

.toast-notification.success .toast-icon {
  /* Style is now handled by the SVG itself */
}

.toast-notification.error .toast-icon img {
  width: 18px;
  height: 12px;
}

.toast-notification p {
  font-weight: 500;
  font-size: 14px;
  flex-grow: 1;
  margin: 0;
}

.toast-notification.success p {
  color: #03290e;
}

.toast-notification.error p {
  color: #721c24;
}

.toast-notification .toast-close {
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  transition: background-color 0.2s;
  flex-shrink: 0;
}

.toast-notification .toast-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.toast-notification .toast-close img {
  width: 12px;
  height: 12px;
}

.learn-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  width: 191px;
  height: 64px;
  border: 1px solid var(--Border-10, #ffffff29);
  border-radius: 0;
  background: transparent;
  color: var(--Text-Secondary, #c5c5c9);
  margin-top: 40px;
  font-style: normal;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.02em;
  opacity: 1;
  padding: 20px 32px;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.learn-more-btn:hover,
.learn-more-btn:focus {
  background-color: rgba(255, 255, 255, 0.16);
}
.learn-more-btn .plus-icon {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.learn-more-btn .plus-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.wim-item h3 {
  font-style: normal;
  font-size: 40px;
  line-height: 46px;
  letter-spacing: -0.04em;
  margin: 0 0 8px 0;
}

/* Who is it for section schedule button */
.platform-section-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 64px;
  border: 1px solid var(--Border-10, #ffffff29);
  border-radius: 0;
  background: transparent;
  color: var(--Text-Secondary, #c5c5c9);

  font-style: normal;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.02em;
  opacity: 1;
  padding: 20px 32px;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.platform-section-btn:hover,
.platform-section-btn:focus {
  background-color: rgba(255, 255, 255, 0.16);
}
.platform-section-btn .plus-icon {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.platform-section-btn .plus-icon img {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.platform-section-btn .plus-icon {
  filter: invert(1);
}
.platform-content {
  gap: 0;
}

#platform .platform-item img[src*="w3.png"] {
  transform: scaleX(-1);
}

#platform .platform-item .platform-video:nth-child(3) {
  transform: scaleX(-1);
}

/* Integrations Section */
#integrations,
#investors {
  padding: 240px 0 120px;
  height: auto;
  background-color: var(--button-surface-primary);
}

#integrations h2,
#investors h2,
#progress h2,
#image-gallery h2 {
  color: var(--text-inverted);
  margin-bottom: 40px;
  text-align: left;
}
#progress h2,
#image-gallery h2 {
  margin-bottom: 0;
}

#integrations h2 {
  margin-bottom: 24px;
}

.integrations-items-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

#integrations .integrations-items,
#investors .integrations-items {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  align-items: flex-start;
  gap: 40px;
}

#integrations .integration-item,
#investors .integration-item {
  width: 213px;
  height: 285px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#integrations .integration-logo,
#investors .integration-logo {
  width: 213px;
  height: 213px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#integrations .integration-logo img,
#investors .integration-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

#integrations .integration-text,
#investors .integration-text {
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.015em;
  color: var(--text-inverted);
  text-align: center;
  margin: 0;
}

.integrations-part-2 {
  padding: 0 !important;
  height: 285px !important;
}

.investors {
  padding: 120px 0 !important;
  height: 576px !important;
}

.investors .integration-item {
  height: 213px !important;
}

#connect {
  padding-top: 120px;
  padding-bottom: 0;
  height: 523px;
  background: var(--button-surface-primary);
}
#connect .connect-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
#connect h2 {
  color: #fff;
  margin-bottom: 0;
  text-align: left;
}
.connect-btn {
  background: var(--button-surface-alternative);
  color: var(--text-primary);
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 16px;

  border-radius: 999px;
  padding: 13px 28px 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
.connect-btn:hover {
  background: #f0f0f0;
  color: var(--text-primary);
}

.newsletter-section {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1d1d1e;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0;
}

.newsletter-text {
  font-style: normal;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  padding: 0;
}

.newsletter-input {
  width: 270px;
  height: 40px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0 12px;
  border-radius: 999px;
  font-size: 16px;
  color: #6d6e71;
  background: transparent;
  outline: none;
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.newsletter-input::placeholder {
  color: #878787;
  opacity: 1;
}

.newsletter-subscribe {
  width: 112px;
  height: 40px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: none;
  border-radius: 999px;

  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-subscribe:hover {
  background: rgba(255, 255, 255, 0.24);
}

.newsletter-close {
  width: 40px;
  height: 40px;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 28px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.newsletter-close-mobile {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  margin-left: auto;
}

.newsletter-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.newsletter-close:hover img {
  filter: brightness(0) invert(1);
}

.newsletter-close-mobile:hover img {
  filter: brightness(0) invert(1);
}

/* Legal pages layout */
.legal-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}

.legal-link {
  font-size: 16px;
  color: #fff;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-style: solid;
}
.legal-content {
  width: 1112px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 40px;
}
.legal-content h1 {
  font-size: 72px;
  margin-bottom: 64px;
  font-family: var(--font-main);
  font-weight: 400;
}
.legal-item {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
}
.legal-item-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.1px;
  vertical-align: middle;
  margin-bottom: 8px;
}
.legal-item-paragraph {
  font-family: var(--font-main);
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.012em;
}

.connect-button {
  width: 224px;
  height: 64px;
  font-size: 20px;
  line-height: 24px;
}

@media (max-width: 767px) {
  section {
    padding: 100px 0;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
  }

  #hero {
    height: 908px;
    padding-top: 180px;
  }
  .container {
    width: 100%;
    padding: 0 24px;
  }
  .nav-links {
    display: none;
  }
  .logo img {
    width: 177px;
    height: 30px;
  }

  .schedule-btn {
    background: transparent;
    color: #fff;
  }
  .schedule-btn .plus-icon {
    filter: invert(1);
  }

  header.header-inverted .schedule-btn {
    color: var(--text-primary);
    background: transparent;
  }
  .hero-content {
    width: 100%;
  }
  .hero-content h1 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    width: 100%;
  }
  .hero-content p {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
  }

  #why-it-matters {
    height: 1398px;
    padding-top: 120px;
  }

  #why-it-matters-heading {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.04em;
    margin-bottom: 120px;
    text-align: left;
  }

  #why-it-matters .container {
    gap: 0;
  }
  .wim-items-container {
    flex-direction: column;
    gap: 64px;
  }

  .wim-item img {
    height: 260px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: 0;
    position: relative;
    display: block;
    object-fit: cover;
  }

  .wim-item h3 {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.03em;
  }

  .wim-item p {
    font-size: 18px;
    line-height: 28px;
  }

  #vision {
    height: 880px;
    align-items: flex-start;
  }
  #vision h2 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.04em;
    margin-bottom: 120px;
    width: 100%;
  }

  #vision p {
    width: 100%;
    font-size: 18px;
    line-height: 28px;
  }
  .vision-content {
    flex-direction: column;
    margin-bottom: 0;
    gap: 0;
    width: 100%;
  }
  #vision-and-technology .container {
    gap: 120px;
  }
  #vision-and-technology h2 {
    font-size: 48px;
    line-height: 54px;
  }

  .vision-and-technology-content-component {
    flex-direction: column;
    gap: 80px;
  }

  #vision-and-technology {
    padding-top: 120px;
  }

  .component-video video {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    display: block;
    object-fit: cover;
    height: auto;
  }
  .component-content {
    width: 100%;
  }

  .component-content h3 {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
  }

  #vision-and-technology-paragraphs {
    width: 100%;
  }

  .vision-and-technology-content-component.reverse {
    flex-direction: column-reverse;
  }

  .image-gallery {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    margin-left: 0;
  }

  .image-gallery .gallery-image {
    display: block;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
  }
  .image-gallery .gallery-image img {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: 0;
    position: relative;
    left: 0;
    right: 0;
    display: block;
    object-fit: cover;
    height: 350px;
  }

  /* Ensure smooth sliding on mobile */

  .gallery-wrapper {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  #image-gallery h2,
  .article-title {
    font-size: 48px;
    line-height: 54px;
  }

  #image-gallery p {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
  }
  #image-gallery .gallery-header {
    margin-bottom: 0px;
  }
  .component-image {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .component-image img {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    display: block;
    height: auto;
    object-fit: cover;
  }
  #vision-and-technology h2 {
    margin-bottom: 120px;
  }

  #platform {
    height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }
  #platform .platform-item {
    width: 100%;
    height: auto;
    margin-bottom: 80px;
  }

  #platform .platform-points {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
  }

  #platform .platform-title h2 {
    font-size: 48px;
    line-height: 54px;
  }
  #platform .platform-title h2 {
    width: 100%;
  }
  #platform .platform-item img {
    height: auto;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: auto;
    position: relative;
    display: block;
    object-fit: cover;
    transform: none;
  }

  #platform .platform-item .platform-video {
    height: auto;
    width: 100%;
    object-fit: cover;
  }
  #platform .platform-text {
    font-size: 18px;
    line-height: 28px;
  }

  /* Progress Section Mobile Styles */
  #progress {
    height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  #progress .progress-header {
    margin-bottom: 40px;
  }

  #progress .progress-header h2 {
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.04em;
    margin-bottom: 0;
  }

  #progress .progress-items {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 80px;
  }

  #progress .progress-item {
    width: 100%;
    margin-bottom: 0;
  }

  #progress .progress-image {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: auto;
    position: relative;
    display: block;
    border-radius: 0;
  }

  #progress .progress-image img {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    display: block;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }

  #progress .progress-item-link:hover .progress-image img,
  #progress .progress-item:hover .progress-image img {
    filter: grayscale(0%) !important;
  }
  #progress .progress-image:hover img {
    filter: grayscale(0%) !important;
  }

  #progress .progress-text h3 {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }

  #progress .progress-text p {
    font-size: 18px;
    line-height: 28px;
  }

  #integrations h2,
  #investors h2 {
    font-size: 48px;
    line-height: 54px;
  }

  #integrations {
    height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }
  #integrations p {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
  }
  #investors {
    height: auto !important;
  }
  #integrations .integrations-items,
  #investors .integrations-items {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

  #integrations .integration-item,
  #investors .integration-item {
    width: calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
    height: 224px !important;
    justify-content: center;
    gap: 16px;
  }

  #integrations .integration-logo,
  #investors .integration-logo {
    height: auto !important;
    max-height: 180px;
    min-height: 100px;
    width: 100%;
  }

  /* Very small screens - stack items vertically */
  @media (max-width: 480px) {
    #integrations .integrations-items,
    #investors .integrations-items {
      flex-direction: column;
      gap: 32px;
    }

    #integrations .integration-item,
    #investors .integration-item {
      width: 100%;
      flex: 0 0 100%;
    }
  }

  /* Mobile-specific logo height classes */
  .gravitics-logo img {
    height: 23.04px;
  }

  .impulse-logo img {
    height: 100px;
  }

  .hubble-logo img {
    height: 60.25px;
  }

  .space-cloud-logo img {
    height: 45.24px;
  }

  .oligo-logo img {
    height: 72.89px;
  }

  .confers-logo img {
    height: 47.44px;
  }

  .cosmic-logo img {
    height: 75.22px;
  }

  .aerospace-logo img {
    height: 56.23px;
  }

  .blue-pacific-logo img {
    height: 209.1px;
  }

  .reka-logo img {
    height: 52.07px;
  }

  .axiom-logo img {
    height: 97.27px;
  }
  .integrations-part-2 {
    padding: 0 !important;
    height: auto !important;
  }
  #team {
    padding-top: 120px;
    padding-bottom: 40px;
  }
  #team h2 {
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 80px;
  }
  #team .container {
    flex-direction: column;
    gap: 0;
  }
  .team-row {
    flex-direction: column;
  }
  .team-member {
    flex-direction: row;
    width: 100%;
  }
  .team-row {
    gap: 40px;
  }

  .team-member img.team-member-img {
    width: 120px;
    height: 120px;
    aspect-ratio: 1 / 1;
  }

  #connect h2 {
    font-size: 48px;
    line-height: 54px;
  }
  .connect-button {
    background: var(--button-surface-alternative);
    color: var(--text-primary);
    width: 180px;
    height: 56px;
    font-size: 18px;
    line-height: 20px;
  }
  .container .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-container {
    flex-direction: column;
    height: auto;
    margin-bottom: 40px;
  }
  .footer-left,
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .footer-left {
    margin-bottom: 24px;
  }

  footer {
    height: auto;
  }

  body {
    padding-bottom: 180px; /* Account for fixed newsletter section on mobile */
  }
  .newsletter-section {
    height: 186px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .newsletter-container {
    flex-direction: column;
    padding: 0 24px;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-input {
    width: 100%;
  }

  .newsletter-subscribe {
    padding: 0 20px;
    margin-right: 0;
  }
  #connect {
    padding-bottom: 40px;
  }
  .newsletter-text {
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .newsletter-close {
    display: none;
  }

  .newsletter-close-mobile {
    display: flex;
    margin-left: 10px;
  }

  .legal-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }
  .legal-content,
  .article-content {
    width: 100%;
    padding: 0 24px;
  }
  .legal-content h1 {
    font-size: 40px;
    line-height: 46px;
    margin-bottom: 0;
  }
  .legal-item {
    margin-bottom: 0;
  }
  .connect-button-icon {
    filter: none !important;
  }
  .connect-footer-wrapper {
    height: auto;
  }

  .team-member-modal .modal-content {
    height: 100vh;
    width: 100vw;
    padding: 24px;
    overflow: auto;
  }
  .team-member-modal .modal-content .team-member-content {
    flex-direction: column;
    height: auto;
    gap: 16px;
  }

  #platform .platform-text h3 {
    font-size: 34px;
    line-height: 40px;
  }
}

@media (min-width: 1700px) and (max-width: 2200px) {
  .container {
    max-width: 1800px;
    padding: 0 64px;
  }

  #why-it-matters {
    height: 958px;
  }

  .wim-item img {
    height: 432px;
  }

  .wim-item {
    max-width: 768px;
  }

  .component-video video {
    height: 432px;
    width: 768px;
    object-fit: cover;
  }

  .component-image img {
    height: 432px;
    width: 768px;
  }

  #platform {
    height: 1052px;
  }
}

@media (min-width: 2200px) {
  .image-gallery .gallery-image {
    transition: none !important;
  }
}

@media (min-width: 1280px) and (max-width: 1699px) {
  .container {
    max-width: 1200px;
    padding: 0;
  }

  .nav-btn {
    display: inline-block;
    padding: 16px 14px;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.02em;
  }

  .team-row {
    justify-content: space-between;
    gap: 0;
  }

  #platform .platform-points {
    gap: 40px;
  }

  .hero-content h1 {
    width: 100%;
  }

  #vision h2,
  #vision-and-technology h2,
  #platform .platform-title h2,
  #integrations h2,
  #investors h2,
  #connect h2,
  .hero-content h1,
  .article-title,
  #why-it-matters-heading {
    font-style: normal;
    font-size: 64px;
    line-height: 70px;
    letter-spacing: -0.022em;
  }
  #why-it-matters {
    height: 907.5px;
  }
  #why-it-matters-heading {
    text-align: left;
  }
  .wim-item img {
    height: 319.5px;
  }

  .wim-item {
    width: 568px;
  }

  #vision {
    height: 760px;
  }

  #vision h2 {
    width: 463px;
  }
  .vision-content {
    flex: 1;
    gap: 169px;
  }

  .component-video video {
    height: 322px;
    width: 568px;
    object-fit: cover;
  }

  .component-image img {
    height: 322px;
    width: 568px;
  }

  #platform {
    height: 1072px;
  }

  #platform .platform-item img {
    width: 357.33px;
    height: 201px;
  }

  #platform .platform-text h3 {
    font-size: 34px;
    line-height: 40px;
  }

  #progress .progress-items {
    gap: 100px;
  }
  #platform .platform-item {
    width: 550px;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .container {
    max-width: 100%;
    padding: 0 24px;
  }
  #hero {
    height: 634px;
    padding-top: 180px;
  }
  .nav-links {
    display: none;
  }

  .schedule-btn {
    background: transparent;
    color: #fff;
  }
  .schedule-btn .plus-icon {
    filter: invert(1);
  }

  .connect-button {
    background: var(--button-surface-alternative);
    color: var(--text-primary);
  }

  header.header-inverted .schedule-btn {
    color: var(--text-primary);
    background: transparent;
  }

  .legal-content {
    width: 100%;
    padding: 0 40px;
  }

  .article-content {
    width: 100%;
    padding: 0 40px;
  }

  .hero-content h1 {
    width: 100%;
  }

  #vision h2,
  #vision-and-technology h2,
  #platform .platform-title h2,
  #progress h2,
  #integrations h2,
  #investors h2,
  #connect h2,
  .article-title,
  .hero-content h1,
  #why-it-matters-heading {
    font-style: normal;
    font-size: 48px;
    line-height: 54px;
    letter-spacing: -0.03em;
  }

  #vision h2 {
    margin-bottom: 0;
  }

  #vision-and-technology h2 {
    margin-bottom: 120px;
  }

  .hero-content p,
  .vision-points p,
  .adoption-points p,
  .platform-points p,
  .content-points p,
  .wim-item p,
  .sd-item p,
  .modal-body p,
  .form-group label {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.01em;
  }

  .hero-content p br {
    display: none;
  }

  #why-it-matters {
    height: 1715px;
  }
  #why-it-matters-heading {
    text-align: left;
  }

  .wim-items-container {
    flex-direction: column;
  }
  .wim-item img {
    height: 511px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;
    left: 0;
    right: 0;
    position: relative;
    display: block;
    object-fit: cover;
  }

  .wim-item {
    width: 100%;
  }

  #vision {
    height: 688px;
  }

  #vision h2 {
    width: 100%;
  }
  .vision-content {
    flex: 1;
    gap: 120px;
    flex-direction: column;
  }
  .vision-and-technology-content-component {
    flex-direction: column;
    gap: 80px;
  }
  .vision-and-technology-content-component.reverse {
    flex-direction: column-reverse;
  }
  .vision-points p {
    width: 100%;
  }

  .component-content h3 {
    font-size: 34px;
    line-height: 40px;
    letter-spacing: -0.03em;
  }

  #progress .progress-text h3 {
    font-size: 34px;
    line-height: 40px;
  }

  .component-video video {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    display: block;
    object-fit: cover;
    height: auto;
  }

  .component-image {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  #vision-and-technology .container {
    gap: 120px;
  }

  .component-image img {
    height: 434.49px;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    display: block;
    height: auto;
    object-fit: cover;
  }
  .team-member img.team-member-img {
    width: 120px;
    height: 120px;
  }
  #platform {
    height: auto;
  }

  #platform .platform-points {
    flex-direction: column;
  }

  #platform .platform-item {
    width: 100%;
    flex-direction: row;
    gap: 40px;
    height: auto;
  }
  #platform .platform-item img {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: 0;

    left: 0;
    right: auto;
    position: relative;
    display: block;
    object-fit: cover;
    transform: none;
    height: 432px;
  }

  #platform .platform-points {
    gap: 40px;
  }

  #integrations .integrations-items,
  #investors .integrations-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-start;
  }

  #integrations .integration-item,
  #investors .integration-item {
    width: calc(50% - 24px);
    flex: 0 0 calc(50% - 24px);
  }

  /* Override the container structure for tablet layout */
  #integrations .integrations-items-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-start;
  }

  #integrations .integrations-items-container .integrations-items {
    display: contents;
  }

  #integrations .integrations-items-container .integration-item {
    width: calc(50% - 24px);
    flex: 0 0 calc(50% - 24px);
  }

  #integrations p,
  #image-gallery p {
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
  }

  #image-gallery .gallery-header {
    margin-bottom: 0;
  }
  #team .team-rows {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: flex-start;
  }

  #team .team-row {
    display: contents;
  }

  #team .team-member {
    width: calc(50% - 24px);
    flex: 0 0 calc(50% - 24px);
  }

  #integrations h2,
  #investors h2,
  #image-gallery h2 {
    font-size: 48px;
    line-height: 54px;
  }
  #integrations {
    height: auto;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  #investors {
    height: auto !important;
  }

  #integrations .integration-item,
  #investors .integration-item {
    width: 100%;
    height: 224px !important;
    justify-content: center;
    gap: 16px;
  }

  #integrations .integration-logo,
  #investors .integration-logo {
    height: auto !important;
    max-height: 180px;
    min-height: 100px;
    width: 100%;
  }

  #progress .progress-items {
    flex-direction: column;
    gap: 80px;
  }

  #progress .progress-item {
    flex-direction: row;
  }

  #progress .progress-image {
    width: 335px;
    overflow: visible;
  }

  #progress .progress-image img {
    width: 335px;
  }

  /* Mobile-specific logo height classes */

  .gravitics-logo img {
    height: 25.31px;
  }

  .impulse-logo img {
    height: 100px;
  }

  .hubble-logo img {
    height: 54.87px;
  }

  .space-cloud-logo img {
    height: 41.03px;
  }

  .oligo-logo img {
    height: 66.37px;
  }

  .confers-logo img {
    height: 43.22px;
  }

  .cosmic-logo img {
    height: 68.49px;
  }

  .aerospace-logo img {
    height: 50.49px;
  }

  .blue-pacific-logo img {
    height: 190.4px;
  }

  .reka-logo img {
    height: 47.41px;
  }

  .axiom-logo img {
    height: 88.58px;
  }
  .integrations-part-2 {
    padding: 0 !important;
    height: auto !important;
  }
  #team {
    padding-top: 120px;
    padding-bottom: 40px;
  }
  #team h2 {
    font-size: 48px;
    line-height: 54px;
    margin-bottom: 80px;
  }
  #team .container {
    flex-direction: column;
    gap: 0;
  }
  .team-row {
    flex-direction: column;
  }
  .team-member {
    flex-direction: row;
    width: 100%;
  }

  .container .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-container {
    flex-direction: column;
    height: auto;
    margin-bottom: 40px;
  }
  .footer-left,
  .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
  }
  .footer-left {
    margin-bottom: 24px;
  }

  .connect-footer-wrapper {
    height: auto;
  }

  footer {
    height: auto;
  }

  body {
    padding-bottom: 80px; /* Account for fixed newsletter section on mobile */
  }

  .modal {
    align-items: flex-start;
    padding-top: 80px;
  }

  .connect-button-icon {
    filter: none !important;
  }
}

/* Article page styles */
.swiper {
  width: 100%;
}
.swiper-wrapper {
  display: flex;
  width: 100%;
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid #8ab4ff;
  outline-offset: 2px;
}

.btn:focus-visible,
.nav-btn:focus-visible,
.icon-button:focus-visible,
.learn-more-btn:focus-visible,
.footer-link:focus-visible,
.newsletter-subscribe:focus-visible,
.newsletter-close:focus-visible,
.newsletter-close-mobile:focus-visible {
  outline: 2px solid #8ab4ff;
  outline-offset: 2px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 4px;
  z-index: 3000;
}

@media (max-width: 399px) {
  header .schedule-btn {
    display: none !important;
  }
}
