/* Orbit. One family (the system font), near-black canvas, colour only from the screenshots. */

:root {
  color-scheme: dark;
  --bg: #0e0e0e;
  --ink: #ececea;
  --ink-2: #858582;               /* secondary text, 5.2:1 on --bg */
  --ink-3: #73736f;               /* headline type and underlines only, 4:1 */
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .16);
  --key: #181817;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p, figure, ul, ol { margin: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover, p a, li a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
p a:hover, li a:hover { text-decoration-color: var(--ink); }   /* links in running text stay underlined */
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: 10px; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip:focus { transform: none; }

kbd {
  padding: .12em .42em;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--key);
  font: 500 .9em/1.3 var(--sans);
  color: var(--ink);
}

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 500; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.top nav { display: flex; gap: 6px; margin-right: -8px; }
.top nav a { padding: 8px; color: var(--ink-2); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: none; }

/* home */
.hero { padding-top: clamp(56px, 10vh, 120px); text-align: center; }
.hero > img { width: 112px; height: 112px; margin: 0 auto 28px; }
h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.026em;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 { max-width: 14em; margin-inline: auto; }
.lo { display: block; color: var(--ink-3); }
.soon {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-top: clamp(32px, 3vw, 44px);
  padding: 0 22px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  letter-spacing: -.005em;
}
.fine { margin-top: 14px; font-size: 13.5px; }

.shot { max-width: 760px; margin: clamp(64px, 8vw, 104px) auto 0; }
.shot img, .shot video, .row figure img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
figcaption { margin-top: 14px; font-size: 13.5px; text-align: center; }

.lede {
  max-width: 24em;
  margin: clamp(112px, 14vw, 176px) auto clamp(64px, 8vw, 104px);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.018em;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.lede .lo { display: inline; color: var(--ink-2); }   /* body-size type, so the AA grey */

.row {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 16px 48px;
  padding-block: clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.row h2 { font-size: clamp(20px, 1.55vw, 22px); font-weight: 500; line-height: 1.3; letter-spacing: -.014em; color: var(--ink); }
.row p { max-width: 34em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; text-wrap: pretty; }
.row p + p { margin-top: 12px; }
.row figure { max-width: 440px; margin-top: 32px; }
.row figcaption { text-align: left; }

.end { padding-block: clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.end img { width: 72px; height: 72px; margin-inline: auto; }
.end .lede { margin: 28px auto 0; }
.end .lo { display: block; }

/* privacy and support */
.doc { max-width: 640px; margin-inline: auto; padding-block: clamp(56px, 9vh, 104px) clamp(72px, 10vw, 120px); }
.doc h1 { font-size: clamp(32px, 4vw, 44px); }
.doc .meta { margin-top: 12px; }
.doc .intro { margin-top: 28px; font-size: 19px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.doc h2 { margin-top: 48px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.doc p, .doc li { font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.doc h2 + p { margin-top: 8px; }
.doc p + p, .doc p + :is(ul, ol), .doc :is(ul, ol) + p, .doc h2 + :is(ul, ol) { margin-top: 12px; }
.doc :is(ul, ol) { padding-left: 1.3em; }
.doc li + li { margin-top: 6px; }
a.soon:hover { text-decoration: none; }
code { font: inherit; color: var(--ink); }

/* footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 28px 40px; border-top: 1px solid var(--line); font-size: 13.5px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { color: var(--ink-2); }
.foot nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; }
  .row figure { margin-top: 24px; }
  .shot img, .shot video, .row figure img { border-radius: 14px; }
}
