/* PurpleSky: one stylesheet for both languages. No web fonts and no scripts: fast, private, and nothing to break. */

:root {
  --bg: #0b0118;
  --bg-2: #10041f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(196, 181, 253, 0.16);
  --line-2: rgba(196, 181, 253, 0.32);
  --text: #f5f3ff;
  --muted: #c6bfe2;
  --faint: #9a92bf;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --lilac: #c4b5fd;
  --fuchsia: #d946ef;
  --green: #6ee7b7;
  --radius: 18px;
  --max: 1120px;
  --header: 64px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  overflow-x: clip;
}

a {
  color: var(--lilac);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: rgba(217, 70, 239, 0.35);
}

img,
svg {
  max-width: 100%;
}

.wrap {
  width: min(var(--max), 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 650;
}

.skip:focus {
  left: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 1, 24, 0.74);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.lang:hover {
  border-color: var(--lilac);
  color: var(--text);
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 12px;
  }

  .site-header {
    position: relative;
  }

  .bar {
    flex-wrap: wrap;
    gap: 4px 16px;
    padding-top: 10px;
  }

  .brand {
    margin-right: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0;
    padding: 6px 0 12px;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }

  .nav::-webkit-scrollbar {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(100svh, 920px);
  padding: clamp(64px, 11vh, 132px) 0 clamp(170px, 27vh, 280px);
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 90px;
  background: linear-gradient(180deg, rgba(11, 1, 24, 0), var(--bg));
}

.moon {
  position: absolute;
  top: clamp(84px, 15vh, 150px);
  right: clamp(28px, 13vw, 210px);
  z-index: -1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 13px -9px 0 0 #f5f3ff;
  filter: drop-shadow(0 0 20px rgba(245, 243, 255, 0.5));
}

@media (max-width: 620px) {
  .moon {
    top: 34px;
    right: 26px;
    width: 40px;
    height: 40px;
    box-shadow: 9px -6px 0 0 #f5f3ff;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--lilac);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex: none;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--fuchsia));
}

h1 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.45rem, 4.4vw + 1rem, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 .soft {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--lilac), #f0abfc 70%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 60ch;
  margin: 24px 0 0;
  color: #e6e1f8;
  font-size: clamp(1.06rem, 0.45vw + 0.96rem, 1.24rem);
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(95deg, #7c3aed, #c026d3);
  box-shadow: 0 10px 30px -10px rgba(192, 38, 211, 0.7);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -10px rgba(192, 38, 211, 0.9);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--lilac);
}

/* Sections */

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg), var(--bg-2) 22%, var(--bg-2) 78%, var(--bg));
}

h2 {
  max-width: 22ch;
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 2.3vw + 1rem, 2.9rem);
  font-weight: 780;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.intro {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.prose p {
  color: var(--muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 920px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.figure {
  margin: 0;
  padding: 22px 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 246, 0.13), transparent 62%), var(--surface);
}

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

.figure figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.86rem;
}

.points,
.cards,
.pipeline,
.services,
.eco-cards,
.checks,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 6vw, 64px);
}

.points li,
.card,
.pipeline li,
.service,
.eco-cards li {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.points p,
.card p,
.pipeline p,
.service p,
.eco-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

@media (max-width: 920px) {
  .points {
    grid-template-columns: 1fr;
  }
}

/* Principles */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.card {
  padding: 26px 24px 24px;
  border-radius: var(--radius);
}

.num {
  display: block;
  margin-bottom: 14px;
  color: var(--violet-2);
  font: 700 0.8rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Built on AWS */

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 44px;
  counter-reset: step;
}

.pipeline li {
  position: relative;
  padding: 22px 18px 20px;
}

.pipeline li::before {
  content: counter(step);
  counter-increment: step;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--fuchsia));
  font-size: 0.85rem;
  font-weight: 750;
}

.pipeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -15px;
  width: 16px;
  height: 2px;
  background: var(--line-2);
}

.pipeline p {
  font-size: 0.93rem;
}

@media (max-width: 980px) {
  .pipeline {
    grid-template-columns: 1fr;
  }

  .pipeline li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -15px;
    left: 32px;
    width: 2px;
    height: 16px;
  }
}

.subhead {
  margin: clamp(48px, 6vw, 72px) 0 18px;
  color: var(--text);
  font-size: 1.25rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service {
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.09), transparent 70%), var(--surface);
}

.service:nth-child(n + 4) {
  grid-column: span 3;
}

.service h3 {
  font-size: 1.03rem;
}

.service p {
  font-size: 0.95rem;
}

.icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 11px;
  color: var(--lilac);
  background: rgba(139, 92, 246, 0.17);
}

.icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 980px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .service,
  .service:nth-child(n + 4) {
    grid-column: auto;
  }

  .service:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* Our ecosystem */

.eco {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 920px) {
  .eco {
    grid-template-columns: 1fr;
  }
}

.rings {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

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

.eco-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 6vw, 60px);
}

.eco-cards li:first-child {
  grid-column: 1 / -1;
  border-color: rgba(110, 231, 183, 0.38);
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.1), transparent 60%), var(--surface);
}

.eco-cards h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eco-cards h3::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--violet-2));
}

.eco-cards .nature {
  --dot: var(--green);
}

.eco-cards .people {
  --dot: var(--fuchsia);
}

.eco-cards .investors {
  --dot: #c084fc;
}

.eco-cards .markets {
  --dot: var(--violet-2);
}

.eco-cards .org {
  --dot: #f0abfc;
}

@media (max-width: 620px) {
  .eco-cards {
    grid-template-columns: 1fr;
  }
}

.quote {
  max-width: 44ch;
  margin: clamp(40px, 6vw, 64px) auto 0;
  color: var(--text);
  font-size: clamp(1.25rem, 1.1vw + 1rem, 1.6rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
}

/* Investors and partners */

.partner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 4.5vw, 52px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: radial-gradient(110% 120% at 0% 0%, rgba(139, 92, 246, 0.2), transparent 55%),
    radial-gradient(110% 120% at 100% 100%, rgba(217, 70, 239, 0.14), transparent 55%), var(--bg-2);
}

@media (max-width: 920px) {
  .partner {
    grid-template-columns: 1fr;
  }
}

.checks {
  display: grid;
  gap: 18px;
}

.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
}

.checks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--fuchsia));
  font-size: 0.78rem;
  font-weight: 800;
}

.checks strong {
  display: block;
  color: var(--text);
}

.checks span {
  color: var(--muted);
  font-size: 0.97rem;
}

.note {
  margin-top: 16px;
  color: var(--faint);
  font-size: 0.9rem;
}

/* About and contact */

.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 920px) {
  .about {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  border-color: var(--lilac);
  background: var(--surface-2);
}

.contact-list .label {
  flex: none;
  color: var(--faint);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Footer */

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
}

.site-footer p {
  margin: 0;
}

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

/* Diagrams (inline SVG text) */

.svg-text {
  fill: var(--muted);
  font-family: inherit;
  font-size: 15px;
}

.svg-strong {
  fill: var(--text);
  font-weight: 700;
}

.svg-fair {
  fill: var(--green);
  font-weight: 650;
}

.svg-side {
  fill: var(--faint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ring-label {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.ring-core {
  fill: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
}

/* The 404 page */

.lost {
  display: grid;
  place-items: center;
  min-height: 70vh;
  text-align: center;
}

.lost h1 {
  max-width: none;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
}

.lost p {
  color: var(--muted);
}

.lost .actions {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
