:root {
  color-scheme: light;
  --ink: #121417;
  --muted: #67717d;
  --subtle: #8b949e;
  --paper: #f8fafc;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: #ffffff;
  --line: rgba(15, 23, 42, 0.1);
  --shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
  --blue: #0066cc;
  --blue-soft: #e7f0ff;
  --radius-xl: 36px;
  --radius-lg: 28px;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    sans-serif;
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(187, 215, 255, 0.62), transparent 32rem),
    radial-gradient(circle at 12% 38%, rgba(255, 255, 255, 0.9), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 64%, #eef2f7 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: rgba(18, 20, 23, 0.16);
  font-size: 16px;
  font-weight: 480;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.wordmark:hover {
  color: rgba(18, 20, 23, 0.38);
}

.mark {
  color: rgba(18, 20, 23, 0.18);
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.16em;
  line-height: 1;
  text-transform: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.menu-nav {
  position: relative;
  margin-left: auto;
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown summary {
  list-style: none;
}

.menu-dropdown summary::-webkit-details-marker {
  display: none;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 13px 8px 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 250, 253, 0.64));
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
  color: rgba(18, 20, 23, 0.62);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.menu-trigger:hover {
  border-color: rgba(0, 102, 204, 0.22);
  color: var(--ink);
  transform: translateY(-1px);
}

.menu-icon {
  position: relative;
  display: grid;
  width: 18px;
  height: 14px;
}

.menu-icon span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.menu-dropdown[open] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(42deg);
}

.menu-dropdown[open] .menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.menu-dropdown[open] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-42deg);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.menu-dropdown[open] .menu-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  border-radius: 15px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: -0.01em;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.menu-link:hover {
  background: rgba(0, 102, 204, 0.07);
  color: var(--blue);
  transform: translateX(2px);
}

.menu-link.active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 720;
}

.menu-link.active::after {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.09);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.language-switch a {
  padding: 7px 10px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.language-switch a:hover,
.language-switch .active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

main {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  justify-items: center;
  padding: clamp(76px, 10vw, 132px) 0 42px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--subtle);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.intro {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.quiet-hero {
  padding: clamp(44px, 6vw, 74px) 0 18px;
}

.compact-hero {
  padding: clamp(24px, 5vw, 54px) 0 0;
}

.tagline {
  max-width: 540px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.quiet-hero .ownership-note {
  max-width: 560px;
  margin-top: 16px;
  font-size: clamp(15px, 1.6vw, 17px);
}

.apps {
  position: relative;
  margin: 26px auto clamp(72px, 9vw, 112px);
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 102, 204, 0.055), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.6));
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.studio-signal {
  position: absolute;
  inset: -14% -8%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(0, 102, 204, 0.075);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
}

.orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.18);
  box-shadow: 0 0 24px rgba(0, 102, 204, 0.3);
  content: "";
}

.orbit-one {
  width: min(88vw, 920px);
  height: 260px;
  animation: studio-orbit 28s linear infinite;
}

.orbit-one::after {
  left: 12%;
  top: 30%;
}

.orbit-two {
  width: min(76vw, 760px);
  height: 410px;
  border-color: rgba(99, 115, 131, 0.08);
  animation: studio-orbit-reverse 36s linear infinite;
}

.orbit-two::after {
  right: 18%;
  bottom: 18%;
  background: rgba(99, 115, 131, 0.16);
}

.orbit-three {
  width: min(58vw, 560px);
  height: 560px;
  border-color: rgba(115, 130, 110, 0.07);
  animation: studio-orbit 42s linear infinite;
}

.orbit-three::after {
  left: 49%;
  top: -4px;
  background: rgba(115, 130, 110, 0.16);
}

.signal-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.18);
  box-shadow: 0 0 22px rgba(0, 102, 204, 0.28);
  animation: signal-pulse 5.8s ease-in-out infinite;
}

.dot-one {
  left: 14%;
  top: 24%;
}

.dot-two {
  left: 82%;
  top: 18%;
  animation-delay: -1.3s;
}

.dot-three {
  left: 68%;
  top: 72%;
  animation-delay: -2.1s;
}

.dot-four {
  left: 28%;
  top: 76%;
  animation-delay: -3s;
}

.dot-five {
  left: 50%;
  top: 42%;
  animation-delay: -4.2s;
}

.app-group {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.group-label {
  margin: 0;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.app-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: clamp(28px, 4vw, 44px) auto;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.16), transparent);
}

.collaboration-grid {
  grid-template-columns: minmax(220px, 340px);
  justify-content: center;
}

.app-card {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 254px;
  justify-items: center;
  align-content: center;
  padding: 30px 22px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.9), transparent 70%),
    var(--panel);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

@keyframes studio-orbit {
  from {
    transform: translate(-50%, -50%) rotate(-10deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(350deg);
  }
}

@keyframes studio-orbit-reverse {
  from {
    transform: translate(-50%, -50%) rotate(14deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-346deg);
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.82);
  }

  45% {
    opacity: 0.72;
    transform: scale(1.28);
  }
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 204, 0.22);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}

.app-icon,
.placeholder-icon {
  display: grid;
  width: clamp(112px, 12vw, 152px);
  height: clamp(112px, 12vw, 152px);
  margin-bottom: 22px;
  place-items: center;
  border-radius: 33%;
  box-shadow:
    0 18px 42px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.app-icon {
  object-fit: cover;
}

.app-name {
  font-size: 24px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.app-desc {
  max-width: 220px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.app-meta {
  margin-top: 10px;
  color: var(--blue);
  font-size: 14px;
}

.wip {
  color: #56616d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(244, 247, 251, 0.78)),
    var(--panel);
}

.wip::after {
  content: "WIP";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.placeholder-icon {
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(145deg, #eef3f8, #bfc9d3);
}

.placeholder-icon svg {
  width: 66%;
  height: 66%;
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.78;
}

.market {
  color: #637383;
}

.finance {
  color: #73826e;
}

.stocks {
  color: #6f7c90;
}

.museum {
  color: #68727c;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  padding: 30px clamp(22px, 5vw, 72px) 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--blue);
}

.legal-page {
  max-width: 760px;
  padding: clamp(58px, 8vw, 98px) 0;
}

.legal-page h1 {
  max-width: 680px;
  font-size: clamp(38px, 6vw, 68px);
}

.legal-page h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.legal-page a {
  color: var(--blue);
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy-date {
  margin-top: 42px;
  color: var(--subtle);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: center;
    flex-wrap: wrap;
  }

  .nav {
    margin-left: 0;
  }

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collaboration-grid {
    grid-template-columns: minmax(220px, 340px);
  }

  .studio-signal {
    inset: -8% -28%;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 24px, 1160px);
  }

  .wordmark {
    font-size: 15px;
  }

  .site-header {
    gap: 14px;
  }

  .menu-panel {
    right: auto;
    left: 0;
    transform-origin: top left;
  }

  .hero {
    padding-top: 54px;
  }

  .apps {
    border-radius: 30px;
    padding: 14px;
  }

  .studio-signal {
    inset: -4% -60%;
    opacity: 0.74;
  }

  .app-grid,
  .collaboration-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 226px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit,
  .signal-dot {
    animation: none;
  }

  .signal-dot {
    opacity: 0.28;
  }
}
