:root {
  --bg: #f5f5f7;
  --panel: #ffffff;
  --ink: #0b0b0d;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #f97316;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(0, 0, 0, 0.08) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
  opacity: 0.06;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 max(22px, 4vw);
  backdrop-filter: blur(12px);
  background: rgba(245, 245, 247, 0.72);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.logo {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.language-switcher {
  margin-left: auto;
  position: relative;
}

.language-trigger {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.language-trigger:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.28);
}

.language-trigger:active {
  transform: scale(0.97);
}

.language-trigger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.language-trigger svg {
  width: 18px;
  height: 18px;
  fill: #111827;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.language-menu button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  font: inherit;
  font-size: 0.86rem;
  color: #1f2937;
  cursor: pointer;
}

.language-menu button:hover {
  background: #f3f4f6;
}

.language-menu button.active {
  background: #e5e7eb;
  color: #111827;
  font-weight: 600;
}

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

.logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

main {
  scroll-snap-type: y mandatory;
}

.panel {
  min-height: 100svh;
  padding: clamp(76px, 10vw, 120px) max(22px, 8vw) clamp(36px, 5vw, 58px);
  display: grid;
  align-content: center;
  scroll-snap-align: start;
}

.hero {
  background: radial-gradient(circle at 80% 0%, #ffffff 0%, #f5f5f7 45%);
}

.problem {
  background: linear-gradient(180deg, #f0f1f4 0%, #f7f7f8 100%);
}

.statement {
  background: #ffffff;
}

.ecosystem {
  background: linear-gradient(180deg, #fcfcfd 0%, #f5f7fa 100%);
}

.architecture {
  background: linear-gradient(180deg, #f7f5ef 0%, #ffffff 100%);
}

.products {
  background: #f7f9fc;
}

.metrics {
  background: #111318;
  color: #f9fafb;
}

.flow {
  background: #f4f4f5;
}

.team {
  background: #ffffff;
}

.investment {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.close {
  background: #f5f5f7;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}

h1,
h2,
h3,
h4,
p,
ul,
li {
  margin: 0;
}

h1 {
  margin-top: 10px;
  font-size: clamp(2.4rem, 8vw, 6.4rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  max-width: 8ch;
}

.sub {
  margin-top: 14px;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--muted);
}

.problem h2,
.statement h2,
.investment h2,
.close h2 {
  font-size: clamp(2rem, 7vw, 5.2rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.problem h2,
.investment h2,
.close h2 {
  margin-top: 8px;
  max-width: 12ch;
}

.triptych,
.flowline,
.duo {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

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

.triptych article,
.flowline article,
.products article,
.duo article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.triptych article,
.flowline article {
  padding: 24px 22px;
}

.triptych h3,
.flowline h3,
.products h3,
.duo h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
}

.triptych p,
.flowline p,
.products p,
.duo p,
.investment li {
  margin-top: 8px;
  color: var(--muted);
}

.statement h2 {
  max-width: 11ch;
}

.ecosystem h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 7vw, 5.2rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  max-width: 12ch;
}

.eco-track {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.eco-track article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
}

.eco-track h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.eco-track p {
  margin-top: 8px;
  color: var(--muted);
}

.orbs {
  margin-top: 22px;
  max-width: 420px;
}

.orbs svg {
  width: 100%;
  height: auto;
  display: block;
}

.architecture .flowline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.products img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.products article > a {
  display: block;
}

.product-copy {
  padding: 20px;
}

.tag {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9a3412;
}

.products h3 {
  margin-top: 10px;
}

.products h3 a {
  color: inherit;
  text-decoration: none;
}

.metric-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid article {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 14px;
}

.metric-grid h4 {
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  letter-spacing: -0.03em;
}

.metric-grid p {
  margin-top: 4px;
  color: #9ca3af;
}

.flow ol {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.flow li {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.flow span {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.duo {
  grid-template-columns: 1fr 1fr;
}

.duo article {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
}

.duo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.duo article > div {
  padding: 20px;
}

.investment ul {
  margin-top: 18px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  max-width: 70ch;
}

.close p {
  margin-top: 12px;
  color: var(--muted);
}

.legal-footer {
  border-top: 1px solid var(--line);
  background: #f2f2f4;
  padding: 26px max(22px, 8vw) 28px;
}

.legal-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 22px;
  max-width: 1200px;
}

.legal-col {
  display: grid;
  gap: 6px;
}

.legal-label {
  margin: 0;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
}

.legal-col p,
.legal-copy {
  margin: 0;
  color: #6b7280;
  font-size: 0.83rem;
  line-height: 1.45;
}

.legal-col a {
  color: inherit;
  text-decoration: none;
}

.legal-col a:hover {
  color: #374151;
}

.legal-copy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .triptych,
  .eco-track,
  .architecture .flowline,
  .products,
  .duo,
  .duo article {
    grid-template-columns: 1fr;
  }

  .duo img {
    max-height: 260px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 52px;
  }

  .language-menu {
    min-width: 190px;
    right: -6px;
  }

  .panel {
    min-height: 100svh;
    padding-top: 78px;
    padding-inline: 20px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}
