:root {
  --bg: #0d0d0e;
  --bg-2: #141415;
  --bg-3: #1d1d1f;
  --line: rgb(244 241 236 / 0.08);
  --line-2: rgb(244 241 236 / 0.14);
  --fg: #f4f1ec;
  --fg-2: #c9c4bc;
  --fg-3: #a9a49c;
  --fg-4: #77736d;
  --sans:
    "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px / 1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Grain and a soft top light. */
body::before,
body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body::before {
  bottom: auto;
  height: 1400px;
  background:
    radial-gradient(60rem 36rem at 50% -12rem, rgb(244 241 236 / 0.09), transparent 70%),
    radial-gradient(40rem 30rem at 85% 30%, rgb(169 164 156 / 0.04), transparent 70%);
}
body::after {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.nav,
.foot {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
}
.skip:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}

/* Nav: sticks to the top on frosted glass. */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: rgb(13 13 14 / 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s;
}
.nav.stuck::before {
  opacity: 1;
}
section[id] {
  scroll-margin-top: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.brand img {
  border-radius: 7px;
  box-shadow: 0 0 0 1px var(--line-2);
}
.links {
  display: flex;
  gap: 0.25rem;
  font-size: 0.9rem;
}
.links a {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  color: var(--fg-3);
  transition: color 0.2s;
}
.links a:hover {
  color: var(--fg);
}
.links .nav-gh {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* Hero */
.hero {
  padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgb(244 241 236 / 0.03);
  color: var(--fg-3);
  font-size: 0.85rem;
}
h1 .eyebrow {
  display: table;
  margin: 0 auto 1.6rem;
  color: var(--fg-3);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}
h1 {
  font-size: clamp(2.6rem, 8.2vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 650;
  background: linear-gradient(180deg, var(--fg) 30%, var(--fg-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.lede {
  max-width: 38rem;
  margin: 1.5rem auto 0;
  color: var(--fg-3);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 46px;
  padding: 0 1.35rem;
  border-radius: 12px;
  font-weight: 550;
  font-size: 0.97rem;
  transition:
    transform 0.2s var(--ease),
    background 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active,
.b:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(180deg, #fbf9f5, #e4dfd7);
  color: var(--bg);
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgb(0 0 0 / 0.4),
    0 8px 30px -8px rgb(244 241 236 / 0.35);
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 2px rgb(0 0 0 / 0.4),
    0 12px 40px -6px rgb(244 241 236 / 0.5);
}
.btn-ghost {
  color: var(--fg);
  background: rgb(244 241 236 / 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover {
  background: rgb(244 241 236 / 0.08);
}
.gh {
  flex-shrink: 0;
}

/* The demo: a faithful mock of the app that plays out what you pick. */
.demo {
  position: relative;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}
.demo-h {
  margin-bottom: 1.25rem;
  color: var(--fg-3);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
}
.stage {
  position: relative;
}
.demo::before {
  content: "";
  position: absolute;
  inset: 5% 4% 25%;
  background: radial-gradient(closest-side, rgb(244 241 236 / 0.09), transparent);
  filter: blur(40px);
  z-index: -1;
}
.window {
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow:
    0 0 0 1px var(--line-2),
    inset 0 1px 0 rgb(244 241 236 / 0.06),
    0 40px 120px -30px rgb(0 0 0 / 0.9);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  color: var(--fg-2);
}
.chrome {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.dots {
  display: flex;
  gap: 7px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #333336;
}
.url {
  padding: 3px 14px;
  border-radius: 7px;
  background: rgb(0 0 0 / 0.3);
  color: var(--fg-4);
  font-size: 11.5px;
}
.app {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  height: 560px;
}
.side {
  padding: 12px 10px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  color: var(--fg-3);
}
.org {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 2px 8px;
  color: var(--fg);
  font-weight: 550;
}
.org img {
  border-radius: 5px;
}
.org span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ib {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-style: normal;
  color: var(--fg-4);
}
.ib-new {
  color: var(--fg);
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.navl {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.navl li {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
}
.navl em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--fg-4);
}
.navl .pill {
  padding: 0 6px;
  border-radius: 99px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  line-height: 16px;
}
.navl li.on {
  background: rgb(244 241 236 / 0.07);
  color: var(--fg);
}
.side-h {
  margin: 22px 8px 0;
  font-size: 11px;
  color: var(--fg-4);
}
.side-h + .navl {
  margin-top: 6px;
}
.tk {
  font: 500 9.5px / 1 var(--mono);
  padding: 3px 4px;
  border-radius: 4px;
  background: rgb(244 241 236 / 0.06);
  color: var(--fg-3);
}
.page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* Asking */
.ask {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 0 24px 40px;
}
.ask-h {
  color: var(--fg);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ask-box {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 10px 10px 16px;
  border-radius: 12px;
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--fg);
  font-size: 14px;
}
.caret {
  width: 1.5px;
  height: 18px;
  margin-left: 1px;
  background: var(--fg-2);
}
.ask-go {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 8px;
  background: rgb(244 241 236 / 0.08);
  color: var(--fg-4);
  transition:
    background 0.2s,
    color 0.2s;
}
.ask-go.ready {
  background: var(--fg);
  color: var(--bg);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 99px;
  background: rgb(244 241 236 / 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--fg-2);
  font: 500 12.5px var(--sans);
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}
.chip:hover {
  background: rgb(244 241 236 / 0.09);
  color: var(--fg);
}
.chip:active {
  transform: scale(0.97);
}
.bar {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--fg-3);
}
.bar b {
  margin: 0 8px;
  font-weight: 400;
  color: var(--fg-4);
}
.cols {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  min-height: 0;
}
.issue {
  padding: 32px clamp(18px, 4vw, 48px) 40px;
  overflow-y: auto;
  scrollbar-width: none;
}
.issue::-webkit-scrollbar {
  display: none;
}
.runs-sec:not(.on),
.subs-sec:not(.on) {
  display: none;
}
.runlist,
.subs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.subs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.subs li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.sid {
  font: 500 11.5px var(--mono);
  color: var(--fg-4);
}
.stt {
  flex: 1;
  overflow: hidden;
  color: var(--fg-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* The page shows the ask, then the issue it became. */
.page[data-stage="ask"] .cols,
.page[data-stage="issue"] .ask {
  display: none;
}
.issue-title {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.desc {
  margin-top: 10px;
  color: var(--fg-2);
}
.sec {
  margin: 28px 0 10px;
  font-size: 12px;
  font-weight: 550;
  color: var(--fg-3);
}
.sec-line {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.runrow {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg-4);
}
.live .pulse {
  background: var(--fg);
}
.rn {
  color: var(--fg);
  font-weight: 550;
}
.rk {
  overflow: hidden;
  color: var(--fg-3);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rs {
  margin-left: auto;
  color: var(--fg-4);
  font-size: 12px;
}
.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.ev {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-4);
}
.ev b,
.cm-h b {
  color: var(--fg);
  font-weight: 500;
}
.cm {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgb(244 241 236 / 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ev code {
  font: 500 11.5px var(--mono);
  color: var(--fg-2);
}
.note {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgb(244 241 236 / 0.05);
  box-shadow: inset 2px 0 0 var(--fg-3);
}
.orgcard {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgb(244 241 236 / 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tree,
.tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tree {
  margin-top: 8px;
}
.tree ul {
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line-2);
}
.node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.node b {
  color: var(--fg);
  font-weight: 500;
}
.node small {
  overflow: hidden;
  color: var(--fg-4);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.note-k {
  font: 500 10.5px var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.note p {
  margin-top: 2px;
  color: var(--fg-2);
}
.cm-h {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-4);
  margin-bottom: 4px;
}
.props {
  padding: 22px 18px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
}
.props dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px 8px;
  margin: 0;
}
.props dt {
  color: var(--fg-4);
}
.props dd {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--fg-2);
}
.lb {
  padding: 0 8px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 11.5px;
}
.st {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--fg-2);
  background: conic-gradient(var(--fg-2) 0 var(--p, 0%), transparent 0) content-box;
  padding: 1.5px;
}
.st[data-s="triage"] {
  border-style: dashed;
}
.st[data-s="progress"] {
  --p: 50%;
}
.st[data-s="done"] {
  --p: 100%;
}
.pr {
  width: 12px;
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--fg-2) 0 3px,
    transparent 3px 4.5px,
    var(--fg-2) 4.5px 7.5px,
    transparent 7.5px 9px,
    var(--fg-2) 9px
  );
  clip-path: polygon(0 66%, 25% 66%, 25% 33%, 62% 33%, 62% 0, 100% 0, 100% 100%, 0 100%);
}
.av {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font: 600 9.5px / 1 var(--sans);
  font-style: normal;
  color: var(--bg);
  background: var(--fg-3);
}
.av-you {
  background: var(--fg);
}
.av-ceo {
  background: #d4cfc7;
}
.av-ops {
  background: #8f8a83;
}

/* The approval request, floating over the app like the phone sheet it arrives as. */
.sheet {
  position: absolute;
  right: -1.5rem;
  bottom: -2rem;
  z-index: 2;
  width: 340px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #262628, #1b1b1d);
  box-shadow:
    0 0 0 1px var(--line-2),
    inset 0 1px 0 rgb(244 241 236 / 0.1),
    0 30px 80px -10px rgb(0 0 0 / 0.85);
  font-size: 13px;
  color: var(--fg-2);
  text-align: left;
}
.sheet-k {
  color: var(--fg-4);
  font-size: 12px;
}
.sheet-k b {
  color: var(--fg-2);
  font-weight: 500;
}
.sheet-t {
  margin: 6px 0 12px;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.sheet:not(.on) {
  visibility: hidden;
  opacity: 0;
}
.sheet-p {
  color: var(--fg-3);
  line-height: 1.5;
}
.sheet-on {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
  font-size: 12.5px;
}
.sheet-on span {
  flex: none;
  width: 72px;
  color: var(--fg-4);
}
.sheet code {
  font: 500 11.5px var(--mono);
  padding: 1px 6px;
  border-radius: 5px;
  background: rgb(244 241 236 / 0.08);
}
.sheet-a {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.b {
  display: inline-flex;
  align-items: center;
  transition:
    color 0.2s,
    opacity 0.2s,
    transform 0.2s var(--ease);
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--fg-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.b-ok {
  background: var(--fg);
  color: var(--bg);
  box-shadow: none;
}
.b-no {
  margin-left: auto;
  color: var(--fg-3);
}
.b:hover {
  color: var(--fg);
}
.b-ok:hover {
  color: var(--bg);
  opacity: 0.9;
}
.navl .pill:not(.on) {
  opacity: 0;
  scale: 0.4;
}

/* The four beats the demo plays, lit as it reaches each. */
.rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 3.5rem 0 0;
  padding: 0;
  counter-reset: beat;
}
.rail li {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.9rem;
  border-top: 2px solid var(--line);
  color: var(--fg-4);
  font-size: 0.88rem;
  line-height: 1.45;
  transition:
    border-color 0.4s,
    color 0.4s;
}
.rail b {
  color: var(--fg-3);
  font-weight: 600;
  transition: color 0.4s;
}
.rail b::before {
  counter-increment: beat;
  content: "0" counter(beat) "  ";
  font: 500 0.75rem var(--mono);
  color: var(--fg-4);
  white-space: pre;
}
.rail .done {
  border-top-color: var(--fg-4);
}
.rail .on {
  border-top-color: var(--fg);
  color: var(--fg-3);
}
.rail .on b {
  color: var(--fg);
}

/* Sections */
.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.section-title span {
  color: var(--fg-4);
}
.features,
.host,
.faq {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.grid,
.hosts {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid li,
.hosts li {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(244 241 236 / 0.035), rgb(244 241 236 / 0.01));
  box-shadow:
    inset 0 0 0 1px var(--line),
    inset 0 1px 0 rgb(244 241 236 / 0.05);
  position: relative;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
/* The light that follows the pointer; the script sets --x and --y. */
.grid li::before,
.hosts li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    22rem circle at var(--x, 50%) var(--y, 0%),
    rgb(244 241 236 / 0.07),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.grid li:hover::before,
.hosts li:hover::before {
  opacity: 1;
}
.grid li:hover,
.hosts li:hover {
  box-shadow:
    inset 0 0 0 1px var(--line-2),
    inset 0 1px 0 rgb(244 241 236 / 0.08),
    0 24px 60px -24px rgb(0 0 0 / 0.9);
}
.n {
  font: 500 0.78rem var(--mono);
  color: var(--fg-4);
}
.grid h3 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.25rem;
}
.hosts h3 {
  font-size: 1.15rem;
}
.grid p,
.hosts p {
  color: var(--fg-3);
  font-size: 0.95rem;
}
.hosts p {
  margin-top: 0.3rem;
}
.hosts pre {
  margin: 1.25rem 0 0;
  flex: 1;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgb(0 0 0 / 0.35);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
  font: 0.8rem / 1.75 var(--mono);
  color: var(--fg-2);
}
.host-more {
  margin-top: 1.75rem;
  color: var(--fg-4);
}
.host-more a,
.grid p a,
.faqs dd a,
.doc a:not(.brand) {
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}
.host-more a:hover,
.grid p a:hover,
.faqs dd a:hover,
.doc a:hover {
  color: var(--fg);
  text-decoration-color: var(--fg-3);
}

.faqs {
  margin: 3rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}
.faqs dt {
  font-size: 1.1rem;
  font-weight: 600;
}
.faqs dd {
  margin: 0.5rem 0 0;
  color: var(--fg-3);
  font-size: 0.95rem;
}

/* Guides */
.doc {
  max-width: 44rem;
  padding: clamp(3.5rem, 9vw, 6rem) 0 0;
}
.doc h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.75rem);
}
.doc .lede {
  margin: 1.25rem 0 0;
}
.doc h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.4rem;
}
.doc p,
.doc ul,
.doc ol {
  margin: 0.75rem 0 0;
  color: var(--fg-3);
}
.doc li + li {
  margin-top: 0.4rem;
}
.doc b {
  color: var(--fg-2);
}
.doc :not(pre) > code {
  font: 0.85em var(--mono);
  color: var(--fg-2);
}
.doc pre {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgb(0 0 0 / 0.35);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
  font: 0.8rem / 1.75 var(--mono);
  color: var(--fg-2);
}
.doc .more {
  margin-top: 2.5rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--fg-4);
  font-size: 0.85rem;
}
.brand-sm {
  font-size: 0.95rem;
  gap: 0.45rem;
  color: var(--fg-2);
}
.brand-sm img {
  border-radius: 5px;
}
.foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fg-3);
}
.foot a:last-of-type {
  margin-left: auto;
}
.foot a:hover {
  color: var(--fg);
}
.fine {
  flex-basis: 100%;
  font-size: 0.75rem;
  color: var(--fg-4);
}

/*
 * Motion, only for those who want it. The hero rises in, the app tilts up into place, and the
 * demo's activity rises in as it happens. Below the fold, sections rise in once as they come into
 * view. Opacity and transforms only, never blur.
 */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* Hero */
  .hero > * {
    animation: rise 0.9s var(--ease) both;
  }
  .hero > :nth-child(2) {
    animation-delay: 0.06s;
  }
  .hero > :nth-child(3) {
    animation-delay: 0.12s;
  }
  .hero > :nth-child(4) {
    animation-delay: 0.18s;
  }

  /* The app */
  .demo {
    perspective: 1800px;
  }
  .window {
    animation: tilt 1.6s var(--ease) 0.25s both;
  }
  .feed > li,
  .tree li,
  .subs li,
  .runrow,
  .cols,
  [data-team].new {
    animation: rise 0.6s var(--ease) both;
  }
  .caret {
    animation: blink 1s steps(1) infinite;
  }
  .live .pulse {
    animation: pulse 2s infinite;
  }

  /* The request slides up like the phone sheet it arrives as. */
  .sheet {
    transition:
      opacity 0.3s,
      translate 0.3s var(--ease),
      scale 0.3s var(--ease),
      visibility 0s 0.3s;
  }
  .sheet:not(.on) {
    translate: 0 20px;
    scale: 0.97;
  }
  .sheet.on {
    transition:
      opacity 0.5s var(--ease),
      translate 0.8s var(--spring),
      scale 0.8s var(--spring);
  }
  .navl .pill {
    transition:
      opacity 0.3s,
      scale 0.5s var(--spring);
  }

  /* Sections: the script adds .reveal, then .in once in view, so nothing hides without it. */
  .reveal {
    opacity: 0;
    translate: 0 24px;
    transition:
      opacity 0.9s var(--ease) var(--d, 0s),
      translate 0.9s var(--ease) var(--d, 0s),
      transform 0.5s var(--ease),
      box-shadow 0.5s var(--ease);
  }
  .reveal.in {
    opacity: 1;
    translate: none;
  }
  .grid li:nth-child(2),
  .hosts li:nth-child(2) {
    --d: 0.1s;
  }
  .grid li:nth-child(3),
  .hosts li:nth-child(3) {
    --d: 0.2s;
  }
  .grid li:hover,
  .hosts li:hover {
    transform: translateY(-4px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes tilt {
  from {
    opacity: 0;
    transform: rotateX(18deg) translateY(60px) scale(0.94);
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(244 241 236 / 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 8px rgb(244 241 236 / 0);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .props {
    display: none;
  }
  .sheet {
    right: 1.5rem;
  }
  .rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.75rem;
  }
}
@media (max-width: 820px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
    height: 520px;
  }
  .side {
    display: none;
  }
  .grid,
  .hosts,
  .faqs {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid h3 {
    margin-top: 1.25rem;
  }
  .sheet {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: min(1120px, 100% - 2.5rem);
  }
  .links a:not(.nav-gh) {
    display: none;
  }
  .url {
    display: none;
  }
  .ctas .btn {
    flex: 1 1 0;
    justify-content: center;
  }
  .foot a:last-of-type {
    margin-left: 0;
  }
}
