:root {
  color-scheme: dark;
  --bg: #010103;
  --surface: #07070f;
  --surface-alt: #0f0f1c;
  --text-primary: #f7f7ff;
  --text-secondary: #a6a7c3;
  --accent: #4cf2ff;
  --accent-strong: #8b5cf6;
  --grid-line: rgba(255, 255, 255, 0.05);
  --shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(76, 242, 255, 0.05), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.05), transparent 35%),
    #05050c;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(76, 242, 255, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.12), transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.4;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: url('https://assets.codepen.io/2002878/noise.png');
  mix-blend-mode: soft-light;
  animation: grain 12s steps(8) infinite;
  z-index: -1;
}

@keyframes grain {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  20% {
    transform: translate3d(-10px, -5px, 0);
  }
  40% {
    transform: translate3d(3px, 6px, 0);
  }
  60% {
    transform: translate3d(5px, -2px, 0);
  }
  80% {
    transform: translate3d(-4px, 4px, 0);
  }
}

main.about-page {
  width: min(1300px, 100% - 4rem);
  margin: 0 auto;
  padding: 7rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

section {
  position: relative;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

h1, h2 {
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.lede {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.page-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.25rem 0 1rem;
  position: sticky;
  top: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(5, 5, 12, 0.95), rgba(5, 5, 12, 0.8) 60%, transparent);
  backdrop-filter: blur(12px);
}

.page-header nav {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.page-header nav a,
.page-header .header-actions a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.page-header nav a:hover,
.page-header .header-actions a:hover {
  color: #fff;
}

.header-area {
  position: fixed;
  top: clamp(0rem, 0.8vw, 0.5rem);
  left: 0;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  pointer-events: none;
  border-radius: 999px;
  background: rgba(6, 6, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-container {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  height: 2rem;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: auto;
}

.center-logo {
  pointer-events: auto;
}

.center-logo img {
  width: 100px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.menu-trigger {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #fff;
  width: 48px;
  height: 48px;
  line-height: 48px;
  cursor: pointer;
  z-index: 410;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
}

.menu-trigger::before,
.menu-trigger::after {
  content: '';
  width: 48px;
  height: 8px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: background 0.3s ease;
}

.menu-trigger::before {
  top: 6px;
}

.menu-trigger::after {
  bottom: 6px;
}

.menu-trigger.menu-trigger--active {
  animation: burgertext 4s forwards;
}

.menu-trigger.menu-trigger--active::before {
  animation: burgertop 4s forwards;
}

.menu-trigger.menu-trigger--active::after {
  animation: burgerbottom 4s forwards;
}

.menu {
  display: none;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 380;
}

.menu.menu--visible {
  display: block;
}

.menu__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(5, 5, 12, 0.92);
  transition: opacity 0.35s ease;
}

.menu__bg.menu__bg--active {
  opacity: 1;
}

.menu__container {
  position: absolute;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1.5;
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Space Grotesk', 'PP Neue Montreal', sans-serif;
}

.menu__container.menu__container--active {
  animation: menufg 4s forwards;
}

.menu__container ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__container li {
  margin-bottom: 1rem;
}

.menu__container a {
  display: inline-block;
  transition: all 0.2s ease;
  color: #fff;
  text-decoration: none;
  padding: 5px 14px;
}

.menu__container a:hover {
  background: #fff;
  color: #000;
}

.menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #000;
  cursor: pointer;
  z-index: 35;
}

.menu__close::after {
  content: '\2715';
}

@keyframes menufg {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes burgertext {
  0% {
    color: rgba(255, 255, 255, 1);
  }
  10% {
    color: rgba(255, 255, 255, 1);
  }
  12% {
    color: rgba(255, 255, 255, 0);
  }
  100% {
    color: rgba(255, 255, 255, 0);
  }
}

@keyframes burgerbottom {
  0% {
    bottom: 0;
    opacity: 1;
  }
  5% {
    bottom: -3px;
    opacity: 1;
  }
  10% {
    bottom: -3px;
    opacity: 1;
  }
  12% {
    bottom: 15px;
    opacity: 1;
  }
  13% {
    bottom: 15px;
    opacity: 0;
  }
  100% {
    bottom: 15px;
    opacity: 0;
  }
}

@keyframes burgertop {
  0% {
    left: 0;
    top: 0;
    transform: rotate(0);
    width: 48px;
    height: 8px;
    border-radius: 0;
  }
  5% {
    left: 0;
    top: -3px;
  }
  10% {
    left: 0;
    top: -3px;
  }
  12% {
    left: 0;
    top: 15px;
  }
  20% {
    left: 0;
    top: 15px;
  }
  30% {
    left: 0;
    top: 0;
    transform: rotate(1280deg);
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
  35% {
    transform: rotate(0);
  }
  38% {
    left: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
  100% {
    left: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }
}

.about-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.about-copy {
  padding: 2.75rem;
  background: linear-gradient(145deg, rgba(6, 37, 48, 0.4), rgba(32, 20, 58, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px);
}

.about-keypad {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 420px;
}

.keypad-hint {
  position: absolute;
  top: 6%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(5, 5, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  animation: hintFloat 2.2s ease-in-out infinite;
  pointer-events: none;
}

.keypad-hint__text {
  font-weight: 500;
}

.keypad-hint__arrow {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
  animation: arrowPulse 1.2s ease-in-out infinite;
  display: inline-block;
}

@keyframes hintFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.85;
  }
  50% {
    transform: translate(-6px, -6px);
    opacity: 1;
  }
}

@keyframes arrowPulse {
  0%, 100% {
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    transform: rotate(45deg) translate(3px, -3px);
  }
}

.about-keypad .keypad {
  position: relative;
  aspect-ratio: 400 / 310;
  display: flex;
  place-items: center;
  width: clamp(280px, 45vw, 500px);
  -webkit-tap-highlight-color: transparent;
  transition-property: translate, transform;
  transition-duration: 0.26s;
  transition-timing-function: ease-out;
  transform-style: preserve-3d;
}

.about-keypad .keypad__base {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.about-keypad .keypad__base img {
  width: 100%;
  pointer-events: none;
}

.about-keypad .keypad__single {
  position: absolute;
  width: 21%;
  left: 54%;
  bottom: 36%;
  height: 24%;
  clip-path: polygon(
    0 0,
    54% 0,
    89% 24%,
    100% 70%,
    54% 100%,
    46% 100%,
    0 69%,
    12% 23%,
    47% 0%
  );
  mask: url(https://assets.codepen.io/605876/keypad-single.png?format=auto&quality=86)
    50% 50% / 100% 100%;
}

.about-keypad .keypad__single .key__surface {
  --brightness: 2;
  --saturate: 0;
  top: 0;
  opacity: 1;
  width: 96%;
  position: absolute;
  left: 50%;
  translate: -50% 1%;
  filter: hue-rotate(calc(var(--hue, 0) * 1deg))
    saturate(var(--saturate, 1)) brightness(var(--brightness, 1));
  pointer-events: none;
}

.about-keypad .key {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline: none;
  transform-style: preserve-3d;
}

.about-keypad .key__mask {
  width: 100%;
  height: 100%;
  display: inline-block;
}

.about-keypad .key__content {
  width: 100%;
  display: inline-block;
  height: 100%;
  transition: translate 0.12s ease-out;
  container-type: inline-size;
}

.about-keypad .key__text {
  width: 52%;
  height: 62%;
  position: absolute;
  font-size: 18cqi;
  z-index: 21;
  top: 5%;
  left: 0;
  color: hsl(0 0% 4%);
  translate: 45% -16%;
  transform: rotateX(36deg) rotateY(45deg) rotateX(-90deg);
  display: grid;
  place-items: center;
}

.about-keypad .key[data-pressed='true'] .key__content,
.about-keypad .key:active .key__content {
  translate: 0 calc(var(--travel, 20) * 1%);
}

.about-keypad #one {
  left: 13.5%;
  bottom: 57.2%;
}

.about-keypad #two {
  left: 25.8%;
  bottom: 48.5%;
}

.about-keypad #three {
  left: 38%;
  bottom: 39.2%;
}

.about-keypad #four {
  left: 50.4%;
  bottom: 30.2%;
}

.about-keypad #five {
  left: 62.7%;
  bottom: 21%;
}

.about-keypad #five .key__text {
  font-size: 34cqi;
  filter: none;
}

.about-keypad #five .key__surface {
  --brightness: 0.45;
  --saturate: 0.15;
}

.about-keypad .key__text--logo img {
  width: 60%;
  filter: none;
  pointer-events: none;
}

.about-keypad [data-key] {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
}

.about-keypad [data-key] svg {
  width: 50%;
}

[data-platform='macos'] .about-keypad #one .key__text {
  color: #fff;
  font-size: 22cqi;
}

[data-platform='macos'] .about-keypad #one .key__surface {
  --saturate: 0;
  --brightness: 0.6;
}

[data-platform='gemini'] .about-keypad #one .key__surface {
  --brightness: 1.4;
  --saturate: 0.4;
  --hue: 330;
}

[data-platform='gemini'] .about-keypad #one .key__text {
  color: hsl(214 81% 100%);
}

[data-platform='claude'] .about-keypad #one .key__surface {
  --brightness: 0.6;
  --saturate: 0;
}

[data-platform='claude'] .about-keypad #one .key__text {
  color: #d97757;
}

[data-platform='perplexity'] .about-keypad #one .key__surface {
  --hue: 280;
  --brightness: 0.8;
  --saturate: 1.2;
}

[data-platform='perplexity'] .about-keypad #one .key__text {
  color: #fff;
}

[data-platform='macos'] .about-keypad [data-key='macos'],
[data-platform='perplexity'] .about-keypad [data-key='perplexity'],
[data-platform='claude'] .about-keypad [data-key='claude'],
[data-platform='gemini'] .about-keypad [data-key='gemini'] {
  display: grid;
}


.section-block {
  padding: 3rem 2rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(7, 7, 15, 0.85));
  box-shadow: var(--shadow-soft);
}

.section-heading {
  max-width: 720px;
}

.where-to-meet .meeting-cities {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  max-width: 560px;
}

.where-to-meet .meeting-cities li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary, #a6a7c3);
}

.where-to-meet .meeting-cities li:last-child {
  border-bottom: none;
}

.where-to-meet .meeting-cities strong {
  color: var(--text-primary, #f7f7ff);
}

.where-to-meet__note {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-secondary, #a6a7c3);
  max-width: 560px;
}

.where-to-meet__note a {
  color: var(--text-primary, #4cf2ff);
  text-decoration: none;
}

.where-to-meet__note a:hover {
  text-decoration: underline;
}

.faq-section .faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.faq-section .faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.faq-section .faq-item__q {
  padding: 1rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-section .faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-section .faq-item__q::after {
  content: '+';
  float: right;
  font-size: 1.2rem;
}

.faq-section .faq-item[open] .faq-item__q::after {
  content: '−';
}

.faq-section .faq-item__a {
  margin: 0;
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary, #a6a7c3);
}

.logo-marquee {
  margin-top: 2.5rem;
  position: relative;
  padding-block: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 2, 4, 0.85);
  overflow: hidden;
}

.logo-marquee__track {
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  width: max-content;
  min-width: 200%;
  animation: marquee linear infinite;
  animation-duration: var(--duration, 28s);
}

.logo-marquee__track li {
  width: clamp(140px, 10vw, 220px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(8, 12, 22, 0.5));
  position: relative;
  box-shadow: inset 0 8px 35px rgba(0, 0, 0, 0.4), inset 0 0 45px rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.logo-marquee__track svg {
  width: 70%;
  height: 70%;
  fill: currentColor;
  stroke: currentColor;
  color: #fff;
}

.logo-marquee__track img,
.logo-mark {
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.logo-marquee::before,
.logo-marquee::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 22%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 90%);
  z-index: 2;
}

.logo-marquee::after {
  right: 0;
  left: auto;
  transform: scaleX(-1);
}

.logo-marquee::before {
  left: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.world-map {
  position: relative;
  margin-top: 2.5rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, rgba(76, 242, 255, 0.12), rgba(0, 0, 0, 0.65));
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

#map {
  height: clamp(360px, 50vw, 540px);
  position: relative;
}

#map svg {
  width: 100%;
  height: 100%;
}

.map-error {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.country-path {
  fill: #181820;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.5;
  transition: fill 0.3s ease, transform 0.3s ease;
}

.country-path.highlight {
  fill: var(--fill-color, var(--accent-strong));
}

.country-path:hover {
  fill: var(--accent);
  cursor: pointer;
}

#map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(3, 4, 12, 0.9);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -120%);
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--text-primary);
}

.global-footer {
  background: #05050c;
  color: var(--text-secondary);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 1;
  transform: none;
}

.footer-nav,
.footer-flags {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary, #a6a7c3);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-social:hover,
.footer-social:focus {
  color: var(--text-primary, #f7f7ff);
  opacity: 1;
}

.footer-social svg {
  display: block;
}

.footer-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.footer-logo img {
  width: 80px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

@media (max-width: 1080px) {
  main.about-page {
    width: min(1100px, 100% - 2rem);
    padding: 4rem 0 3rem;
  }

  .section-block {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  body::after {
    background-size: 60px 60px;
  }

  .header-area {
    padding: 0 clamp(1rem, 6vw, 2rem);
    min-height: 64px;
  }

  .logo-container {
    left: clamp(1rem, 6vw, 2rem);
  }

  .menu-trigger {
    right: clamp(1rem, 6vw, 2rem);
  }

  .about-copy {
    padding: 1.8rem;
  }

  .logo-marquee::before,
  .logo-marquee::after {
    width: 18%;
  }

  .global-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  main.about-page {
    width: calc(100% - 1.5rem);
    gap: 3rem;
  }

  .header-area {
    padding: 0 1.25rem;
    min-height: 58px;
  }

  .logo-container {
    left: 1.25rem;
    font-size: 0.65rem;
  }

  .section-block,
  .about-copy {
    border-radius: 24px;
  }

  .logo-marquee__track li {
    width: clamp(120px, 40vw, 220px);
  }

  .menu-trigger {
    right: 1.25rem;
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 0.55rem;
  }
}
