:root {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --content-padding-px: 48;
  --hero-width-px: 860;
  --hero-height-px: 620;
  --hero-scale-min: 0.5;
  --hero-scale-max: 1.8;
  --hero-scale-bump: 1.1;
  --base-font-size: clamp(
    14px,
    calc(16px + (100vw - 64rem) * 0.012),
    24px
  );
  --hero-width: calc((var(--hero-width-px) / 16) * 1rem);
  --hero-height: calc((var(--hero-height-px) / 16) * 1rem);
  --hero-scale: 1;
}

html {
  font-size: var(--base-font-size);
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  background: #fff;
  color: #0d1a2b;
  box-sizing: border-box;
  font-size: 1rem;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: 0.5px solid #d8d8d8;
  height: 4rem;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  height: 100%;
  padding: 0 calc(var(--content-padding-px) / 16 * 1rem);
  box-sizing: border-box;
  position: relative;
}

.header-inner nav {
  margin-left: auto;
}

.page-content {
  padding: 0 calc(2rem + (var(--content-padding-px) / 16 * 1rem)) 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-height: calc(100vh - 4rem);
}

.page-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 1rem;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  width: 9.5rem;
  height: auto;
  display: block;
}

.brand span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transform: translateY(0.08rem);
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
}

nav a {
  color: inherit;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.nav-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
  min-height: calc(var(--hero-height) * var(--hero-scale) + 4rem);
  margin: clamp(3.5rem, 8vw, 5.5rem) 0 2rem;
}

.hero-copy h1 {
  font-size: 2.25rem;
  margin: 0 0 1.0625rem;
  line-height: 2.6875rem;
  font-weight: 700;
  color: #000;
}

.hero-copy p {
  margin: 0 0 2rem;
  color: #000;
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 500;
}

.hero-copy small {
  display: block;
  margin-top: 5.625rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.0625rem;
  font-weight: 500;
  color: #000;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border-radius: 999rem;
  border: none;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1.25rem 2.5rem rgba(3, 8, 30, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 3rem;
  width: 10rem;
  margin-top: 1.3125rem;
  text-align: left;
}

.cta-primary:hover {
  box-shadow: 0 1.875rem 3.125rem rgba(3, 8, 30, 0.4);
}

.hero-stage {
  width: min(
    100%,
    calc((100vw - var(--content-padding-px) * 2px) * 0.5)
  );
  height: calc(var(--hero-height) * var(--hero-scale));
  position: relative;
  align-self: center;
  justify-self: center;
  overflow: visible;
}

.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--hero-width);
  height: var(--hero-height);
  overflow: visible;
  transform-origin: center;
  transform: translate(-50%, -50%) scale(var(--hero-scale));
}

.globe-wrapper {
  position: absolute;
  width: 35.25rem;
  height: 32.5rem;
  left: 10.625rem;
  top: -0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 1;
}

.globe-img {
  width: 100%;
}

.globe-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.globe-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

.asset {
  position: absolute;
  display: block;
  object-fit: contain;
  z-index: 5;
  opacity: 0;
  --final-transform: rotate(0deg);
  --enter-delay: 0s;
  --enter-x: 0rem;
  --enter-y: 1.875rem;
  animation: assetEnter 1.1s ease-out forwards;
  animation-delay: var(--enter-delay);
  transform: var(--final-transform);
}

.asset--card {
  width: 10.3125rem;
  left: 9.1875rem;
  top: 3rem;
  --final-transform: rotate(-10deg);
  --enter-x: -1.875rem;
  --enter-y: -0.625rem;
  --enter-delay: 0.05s;
}

.asset--calendar {
  width: 9.125rem;
  left: 8.125rem;
  bottom: 6rem;
  --final-transform: rotate(2deg);
  --enter-x: -1.25rem;
  --enter-y: 3.125rem;
  --enter-delay: 0.15s;
}

.asset--glasses {
  width: 19rem;
  left: 2.625rem;
  top: 7.5625rem;
  --final-transform: rotate(-6deg);
  --enter-x: -2.5rem;
  --enter-y: 0.625rem;
  --enter-delay: 0.25s;
}

.asset--float {
  width: 9.5625rem;
  left: 18.0625rem;
  bottom: -0.0625rem;
  --enter-y: 2.5rem;
  --enter-delay: 0.35s;
}

.asset--yacht {
  width: 8.125rem;
  right: 5.1875rem;
  top: 13.625rem;
  --final-transform: rotate(8deg);
  --enter-x: 2.5rem;
  --enter-y: 1.25rem;
  --enter-delay: 0.45s;
}

.asset--coconut {
  width: 9.625rem;
  right: 15.125rem;
  bottom: 3.1875rem;
  --final-transform: rotate(2deg);
  --enter-y: 1.875rem;
  --enter-delay: 0.55s;
}

.asset--robot {
  width: 8.75rem;
  right: 7.3125rem;
  bottom: 8.3125rem;
  --enter-x: 1.875rem;
  --enter-delay: 0.65s;
}

.asset--globe {
  width: 5.625rem;
  left: 17.9375rem;
  top: 0;
  --enter-y: -1.25rem;
  --enter-delay: 0.75s;
}

@keyframes assetEnter {
  0% {
    opacity: 0;
    transform: translate3d(var(--enter-x), var(--enter-y), 0) var(--final-transform) scale(0.85);
  }
  70% {
    opacity: 1;
    transform: translate3d(0, -0.375rem, 0) var(--final-transform) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: var(--final-transform);
  }
}

@media (prefers-reduced-motion: reduce) {
  .asset {
    animation: none;
    opacity: 1;
    transform: var(--final-transform);
  }
}

.partners {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #000;
  color: #fff;
  height: 3.5rem;
  border-bottom: 0;
  display: flex;
  align-items: center;
  margin-top: clamp(-4rem, calc(0.6vh - 3rem), 2rem);
}

.partners-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 calc(var(--content-padding-px) / 16 * 1rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-sizing: border-box;
}

.partners-title {
  font-size: 0.875rem;
  color: #999;
  font-weight: 500;
  margin-right: 0;
}

.partners-sponsor {
  font-size: 0.875rem;
  color: #999;
  font-weight: 500;
  margin-left: 1.875rem;
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  justify-content: flex-start;
}

.partners-logos img {
  height: 1.25rem;
  width: auto;
}

.partners-logos img.partners-logo--large {
  height: 1.6rem;
}

.partners-cta {
  margin-left: auto;
  height: 2rem;
  width: 8.75rem;
  box-sizing: border-box;
  background: #5e48ee;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 999rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
  padding: 0 1rem;
  text-decoration: none;
}

.partners-cta img {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-self: center;
}

.partners-cta span {
  display: inline-flex;
  align-items: center;
  align-self: center;
  line-height: 1;
}
footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #000;
  color: #666;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem calc(var(--content-padding-px) / 16 * 1rem);
  box-sizing: border-box;
  line-height: 1.4;
  border-top: 0.5px solid #2d2d2d;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem 0.5rem;
}

.footer-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.25rem;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.footer-row {
  display: contents;
}

.qr-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 1.5rem;
  z-index: 100;
}

.qr-popup--visible {
  display: flex;
}

.qr-popup-card {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 0;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.18);
  width: min(25.5rem, calc(100vw - 2rem));
  aspect-ratio: 408 / 398;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qr-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.125rem;
  flex: 0 0 3.125rem;
  padding: 0 1.25rem;
  border-bottom: 0.5px solid #d8d8d8;
  gap: 1rem;
}

.qr-popup-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
}

.qr-popup-close {
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.qr-popup-img {
  width: min(
    calc(100% - 2rem),
    calc((25.5rem / 408) * 300),
    100%
  );
  height: auto;
  display: inline-block;
  border-radius: 0.75rem;
}

.qr-popup-body {
  padding: 1.5rem;
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) and (max-width: 1023px) {
  html {
    font-size: calc(var(--base-font-size) - 2px);
  }
  :root {
    --hero-scale-bump: 1.05;
    --hero-scale-max: 1.5;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  html {
    font-size: var(--base-font-size);
  }
  :root {
    --hero-scale-bump: 1.08;
    --hero-scale-max: 1.6;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  html {
    font-size: calc(var(--base-font-size) - 1px);
  }
  :root {
    --hero-scale-bump: 1.1;
    --hero-scale-max: 1.65;
  }
}

@media (min-width: 1400px) {
  html {
    font-size: calc(var(--base-font-size) - 2px);
  }
  :root {
    --hero-scale-bump: 1.12;
    --hero-scale-max: 1.7;
  }
}

@media (max-width: 800px) {
  html {
    font-size: calc(var(--base-font-size) - 1px);
  }
  :root {
    --hero-scale-min: 0.35;
    --hero-scale-bump: 1.2;
    --hero-scale-max: 1.3;
    --content-padding-px: 20;
  }

  .page-content {
    padding: 0 1.25rem;
  }

  .header-inner {
    padding: 0 1.25rem;
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.25rem;
    width: auto;
    min-width: 6rem;
    max-width: 10rem;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
    z-index: 10;
  }

  .header-inner.nav-open nav {
    display: flex;
    padding: 1rem;
    gap: 1rem;
  }

  nav a {
    width: 100%;
    padding: 0.058rem 0;
    text-align: left;
  }

  .cta-label {
    font-size: 0.875rem;
  }

  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 8rem;
    min-height: auto;
    margin: 6rem 0 -5rem;
  }

  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-copy small {
    margin-top: 1.5rem;
  }

  .hero-stage {
    width: 100%;
    position: relative;
  }

  .partners {
    height: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 2rem 1.25rem;
    box-sizing: border-box;
    margin-top: clamp(-1.5rem, calc(0.6vh - 2.5rem), 1.25rem);
  }

  .partners-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 0;
    gap: 1.5rem;
  }

  .partners-title,
  .partners-sponsor {
    text-align: center;
  }

  .partners-logos {
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
  }

  .partners-cta {
    margin-left: 0;
    align-self: center;
    width: 100%;
    max-width: 10rem;
  }

  .partners-sponsor {
    margin-left: 0;
  }

  footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 1rem 1.25rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .footer-row {
    display: inline-flex;
    gap: 0.5rem;
  }

  footer .footer-item {
    margin: 0;
    padding: 0.25rem 0;
    display: inline-flex;
    text-align: center;
    white-space: nowrap;
  }

}
.cta-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-left: 0.625rem;
}

.cta-label {
  flex: 1;
  display: inline-flex;
  align-items: center;
  margin-left: 1.5rem;
  margin-right: 0;
  line-height: 1;
}
