@font-face {
  font-family: "Allo";
  src: url("/fonts/Allo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbfaf7;
  --soil: #f2f0ea;
  --card: #ffffff;
  --ink: #1d1b18;
  --muted: #6f6a61;
  --line: #e5e1d8;
  --violet: #5b3df5;
  --violet-soft: rgb(91 61 245 / 0.1);
  --on-violet: #ffffff;
  --pink: #f0569b;
  --coral: #f26b4e;
  --sun: #f2b93b;
  --leaf: #3aa56b;
  --sky: #3f8fe0;
  --code-bg: #1c1a22;
  --code-ink: #e9e6f2;
  --code-dim: #8f8aa3;
  --sans: "Allo", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --spring: cubic-bezier(0.3, 1.45, 0.5, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17161a;
    --soil: #1f1e23;
    --card: #26252b;
    --ink: #ecebe7;
    --muted: #a39f97;
    --line: #302e35;
    --violet: #9d8cff;
    --violet-soft: rgb(157 140 255 / 0.16);
    --on-violet: #17142a;
    --pink: #ff7fb8;
    --coral: #ff8a70;
    --sun: #f5c95a;
    --leaf: #5cc98a;
    --sky: #6fb0f5;
    --code-bg: #101014;
  }
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 450 17px / 1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 8px;
}
::selection {
  background: var(--violet-soft);
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-sky {
  color: var(--sky);
}
.c-pink {
  color: var(--pink);
}
.c-coral {
  color: var(--coral);
}
.c-violet {
  color: var(--violet);
}
.c-sun {
  color: var(--sun);
}
.c-leaf {
  color: var(--leaf);
}
.c-muted {
  color: var(--muted);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100%);
  margin: auto;
  padding: 20px 28px 0;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.mark {
  width: 22px;
  height: 22px;
}
.mark path {
  fill: none;
  stroke: var(--violet);
  stroke-width: 3.8;
  stroke-linecap: round;
}
.mark circle {
  fill: var(--sun);
}
.signin {
  padding: 10px 0;
  font-size: 15px;
  font-weight: 550;
  color: var(--muted);
  text-decoration: none;
}
footer a {
  text-decoration: none;
}
@media (hover: hover) {
  .signin:hover,
  footer a:hover {
    color: var(--ink);
  }
}

/* The hero is a small poster: the name, one sentence, the buttons, and bits of the product around it. */
.hero {
  position: relative;
  width: min(1120px, 100%);
  margin: auto;
  padding: 112px 28px 96px;
  text-align: center;
}
h1 {
  margin: 0;
  font-size: clamp(76px, 15vw, 176px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--violet);
  animation: rise 700ms var(--ease) both;
}
.lead {
  margin: 26px auto 0;
  max-width: 520px;
  font-size: 20px;
  color: var(--muted);
  text-wrap: balance;
  animation: rise 700ms 100ms var(--ease) both;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 0;
  animation: rise 700ms 200ms var(--ease) both;
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 14px;
    filter: blur(4px);
  }
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  transition: scale 160ms var(--ease);
}
.primary {
  background: var(--violet);
  color: var(--on-violet);
}
.quiet {
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.primary:active,
.quiet:active {
  scale: 0.96;
}
.req {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  animation: rise 700ms 300ms var(--ease) both;
}
.soon {
  border: 1.5px dashed var(--line);
  color: var(--muted);
  cursor: default;
}
.button em {
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--soil);
  font: 500 11px var(--mono);
  font-style: normal;
}

/* The words land first. Then the bits pop out from nothing, one after another, and only start to drift
   once they have landed. Each has its own delay (--d), direction (--dx, --dy) and pace (--t). */
.bit {
  position: absolute;
  margin: 0;
  white-space: nowrap;
  animation:
    pop 700ms cubic-bezier(0.3, 1.5, 0.45, 1) var(--d, 0s) both,
    drift var(--t, 7s) ease-in-out calc(var(--d, 0s) + 700ms) infinite alternate;
}
@keyframes pop {
  from {
    opacity: 0;
    scale: 0;
  }
}
@keyframes drift {
  to {
    translate: var(--dx, 0) var(--dy, -9px);
  }
}

.card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 10px 30px rgb(29 27 24 / 0.08);
  font-size: 15px;
  text-align: left;
}
.card small {
  margin-left: 6px;
  font: 12px var(--mono);
  color: var(--muted);
}
.card .due {
  color: var(--coral);
}
.seed {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.6px solid var(--muted);
  border-radius: 50%;
  transition:
    background-color 200ms,
    border-color 200ms;
}
.done {
  color: var(--muted);
  text-decoration: line-through;
}
.done .seed {
  border-color: var(--violet);
  background:
    var(--violet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.4 2.3 2.3 4.7-5.2'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  animation: tick 420ms var(--spring);
}
@keyframes tick {
  from {
    scale: 0.6;
  }
}
.chip {
  padding: 6px 12px;
  border-radius: 14px;
  background: var(--violet-soft);
  color: var(--violet);
  font: 12.5px var(--mono);
}
.tag {
  background: var(--soil);
  color: var(--muted);
}
.term {
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--code-bg);
  color: var(--code-ink);
  font: 12.5px var(--mono);
}
.sprite {
  margin: 0;
  font: 700 15px / 1.15 var(--mono);
  text-align: left;
  white-space: pre;
}
.bloomed {
  animation: bloom 420ms var(--spring);
  transform-origin: 50% 100%;
}
@keyframes bloom {
  from {
    scale: 0.82;
  }
}
.b1 {
  top: 92px;
  left: 2%;
  rotate: -5deg;
  --d: 420ms;
  --t: 7s;
  --dx: 4px;
  --dy: -9px;
}
.b2 {
  top: 240px;
  left: 7%;
  rotate: 3deg;
  --d: 600ms;
  --t: 8s;
  --dx: -5px;
  --dy: -7px;
}
.b3 {
  top: 372px;
  left: 3%;
  rotate: -2deg;
  --d: 780ms;
  --t: 6.5s;
  --dx: 3px;
  --dy: -10px;
}
.b4 {
  top: 78px;
  right: 2%;
  rotate: 4deg;
  --d: 510ms;
  --t: 7.5s;
  --dx: -4px;
  --dy: -8px;
}
.b5 {
  top: 186px;
  right: 15%;
  rotate: -6deg;
  --d: 870ms;
  --t: 6s;
  --dx: 5px;
  --dy: -6px;
}
.b6 {
  top: 278px;
  right: 3%;
  rotate: -3deg;
  --d: 690ms;
  --t: 8.5s;
  --dx: 4px;
  --dy: -10px;
}
.b7 {
  top: 6px;
  left: 31%;
  --d: 960ms;
  --t: 9s;
  --dy: -6px;
}
.b8 {
  top: 352px;
  right: 10%;
  --d: 1140ms;
  --t: 7s;
  --dy: -7px;
}
/* A flower in the hero can be replanted with a click. */
.b7,
.b8,
.b9 {
  cursor: pointer;
}
.b9 {
  top: 440px;
  left: 10%;
  --d: 1320ms;
  --t: 8s;
  --dy: -5px;
}

/* The demo: someone types on the left, the list on the right reacts. */
.demo {
  width: min(1040px, 100%);
  margin: auto;
  padding: 40px 28px 0;
  text-align: center;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.sub,
.why p {
  margin: 0 auto;
  max-width: 580px;
  color: var(--muted);
  text-wrap: pretty;
}
/* Who is driving: a real control for the page, kept out of the product shot. */
.who {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 4px;
  border-radius: 16px;
  background: var(--soil);
}
.who button {
  padding: 7px 16px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font: 600 14px var(--sans);
  cursor: pointer;
}
.who [aria-selected="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgb(29 27 24 / 0.12);
}

/* The app window leads. The terminal is the smaller object in front, sitting on the window's corner. */
.stage {
  position: relative;
  margin-top: 26px;
  padding-bottom: 30px;
  text-align: left;
}
.window {
  display: grid;
  grid-template: 36px 1fr / 190px 1fr;
  min-height: 440px;
  margin-left: 26%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow:
    0 1px 2px rgb(29 27 24 / 0.05),
    0 24px 60px rgb(29 27 24 / 0.1);
  overflow: hidden;
}
.lights {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: var(--soil);
  border-bottom: 1px solid var(--line);
}
.lights i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.side {
  padding: 12px 10px;
  background: var(--soil);
  border-right: 1px solid var(--line);
  font-size: 14px;
}
.side li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 9px;
  border-radius: 8px;
}
.side .on {
  background: var(--violet-soft);
}
.side .gap {
  margin-bottom: 14px;
}
.side b {
  margin-left: auto;
  font-weight: 450;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dot,
.ring {
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.ring {
  border: 1.6px solid var(--violet);
}
.d-sky {
  background: var(--sky);
}
.d-sun {
  background: var(--sun);
}
.d-coral {
  background: var(--coral);
}
.d-leaf {
  background: var(--leaf);
}
.d-muted {
  background: var(--muted);
}
.d-violet {
  background: var(--violet);
}
.pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 26px 0;
}
.title {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.pane li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.pane li small {
  margin-left: auto;
  padding-left: 12px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.pane li .due {
  color: var(--coral);
}
.pane li .by {
  padding: 2px 8px;
  border-radius: 9px;
  background: var(--violet-soft);
  color: var(--violet);
}
.pane .new {
  animation: arrive 480ms var(--spring) both;
}
@keyframes arrive {
  from {
    opacity: 0;
    translate: 0 -8px;
    scale: 0.97;
  }
}
/* Finished tasks bloom along the bottom of the window. */
.plot {
  margin-top: auto;
  padding-top: 14px;
  overflow: hidden;
}
#plot {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  min-height: 84px;
  padding-right: 8px;
}
#plot .sprite {
  font-size: 12px;
}
.grass {
  padding-bottom: 8px;
  font: 700 12px / 1 var(--mono);
  color: var(--leaf);
  white-space: nowrap;
  opacity: 0.7;
}
.console {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 43%;
  border-radius: 16px;
  background: var(--code-bg);
  color: var(--code-ink);
  box-shadow: 0 22px 50px rgb(10 8 20 / 0.28);
}
.screen {
  min-height: 252px;
  margin: 0;
  padding: 18px 20px 20px;
  font: 12.5px / 1.6 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* A block cursor after whatever was typed last. */
.screen::after {
  content: "▍";
  color: #b3a5ff;
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
.screen .you {
  color: #fff;
}
.screen .dim {
  color: var(--code-dim);
}
.connect {
  margin: 26px auto 0;
  font-size: 15px;
  color: var(--muted);
}
code {
  font-family: var(--mono);
}
.connect code {
  padding: 2px 7px;
  border-radius: 7px;
  background: var(--soil);
  color: var(--ink);
  font-size: 0.88em;
}

.why {
  width: min(660px, 100%);
  margin: auto;
  padding: 112px 28px 0;
  text-align: center;
}
.bud {
  width: fit-content;
  margin: 0 auto 18px;
}
.why p {
  text-wrap: balance;
}
.why p + p {
  margin-top: 12px;
}

/* The page ends in the garden. */
footer {
  margin-top: 72px;
  padding-bottom: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.credit {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
/* The credit hides a heart. Resting on it, or holding it, grows one. */
#love {
  display: inline-block;
  padding: 10px 6px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  transition:
    scale 250ms var(--ease),
    color 250ms var(--ease);
}
#love.pressing {
  scale: 0.96;
  transition-duration: 600ms;
}
#love.loving {
  color: var(--coral);
}
.heart {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 4px);
  margin: 0;
  font: 700 9px / 1 var(--mono);
  text-align: center;
  white-space: pre;
  padding: 10px 12px 4px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--coral);
  cursor: pointer;
  user-select: none;
  opacity: 0;
  translate: -50% 8px;
  scale: 0.25;
  filter: blur(4px);
  transform-origin: 50% 100%;
  transition:
    opacity 300ms var(--ease),
    translate 600ms var(--ease),
    scale 600ms cubic-bezier(0.3, 1.5, 0.45, 1),
    filter 300ms var(--ease);
}
.heart.up {
  opacity: 1;
  translate: -50% -6px;
  scale: 1;
  filter: none;
}
.heart.gone {
  opacity: 0;
  translate: -50% -14px;
  scale: 0.9;
  transition-duration: 300ms;
}
.heart.beat {
  animation: beat 380ms var(--spring);
}
@keyframes beat {
  from {
    scale: 1.14;
  }
}
#garden {
  display: block;
  width: 100%;
  height: 320px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  cursor: crosshair;
  touch-action: pan-y;
}

@media (max-width: 900px) {
  .b3,
  .b5,
  .b6,
  .b9 {
    display: none;
  }
  .hero {
    padding-top: 150px;
    padding-bottom: 130px;
  }
  .b1 {
    top: 16px;
    left: 4%;
  }
  .b4 {
    top: 94px;
    right: 4%;
  }
  .b2 {
    top: auto;
    bottom: 18px;
    left: 5%;
  }
  .b7 {
    display: none;
  }
  .b8 {
    top: auto;
    bottom: 0;
    right: 8%;
  }
  .window {
    grid-template-columns: 1fr;
    margin-left: 0;
    min-height: 0;
  }
  .side {
    display: none;
  }
  .stage {
    padding-bottom: 0;
  }
  .console {
    position: relative;
    width: calc(100% - 28px);
    margin: -22px auto 0;
  }
}
@media (max-width: 640px) {
  header {
    padding: 14px 16px 0;
  }
  .hero,
  .demo,
  .why {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lead {
    font-size: 18px;
  }
  .screen {
    min-height: 236px;
    font-size: 12px;
  }
  .pane {
    padding: 18px 18px 0;
  }
  .why {
    padding-top: 80px;
  }
  #garden {
    height: 260px;
  }
}
@media (prefers-reduced-motion: reduce) {
  h1,
  .lead,
  .actions,
  .req,
  .bit,
  .bloomed,
  .list .new,
  .done .seed,
  .heart,
  .screen::after {
    animation: none;
  }
  .button {
    transition: none;
  }
}
