/* Orbit launch page. One dark look on purpose: it is the app's own. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(/fonts/dm-sans-latin-opsz-normal.woff2) format("woff2");
}

:root {
  --bg: #0A0B12;
  --panel: #151824;
  --panel2: #1B1F2E;
  --line: #252a3a;
  --ink: #F3F1F4;
  --muted: #A3A5B5;
  --quiet: #8C8EA0;
  --blush: #E7A9B9;
  --blush-ink: #2A1018;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "DM Sans", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 75% -10%, #1a2350 0%, transparent 60%), var(--bg);
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 24px 72px; }

nav { display: flex; align-items: center; gap: 10px; font: 600 17px var(--display); }
nav img { width: 30px; height: 30px; border-radius: 8px; }
nav .soon { margin-left: auto; font: 500 13px var(--text); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; }
.eyebrow { font: 600 13px var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--blush); margin-bottom: 16px; }
h1 { font: 700 clamp(40px, 6vw, 70px)/1.02 var(--display); letter-spacing: -.02em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--blush); }
.lede { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 30em; }

/* The button, then the email field, then the thank-you. */
.join { margin-top: 32px; max-width: 440px; }
.join .emailform, .join .thanks, .join .use { display: none; }
.join[data-state="email"] .cta, .join[data-state="sending"] .cta { display: none; }
.join[data-state="email"] .emailform, .join[data-state="sending"] .emailform { display: flex; }
.join[data-state="email"] .use, .join[data-state="sending"] .use, .join[data-state="done"] .use { display: block; }
.join[data-state="done"] .cta, .join[data-state="done"] .emailform { display: none; }
.join[data-state="done"] .thanks { display: block; }

.cta, .emailform button {
  font: 600 17px var(--text);
  background: var(--blush);
  color: var(--blush-ink);
  border: 0;
  border-radius: 16px;
  padding: 16px 26px;
  cursor: pointer;
}
.cta:hover, .emailform button:hover { background: #EFB9C7; }
.cta:focus-visible, .emailform button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.emailform button:disabled { opacity: .6; cursor: default; }
.emailform { gap: 8px; flex-wrap: wrap; }
.emailform input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  font: 500 16px var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 16px;
  padding: 15px 16px;
}
.emailform input[type="email"]::placeholder { color: var(--quiet); }
.emailform input[type="email"]:focus { outline: 2px solid var(--blush); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { margin-top: 10px; font-size: 14px; line-height: 1.45; color: #F2B8A2; }
.thanks { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; line-height: 1.5; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.fine.use { margin-top: 8px; font-size: 13px; color: var(--quiet); }

/* Two app screens with widget-style cards floating over them. */
.phones { position: relative; height: 620px; }
.shot { position: absolute; width: 280px; border-radius: 34px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px #2b3044; }
.p1 { right: 140px; top: 20px; z-index: 2; }
.p2 { right: 0; top: 80px; opacity: .85; transform: rotate(4deg); }
.w {
  position: absolute;
  z-index: 3;
  background: rgba(27, 31, 46, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #2f3550;
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7);
  min-width: 150px;
}
.w .k { font: 500 12px var(--text); color: var(--muted); }
.w .v { font: 700 30px/1.1 var(--display); margin-top: 4px; font-variant-numeric: tabular-nums; }
.w .v small { font-size: 16px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.w .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.w.dist { left: 0; top: 40px; }
.w.count { left: 20px; bottom: 70px; }
.w.count .v { color: var(--blush); }
.w.time { right: 10px; bottom: 10px; }

.ld { margin-top: 96px; border-top: 1px solid var(--line); padding-top: 40px; }
.ld h2 { font: 700 clamp(26px, 3vw, 34px)/1.15 var(--display); letter-spacing: -.01em; max-width: 22em; text-wrap: balance; }
.feats { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feats h3 { font: 600 20px var(--display); margin-bottom: 8px; }
.feats p { color: var(--muted); line-height: 1.55; }

footer { margin-top: 72px; color: var(--quiet); font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; }

/* The privacy and not-found pages: one column of text. */
.page { max-width: 640px; padding-top: 56px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.08; }
.page h2 { font: 600 20px var(--display); margin-top: 32px; }
.page p, .page li { margin-top: 12px; color: var(--muted); line-height: 1.6; }
.page ul { padding-left: 20px; }
.page .stamp { font-size: 14px; color: var(--quiet); }
.page a { color: var(--ink); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 24px; }
  .phones { height: 470px; }
  .shot { width: 190px; border-radius: 24px; }
  .p1 { right: auto; left: 70px; top: 10px; }
  .p2 { display: none; }
  .w { padding: 10px 12px; min-width: 0; border-radius: 18px; }
  .w .v { font-size: 22px; }
  .w.dist { left: 0; top: 30px; }
  .w.count { left: 0; bottom: 40px; }
  .w.time { right: 0; bottom: 150px; }
  .feats { grid-template-columns: 1fr; }
  .ld { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
