@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
}

:root {
  --bg: #F7F7F9;
  --ink: #121217;
  --body: #3B3B45;
  --muted: #6E6E78;
  --line: #E6E6EB;
  --pill: #141418;
  --violet: #7046F0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* Header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5.5vw, 76px);
  border-bottom: 1px solid var(--line);
}
.wordmark { font-weight: 800; font-size: 1.55rem; letter-spacing: -0.045em; }
.nav nav { display: flex; gap: clamp(20px, 3.6vw, 52px); }
.nav nav a { color: var(--muted); font-size: 1.1rem; transition: color .2s ease; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 9vh, 112px) 20px;
}
.eyebrow {
  margin: 0 0 34px;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.mark { position: relative; width: 104px; height: 104px; margin-bottom: 56px; }
.mark::before {
  content: "";
  position: absolute;
  inset: -72px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(112, 70, 240, .2), rgba(112, 70, 240, 0));
  animation: breathe 7s ease-in-out infinite;
}
.mark svg { position: relative; width: 100%; height: 100%; overflow: visible; }

.hero h1 {
  margin: 0;
  max-width: 1180px;
  font-weight: 800;
  font-size: clamp(3.2rem, 9.6vw, 8.6rem);
  line-height: .93;
  letter-spacing: -0.075em;
}
.sub {
  margin: 42px 0 0;
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  letter-spacing: -0.012em;
  color: var(--muted);
}

/* Call to action */
.cta {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.pill {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 23px 42px;
  background: var(--pill);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -16px rgba(20, 20, 24, .55); }

.join {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(460px, 100%);
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 34px -22px rgba(20, 20, 24, .4);
}
.join input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 18px;
  font: inherit;
  font-size: 1.1rem;
  color: var(--ink);
}
.join input[type="email"]::placeholder { color: #A3A3AD; }
.join button {
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  background: var(--pill);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
}
.join button[disabled] { opacity: .6; cursor: default; }
.note { margin: 0; min-height: 1.4em; font-size: .96rem; color: var(--muted); }
.note.ok { color: var(--ink); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
.foot { padding: 26px 20px 34px; text-align: center; font-size: .9rem; color: var(--muted); }
.foot a:hover, .foot a[aria-current="page"] { color: var(--ink); }
.foot span { margin: 0 8px; opacity: .5; }

/* Inner pages */
.page { width: 100%; max-width: 640px; margin: 0 auto; padding: clamp(56px, 11vh, 120px) 20px; }
.page h1 { margin: 0 0 28px; font-weight: 800; font-size: clamp(2.6rem, 6.5vw, 4.2rem); line-height: 1; letter-spacing: -0.065em; }
.page h2 { margin: 36px 0 8px; font-size: 1.2rem; letter-spacing: -0.02em; }
.page p, .page li { font-size: 1.12rem; line-height: 1.65; color: var(--body); }
.page p { margin: 0 0 16px; }
.page ul { padding-left: 1.2em; margin: 0 0 16px; }
.page a.link { color: var(--ink); border-bottom: 1px solid var(--line); }
.page a.link:hover { border-color: var(--ink); }
.page .big { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.page .meta { color: var(--muted); font-size: .95rem; }

/* Motion */
@keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero > :nth-child(2) { animation-delay: .06s; }
.hero > :nth-child(3) { animation-delay: .12s; }
.hero > :nth-child(4) { animation-delay: .18s; }
.hero > :nth-child(5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

@media (max-width: 520px) {
  .nav { padding: 20px; }
  .wordmark { font-size: 1.35rem; }
  .nav nav a { font-size: 1rem; }
  .eyebrow { font-size: .78rem; letter-spacing: .26em; margin-bottom: 28px; }
  .mark { width: 84px; height: 84px; margin-bottom: 44px; }
  .sub { margin-top: 30px; }
  .cta { margin-top: 40px; }
  .pill { padding: 20px 36px; font-size: 1.15rem; }
}

/* Get Jupiter: pick your chat app */
a.pill { display: inline-block; }
.get .eyebrow { margin-bottom: 64px; }
.apps { display: flex; justify-content: center; gap: clamp(36px, 8vw, 88px); }
.app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-radius: 34px;
  transition: transform .2s ease;
}
a.app:hover { transform: translateY(-3px); }
a.app:hover .app-icon { box-shadow: 0 22px 44px -22px rgba(20, 20, 24, .55); }
.app-icon {
  display: grid;
  place-items: center;
  width: clamp(104px, 22vw, 132px);
  aspect-ratio: 1;
  border-radius: 30%;
  color: #fff;
  box-shadow: 0 14px 34px -22px rgba(20, 20, 24, .45);
  transition: box-shadow .2s ease;
}
.app-icon svg { width: 54%; height: 54%; fill: currentColor; }
.app-icon.wa { background: #25D366; }
.app-icon.tg { background: #2AABEE; }
.app-name { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.app.soon { cursor: default; }
.app.soon .app-icon { filter: grayscale(1); opacity: .45; box-shadow: none; }
.app.soon .app-name { color: var(--muted); }
.app-tag {
  margin-top: -10px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
