@font-face {
  font-family: Inter;
  src: url(/assets/fonts/inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Fallback";
  src: local(Arial), local("Helvetica Neue"), local(Helvetica);
  ascent-override: 90.3%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.28%;
}

:root {
  --blue: #5b8ef5;
  --blue-dim: rgb(91 142 245 / .1);
  --text: #0e1117;
  --text-2: #3d4451;
  --text-3: #6b7280;
  --border: #e4e8f0;
  --border-card: #dde3ee;
  --bg: #fff;
  --bg-soft: #f8faff;
  --night: #050810;
  --r: 16px;
  --r-sm: 10px;
  --pill: 99px;
  --gutter: 28px;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Inter, "Inter Fallback", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

:focus-visible {
  outline: 3px solid rgb(91 142 245 / .5);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

:is(h1, h2) em {
  font-style: normal;
  color: var(--blue);
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 9;
  height: 61px;
  padding-inline: max(var(--gutter), 50% - 552px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffffe6;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);

  img { height: 36px; width: auto; }
}

#menu {
  display: flex;
  gap: 2px;
  position: static;
  margin: 0;
  border: 0;
  padding: 0;
  background: none;
  overflow: visible;

  a {
    padding: 6px 12px;
    border-radius: var(--r-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-3);
    transition: color .2s, background .2s;

    &:hover { color: var(--text); background: var(--bg-soft); }
  }
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  transition: background .2s;

  &::before, &::after, span {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .25s, opacity .25s;
  }
  @media (hover: hover) { &:hover { background: var(--bg-soft); } }
}

.nav:has(:popover-open) .menu-btn {
  &::before { transform: translateY(7px) rotate(45deg); }
  span { opacity: 0; transform: scaleX(0); }
  &::after { transform: translateY(-7px) rotate(-45deg); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s cubic-bezier(.4, 0, .2, 1);
  transition-property: color, background, box-shadow;
}
.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 4px 16px #5b8ef559;

  &:hover { background: #4a7ee8; box-shadow: 0 8px 26px #5b8ef573; }
}
.outline {
  border: 1px solid var(--border-card);
  color: var(--text-2);

  &:hover { background: var(--bg-soft); }
}
.ghost {
  color: #ffffffbf;
  background: #ffffff0f;

  &:hover { color: #fff; background: #ffffff1a; }
}
.btn:is(:disabled, [aria-disabled]) {
  border: 1px solid var(--border);
  color: #9ca3af;
  background: var(--bg-soft);
  cursor: not-allowed;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px var(--gutter) 80px;
  text-align: center;
  color: #ffffff80;
  background: var(--night);
  --glow: radial-gradient(circle, rgb(91 142 245 / .1), transparent 65%) 50% -200px / 700px 700px no-repeat;

  &::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: linear-gradient(-45deg, #050810, #08101e, #060c18, #0b1226, #05080f, #08101e);
    animation: drift 22s ease infinite;
  }
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--glow), radial-gradient(rgb(255 255 255 / .025) 1px, transparent 1px) 0 0 / 36px 36px;
  }
  > div {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  h1 {
    margin-bottom: 18px;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    color: #fff;
  }
  h1 + p { max-width: 480px; font-size: 17px; line-height: 1.75; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 14px;
  border: 1px solid rgb(91 142 245 / .22);
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #89b4f8;
  background: var(--blue-dim);

  &.live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulse 2s ease infinite;
  }
}

.home {
  --glow: none;
  padding: 90px var(--gutter) 104px;

  > div { max-width: 780px; }
  .badge { margin-bottom: 24px; }
  h1 { margin-bottom: 20px; font-size: 60px; line-height: 1.06; letter-spacing: -2.5px; }
  h1 + p { max-width: 600px; margin-bottom: 34px; }
}
.about > div { max-width: 680px; }
.about h1 + p { max-width: 520px; }

@keyframes drift { 50% { transform: translate(18%, 9%); } }
@keyframes pulse { 50% { opacity: .4; transform: scale(1.4); } }

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sec { padding: 88px var(--gutter); }
.tall { padding-block: 96px; }
.soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker {
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.head {
  text-align: center;

  .eyebrow { margin-bottom: 10px; }
  h2 { margin-bottom: 14px; font-size: 38px; font-weight: 800; letter-spacing: -1px; }
  p:last-child {
    max-width: 560px;
    margin: 0 auto 52px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-3);
  }
}

.grid {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.more { margin-top: 40px; text-align: center; }

.card {
  border: 1px solid var(--border-card);
  border-radius: var(--r);
  background: var(--bg);
  transition: box-shadow .25s, border-color .25s;
}
:where(.card) {
  h2 { font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
  p { font-size: 14px; line-height: 1.65; color: var(--text-3); }
}
:is(.feature, .contact):hover {
  border-color: #5b8ef540;
  box-shadow: 0 8px 28px rgb(14 17 23 / .09);
}

.ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-dim);

  svg { width: 22px; height: 22px; }
}

.features { gap: 18px; }
.feature {
  padding: 28px 26px;

  .ico { margin-bottom: 18px; }
  svg { width: 21px; height: 21px; }
  h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
}

.app {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  box-shadow: 0 1px 3px rgb(14 17 23 / .05);

  &:hover {
    border-color: #5b8ef540;
    box-shadow: 0 12px 36px #5b8ef51f, 0 2px 8px #0e11170f;
  }
  > img, .ph {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    border-radius: 16px;
  }
  > img { display: block; box-shadow: 0 4px 14px #0000001f; }
  .ph {
    display: grid;
    place-items: center;
    border: 1.5px dashed var(--border-card);
    font-size: 24px;
    background: var(--bg-soft);
  }
  h2 { margin-bottom: 8px; font-size: 19px; }
  p { flex-grow: 1; margin-bottom: 22px; }
  div:last-child {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
  }
}
.tag {
  width: fit-content;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-dim);
}
.muted {
  border: 1px solid var(--border-card);
  color: var(--text-3);
  background: var(--bg-soft);
}
.centered .app {
  padding: 28px;

  &:hover { box-shadow: 0 12px 36px #5b8ef521, 0 2px 8px #0e11170f; border-color: #5b8ef547; }
  > img, .ph, .tag { margin: 0 auto 14px; }
  .ph { border-width: 1px; font-size: 22px; color: #b0b8c8; }
  h2, p { text-align: center; }
  h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: 0; }
  p { line-height: 1.6; }
}

.cta {
  padding: 96px var(--gutter);
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);

  h2 { margin-bottom: 14px; font-size: 40px; font-weight: 800; letter-spacing: -1.2px; }
  p { margin-bottom: 36px; font-size: 16px; line-height: 1.7; color: var(--text-3); }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
  margin-inline: auto;
}
:where(.split > div) p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-3);

  &:not(:last-child) { margin-bottom: 14px; }
}
.mission {
  gap: 52px;
  align-items: center;

  h2 { margin-bottom: 20px; font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -.8px; }
}
.stats {
  display: grid;
  gap: 20px;

  div {
    padding: 24px 26px;
    border: 1px solid var(--border-card);
    border-left: 4px solid var(--blue);
    border-radius: var(--r);
    background: var(--bg-soft);
  }
  b {
    display: block;
    margin-bottom: 4px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1.5px;

    span { color: var(--blue); }
  }
  p { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--text-3); }
}
.how { margin-bottom: 32px; text-align: center; }
.indie {
  gap: 44px;
  align-items: start;
  padding: 48px 52px;
  background: var(--bg-soft);
  box-shadow: 0 2px 10px rgb(14 17 23 / .06);

  h2 { margin-bottom: 18px; font-size: 28px; line-height: 1.2; letter-spacing: -.5px; }
}
.pillars {
  display: grid;
  gap: 14px;

  li {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--border-card);
    border-radius: var(--r-sm);
    background: var(--bg);
    list-style: none;
  }
  .ico { width: 36px; height: 36px; border-radius: 9px; }
  svg { width: 17px; height: 17px; }
  h3 { margin-bottom: 3px; font-size: 14px; font-weight: 700; }
  p { font-size: 13px; line-height: 1.55; }
}

.contacts {
  grid-template-columns: 1fr 1fr;
  max-width: 880px;
  margin: 0 auto 20px;
}
.contact {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: var(--bg-soft);

  .ico { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; }
  .kicker { letter-spacing: 1.5px; }
  h2 { margin-bottom: 10px; }
  p { flex-grow: 1; margin-bottom: 24px; }
}
.mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid rgb(91 142 245 / .22);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-dim);
  transition: background .2s, box-shadow .2s;

  &:hover { background: #5b8ef529; box-shadow: 0 4px 16px #5b8ef533; }
  svg { flex-shrink: 0; width: 16px; height: 16px; stroke-width: 2; }
}
.facts {
  max-width: 880px;
  margin-inline: auto;

  li {
    display: flex;
    gap: 16px;
    padding: 24px 26px;
    list-style: none;
    background: var(--bg-soft);
  }
  .ico { width: 38px; height: 38px; border-radius: 10px; }
  svg { width: 17px; height: 17px; }
  h3 { margin-bottom: 3px; font-size: 13px; font-weight: 700; }
  p { font-size: 13px; line-height: 1.55; }
}

.cat {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto 40px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.4px;

  small {
    margin-left: 4px;
    padding: 2px 10px;
    border: 1px solid var(--border-card);
    border-radius: var(--pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-3);
    background: var(--bg-soft);
  }
  .muted { border: 0; background: #6b72801a; }
}
.apps { max-width: 1100px; margin-inline: auto; }
.soon {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1100px;
  margin-inline: auto;
  padding: 52px 40px;
  box-shadow: 0 1px 3px rgb(14 17 23 / .05);

  > span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border: 1.5px dashed var(--border-card);
    border-radius: 20px;
    font-size: 52px;
    background: var(--bg-soft);
  }
  h2 { margin-bottom: 8px; font-size: 22px; }
  p { font-size: 15px; }
}

.legal {
  width: 100%;
  max-width: 760px;
  margin: 64px auto;
  padding-inline: 24px;
  color: var(--text-3);

  h1 { margin-bottom: 30px; font-size: 36px; font-weight: 800; letter-spacing: -.5px; text-align: center; color: var(--text); }
  h2 { margin: 36px 0 12px; font-size: 19px; font-weight: 700; color: var(--text); }
  h3 { margin: 22px 0 8px; font-size: 15.5px; font-weight: 700; color: var(--text); }
  p, li { margin-bottom: 13px; font-size: 15px; line-height: 1.75; }
  li { overflow-wrap: anywhere; }
  ul, ol { margin: 8px 0 18px; padding-left: 1.4rem; }
  a { color: var(--blue); }
  a:hover { text-decoration: underline; }
}
.updated {
  margin-top: -20px;
  text-align: center;
  font-style: italic;
}
.note {
  margin-bottom: 28px;
  padding: 14px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14px;
  line-height: 1.65;
  background: #5b8ef50d;
}

.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;

  b {
    margin-bottom: 16px;
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -6px;
    color: transparent;
    -webkit-text-stroke: 2px var(--border-card);
    user-select: none;
  }
  h1 { margin-bottom: 12px; font-size: 28px; font-weight: 700; letter-spacing: -.5px; }
  p { max-width: 420px; margin-bottom: 36px; font-size: 16px; line-height: 1.6; color: var(--text-3); }
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 32px max(28px, 50% - 552px);
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-3);

  nav { display: flex; gap: 20px; font-weight: 500; }
  a:hover { color: var(--blue); }
}

@media (width <= 900px) {
  .home { padding: 68px 24px 80px; }
  .home h1 { font-size: 42px; letter-spacing: -1.5px; }
}

@media (width <= 768px) {
  :root { --gutter: 20px; }
  .nav { height: 69px; padding-inline: 28px; }
  .menu-btn { display: flex; }
  #menu {
    position: fixed;
    inset: 69px 0 auto;
    width: auto;
    flex-direction: column;
    padding: 8px 28px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    animation: drop .2s ease;

    &:not(:popover-open) { display: none; }
    a { padding: 10px 12px; font-size: 15px; }
  }
  .hero { padding-block: 52px 64px; }
  .hero h1 { font-size: 34px; letter-spacing: -.5px; }
  .hero h1 + p { font-size: 15px; }
  .home { padding: 52px var(--gutter) 68px; }
  .home .badge { margin-bottom: 20px; padding-inline: 12px; font-size: 11.5px; }
  .sec, .tall { padding-block: 56px; }
  .cta { padding: 64px 20px; }
  .cta h2 { font-size: 28px; }
  .head h2 { font-size: 26px; letter-spacing: -.3px; }
  .head p:last-child { margin-bottom: 36px; font-size: 15px; }
  .grid, .split { grid-template-columns: 1fr; }
  .centered .app { padding: 22px 20px; }
  .mission { gap: 36px; }
  .mission h2 { font-size: 26px; }
  .indie { gap: 28px; padding: 28px 22px; }
  .indie h2 { font-size: 22px; }
  .soon { flex-direction: column; gap: 20px; padding: 36px 24px; text-align: center; }
  footer { flex-direction: column; gap: 12px; text-align: center; }
  .legal { margin-block: 40px; }
  .legal h1 { font-size: 26px; }
}

@media (width <= 420px) {
  :root { --gutter: 16px; }
  .nav { padding-inline: 16px; }
  #menu { padding-inline: 16px; }
  .hero { padding-block: 44px 56px; }
  .hero h1 { font-size: 28px; }
  .home { padding-bottom: 60px; }
  .home h1 { font-size: 30px; }
  .sec, .tall { padding-block: 48px; }
  .cta { padding: 52px 16px; }
  .indie { padding: 22px 16px; }
}

@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: none !important; transition: none !important; }
}
